Merge "Expose detailed data call end reasons" am: b31202ca17 am: b99d20c368

am: 94ab252c10

Change-Id: Iad3c2fa0e740e72fcdf7be0aefde235b22ed50d1
This commit is contained in:
Paul Hu
2018-12-18 18:39:35 -08:00
committed by android-build-merger
4 changed files with 1314 additions and 12 deletions

View File

@@ -26,6 +26,8 @@ hidl_interface {
"CellConfigLte",
"CellInfo",
"CellInfoLte",
"DataCallFailCause",
"DataConnActiveStatus",
"DataProfileInfo",
"DataRegStateResult",
"EmergencyNumber",
@@ -34,12 +36,14 @@ hidl_interface {
"FrequencyRange",
"LteVopsInfo",
"NetworkScanResult",
"PdpProtocolType",
"PhysicalChannelConfig",
"RadioAccessFamily",
"RadioCapability",
"RadioFrequencyInfo",
"RadioTechnology",
"NrIndicators",
"SetupDataCallResult",
],
gen_java: true,
}

View File

@@ -73,4 +73,18 @@ interface IRadioIndication extends @1.3::IRadioIndication {
*/
oneway currentPhysicalChannelConfigs_1_4(RadioIndicationType type,
vec<PhysicalChannelConfig> configs);
};
/**
* Indicates data call contexts have changed.
*
* @param type Type of radio indication
* @param dcList Array of SetupDataCallResult identical to that returned by
* IRadio.getDataCallList(). It is the complete list of current data contexts including
* new contexts that have been activated. A data call is only removed from this list
* when below conditions matched.
* 1. The framework sends a IRadio.deactivateDataCall().
* 2. The radio is powered off/on.
* 3. Unsolicited disconnect from either modem or network side.
*/
oneway dataCallListChanged_1_4(RadioIndicationType type, vec<SetupDataCallResult> dcList);
};

View File

@@ -127,4 +127,41 @@ interface IRadioResponse extends @1.3::IRadioResponse {
* RadioError:CANCELLED
*/
oneway setPreferredNetworkTypeBitmapResponse(RadioResponseInfo info);
/**
* @param info Response info struct containing response type, serial no. and error
* @param dcResponse List of DataCallResult as defined in types.hal
*
* Valid errors returned:
* RadioError:NONE
* RadioError:RADIO_NOT_AVAILABLE
* RadioError:INTERNAL_ERR
* RadioError:NO_MEMORY
* RadioError:NO_RESOURCES
* RadioError:CANCELLED
* RadioError:REQUEST_NOT_SUPPORTED
* RadioError:SIM_ABSENT
*/
oneway getDataCallListResponse_1_4(RadioResponseInfo info, vec<SetupDataCallResult> dcResponse);
/**
* @param info Response info struct containing response type, serial no. and error
* @param dcResponse SetupDataCallResult defined in types.hal
*
* Valid errors returned:
* RadioError:NONE must be returned on both success and failure of setup with the
* DataCallResponse.status containing the actual status
* For all other errors the DataCallResponse is ignored.
* RadioError:RADIO_NOT_AVAILABLE
* RadioError:OP_NOT_ALLOWED_BEFORE_REG_TO_NW
* RadioError:OP_NOT_ALLOWED_DURING_VOICE_CALL
* RadioError:REQUEST_NOT_SUPPORTED
* RadioError:INVALID_ARGUMENTS
* RadioError:INTERNAL_ERR
* RadioError:NO_MEMORY
* RadioError:NO_RESOURCES
* RadioError:CANCELLED
* RadioError:SIM_ABSENT
*/
oneway setupDataCallResponse_1_4(RadioResponseInfo info, SetupDataCallResult dcResponse);
};

File diff suppressed because it is too large Load Diff