Add missing function to telephony HIDL interface. am: 1a7eae777b am: 7a6e99c103 am: 8ed49368f7

am: f32d2db7bf

Change-Id: Ibcad263b2a968123bba17adf416a2d53b1cf2b87
This commit is contained in:
Sanket Padawe 2016-12-08 01:11:28 +00:00 committed by android-build-merger
commit a4d8fdd1a5
3 changed files with 16 additions and 6 deletions

View file

@ -382,7 +382,7 @@ interface IRadio {
* override the one in the profile. empty string indicates no APN overrride.
* @param user is the username for APN, or empty string
* @param password is the password for APN, or empty string
* @param authType is the PAP / CHAP auth type. Values:
* @param authType is the PAP / CHAP auth type.
* @param protocol is the connection type to request must be one of the
* PDP_type values in TS 27.007 section 10.1.1.
* For example, "IP", "IPV6", "IPV4V6", or "PPP".
@ -1272,7 +1272,7 @@ interface IRadio {
* @param protocol is the connection type to request must be one of the
* PDP_type values in TS 27.007 section 10.1.1.
* For example, "IP", "IPV6", "IPV4V6", or "PPP".
* @param authType is the PAP / CHAP auth type. Values:
* @param authType is the PAP / CHAP auth type.
* @param user is the username for APN, or empty string
* @param password is the password for APN, or empty string
*

View file

@ -1934,4 +1934,13 @@ interface IRadioResponse {
*/
oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed,
CarrierRestrictions carriers);
/*
* Acknowldege the receipt of radio request sent to the vendor. This must be sent only for
* radio request which take long time to respond.
* For more details, refer https://source.android.com/devices/tech/connect/ril.html
*
* @param serial Serial no. of the request whose acknowledgement is sent.
*/
oneway requestAcknowledgement(int32_t serial);
};

View file

@ -1126,16 +1126,17 @@ struct Dial {
};
struct GsmSignalStrength {
uint32_t signalStrength; // Valid values are (0-31, 99) as defined in
// TS 27.007 8.5
uint32_t signalStrength; // Valid values are (0-61, 99) as defined in
// TS 27.007 8.69
uint32_t bitErrorRate; // bit error rate (0-7, 99) as defined in TS 27.007 8.5
int32_t timingAdvance; // Timing Advance in bit periods. 1 bit period = 48/13 us.
// INT_MAX denotes invalid value
};
struct WcdmaSignalStrength{
int32_t signalStrength; // Valid values are (0-31, 99) as defined in TS 27.007 8.5
int32_t bitErrorRate; // bit error rate (0-7, 99) as defined in TS 27.007 8.5
int32_t signalStrength; // Valid values are (0-96, 99) as defined in
// TS 27.007 8.69
int32_t bitErrorRate; // bit error rate (0-49, 99) as defined in TS 27.007 8.69
};
struct CdmaSignalStrength {