API changes for IRadio AIDL conversion

Consider feedback from aosp/1740274 and API changes mentioned in the
design document.

Bug: 198331182
Test: build
Change-Id: I27da6dbec5f2d65873cbb84d363eebc8d57b116d
Merged-In: I27da6dbec5f2d65873cbb84d363eebc8d57b116d
This commit is contained in:
Sarah Chin
2021-09-08 16:42:01 -07:00
parent 6d92ada666
commit e267570c60
281 changed files with 1915 additions and 17529 deletions

View File

@@ -21,7 +21,6 @@ aidl_interface {
cc_library {
name: "android.hardware.radio-translate-ndk",
vendor_available: true,
srcs: ["android/hardware/radio/translate-ndk.cpp"],
shared_libs: [
"libbinder_ndk",
"libhidlbase",
@@ -34,12 +33,10 @@ cc_library {
"android.hardware.radio@1.5",
"android.hardware.radio@1.6",
],
export_include_dirs: ["include"],
}
java_library {
name: "android.hardware.radio-translate-java",
srcs: ["android/hardware/radio/Translate.java"],
libs: [
"android.hardware.radio-V1-java",
"android.hardware.radio-V1.0-java",

View File

@@ -33,7 +33,10 @@
package android.hardware.radio;
@VintfStability
union BarringInfoBarringTypeSpecificInfo {
union AccessTechnologySpecificInfo {
boolean noinit;
android.hardware.radio.BarringInfoBarringTypeSpecificInfoConditional conditional;
android.hardware.radio.Cdma2000RegistrationInfo cdmaInfo;
android.hardware.radio.EutranRegistrationInfo eutranInfo;
android.hardware.radio.NrVopsInfo ngranNrVopsInfo;
boolean geranDtmSupported;
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum AddressProperty {
NONE = 0,
DEPRECATED = 32,
}

View File

@@ -1,43 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum AppState {
UNKNOWN = 0,
DETECTED = 1,
PIN = 2,
PUK = 3,
SUBSCRIPTION_PERSO = 4,
READY = 5,
}

View File

@@ -34,12 +34,24 @@
package android.hardware.radio;
@VintfStability
parcelable AppStatus {
android.hardware.radio.AppType appType;
android.hardware.radio.AppState appState;
int appType;
int appState;
android.hardware.radio.PersoSubstate persoSubstate;
String aidPtr;
String appLabelPtr;
int pin1Replaced;
boolean pin1Replaced;
android.hardware.radio.PinState pin1;
android.hardware.radio.PinState pin2;
const int APP_STATE_UNKNOWN = 0;
const int APP_STATE_DETECTED = 1;
const int APP_STATE_PIN = 2;
const int APP_STATE_PUK = 3;
const int APP_STATE_SUBSCRIPTION_PERSO = 4;
const int APP_STATE_READY = 5;
const int APP_TYPE_UNKNOWN = 0;
const int APP_TYPE_SIM = 1;
const int APP_TYPE_USIM = 2;
const int APP_TYPE_RUIM = 3;
const int APP_TYPE_CSIM = 4;
const int APP_TYPE_ISIM = 5;
}

View File

@@ -1,43 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum AppType {
UNKNOWN = 0,
SIM = 1,
USIM = 2,
RUIM = 3,
CSIM = 4,
ISIM = 5,
}

View File

@@ -34,7 +34,52 @@
package android.hardware.radio;
@VintfStability
parcelable BarringInfo {
android.hardware.radio.BarringInfoServiceType serviceType;
android.hardware.radio.BarringInfoBarringType barringType;
android.hardware.radio.BarringInfoBarringTypeSpecificInfo barringTypeSpecificInfo;
int serviceType;
int barringType;
@nullable android.hardware.radio.BarringTypeSpecificInfo barringTypeSpecificInfo;
const int BARRING_TYPE_NONE = 0;
const int BARRING_TYPE_CONDITIONAL = 1;
const int BARRING_TYPE_UNCONDITIONAL = 2;
const int SERVICE_TYPE_CS_SERVICE = 0;
const int SERVICE_TYPE_PS_SERVICE = 1;
const int SERVICE_TYPE_CS_VOICE = 2;
const int SERVICE_TYPE_MO_SIGNALLING = 3;
const int SERVICE_TYPE_MO_DATA = 4;
const int SERVICE_TYPE_CS_FALLBACK = 5;
const int SERVICE_TYPE_MMTEL_VOICE = 6;
const int SERVICE_TYPE_MMTEL_VIDEO = 7;
const int SERVICE_TYPE_EMERGENCY = 8;
const int SERVICE_TYPE_SMS = 9;
const int SERVICE_TYPE_OPERATOR_1 = 1001;
const int SERVICE_TYPE_OPERATOR_2 = 1002;
const int SERVICE_TYPE_OPERATOR_3 = 1003;
const int SERVICE_TYPE_OPERATOR_4 = 1004;
const int SERVICE_TYPE_OPERATOR_5 = 1005;
const int SERVICE_TYPE_OPERATOR_6 = 1006;
const int SERVICE_TYPE_OPERATOR_7 = 1007;
const int SERVICE_TYPE_OPERATOR_8 = 1008;
const int SERVICE_TYPE_OPERATOR_9 = 1009;
const int SERVICE_TYPE_OPERATOR_10 = 1010;
const int SERVICE_TYPE_OPERATOR_11 = 1011;
const int SERVICE_TYPE_OPERATOR_12 = 1012;
const int SERVICE_TYPE_OPERATOR_13 = 1013;
const int SERVICE_TYPE_OPERATOR_14 = 1014;
const int SERVICE_TYPE_OPERATOR_15 = 1015;
const int SERVICE_TYPE_OPERATOR_16 = 1016;
const int SERVICE_TYPE_OPERATOR_17 = 1017;
const int SERVICE_TYPE_OPERATOR_18 = 1018;
const int SERVICE_TYPE_OPERATOR_19 = 1019;
const int SERVICE_TYPE_OPERATOR_20 = 1020;
const int SERVICE_TYPE_OPERATOR_21 = 1021;
const int SERVICE_TYPE_OPERATOR_22 = 1022;
const int SERVICE_TYPE_OPERATOR_23 = 1023;
const int SERVICE_TYPE_OPERATOR_24 = 1024;
const int SERVICE_TYPE_OPERATOR_25 = 1025;
const int SERVICE_TYPE_OPERATOR_26 = 1026;
const int SERVICE_TYPE_OPERATOR_27 = 1027;
const int SERVICE_TYPE_OPERATOR_28 = 1028;
const int SERVICE_TYPE_OPERATOR_29 = 1029;
const int SERVICE_TYPE_OPERATOR_30 = 1030;
const int SERVICE_TYPE_OPERATOR_31 = 1031;
const int SERVICE_TYPE_OPERATOR_32 = 1032;
}

View File

@@ -1,40 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum BarringInfoBarringType {
NONE = 0,
CONDITIONAL = 1,
UNCONDITIONAL = 2,
}

View File

@@ -1,79 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum BarringInfoServiceType {
CS_SERVICE = 0,
PS_SERVICE = 1,
CS_VOICE = 2,
MO_SIGNALLING = 3,
MO_DATA = 4,
CS_FALLBACK = 5,
MMTEL_VOICE = 6,
MMTEL_VIDEO = 7,
EMERGENCY = 8,
SMS = 9,
OPERATOR_1 = 1001,
OPERATOR_2 = 1002,
OPERATOR_3 = 1003,
OPERATOR_4 = 1004,
OPERATOR_5 = 1005,
OPERATOR_6 = 1006,
OPERATOR_7 = 1007,
OPERATOR_8 = 1008,
OPERATOR_9 = 1009,
OPERATOR_10 = 1010,
OPERATOR_11 = 1011,
OPERATOR_12 = 1012,
OPERATOR_13 = 1013,
OPERATOR_14 = 1014,
OPERATOR_15 = 1015,
OPERATOR_16 = 1016,
OPERATOR_17 = 1017,
OPERATOR_18 = 1018,
OPERATOR_19 = 1019,
OPERATOR_20 = 1020,
OPERATOR_21 = 1021,
OPERATOR_22 = 1022,
OPERATOR_23 = 1023,
OPERATOR_24 = 1024,
OPERATOR_25 = 1025,
OPERATOR_26 = 1026,
OPERATOR_27 = 1027,
OPERATOR_28 = 1028,
OPERATOR_29 = 1029,
OPERATOR_30 = 1030,
OPERATOR_31 = 1031,
OPERATOR_32 = 1032,
}

View File

@@ -33,7 +33,7 @@
package android.hardware.radio;
@VintfStability
parcelable BarringInfoBarringTypeSpecificInfoConditional {
parcelable BarringTypeSpecificInfo {
int factor;
int timeSeconds;
boolean isBarred;

View File

@@ -34,7 +34,7 @@
package android.hardware.radio;
@VintfStability
parcelable Call {
android.hardware.radio.CallState state;
int state;
int index;
int toa;
boolean isMpty;
@@ -43,10 +43,20 @@ parcelable Call {
boolean isVoice;
boolean isVoicePrivacy;
String number;
android.hardware.radio.CallPresentation numberPresentation;
int numberPresentation;
String name;
android.hardware.radio.CallPresentation namePresentation;
int namePresentation;
android.hardware.radio.UusInfo[] uusInfo;
android.hardware.radio.AudioQuality audioQuality;
String forwardedNumber;
const int PRESENTATION_ALLOWED = 0;
const int PRESENTATION_RESTRICTED = 1;
const int PRESENTATION_UNKNOWN = 2;
const int PRESENTATION_PAYPHONE = 3;
const int STATE_ACTIVE = 0;
const int STATE_HOLDING = 1;
const int STATE_DIALING = 2;
const int STATE_ALERTING = 3;
const int STATE_INCOMING = 4;
const int STATE_WAITING = 5;
}

View File

@@ -34,10 +34,15 @@
package android.hardware.radio;
@VintfStability
parcelable CallForwardInfo {
android.hardware.radio.CallForwardInfoStatus status;
int status;
int reason;
int serviceClass;
int toa;
String number;
int timeSeconds;
const int STATUS_DISABLE = 0;
const int STATUS_ENABLE = 1;
const int STATUS_INTERROGATE = 2;
const int STATUS_REGISTRATION = 3;
const int STATUS_ERASURE = 4;
}

View File

@@ -1,42 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CallForwardInfoStatus {
DISABLE = 0,
ENABLE = 1,
INTERROGATE = 2,
REGISTRATION = 3,
ERASURE = 4,
}

View File

@@ -1,41 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CallPresentation {
ALLOWED = 0,
RESTRICTED = 1,
UNKNOWN = 2,
PAYPHONE = 3,
}

View File

@@ -1,43 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CallState {
ACTIVE = 0,
HOLDING = 1,
DIALING = 2,
ALERTING = 3,
INCOMING = 4,
WAITING = 5,
}

View File

@@ -1,41 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CardState {
ABSENT = 0,
PRESENT = 1,
ERROR = 2,
RESTRICTED = 3,
}

View File

@@ -34,7 +34,7 @@
package android.hardware.radio;
@VintfStability
parcelable CardStatus {
android.hardware.radio.CardState cardState;
int cardState;
android.hardware.radio.PinState universalPinState;
int gsmUmtsSubscriptionAppIndex;
int cdmaSubscriptionAppIndex;
@@ -44,4 +44,8 @@ parcelable CardStatus {
String atr;
String iccid;
String eid;
const int STATE_ABSENT = 0;
const int STATE_PRESENT = 1;
const int STATE_ERROR = 2;
const int STATE_RESTRICTED = 3;
}

View File

@@ -36,6 +36,11 @@ package android.hardware.radio;
parcelable Carrier {
String mcc;
String mnc;
android.hardware.radio.CarrierMatchType matchType;
int matchType;
String matchData;
const int MATCH_TYPE_ALL = 0;
const int MATCH_TYPE_SPN = 1;
const int MATCH_TYPE_IMSI_PREFIX = 2;
const int MATCH_TYPE_GID1 = 3;
const int MATCH_TYPE_GID2 = 4;
}

View File

@@ -1,42 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CarrierMatchType {
ALL = 0,
SPN = 1,
IMSI_PREFIX = 2,
GID1 = 3,
GID2 = 4,
}

View File

@@ -36,4 +36,6 @@ package android.hardware.radio;
parcelable CarrierRestrictions {
android.hardware.radio.Carrier[] allowedCarriers;
android.hardware.radio.Carrier[] excludedCarriers;
boolean priority;
boolean allowedCarriersPrioritized;
}

View File

@@ -1,40 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@VintfStability
parcelable CarrierRestrictionsWithPriority {
android.hardware.radio.Carrier[] allowedCarriers;
android.hardware.radio.Carrier[] excludedCarriers;
boolean allowedCarriersPrioritized;
}

View File

@@ -33,9 +33,12 @@
package android.hardware.radio;
@VintfStability
parcelable RegStateResultAccessTechnologySpecificInfoCdma2000RegistrationInfo {
parcelable Cdma2000RegistrationInfo {
boolean cssSupported;
int roamingIndicator;
android.hardware.radio.PrlIndicator systemIsInPrl;
int systemIsInPrl;
int defaultRoamingIndicator;
const int PRL_INDICATOR_NOT_REGISTERED = -1;
const int PRL_INDICATOR_NOT_IN_PRL = 0;
const int PRL_INDICATOR_IN_PRL = 1;
}

View File

@@ -35,9 +35,23 @@ package android.hardware.radio;
@VintfStability
parcelable CdmaCallWaiting {
String number;
android.hardware.radio.CdmaCallWaitingNumberPresentation numberPresentation;
int numberPresentation;
String name;
android.hardware.radio.CdmaSignalInfoRecord signalInfoRecord;
android.hardware.radio.CdmaCallWaitingNumberType numberType;
android.hardware.radio.CdmaCallWaitingNumberPlan numberPlan;
int numberType;
int numberPlan;
const int NUMBER_PLAN_UNKNOWN = 0;
const int NUMBER_PLAN_ISDN = 1;
const int NUMBER_PLAN_DATA = 3;
const int NUMBER_PLAN_TELEX = 4;
const int NUMBER_PLAN_NATIONAL = 8;
const int NUMBER_PLAN_PRIVATE = 9;
const int NUMBER_PRESENTATION_ALLOWED = 0;
const int NUMBER_PRESENTATION_RESTRICTED = 1;
const int NUMBER_PRESENTATION_UNKNOWN = 2;
const int NUMBER_TYPE_UNKNOWN = 0;
const int NUMBER_TYPE_INTERNATIONAL = 1;
const int NUMBER_TYPE_NATIONAL = 2;
const int NUMBER_TYPE_NETWORK_SPECIFIC = 3;
const int NUMBER_TYPE_SUBSCRIBER = 4;
}

View File

@@ -1,43 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CdmaCallWaitingNumberPlan {
UNKNOWN = 0,
ISDN = 1,
DATA = 3,
TELEX = 4,
NATIONAL = 8,
PRIVATE = 9,
}

View File

@@ -1,40 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CdmaCallWaitingNumberPresentation {
ALLOWED = 0,
RESTRICTED = 1,
UNKNOWN = 2,
}

View File

@@ -1,42 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CdmaCallWaitingNumberType {
UNKNOWN = 0,
INTERNATIONAL = 1,
NATIONAL = 2,
NETWORK_SPECIFIC = 3,
SUBSCRIBER = 4,
}

View File

@@ -1,48 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CdmaInfoRecName {
DISPLAY = 0,
CALLED_PARTY_NUMBER = 1,
CALLING_PARTY_NUMBER = 2,
CONNECTED_NUMBER = 3,
SIGNAL = 4,
REDIRECTING_NUMBER = 5,
LINE_CONTROL = 6,
EXTENDED_DISPLAY = 7,
T53_CLIR = 8,
T53_RELEASE = 9,
T53_AUDIO_CONTROL = 10,
}

View File

@@ -34,7 +34,7 @@
package android.hardware.radio;
@VintfStability
parcelable CdmaInformationRecord {
android.hardware.radio.CdmaInfoRecName name;
int name;
android.hardware.radio.CdmaDisplayInfoRecord[] display;
android.hardware.radio.CdmaNumberInfoRecord[] number;
android.hardware.radio.CdmaSignalInfoRecord[] signal;
@@ -42,4 +42,15 @@ parcelable CdmaInformationRecord {
android.hardware.radio.CdmaLineControlInfoRecord[] lineCtrl;
android.hardware.radio.CdmaT53ClirInfoRecord[] clir;
android.hardware.radio.CdmaT53AudioControlInfoRecord[] audioCtrl;
const int NAME_DISPLAY = 0;
const int NAME_CALLED_PARTY_NUMBER = 1;
const int NAME_CALLING_PARTY_NUMBER = 2;
const int NAME_CONNECTED_NUMBER = 3;
const int NAME_SIGNAL = 4;
const int NAME_REDIRECTING_NUMBER = 5;
const int NAME_LINE_CONTROL = 6;
const int NAME_EXTENDED_DISPLAY = 7;
const int NAME_T53_CLIR = 8;
const int NAME_T53_RELEASE = 9;
const int NAME_T53_AUDIO_CONTROL = 10;
}

View File

@@ -35,5 +35,12 @@ package android.hardware.radio;
@VintfStability
parcelable CdmaRedirectingNumberInfoRecord {
android.hardware.radio.CdmaNumberInfoRecord redirectingNumber;
android.hardware.radio.CdmaRedirectingReason redirectingReason;
int redirectingReason;
const int REDIRECTING_REASON_UNKNOWN = 0;
const int REDIRECTING_REASON_CALL_FORWARDING_BUSY = 1;
const int REDIRECTING_REASON_CALL_FORWARDING_NO_REPLY = 2;
const int REDIRECTING_REASON_CALLED_DTE_OUT_OF_ORDER = 9;
const int REDIRECTING_REASON_CALL_FORWARDING_BY_THE_CALLED_DTE = 10;
const int REDIRECTING_REASON_CALL_FORWARDING_UNCONDITIONAL = 15;
const int REDIRECTING_REASON_RESERVED = 16;
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CdmaRedirectingReason {
UNKNOWN = 0,
CALL_FORWARDING_BUSY = 1,
CALL_FORWARDING_NO_REPLY = 2,
CALLED_DTE_OUT_OF_ORDER = 9,
CALL_FORWARDING_BY_THE_CALLED_DTE = 10,
CALL_FORWARDING_UNCONDITIONAL = 15,
RESERVED = 16,
}

View File

@@ -34,6 +34,6 @@
package android.hardware.radio;
@VintfStability
parcelable CdmaSmsAck {
android.hardware.radio.CdmaSmsErrorClass errorClass;
boolean errorClass;
int smsCauseCode;
}

View File

@@ -34,9 +34,35 @@
package android.hardware.radio;
@VintfStability
parcelable CdmaSmsAddress {
android.hardware.radio.CdmaSmsDigitMode digitMode;
android.hardware.radio.CdmaSmsNumberMode numberMode;
android.hardware.radio.CdmaSmsNumberType numberType;
android.hardware.radio.CdmaSmsNumberPlan numberPlan;
int digitMode;
boolean isNumberModeDataNetwork;
int numberType;
int numberPlan;
byte[] digits;
const int DIGIT_MODE_FOUR_BIT = 0;
const int DIGIT_MODE_EIGHT_BIT = 1;
const int NUMBER_PLAN_UNKNOWN = 0;
const int NUMBER_PLAN_TELEPHONY = 1;
const int NUMBER_PLAN_RESERVED_2 = 2;
const int NUMBER_PLAN_DATA = 3;
const int NUMBER_PLAN_TELEX = 4;
const int NUMBER_PLAN_RESERVED_5 = 5;
const int NUMBER_PLAN_RESERVED_6 = 6;
const int NUMBER_PLAN_RESERVED_7 = 7;
const int NUMBER_PLAN_RESERVED_8 = 8;
const int NUMBER_PLAN_PRIVATE = 9;
const int NUMBER_PLAN_RESERVED_10 = 10;
const int NUMBER_PLAN_RESERVED_11 = 11;
const int NUMBER_PLAN_RESERVED_12 = 12;
const int NUMBER_PLAN_RESERVED_13 = 13;
const int NUMBER_PLAN_RESERVED_14 = 14;
const int NUMBER_PLAN_RESERVED_15 = 15;
const int NUMBER_TYPE_UNKNOWN = 0;
const int NUMBER_TYPE_INTERNATIONAL_OR_DATA_IP = 1;
const int NUMBER_TYPE_NATIONAL_OR_INTERNET_MAIL = 2;
const int NUMBER_TYPE_NETWORK = 3;
const int NUMBER_TYPE_SUBSCRIBER = 4;
const int NUMBER_TYPE_ALPHANUMERIC = 5;
const int NUMBER_TYPE_ABBREVIATED = 6;
const int NUMBER_TYPE_RESERVED_7 = 7;
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CdmaSmsDigitMode {
FOUR_BIT = 0,
EIGHT_BIT = 1,
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CdmaSmsErrorClass {
NO_ERROR = 0,
ERROR = 1,
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CdmaSmsNumberMode {
NOT_DATA_NETWORK = 0,
DATA_NETWORK = 1,
}

View File

@@ -1,53 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CdmaSmsNumberPlan {
UNKNOWN = 0,
TELEPHONY = 1,
RESERVED_2 = 2,
DATA = 3,
TELEX = 4,
RESERVED_5 = 5,
RESERVED_6 = 6,
RESERVED_7 = 7,
RESERVED_8 = 8,
PRIVATE = 9,
RESERVED_10 = 10,
RESERVED_11 = 11,
RESERVED_12 = 12,
RESERVED_13 = 13,
RESERVED_14 = 14,
RESERVED_15 = 15,
}

View File

@@ -1,45 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CdmaSmsNumberType {
UNKNOWN = 0,
INTERNATIONAL_OR_DATA_IP = 1,
NATIONAL_OR_INTERNET_MAIL = 2,
NETWORK = 3,
SUBSCRIBER = 4,
ALPHANUMERIC = 5,
ABBREVIATED = 6,
RESERVED_7 = 7,
}

View File

@@ -34,7 +34,9 @@
package android.hardware.radio;
@VintfStability
parcelable CdmaSmsSubaddress {
android.hardware.radio.CdmaSmsSubaddressType subaddressType;
int subaddressType;
boolean odd;
byte[] digits;
const int SUBADDRESS_TYPE_NSAP = 0;
const int SUBADDRESS_TYPE_USER_SPECIFIED = 1;
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CdmaSmsSubaddressType {
NSAP = 0,
USER_SPECIFIED = 1,
}

View File

@@ -34,6 +34,10 @@
package android.hardware.radio;
@VintfStability
parcelable CdmaSmsWriteArgs {
android.hardware.radio.CdmaSmsWriteArgsStatus status;
int status;
android.hardware.radio.CdmaSmsMessage message;
const int STATUS_REC_UNREAD = 0;
const int STATUS_REC_READ = 1;
const int STATUS_STO_UNSENT = 2;
const int STATUS_STO_SENT = 3;
}

View File

@@ -1,41 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum CdmaSmsWriteArgsStatus {
REC_UNREAD = 0,
REC_READ = 1,
STO_UNSENT = 2,
STO_SENT = 3,
}

View File

@@ -43,6 +43,6 @@ parcelable CellIdentityLte {
android.hardware.radio.CellIdentityOperatorNames operatorNames;
int bandwidth;
String[] additionalPlmns;
android.hardware.radio.OptionalCsgInfo optionalCsgInfo;
@nullable android.hardware.radio.ClosedSubscriberGroupInfo csgInfo;
android.hardware.radio.EutranBands[] bands;
}

View File

@@ -42,5 +42,5 @@ parcelable CellIdentityTdscdma {
int uarfcn;
android.hardware.radio.CellIdentityOperatorNames operatorNames;
String[] additionalPlmns;
android.hardware.radio.OptionalCsgInfo optionalCsgInfo;
@nullable android.hardware.radio.ClosedSubscriberGroupInfo csgInfo;
}

View File

@@ -42,5 +42,5 @@ parcelable CellIdentityWcdma {
int uarfcn;
android.hardware.radio.CellIdentityOperatorNames operatorNames;
String[] additionalPlmns;
android.hardware.radio.OptionalCsgInfo optionalCsgInfo;
@nullable android.hardware.radio.ClosedSubscriberGroupInfo csgInfo;
}

View File

@@ -1,40 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum Clir {
DEFAULT = 0,
INVOCATION = 1,
SUPPRESSION = 2,
}

View File

@@ -1,40 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum DataConnActiveStatus {
INACTIVE = 0,
DORMANT = 1,
ACTIVE = 2,
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum DataProfileId {
DEFAULT = 0,
TETHERED = 1,
IMS = 2,
FOTA = 3,
CBS = 4,
OEM_BASE = 1000,
INVALID = -1,
}

View File

@@ -34,14 +34,14 @@
package android.hardware.radio;
@VintfStability
parcelable DataProfileInfo {
android.hardware.radio.DataProfileId profileId;
int profileId;
String apn;
android.hardware.radio.PdpProtocolType protocol;
android.hardware.radio.PdpProtocolType roamingProtocol;
android.hardware.radio.ApnAuthType authType;
String user;
String password;
android.hardware.radio.DataProfileInfoType type;
int type;
int maxConnsTime;
int maxConns;
int waitTime;
@@ -52,4 +52,14 @@ parcelable DataProfileInfo {
int mtuV6;
boolean preferred;
boolean persistent;
const int ID_DEFAULT = 0;
const int ID_TETHERED = 1;
const int ID_IMS = 2;
const int ID_FOTA = 3;
const int ID_CBS = 4;
const int ID_OEM_BASE = 1000;
const int ID_INVALID = -1;
const int TYPE_COMMON = 0;
const int TYPE_THREE_GPP = 1;
const int TYPE_THREE_GPP2 = 2;
}

View File

@@ -1,40 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum DataProfileInfoType {
COMMON = 0,
THREE_GPP = 1,
THREE_GPP2 = 2,
}

View File

@@ -39,6 +39,6 @@ parcelable DataRegStateResult {
int reasonDataDenied;
int maxDataCalls;
android.hardware.radio.CellIdentity cellIdentity;
android.hardware.radio.DataRegStateResultVopsInfo vopsInfo;
@nullable android.hardware.radio.LteVopsInfo lteVopsInfo;
android.hardware.radio.NrIndicators nrIndicators;
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@VintfStability
union DataRegStateResultVopsInfo {
boolean noinit;
android.hardware.radio.LteVopsInfo lteVopsInfo;
}

View File

@@ -35,6 +35,9 @@ package android.hardware.radio;
@VintfStability
parcelable Dial {
String address;
android.hardware.radio.Clir clir;
int clir;
android.hardware.radio.UusInfo[] uusInfo;
const int CLIR_DEFAULT = 0;
const int CLIR_INVOCATION = 1;
const int CLIR_SUPPRESSION = 2;
}

View File

@@ -1,41 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="byte") @VintfStability
enum EmcIndicator {
EMC_NOT_SUPPORTED = 0,
EMC_NR_CONNECTED_TO_5GCN = 1,
EMC_EUTRA_CONNECTED_TO_5GCN = 2,
EMC_BOTH_NR_EUTRA_CONNECTED_TO_5GCN = 3,
}

View File

@@ -39,5 +39,9 @@ parcelable EmergencyNumber {
String mnc;
android.hardware.radio.EmergencyServiceCategory categories;
String[] urns;
android.hardware.radio.EmergencyNumberSource sources;
int sources;
const int SOURCE_NETWORK_SIGNALING = 1;
const int SOURCE_SIM = 2;
const int SOURCE_MODEM_CONFIG = 4;
const int SOURCE_DEFAULT = 8;
}

View File

@@ -1,41 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum EmergencyNumberSource {
NETWORK_SIGNALING = 1,
SIM = 2,
MODEM_CONFIG = 4,
DEFAULT = 8,
}

View File

@@ -1,41 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="byte") @VintfStability
enum EmfIndicator {
EMF_NOT_SUPPORTED = 0,
EMF_NR_CONNECTED_TO_5GCN = 1,
EMF_EUTRA_CONNECTED_TO_5GCN = 2,
EMF_BOTH_NR_EUTRA_CONNECTED_TO_5GCN = 3,
}

View File

@@ -33,7 +33,7 @@
package android.hardware.radio;
@VintfStability
parcelable RegStateResultAccessTechnologySpecificInfoEutranRegistrationInfo {
parcelable EutranRegistrationInfo {
android.hardware.radio.LteVopsInfo lteVopsInfo;
android.hardware.radio.NrIndicators nrIndicators;
}

View File

@@ -1,41 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum FrequencyRange {
LOW = 1,
MID = 2,
HIGH = 3,
MMWAVE = 4,
}

View File

@@ -1,41 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="byte") @VintfStability
enum HandoverFailureMode {
LEGACY = 0,
DO_FALLBACK = 1,
NO_FALLBACK_RETRY_HANDOVER = 2,
NO_FALLBACK_RETRY_SETUP_NORMAL = 3,
}

View File

@@ -34,9 +34,14 @@
package android.hardware.radio;
@VintfStability
parcelable HardwareConfig {
android.hardware.radio.HardwareConfigType type;
int type;
String uuid;
android.hardware.radio.HardwareConfigState state;
int state;
android.hardware.radio.HardwareConfigModem[] modem;
android.hardware.radio.HardwareConfigSim[] sim;
const int STATE_ENABLED = 0;
const int STATE_STANDBY = 1;
const int STATE_DISABLED = 2;
const int TYPE_MODEM = 0;
const int TYPE_SIM = 1;
}

View File

@@ -1,40 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum HardwareConfigState {
ENABLED = 0,
STANDBY = 1,
DISABLED = 2,
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum HardwareConfigType {
MODEM = 0,
SIM = 1,
}

View File

@@ -113,7 +113,6 @@ interface IRadio {
oneway void nvResetConfig(in int serial, in android.hardware.radio.ResetNvType resetType);
oneway void nvWriteCdmaPrl(in int serial, in byte[] prl);
oneway void nvWriteItem(in int serial, in android.hardware.radio.NvWriteItem item);
oneway void pullLceData(in int serial);
oneway void rejectCall(in int serial);
oneway void releasePduSessionId(in int serial, in int id);
oneway void reportSmsMemoryStatus(in int serial, in boolean available);
@@ -131,13 +130,12 @@ interface IRadio {
oneway void sendEnvelope(in int serial, in String command);
oneway void sendEnvelopeWithStatus(in int serial, in String contents);
oneway void sendImsSms(in int serial, in android.hardware.radio.ImsSmsMessage message);
oneway void sendSMSExpectMore(in int serial, in android.hardware.radio.GsmSmsMessage message);
oneway void sendSms(in int serial, in android.hardware.radio.GsmSmsMessage message);
oneway void sendSmsExpectMore(in int serial, in android.hardware.radio.GsmSmsMessage message);
oneway void sendTerminalResponseToSim(in int serial, in String commandResponse);
oneway void sendUssd(in int serial, in String ussd);
oneway void separateConnection(in int serial, in int gsmIndex);
oneway void setAllowedCarriers(in int serial, in android.hardware.radio.CarrierRestrictionsWithPriority carriers, in android.hardware.radio.SimLockMultiSimPolicy multiSimPolicy);
oneway void setAllowedCarriers(in int serial, in android.hardware.radio.CarrierRestrictions carriers, in android.hardware.radio.SimLockMultiSimPolicy multiSimPolicy);
oneway void setAllowedNetworkTypesBitmap(in int serial, in android.hardware.radio.RadioAccessFamily networkTypeBitmap);
oneway void setBandMode(in int serial, in android.hardware.radio.RadioBandMode mode);
oneway void setBarringPassword(in int serial, in String facility, in String oldPassword, in String newPassword);
@@ -169,7 +167,7 @@ interface IRadio {
oneway void setPreferredVoicePrivacy(in int serial, in boolean enable);
oneway void setRadioCapability(in int serial, in android.hardware.radio.RadioCapability rc);
oneway void setRadioPower(in int serial, in boolean powerOn, in boolean forEmergencyCall, in boolean preferredForEmergencyCall);
void setResponseFunctions(in android.hardware.radio.IRadioResponse radioResponse, in android.hardware.radio.IRadioIndication radioIndication);
oneway void setResponseFunctions(in android.hardware.radio.IRadioResponse radioResponse, in android.hardware.radio.IRadioIndication radioIndication);
oneway void setSignalStrengthReportingCriteria(in int serial, in android.hardware.radio.SignalThresholdInfo signalThresholdInfo, in android.hardware.radio.AccessNetwork accessNetwork);
oneway void setSimCardPower(in int serial, in android.hardware.radio.CardPowerState powerUp);
oneway void setSmscAddress(in int serial, in String smsc);
@@ -177,15 +175,13 @@ interface IRadio {
oneway void setSystemSelectionChannels(in int serial, in boolean specifyChannels, in android.hardware.radio.RadioAccessSpecifier[] specifiers);
oneway void setTTYMode(in int serial, in android.hardware.radio.TtyMode mode);
oneway void setUiccSubscription(in int serial, in android.hardware.radio.SelectUiccSub uiccSub);
oneway void setupDataCall(in int serial, in android.hardware.radio.AccessNetwork accessNetwork, in android.hardware.radio.DataProfileInfo dataProfileInfo, in boolean roamingAllowed, in android.hardware.radio.DataRequestReason reason, in android.hardware.radio.LinkAddress[] addresses, in String[] dnses, in int pduSessionId, in android.hardware.radio.OptionalSliceInfo sliceInfo, in android.hardware.radio.OptionalTrafficDescriptor trafficDescriptor, in boolean matchAllRuleAllowed);
oneway void setupDataCall(in int serial, in android.hardware.radio.AccessNetwork accessNetwork, in android.hardware.radio.DataProfileInfo dataProfileInfo, in boolean roamingAllowed, in android.hardware.radio.DataRequestReason reason, in android.hardware.radio.LinkAddress[] addresses, in String[] dnses, in int pduSessionId, in @nullable android.hardware.radio.SliceInfo sliceInfo, in @nullable android.hardware.radio.TrafficDescriptor trafficDescriptor, in boolean matchAllRuleAllowed);
oneway void startDtmf(in int serial, in String s);
oneway void startHandover(in int serial, in int callId);
oneway void startKeepalive(in int serial, in android.hardware.radio.KeepaliveRequest keepalive);
oneway void startLceService(in int serial, in int reportInterval, in boolean pullMode);
oneway void startNetworkScan(in int serial, in android.hardware.radio.NetworkScanRequest request);
oneway void stopDtmf(in int serial);
oneway void stopKeepalive(in int serial, in int sessionHandle);
oneway void stopLceService(in int serial);
oneway void stopNetworkScan(in int serial);
oneway void supplyIccPin2ForApp(in int serial, in String pin2, in String aid);
oneway void supplyIccPinForApp(in int serial, in String pin, in String aid);

View File

@@ -55,7 +55,7 @@ interface IRadioResponse {
oneway void enableUiccApplicationsResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void exitEmergencyCallbackModeResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void explicitCallTransferResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void getAllowedCarriersResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.CarrierRestrictionsWithPriority carriers, in android.hardware.radio.SimLockMultiSimPolicy multiSimPolicy);
oneway void getAllowedCarriersResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.CarrierRestrictions carriers, in android.hardware.radio.SimLockMultiSimPolicy multiSimPolicy);
oneway void getAllowedNetworkTypesBitmapResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.RadioAccessFamily networkTypeBitmap);
oneway void getAvailableBandModesResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.RadioBandMode[] bandModes);
oneway void getAvailableNetworksResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.OperatorInfo[] networkInfos);

View File

@@ -39,7 +39,7 @@ interface ISap {
oneway void disconnectReq(in int token);
oneway void powerReq(in int token, in boolean state);
oneway void resetSimReq(in int token);
void setCallback(in android.hardware.radio.ISapCallback sapCallback);
oneway void setCallback(in android.hardware.radio.ISapCallback sapCallback);
oneway void setTransferProtocolReq(in int token, in android.hardware.radio.SapTransferProtocol transferProtocol);
oneway void transferAtrReq(in int token);
oneway void transferCardReaderStatusReq(in int token);

View File

@@ -39,5 +39,7 @@ parcelable ImsiEncryptionInfo {
byte[] carrierKey;
String keyIdentifier;
long expirationTime;
android.hardware.radio.PublicKeyType keyType;
byte keyType;
const byte PUBLIC_KEY_TYPE_EPDG = 1;
const byte PUBLIC_KEY_TYPE_WLAN = 2;
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum IncrementalResultsPeriodicityRange {
MIN = 1,
MAX = 10,
}

View File

@@ -34,11 +34,13 @@
package android.hardware.radio;
@VintfStability
parcelable KeepaliveRequest {
android.hardware.radio.KeepaliveType type;
int type;
byte[] sourceAddress;
int sourcePort;
byte[] destinationAddress;
int destinationPort;
int maxKeepaliveIntervalMillis;
int cid;
const int TYPE_NATT_IPV4 = 0;
const int TYPE_NATT_IPV6 = 1;
}

View File

@@ -35,5 +35,8 @@ package android.hardware.radio;
@VintfStability
parcelable KeepaliveStatus {
int sessionHandle;
android.hardware.radio.KeepaliveStatusCode code;
int code;
const int CODE_ACTIVE = 0;
const int CODE_INACTIVE = 1;
const int CODE_PENDING = 2;
}

View File

@@ -1,40 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum KeepaliveStatusCode {
ACTIVE = 0,
INACTIVE = 1,
PENDING = 2,
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum KeepaliveType {
NATT_IPV4 = 0,
NATT_IPV6 = 1,
}

View File

@@ -1,40 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum LceStatus {
NOT_SUPPORTED = 0,
STOPPED = 1,
ACTIVE = 2,
}

View File

@@ -34,6 +34,9 @@
package android.hardware.radio;
@VintfStability
parcelable LceStatusInfo {
android.hardware.radio.LceStatus lceStatus;
int lceStatus;
byte actualIntervalMs;
const int LCE_STATUS_NOT_SUPPORTED = 0;
const int LCE_STATUS_STOPPED = 1;
const int LCE_STATUS_ACTIVE = 2;
}

View File

@@ -35,7 +35,9 @@ package android.hardware.radio;
@VintfStability
parcelable LinkAddress {
String address;
android.hardware.radio.AddressProperty properties;
int addressProperties;
long deprecationTime;
long expirationTime;
const int ADDRESS_PROPERTY_NONE = 0;
const int ADDRESS_PROPERTY_DEPRECATED = 32;
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum MaxSearchTimeRange {
MIN = 60,
MAX = 3600,
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@VintfStability
union MaybePort {
boolean noinit;
android.hardware.radio.PortRange range;
}

View File

@@ -1,41 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum MvnoType {
NONE = 0,
IMSI = 1,
GID = 2,
SPN = 3,
}

View File

@@ -34,11 +34,19 @@
package android.hardware.radio;
@VintfStability
parcelable NetworkScanRequest {
android.hardware.radio.ScanType type;
int type;
int interval;
android.hardware.radio.RadioAccessSpecifier[] specifiers;
int maxSearchTime;
boolean incrementalResults;
int incrementalResultsPeriodicity;
String[] mccMncs;
const int INCREMENTAL_RESULTS_PREIODICITY_RANGE_MIN = 1;
const int INCREMENTAL_RESULTS_PREIODICITY_RANGE_MAX = 10;
const int MAX_SEARCH_TIME_RANGE_MIN = 60;
const int MAX_SEARCH_TIME_RANGE_MAX = 3600;
const int SCAN_INTERVAL_RANGE_MIN = 5;
const int SCAN_INTERVAL_RANGE_MAX = 300;
const int SCAN_TYPE_ONE_SHOT = 0;
const int SCAN_TYPE_PERIODIC = 1;
}

View File

@@ -34,7 +34,9 @@
package android.hardware.radio;
@VintfStability
parcelable NetworkScanResult {
android.hardware.radio.ScanStatus status;
int status;
android.hardware.radio.RadioError error;
android.hardware.radio.CellInfo[] networkInfos;
const int SCAN_STATUS_PARTIAL = 1;
const int SCAN_STATUS_COMPLETE = 2;
}

View File

@@ -39,4 +39,6 @@ parcelable NrQos {
android.hardware.radio.QosBandwidth uplink;
byte qfi;
char averagingWindowMs;
const byte FLOW_ID_RANGE_MIN = 1;
const byte FLOW_ID_RANGE_MAX = 63;
}

View File

@@ -34,7 +34,18 @@
package android.hardware.radio;
@VintfStability
parcelable NrVopsInfo {
android.hardware.radio.VopsIndicator vopsSupported;
android.hardware.radio.EmcIndicator emcSupported;
android.hardware.radio.EmfIndicator emfSupported;
byte vopsSupported;
byte emcSupported;
byte emfSupported;
const byte EMC_INDICATOR_NOT_SUPPORTED = 0;
const byte EMC_INDICATOR_NR_CONNECTED_TO_5GCN = 1;
const byte EMC_INDICATOR_EUTRA_CONNECTED_TO_5GCN = 2;
const byte EMC_INDICATOR_BOTH_NR_EUTRA_CONNECTED_TO_5GCN = 3;
const byte EMF_INDICATOR_NOT_SUPPORTED = 0;
const byte EMF_INDICATOR_NR_CONNECTED_TO_5GCN = 1;
const byte EMF_INDICATOR_EUTRA_CONNECTED_TO_5GCN = 2;
const byte EMF_INDICATOR_BOTH_NR_EUTRA_CONNECTED_TO_5GCN = 3;
const byte VOPS_INDICATOR_VOPS_NOT_SUPPORTED = 0;
const byte VOPS_INDICATOR_VOPS_OVER_3GPP = 1;
const byte VOPS_INDICATOR_VOPS_OVER_NON_3GPP = 2;
}

View File

@@ -37,5 +37,9 @@ parcelable OperatorInfo {
String alphaLong;
String alphaShort;
String operatorNumeric;
android.hardware.radio.OperatorStatus status;
int status;
const int STATUS_UNKNOWN = 0;
const int STATUS_AVAILABLE = 1;
const int STATUS_CURRENT = 2;
const int STATUS_FORBIDDEN = 3;
}

View File

@@ -1,41 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum OperatorStatus {
UNKNOWN = 0,
AVAILABLE = 1,
CURRENT = 2,
FORBIDDEN = 3,
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@VintfStability
union OptionalCsgInfo {
boolean noinit;
android.hardware.radio.ClosedSubscriberGroupInfo csgInfo;
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@VintfStability
union OptionalDnn {
boolean noinit;
String value;
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@VintfStability
union OptionalOsAppId {
boolean noinit;
android.hardware.radio.OsAppId value;
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@VintfStability
union OptionalPdpProtocolType {
boolean noinit;
android.hardware.radio.PdpProtocolType value;
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@VintfStability
union OptionalSliceInfo {
boolean noinit;
android.hardware.radio.SliceInfo value;
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@VintfStability
union OptionalSscMode {
boolean noinit;
android.hardware.radio.SscMode value;
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@VintfStability
union OptionalTrafficDescriptor {
boolean noinit;
android.hardware.radio.TrafficDescriptor value;
}

View File

@@ -1,38 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum P2Constant {
NO_P2 = -1,
}

View File

@@ -36,4 +36,6 @@ package android.hardware.radio;
parcelable PortRange {
int start;
int end;
const int PORT_RANGE_MIN = 20;
const int PORT_RANGE_MAX = 65535;
}

View File

@@ -1,40 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum PrlIndicator {
NOT_REGISTERED = -1,
NOT_IN_PRL = 0,
IN_PRL = 1,
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="byte") @VintfStability
enum PublicKeyType {
EPDG = 1,
WLAN = 2,
}

View File

@@ -36,12 +36,20 @@ package android.hardware.radio;
parcelable QosFilter {
String[] localAddresses;
String[] remoteAddresses;
android.hardware.radio.MaybePort localPort;
android.hardware.radio.MaybePort remotePort;
android.hardware.radio.QosProtocol protocol;
@nullable android.hardware.radio.PortRange localPort;
@nullable android.hardware.radio.PortRange remotePort;
byte protocol;
android.hardware.radio.QosFilterTypeOfService tos;
android.hardware.radio.QosFilterIpv6FlowLabel flowLabel;
android.hardware.radio.QosFilterIpsecSpi spi;
android.hardware.radio.QosFilterDirection direction;
byte direction;
int precedence;
const byte DIRECTION_DOWNLINK = 0;
const byte DIRECTION_UPLINK = 1;
const byte DIRECTION_BIDIRECTIONAL = 2;
const byte PROTOCOL_UNSPECIFIED = -1;
const byte PROTOCOL_TCP = 6;
const byte PROTOCOL_UDP = 17;
const byte PROTOCOL_ESP = 50;
const byte PROTOCOL_AH = 51;
}

View File

@@ -1,40 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="byte") @VintfStability
enum QosFilterDirection {
DOWNLINK = 0,
UPLINK = 1,
BIDIRECTIONAL = 2,
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="byte") @VintfStability
enum QosFlowIdRange {
MIN = 1,
MAX = 63,
}

View File

@@ -1,39 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="int") @VintfStability
enum QosPortRange {
MIN = 20,
MAX = 65535,
}

View File

@@ -1,42 +0,0 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package android.hardware.radio;
@Backing(type="byte") @VintfStability
enum QosProtocol {
UNSPECIFIED = -1,
TCP = 6,
UDP = 17,
ESP = 50,
AH = 51,
}

View File

@@ -35,8 +35,16 @@ package android.hardware.radio;
@VintfStability
parcelable RadioCapability {
int session;
android.hardware.radio.RadioCapabilityPhase phase;
int phase;
android.hardware.radio.RadioAccessFamily raf;
String logicalModemUuid;
android.hardware.radio.RadioCapabilityStatus status;
int status;
const int PHASE_CONFIGURED = 0;
const int PHASE_START = 1;
const int PHASE_APPLY = 2;
const int PHASE_UNSOL_RSP = 3;
const int PHASE_FINISH = 4;
const int STATUS_NONE = 0;
const int STATUS_SUCCESS = 1;
const int STATUS_FAIL = 2;
}

Some files were not shown because too many files have changed in this diff Show More