Merge "Create IRadio modules" into stage-aosp-master am: 959467e980 am: 3dc1e6221d

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15883304

Change-Id: Id814f31acfb7713b58d665a8836022635ffe6f45
This commit is contained in:
Sarah Chin
2021-09-23 03:27:18 +00:00
committed by Automerger Merge Worker
374 changed files with 7906 additions and 7746 deletions

View File

@@ -433,10 +433,60 @@
</interface>
</hal>
<hal format="aidl" optional="true">
<name>android.hardware.radio</name>
<name>android.hardware.radio.data</name>
<version>1</version>
<interface>
<name>IRadio</name>
<name>IRadioData</name>
<instance>slot1</instance>
<instance>slot2</instance>
<instance>slot3</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>android.hardware.radio.messaging</name>
<version>1</version>
<interface>
<name>IRadioMessaging</name>
<instance>slot1</instance>
<instance>slot2</instance>
<instance>slot3</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>android.hardware.radio.modem</name>
<version>1</version>
<interface>
<name>IRadioModem</name>
<instance>slot1</instance>
<instance>slot2</instance>
<instance>slot3</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>android.hardware.radio.network</name>
<version>1</version>
<interface>
<name>IRadioNetwork</name>
<instance>slot1</instance>
<instance>slot2</instance>
<instance>slot3</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>android.hardware.radio.sim</name>
<version>1</version>
<interface>
<name>IRadioSim</name>
<instance>slot1</instance>
<instance>slot2</instance>
<instance>slot3</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>android.hardware.radio.voice</name>
<version>1</version>
<interface>
<name>IRadioVoice</name>
<instance>slot1</instance>
<instance>slot2</instance>
<instance>slot3</instance>

View File

