Merge "Expose detailed data call end reasons"

This commit is contained in:
Paul Hu
2018-12-19 02:19:32 +00:00
committed by Gerrit Code Review
4 changed files with 1314 additions and 12 deletions

View File

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

View File

@@ -73,4 +73,18 @@ interface IRadioIndication extends @1.3::IRadioIndication {
*/ */
oneway currentPhysicalChannelConfigs_1_4(RadioIndicationType type, oneway currentPhysicalChannelConfigs_1_4(RadioIndicationType type,
vec<PhysicalChannelConfig> configs); 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 * RadioError:CANCELLED
*/ */
oneway setPreferredNetworkTypeBitmapResponse(RadioResponseInfo info); 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