@@ -56,6 +56,7 @@ bool ShouldCheckMissingHalsInFcm(const std::string& package) {
"android.hardware.common.fmq",
"android.hardware.graphics.common",
"android.hardware.keymaster",
"android.hardware.radio",
// Fastboot HAL is only used by recovery. Recovery is owned by OEM. Framework
// does not depend on this HAL, hence it is not declared in any manifests or matrices.

View File

@@ -27,34 +27,128 @@ aidl_interface {
},
}
cc_library {
name: "android.hardware.radio-translate-ndk",
aidl_interface {
name: "android.hardware.radio.data",
vendor_available: true,
shared_libs: [
"libbinder_ndk",
"libhidlbase",
"android.hardware.radio-V1-ndk_platform",
"android.hardware.radio@1.0",
"android.hardware.radio@1.1",
"android.hardware.radio@1.2",
"android.hardware.radio@1.3",
"android.hardware.radio@1.4",
"android.hardware.radio@1.5",
"android.hardware.radio@1.6",
],
srcs: ["android/hardware/radio/data/*.aidl"],
stability: "vintf",
imports: ["android.hardware.radio"],
backend: {
cpp: {
enabled: false,
},
java: {
sdk_version: "module_current",
},
ndk: {
vndk: {
enabled: true,
},
},
},
}
java_library {
name: "android.hardware.radio-translate-java",
libs: [
"android.hardware.radio-V1-java",
"android.hardware.radio-V1.0-java",
"android.hardware.radio-V1.1-java",
"android.hardware.radio-V1.2-java",
"android.hardware.radio-V1.3-java",
"android.hardware.radio-V1.4-java",
"android.hardware.radio-V1.5-java",
"android.hardware.radio-V1.6-java",
],
sdk_version: "module_current",
aidl_interface {
name: "android.hardware.radio.messaging",
vendor_available: true,
srcs: ["android/hardware/radio/messaging/*.aidl"],
stability: "vintf",
imports: ["android.hardware.radio"],
backend: {
cpp: {
enabled: false,
},
java: {
sdk_version: "module_current",
},
ndk: {
vndk: {
enabled: true,
},
},
},
}
aidl_interface {
name: "android.hardware.radio.modem",
vendor_available: true,
srcs: ["android/hardware/radio/modem/*.aidl"],
stability: "vintf",
imports: ["android.hardware.radio"],
backend: {
cpp: {
enabled: false,
},
java: {
sdk_version: "module_current",
},
ndk: {
vndk: {
enabled: true,
},
},
},
}
aidl_interface {
name: "android.hardware.radio.network",
vendor_available: true,
srcs: ["android/hardware/radio/network/*.aidl"],
stability: "vintf",
imports: ["android.hardware.radio"],
backend: {
cpp: {
enabled: false,
},
java: {
sdk_version: "module_current",
},
ndk: {
vndk: {
enabled: true,
},
},
},
}
aidl_interface {
name: "android.hardware.radio.sim",
vendor_available: true,
srcs: ["android/hardware/radio/sim/*.aidl"],
stability: "vintf",
imports: ["android.hardware.radio"],
backend: {
cpp: {
enabled: false,
},
java: {
sdk_version: "module_current",
},
ndk: {
vndk: {
enabled: true,
},
},
},
}
aidl_interface {
name: "android.hardware.radio.voice",
vendor_available: true,
srcs: ["android/hardware/radio/voice/*.aidl"],
stability: "vintf",
imports: ["android.hardware.radio"],
backend: {
cpp: {
enabled: false,
},
java: {
sdk_version: "module_current",
},
ndk: {
vndk: {
enabled: true,
},
},
},
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@Backing(type="int") @VintfStability
enum ApnAuthType {
NO_PAP_NO_CHAP = 0,

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@Backing(type="int") @VintfStability
enum ApnTypes {
NONE = 0,
@@ -45,7 +45,6 @@ enum ApnTypes {
CBS = 128,
IA = 256,
EMERGENCY = 512,
ALL = 1023,
MCX = 1024,
XCAP = 2048,
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@Backing(type="int") @VintfStability
enum DataCallFailCause {
NONE = 0,

View File

@@ -31,14 +31,14 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable DataProfileInfo {
int profileId;
String apn;
android.hardware.radio.PdpProtocolType protocol;
android.hardware.radio.PdpProtocolType roamingProtocol;
android.hardware.radio.ApnAuthType authType;
android.hardware.radio.data.PdpProtocolType protocol;
android.hardware.radio.data.PdpProtocolType roamingProtocol;
android.hardware.radio.data.ApnAuthType authType;
String user;
String password;
int type;
@@ -46,7 +46,7 @@ parcelable DataProfileInfo {
int maxConns;
int waitTime;
boolean enabled;
android.hardware.radio.ApnTypes supportedApnTypesBitmap;
android.hardware.radio.data.ApnTypes supportedApnTypesBitmap;
android.hardware.radio.RadioAccessFamily bearerBitmap;
int mtuV4;
int mtuV6;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@Backing(type="int") @VintfStability
enum DataRequestReason {
NORMAL = 1,

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@Backing(type="byte") @VintfStability
enum DataThrottlingAction {
NO_DATA_THROTTLING = 0,

View File

@@ -31,10 +31,10 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable EpsQos {
int qci;
android.hardware.radio.QosBandwidth downlink;
android.hardware.radio.QosBandwidth uplink;
android.hardware.radio.data.QosBandwidth downlink;
android.hardware.radio.data.QosBandwidth uplink;
}

View File

@@ -0,0 +1,53 @@
/*
* 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.data;
@VintfStability
interface IRadioData {
oneway void allocatePduSessionId(in int serial);
oneway void cancelHandover(in int serial, in int callId);
oneway void deactivateDataCall(in int serial, in int cid, in android.hardware.radio.data.DataRequestReason reason);
oneway void getDataCallList(in int serial);
oneway void getSlicingConfig(in int serial);
oneway void releasePduSessionId(in int serial, in int id);
oneway void responseAcknowledgement();
oneway void setDataAllowed(in int serial, in boolean allow);
oneway void setDataProfile(in int serial, in android.hardware.radio.data.DataProfileInfo[] profiles);
oneway void setDataThrottling(in int serial, in android.hardware.radio.data.DataThrottlingAction dataThrottlingAction, in long completionDurationMillis);
oneway void setInitialAttachApn(in int serial, in android.hardware.radio.data.DataProfileInfo dataProfileInfo);
oneway void setResponseFunctions(in android.hardware.radio.data.IRadioDataResponse radioDataResponse, in android.hardware.radio.data.IRadioDataIndication radioDataIndication);
oneway void setupDataCall(in int serial, in android.hardware.radio.AccessNetwork accessNetwork, in android.hardware.radio.data.DataProfileInfo dataProfileInfo, in boolean roamingAllowed, in android.hardware.radio.data.DataRequestReason reason, in android.hardware.radio.data.LinkAddress[] addresses, in String[] dnses, in int pduSessionId, in @nullable android.hardware.radio.data.SliceInfo sliceInfo, in @nullable android.hardware.radio.data.TrafficDescriptor trafficDescriptor, in boolean matchAllRuleAllowed);
oneway void startHandover(in int serial, in int callId);
oneway void startKeepalive(in int serial, in android.hardware.radio.data.KeepaliveRequest keepalive);
oneway void stopKeepalive(in int serial, in int sessionHandle);
}

View File

@@ -0,0 +1,41 @@
/*
* 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.data;
@VintfStability
interface IRadioDataIndication {
oneway void dataCallListChanged(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.data.SetupDataCallResult[] dcList);
oneway void keepaliveStatus(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.data.KeepaliveStatus status);
oneway void pcoData(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.data.PcoDataInfo pco);
oneway void unthrottleApn(in android.hardware.radio.RadioIndicationType type, in String apn);
}

View File

@@ -0,0 +1,52 @@
/*
* 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.data;
@VintfStability
interface IRadioDataResponse {
oneway void acknowledgeRequest(in int serial);
oneway void allocatePduSessionIdResponse(in android.hardware.radio.RadioResponseInfo info, in int id);
oneway void cancelHandoverResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void deactivateDataCallResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void getDataCallListResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.data.SetupDataCallResult[] dcResponse);
oneway void getSlicingConfigResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.data.SlicingConfig slicingConfig);
oneway void releasePduSessionIdResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setDataAllowedResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setDataProfileResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setDataThrottlingResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setInitialAttachApnResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setupDataCallResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.data.SetupDataCallResult dcResponse);
oneway void startHandoverResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void startKeepaliveResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.data.KeepaliveStatus status);
oneway void stopKeepaliveResponse(in android.hardware.radio.RadioResponseInfo info);
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable KeepaliveRequest {
int type;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable KeepaliveStatus {
int sessionHandle;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable LinkAddress {
String address;

View File

@@ -31,12 +31,12 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable NrQos {
int fiveQi;
android.hardware.radio.QosBandwidth downlink;
android.hardware.radio.QosBandwidth uplink;
android.hardware.radio.data.QosBandwidth downlink;
android.hardware.radio.data.QosBandwidth uplink;
byte qfi;
char averagingWindowMs;
const byte FLOW_ID_RANGE_MIN = 1;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable OsAppId {
byte[] osAppId;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable PcoDataInfo {
int cid;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@Backing(type="int") @VintfStability
enum PdpProtocolType {
UNKNOWN = -1,

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable PortRange {
int start;

View File

@@ -31,10 +31,10 @@
// 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;
package android.hardware.radio.data;
@VintfStability
union Qos {
boolean noinit;
android.hardware.radio.EpsQos eps;
android.hardware.radio.NrQos nr;
android.hardware.radio.data.EpsQos eps;
android.hardware.radio.data.NrQos nr;
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable QosBandwidth {
int maxBitrateKbps;

View File

@@ -31,17 +31,17 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable QosFilter {
String[] localAddresses;
String[] remoteAddresses;
@nullable android.hardware.radio.PortRange localPort;
@nullable android.hardware.radio.PortRange remotePort;
@nullable android.hardware.radio.data.PortRange localPort;
@nullable android.hardware.radio.data.PortRange remotePort;
byte protocol;
android.hardware.radio.QosFilterTypeOfService tos;
android.hardware.radio.QosFilterIpv6FlowLabel flowLabel;
android.hardware.radio.QosFilterIpsecSpi spi;
android.hardware.radio.data.QosFilterTypeOfService tos;
android.hardware.radio.data.QosFilterIpv6FlowLabel flowLabel;
android.hardware.radio.data.QosFilterIpsecSpi spi;
byte direction;
int precedence;
const byte DIRECTION_DOWNLINK = 0;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@VintfStability
union QosFilterIpsecSpi {
boolean noinit;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@VintfStability
union QosFilterIpv6FlowLabel {
boolean noinit;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@VintfStability
union QosFilterTypeOfService {
boolean noinit;

View File

@@ -31,10 +31,10 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable QosSession {
int qosSessionId;
android.hardware.radio.Qos qos;
android.hardware.radio.QosFilter[] qosFilters;
android.hardware.radio.data.Qos qos;
android.hardware.radio.data.QosFilter[] qosFilters;
}

View File

@@ -31,13 +31,13 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable RouteSelectionDescriptor {
byte precedence;
android.hardware.radio.PdpProtocolType sessionType;
android.hardware.radio.data.PdpProtocolType sessionType;
byte sscMode;
android.hardware.radio.SliceInfo[] sliceInfo;
android.hardware.radio.data.SliceInfo[] sliceInfo;
String[] dnn;
const byte SSC_MODE_UNKNOWN = -1;
const byte SSC_MODE_1 = 1;

View File

@@ -31,27 +31,27 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable SetupDataCallResult {
android.hardware.radio.DataCallFailCause cause;
android.hardware.radio.data.DataCallFailCause cause;
long suggestedRetryTime;
int cid;
int active;
android.hardware.radio.PdpProtocolType type;
android.hardware.radio.data.PdpProtocolType type;
String ifname;
android.hardware.radio.LinkAddress[] addresses;
android.hardware.radio.data.LinkAddress[] addresses;
String[] dnses;
String[] gateways;
String[] pcscf;
int mtuV4;
int mtuV6;
android.hardware.radio.Qos defaultQos;
android.hardware.radio.QosSession[] qosSessions;
android.hardware.radio.data.Qos defaultQos;
android.hardware.radio.data.QosSession[] qosSessions;
byte handoverFailureMode;
int pduSessionId;
@nullable android.hardware.radio.SliceInfo sliceInfo;
android.hardware.radio.TrafficDescriptor[] trafficDescriptors;
@nullable android.hardware.radio.data.SliceInfo sliceInfo;
android.hardware.radio.data.TrafficDescriptor[] trafficDescriptors;
const int DATA_CONNECTION_STATUS_INACTIVE = 0;
const int DATA_CONNECTION_STATUS_DORMANT = 1;
const int DATA_CONNECTION_STATUS_ACTIVE = 2;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable SliceInfo {
byte sliceServiceType;

View File

@@ -31,9 +31,9 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable SlicingConfig {
android.hardware.radio.UrspRule[] urspRules;
android.hardware.radio.SliceInfo[] sliceInfo;
android.hardware.radio.data.UrspRule[] urspRules;
android.hardware.radio.data.SliceInfo[] sliceInfo;
}

View File

@@ -31,9 +31,9 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable TrafficDescriptor {
@nullable String dnn;
@nullable android.hardware.radio.OsAppId osAppId;
@nullable android.hardware.radio.data.OsAppId osAppId;
}

View File

@@ -31,10 +31,10 @@
// 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;
package android.hardware.radio.data;
@VintfStability
parcelable UrspRule {
int precedence;
android.hardware.radio.TrafficDescriptor[] trafficDescriptors;
android.hardware.radio.RouteSelectionDescriptor[] routeSelectionDescriptor;
android.hardware.radio.data.TrafficDescriptor[] trafficDescriptors;
android.hardware.radio.data.RouteSelectionDescriptor[] routeSelectionDescriptor;
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.messaging;
@VintfStability
parcelable CdmaBroadcastSmsConfigInfo {
int serviceCategory;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.messaging;
@VintfStability
parcelable CdmaSmsAck {
boolean errorClass;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.messaging;
@VintfStability
parcelable CdmaSmsAddress {
int digitMode;

View File

@@ -31,13 +31,13 @@
// 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;
package android.hardware.radio.messaging;
@VintfStability
parcelable CdmaSmsMessage {
int teleserviceId;
boolean isServicePresent;
int serviceCategory;
android.hardware.radio.CdmaSmsAddress address;
android.hardware.radio.CdmaSmsSubaddress subAddress;
android.hardware.radio.messaging.CdmaSmsAddress address;
android.hardware.radio.messaging.CdmaSmsSubaddress subAddress;
byte[] bearerData;
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.messaging;
@VintfStability
parcelable CdmaSmsSubaddress {
int subaddressType;

View File

@@ -31,11 +31,11 @@
// 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;
package android.hardware.radio.messaging;
@VintfStability
parcelable CdmaSmsWriteArgs {
int status;
android.hardware.radio.CdmaSmsMessage message;
android.hardware.radio.messaging.CdmaSmsMessage message;
const int STATUS_REC_UNREAD = 0;
const int STATUS_REC_READ = 1;
const int STATUS_STO_UNSENT = 2;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.messaging;
@VintfStability
parcelable GsmBroadcastSmsConfigInfo {
int fromServiceId;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.messaging;
@VintfStability
parcelable GsmSmsMessage {
String smscPdu;

View File

@@ -0,0 +1,62 @@
/*
* 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.messaging;
@VintfStability
interface IRadioMessaging {
oneway void acknowledgeIncomingGsmSmsWithPdu(in int serial, in boolean success, in String ackPdu);
oneway void acknowledgeLastIncomingCdmaSms(in int serial, in android.hardware.radio.messaging.CdmaSmsAck smsAck);
oneway void acknowledgeLastIncomingGsmSms(in int serial, in boolean success, in android.hardware.radio.messaging.SmsAcknowledgeFailCause cause);
oneway void cancelPendingUssd(in int serial);
oneway void deleteSmsOnRuim(in int serial, in int index);
oneway void deleteSmsOnSim(in int serial, in int index);
oneway void getCdmaBroadcastConfig(in int serial);
oneway void getGsmBroadcastConfig(in int serial);
oneway void getSmscAddress(in int serial);
oneway void reportSmsMemoryStatus(in int serial, in boolean available);
oneway void responseAcknowledgement();
oneway void sendCdmaSms(in int serial, in android.hardware.radio.messaging.CdmaSmsMessage sms);
oneway void sendCdmaSmsExpectMore(in int serial, in android.hardware.radio.messaging.CdmaSmsMessage sms);
oneway void sendImsSms(in int serial, in android.hardware.radio.messaging.ImsSmsMessage message);
oneway void sendSms(in int serial, in android.hardware.radio.messaging.GsmSmsMessage message);
oneway void sendSmsExpectMore(in int serial, in android.hardware.radio.messaging.GsmSmsMessage message);
oneway void sendUssd(in int serial, in String ussd);
oneway void setCdmaBroadcastActivation(in int serial, in boolean activate);
oneway void setCdmaBroadcastConfig(in int serial, in android.hardware.radio.messaging.CdmaBroadcastSmsConfigInfo[] configInfo);
oneway void setGsmBroadcastActivation(in int serial, in boolean activate);
oneway void setGsmBroadcastConfig(in int serial, in android.hardware.radio.messaging.GsmBroadcastSmsConfigInfo[] configInfo);
oneway void setResponseFunctions(in android.hardware.radio.messaging.IRadioMessagingResponse radioMessagingResponse, in android.hardware.radio.messaging.IRadioMessagingIndication radioMessagingIndication);
oneway void setSmscAddress(in int serial, in String smsc);
oneway void writeSmsToRuim(in int serial, in android.hardware.radio.messaging.CdmaSmsWriteArgs cdmaSms);
oneway void writeSmsToSim(in int serial, in android.hardware.radio.messaging.SmsWriteArgs smsWriteArgs);
}

View File

@@ -0,0 +1,45 @@
/*
* 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.messaging;
@VintfStability
interface IRadioMessagingIndication {
oneway void cdmaNewSms(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.messaging.CdmaSmsMessage msg);
oneway void cdmaRuimSmsStorageFull(in android.hardware.radio.RadioIndicationType type);
oneway void newBroadcastSms(in android.hardware.radio.RadioIndicationType type, in byte[] data);
oneway void newSms(in android.hardware.radio.RadioIndicationType type, in byte[] pdu);
oneway void newSmsOnSim(in android.hardware.radio.RadioIndicationType type, in int recordNumber);
oneway void newSmsStatusReport(in android.hardware.radio.RadioIndicationType type, in byte[] pdu);
oneway void onUssd(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.messaging.UssdModeType modeType, in String msg);
oneway void simSmsStorageFull(in android.hardware.radio.RadioIndicationType type);
}

View File

@@ -0,0 +1,61 @@
/*
* 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.messaging;
@VintfStability
interface IRadioMessagingResponse {
oneway void acknowledgeIncomingGsmSmsWithPduResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void acknowledgeLastIncomingCdmaSmsResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void acknowledgeLastIncomingGsmSmsResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void acknowledgeRequest(in int serial);
oneway void cancelPendingUssdResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void deleteSmsOnRuimResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void deleteSmsOnSimResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void getCdmaBroadcastConfigResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.messaging.CdmaBroadcastSmsConfigInfo[] configs);
oneway void getGsmBroadcastConfigResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.messaging.GsmBroadcastSmsConfigInfo[] configs);
oneway void getSmscAddressResponse(in android.hardware.radio.RadioResponseInfo info, in String smsc);
oneway void reportSmsMemoryStatusResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void sendCdmaSmsExpectMoreResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.messaging.SendSmsResult sms);
oneway void sendCdmaSmsResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.messaging.SendSmsResult sms);
oneway void sendImsSmsResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.messaging.SendSmsResult sms);
oneway void sendSmsExpectMoreResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.messaging.SendSmsResult sms);
oneway void sendSmsResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.messaging.SendSmsResult sms);
oneway void sendUssdResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setCdmaBroadcastActivationResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setCdmaBroadcastConfigResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setGsmBroadcastActivationResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setGsmBroadcastConfigResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setSmscAddressResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void writeSmsToRuimResponse(in android.hardware.radio.RadioResponseInfo info, in int index);
oneway void writeSmsToSimResponse(in android.hardware.radio.RadioResponseInfo info, in int index);
}

View File

@@ -31,12 +31,12 @@
// 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;
package android.hardware.radio.messaging;
@VintfStability
parcelable ImsSmsMessage {
android.hardware.radio.RadioTechnologyFamily tech;
boolean retry;
int messageRef;
android.hardware.radio.CdmaSmsMessage[] cdmaMessage;
android.hardware.radio.GsmSmsMessage[] gsmMessage;
android.hardware.radio.messaging.CdmaSmsMessage[] cdmaMessage;
android.hardware.radio.messaging.GsmSmsMessage[] gsmMessage;
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.messaging;
@VintfStability
parcelable SendSmsResult {
int messageRef;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.messaging;
@Backing(type="int") @VintfStability
enum SmsAcknowledgeFailCause {
MEMORY_CAPACITY_EXCEEDED = 211,

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.messaging;
@VintfStability
parcelable SmsWriteArgs {
int status;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.messaging;
@Backing(type="int") @VintfStability
enum UssdModeType {
NOTIFY = 0,

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.modem;
@VintfStability
parcelable ActivityStatsInfo {
int sleepModeTimeMs;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.modem;
@Backing(type="int") @VintfStability
enum DeviceStateType {
POWER_SAVE_MODE = 0,

View File

@@ -31,14 +31,14 @@
// 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;
package android.hardware.radio.modem;
@VintfStability
parcelable HardwareConfig {
int type;
String uuid;
int state;
android.hardware.radio.HardwareConfigModem[] modem;
android.hardware.radio.HardwareConfigSim[] sim;
android.hardware.radio.modem.HardwareConfigModem[] modem;
android.hardware.radio.modem.HardwareConfigSim[] sim;
const int STATE_ENABLED = 0;
const int STATE_STANDBY = 1;
const int STATE_DISABLED = 2;

View File

@@ -31,12 +31,12 @@
// 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;
package android.hardware.radio.modem;
@VintfStability
parcelable HardwareConfigModem {
int rilModel;
int rat;
int maxVoice;
int maxData;
android.hardware.radio.RadioTechnology rat;
int maxVoiceCalls;
int maxDataCalls;
int maxStandby;
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.modem;
@VintfStability
parcelable HardwareConfigSim {
String modemUuid;

View File

@@ -0,0 +1,54 @@
/*
* 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.modem;
@VintfStability
interface IRadioModem {
oneway void enableModem(in int serial, in boolean on);
oneway void getBasebandVersion(in int serial);
oneway void getDeviceIdentity(in int serial);
oneway void getHardwareConfig(in int serial);
oneway void getModemActivityInfo(in int serial);
oneway void getModemStackStatus(in int serial);
oneway void getRadioCapability(in int serial);
oneway void nvReadItem(in int serial, in android.hardware.radio.modem.NvItem itemId);
oneway void nvResetConfig(in int serial, in android.hardware.radio.modem.ResetNvType resetType);
oneway void nvWriteCdmaPrl(in int serial, in byte[] prl);
oneway void nvWriteItem(in int serial, in android.hardware.radio.modem.NvWriteItem item);
oneway void requestShutdown(in int serial);
oneway void responseAcknowledgement();
oneway void sendDeviceState(in int serial, in android.hardware.radio.modem.DeviceStateType deviceStateType, in boolean state);
oneway void setRadioCapability(in int serial, in android.hardware.radio.modem.RadioCapability rc);
oneway void setRadioPower(in int serial, in boolean powerOn, in boolean forEmergencyCall, in boolean preferredForEmergencyCall);
oneway void setResponseFunctions(in android.hardware.radio.modem.IRadioModemResponse radioModemResponse, in android.hardware.radio.modem.IRadioModemIndication radioModemIndication);
}

View File

@@ -0,0 +1,42 @@
/*
* 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.modem;
@VintfStability
interface IRadioModemIndication {
oneway void hardwareConfigChanged(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.modem.HardwareConfig[] configs);
oneway void modemReset(in android.hardware.radio.RadioIndicationType type, in String reason);
oneway void radioCapabilityIndication(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.modem.RadioCapability rc);
oneway void radioStateChanged(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.modem.RadioState radioState);
oneway void rilConnected(in android.hardware.radio.RadioIndicationType type);
}

View File

@@ -0,0 +1,53 @@
/*
* 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.modem;
@VintfStability
interface IRadioModemResponse {
oneway void acknowledgeRequest(in int serial);
oneway void enableModemResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void getBasebandVersionResponse(in android.hardware.radio.RadioResponseInfo info, in String version);
oneway void getDeviceIdentityResponse(in android.hardware.radio.RadioResponseInfo info, in String imei, in String imeisv, in String esn, in String meid);
oneway void getHardwareConfigResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.modem.HardwareConfig[] config);
oneway void getModemActivityInfoResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.modem.ActivityStatsInfo activityInfo);
oneway void getModemStackStatusResponse(in android.hardware.radio.RadioResponseInfo info, in boolean isEnabled);
oneway void getRadioCapabilityResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.modem.RadioCapability rc);
oneway void nvReadItemResponse(in android.hardware.radio.RadioResponseInfo info, in String result);
oneway void nvResetConfigResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void nvWriteCdmaPrlResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void nvWriteItemResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void requestShutdownResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void sendDeviceStateResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setRadioCapabilityResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.modem.RadioCapability rc);
oneway void setRadioPowerResponse(in android.hardware.radio.RadioResponseInfo info);
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.modem;
@Backing(type="int") @VintfStability
enum NvItem {
CDMA_MEID = 1,

View File

@@ -31,9 +31,9 @@
// 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;
package android.hardware.radio.modem;
@VintfStability
parcelable NvWriteItem {
android.hardware.radio.NvItem itemId;
android.hardware.radio.modem.NvItem itemId;
String value;
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.modem;
@VintfStability
parcelable RadioCapability {
int session;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.modem;
@Backing(type="int") @VintfStability
enum RadioState {
OFF = 0,

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.modem;
@Backing(type="int") @VintfStability
enum ResetNvType {
RELOAD = 0,

View File

@@ -31,12 +31,12 @@
// 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;
package android.hardware.radio.network;
@VintfStability
union AccessTechnologySpecificInfo {
boolean noinit;
android.hardware.radio.Cdma2000RegistrationInfo cdmaInfo;
android.hardware.radio.EutranRegistrationInfo eutranInfo;
android.hardware.radio.NrVopsInfo ngranNrVopsInfo;
android.hardware.radio.network.Cdma2000RegistrationInfo cdmaInfo;
android.hardware.radio.network.EutranRegistrationInfo eutranInfo;
android.hardware.radio.network.NrVopsInfo ngranNrVopsInfo;
boolean geranDtmSupported;
}

View File

@@ -31,12 +31,12 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable BarringInfo {
int serviceType;
int barringType;
@nullable android.hardware.radio.BarringTypeSpecificInfo barringTypeSpecificInfo;
@nullable android.hardware.radio.network.BarringTypeSpecificInfo barringTypeSpecificInfo;
const int BARRING_TYPE_NONE = 0;
const int BARRING_TYPE_CONDITIONAL = 1;
const int BARRING_TYPE_UNCONDITIONAL = 2;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable BarringTypeSpecificInfo {
int factor;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable Cdma2000RegistrationInfo {
boolean cssSupported;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@Backing(type="int") @VintfStability
enum CdmaRoamingType {
HOME_NETWORK = 0,

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable CdmaSignalStrength {
int dbm;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@Backing(type="int") @VintfStability
enum CellConnectionStatus {
NONE = 0,

View File

@@ -31,14 +31,14 @@
// 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;
package android.hardware.radio.network;
@VintfStability
union CellIdentity {
boolean noinit;
android.hardware.radio.CellIdentityGsm gsm;
android.hardware.radio.CellIdentityWcdma wcdma;
android.hardware.radio.CellIdentityTdscdma tdscdma;
android.hardware.radio.CellIdentityCdma cdma;
android.hardware.radio.CellIdentityLte lte;
android.hardware.radio.CellIdentityNr nr;
android.hardware.radio.network.CellIdentityGsm gsm;
android.hardware.radio.network.CellIdentityWcdma wcdma;
android.hardware.radio.network.CellIdentityTdscdma tdscdma;
android.hardware.radio.network.CellIdentityCdma cdma;
android.hardware.radio.network.CellIdentityLte lte;
android.hardware.radio.network.CellIdentityNr nr;
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable CellIdentityCdma {
int networkId;
@@ -39,5 +39,5 @@ parcelable CellIdentityCdma {
int baseStationId;
int longitude;
int latitude;
android.hardware.radio.CellIdentityOperatorNames operatorNames;
android.hardware.radio.network.CellIdentityOperatorNames operatorNames;
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable CellIdentityGsm {
String mcc;
@@ -40,6 +40,6 @@ parcelable CellIdentityGsm {
int cid;
int arfcn;
byte bsic;
android.hardware.radio.CellIdentityOperatorNames operatorNames;
android.hardware.radio.network.CellIdentityOperatorNames operatorNames;
String[] additionalPlmns;
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable CellIdentityLte {
String mcc;
@@ -40,9 +40,9 @@ parcelable CellIdentityLte {
int pci;
int tac;
int earfcn;
android.hardware.radio.CellIdentityOperatorNames operatorNames;
android.hardware.radio.network.CellIdentityOperatorNames operatorNames;
int bandwidth;
String[] additionalPlmns;
@nullable android.hardware.radio.ClosedSubscriberGroupInfo csgInfo;
android.hardware.radio.EutranBands[] bands;
@nullable android.hardware.radio.network.ClosedSubscriberGroupInfo csgInfo;
android.hardware.radio.network.EutranBands[] bands;
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable CellIdentityNr {
String mcc;
@@ -40,7 +40,7 @@ parcelable CellIdentityNr {
int pci;
int tac;
int nrarfcn;
android.hardware.radio.CellIdentityOperatorNames operatorNames;
android.hardware.radio.network.CellIdentityOperatorNames operatorNames;
String[] additionalPlmns;
android.hardware.radio.NgranBands[] bands;
android.hardware.radio.network.NgranBands[] bands;
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable CellIdentityOperatorNames {
String alphaLong;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable CellIdentityTdscdma {
String mcc;
@@ -40,7 +40,7 @@ parcelable CellIdentityTdscdma {
int cid;
int cpid;
int uarfcn;
android.hardware.radio.CellIdentityOperatorNames operatorNames;
android.hardware.radio.network.CellIdentityOperatorNames operatorNames;
String[] additionalPlmns;
@nullable android.hardware.radio.ClosedSubscriberGroupInfo csgInfo;
@nullable android.hardware.radio.network.ClosedSubscriberGroupInfo csgInfo;
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable CellIdentityWcdma {
String mcc;
@@ -40,7 +40,7 @@ parcelable CellIdentityWcdma {
int cid;
int psc;
int uarfcn;
android.hardware.radio.CellIdentityOperatorNames operatorNames;
android.hardware.radio.network.CellIdentityOperatorNames operatorNames;
String[] additionalPlmns;
@nullable android.hardware.radio.ClosedSubscriberGroupInfo csgInfo;
@nullable android.hardware.radio.network.ClosedSubscriberGroupInfo csgInfo;
}

View File

@@ -31,10 +31,10 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable CellInfo {
boolean registered;
android.hardware.radio.CellConnectionStatus connectionStatus;
android.hardware.radio.CellInfoCellInfoRatSpecificInfo ratSpecificInfo;
android.hardware.radio.network.CellConnectionStatus connectionStatus;
android.hardware.radio.network.CellInfoRatSpecificInfo ratSpecificInfo;
}

View File

@@ -31,10 +31,10 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable CellInfoCdma {
android.hardware.radio.CellIdentityCdma cellIdentityCdma;
android.hardware.radio.CdmaSignalStrength signalStrengthCdma;
android.hardware.radio.EvdoSignalStrength signalStrengthEvdo;
android.hardware.radio.network.CellIdentityCdma cellIdentityCdma;
android.hardware.radio.network.CdmaSignalStrength signalStrengthCdma;
android.hardware.radio.network.EvdoSignalStrength signalStrengthEvdo;
}

View File

@@ -31,9 +31,9 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable CellInfoGsm {
android.hardware.radio.CellIdentityGsm cellIdentityGsm;
android.hardware.radio.GsmSignalStrength signalStrengthGsm;
android.hardware.radio.network.CellIdentityGsm cellIdentityGsm;
android.hardware.radio.network.GsmSignalStrength signalStrengthGsm;
}

View File

@@ -31,9 +31,9 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable CellInfoLte {
android.hardware.radio.CellIdentityLte cellIdentityLte;
android.hardware.radio.LteSignalStrength signalStrengthLte;
android.hardware.radio.network.CellIdentityLte cellIdentityLte;
android.hardware.radio.network.LteSignalStrength signalStrengthLte;
}

View File

@@ -31,9 +31,9 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable CellInfoNr {
android.hardware.radio.CellIdentityNr cellIdentityNr;
android.hardware.radio.NrSignalStrength signalStrengthNr;
android.hardware.radio.network.CellIdentityNr cellIdentityNr;
android.hardware.radio.network.NrSignalStrength signalStrengthNr;
}

View File

@@ -0,0 +1,43 @@
/*
* 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.network;
@VintfStability
union CellInfoRatSpecificInfo {
android.hardware.radio.network.CellInfoGsm gsm;
android.hardware.radio.network.CellInfoWcdma wcdma;
android.hardware.radio.network.CellInfoTdscdma tdscdma;
android.hardware.radio.network.CellInfoLte lte;
android.hardware.radio.network.CellInfoNr nr;
android.hardware.radio.network.CellInfoCdma cdma;
}

View File

@@ -31,9 +31,9 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable CellInfoTdscdma {
android.hardware.radio.CellIdentityTdscdma cellIdentityTdscdma;
android.hardware.radio.TdscdmaSignalStrength signalStrengthTdscdma;
android.hardware.radio.network.CellIdentityTdscdma cellIdentityTdscdma;
android.hardware.radio.network.TdscdmaSignalStrength signalStrengthTdscdma;
}

View File

@@ -31,9 +31,9 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable CellInfoWcdma {
android.hardware.radio.CellIdentityWcdma cellIdentityWcdma;
android.hardware.radio.WcdmaSignalStrength signalStrengthWcdma;
android.hardware.radio.network.CellIdentityWcdma cellIdentityWcdma;
android.hardware.radio.network.WcdmaSignalStrength signalStrengthWcdma;
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable ClosedSubscriberGroupInfo {
boolean csgIndication;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@Backing(type="int") @VintfStability
enum Domain {
CS = 1,

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@Backing(type="int") @VintfStability
enum EutranBands {
BAND_1 = 1,

View File

@@ -31,9 +31,9 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable EutranRegistrationInfo {
android.hardware.radio.LteVopsInfo lteVopsInfo;
android.hardware.radio.NrIndicators nrIndicators;
android.hardware.radio.network.LteVopsInfo lteVopsInfo;
android.hardware.radio.network.NrIndicators nrIndicators;
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable EvdoSignalStrength {
int dbm;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@Backing(type="int") @VintfStability
enum GeranBands {
BAND_T380 = 1,

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable GsmSignalStrength {
int signalStrength;

View File

@@ -0,0 +1,73 @@
/*
* 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.network;
@VintfStability
interface IRadioNetwork {
oneway void getAllowedNetworkTypesBitmap(in int serial);
oneway void getAvailableBandModes(in int serial);
oneway void getAvailableNetworks(in int serial);
oneway void getBarringInfo(in int serial);
oneway void getCdmaRoamingPreference(in int serial);
oneway void getCellInfoList(in int serial);
oneway void getDataRegistrationState(in int serial);
oneway void getImsRegistrationState(in int serial);
oneway void getNeighboringCids(in int serial);
oneway void getNetworkSelectionMode(in int serial);
oneway void getOperator(in int serial);
oneway void getSignalStrength(in int serial);
oneway void getSystemSelectionChannels(in int serial);
oneway void getVoiceRadioTechnology(in int serial);
oneway void getVoiceRegistrationState(in int serial);
oneway void isNrDualConnectivityEnabled(in int serial);
oneway void pullLceData(in int serial);
oneway void responseAcknowledgement();
oneway void setAllowedNetworkTypesBitmap(in int serial, in android.hardware.radio.RadioAccessFamily networkTypeBitmap);
oneway void setBandMode(in int serial, in android.hardware.radio.network.RadioBandMode mode);
oneway void setBarringPassword(in int serial, in String facility, in String oldPassword, in String newPassword);
oneway void setCdmaRoamingPreference(in int serial, in android.hardware.radio.network.CdmaRoamingType type);
oneway void setCellInfoListRate(in int serial, in int rate);
oneway void setIndicationFilter(in int serial, in android.hardware.radio.network.IndicationFilter indicationFilter);
oneway void setLinkCapacityReportingCriteria(in int serial, in int hysteresisMs, in int hysteresisDlKbps, in int hysteresisUlKbps, in int[] thresholdsDownlinkKbps, in int[] thresholdsUplinkKbps, in android.hardware.radio.AccessNetwork accessNetwork);
oneway void setLocationUpdates(in int serial, in boolean enable);
oneway void setNetworkSelectionModeAutomatic(in int serial);
oneway void setNetworkSelectionModeManual(in int serial, in String operatorNumeric, in android.hardware.radio.AccessNetwork ran);
oneway void setNrDualConnectivityState(in int serial, in android.hardware.radio.network.NrDualConnectivityState nrDualConnectivityState);
oneway void setResponseFunctions(in android.hardware.radio.network.IRadioNetworkResponse radioNetworkResponse, in android.hardware.radio.network.IRadioNetworkIndication radioNetworkIndication);
oneway void setSignalStrengthReportingCriteria(in int serial, in android.hardware.radio.network.SignalThresholdInfo signalThresholdInfo, in android.hardware.radio.AccessNetwork accessNetwork);
oneway void setSuppServiceNotifications(in int serial, in boolean enable);
oneway void setSystemSelectionChannels(in int serial, in boolean specifyChannels, in android.hardware.radio.network.RadioAccessSpecifier[] specifiers);
oneway void startNetworkScan(in int serial, in android.hardware.radio.network.NetworkScanRequest request);
oneway void stopNetworkScan(in int serial);
oneway void supplyNetworkDepersonalization(in int serial, in String netPin);
}

View File

@@ -0,0 +1,51 @@
/*
* 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.network;
@VintfStability
interface IRadioNetworkIndication {
oneway void barringInfoChanged(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.network.CellIdentity cellIdentity, in android.hardware.radio.network.BarringInfo[] barringInfos);
oneway void cdmaPrlChanged(in android.hardware.radio.RadioIndicationType type, in int version);
oneway void cellInfoList(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.network.CellInfo[] records);
oneway void currentLinkCapacityEstimate(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.network.LinkCapacityEstimate lce);
oneway void currentPhysicalChannelConfigs(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.network.PhysicalChannelConfig[] configs);
oneway void currentSignalStrength(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.network.SignalStrength signalStrength);
oneway void imsNetworkStateChanged(in android.hardware.radio.RadioIndicationType type);
oneway void networkScanResult(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.network.NetworkScanResult result);
oneway void networkStateChanged(in android.hardware.radio.RadioIndicationType type);
oneway void nitzTimeReceived(in android.hardware.radio.RadioIndicationType type, in String nitzTime, in long receivedTime);
oneway void registrationFailed(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.network.CellIdentity cellIdentity, in String chosenPlmn, in android.hardware.radio.network.Domain domain, in int causeCode, in int additionalCauseCode);
oneway void restrictedStateChanged(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.network.PhoneRestrictedState state);
oneway void suppSvcNotify(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.network.SuppSvcNotification suppSvc);
oneway void voiceRadioTechChanged(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.RadioTechnology rat);
}

View File

@@ -0,0 +1,72 @@
/*
* 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.network;
@VintfStability
interface IRadioNetworkResponse {
oneway void acknowledgeRequest(in int serial);
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.network.RadioBandMode[] bandModes);
oneway void getAvailableNetworksResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.network.OperatorInfo[] networkInfos);
oneway void getBarringInfoResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.network.CellIdentity cellIdentity, in android.hardware.radio.network.BarringInfo[] barringInfos);
oneway void getCdmaRoamingPreferenceResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.network.CdmaRoamingType type);
oneway void getCellInfoListResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.network.CellInfo[] cellInfo);
oneway void getDataRegistrationStateResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.network.RegStateResult dataRegResponse);
oneway void getImsRegistrationStateResponse(in android.hardware.radio.RadioResponseInfo info, in boolean isRegistered, in android.hardware.radio.RadioTechnologyFamily ratFamily);
oneway void getNeighboringCidsResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.network.NeighboringCell[] cells);
oneway void getNetworkSelectionModeResponse(in android.hardware.radio.RadioResponseInfo info, in boolean manual);
oneway void getOperatorResponse(in android.hardware.radio.RadioResponseInfo info, in String longName, in String shortName, in String numeric);
oneway void getSignalStrengthResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.network.SignalStrength signalStrength);
oneway void getSystemSelectionChannelsResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.network.RadioAccessSpecifier[] specifiers);
oneway void getVoiceRadioTechnologyResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.RadioTechnology rat);
oneway void getVoiceRegistrationStateResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.network.RegStateResult voiceRegResponse);
oneway void isNrDualConnectivityEnabledResponse(in android.hardware.radio.RadioResponseInfo info, in boolean isEnabled);
oneway void pullLceDataResponse(in android.hardware.radio.RadioResponseInfo info, in android.hardware.radio.network.LceDataInfo lceInfo);
oneway void setAllowedNetworkTypesBitmapResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setBandModeResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setBarringPasswordResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setCdmaRoamingPreferenceResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setCellInfoListRateResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setIndicationFilterResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setLinkCapacityReportingCriteriaResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setLocationUpdatesResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setNetworkSelectionModeAutomaticResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setNetworkSelectionModeManualResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setNrDualConnectivityStateResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setSignalStrengthReportingCriteriaResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setSuppServiceNotificationsResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void setSystemSelectionChannelsResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void startNetworkScanResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void stopNetworkScanResponse(in android.hardware.radio.RadioResponseInfo info);
oneway void supplyNetworkDepersonalizationResponse(in android.hardware.radio.RadioResponseInfo info, in int remainingRetries);
}

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@Backing(type="int") @VintfStability
enum IndicationFilter {
NONE = 0,

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable LceDataInfo {
int lastHopCapacityKbps;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable LinkCapacityEstimate {
int downlinkCapacityKbps;

View File

@@ -31,7 +31,7 @@
// 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;
package android.hardware.radio.network;
@VintfStability
parcelable LteSignalStrength {
int signalStrength;

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