mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Expose detailed data call end reasons" am: b31202ca17
am: b99d20c368
Change-Id: I8e4e93027085cb9d2ba53a80b418bf1d6493e631
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
};
|
||||
|
||||
@@ -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);
|
||||
};
|
||||
|
||||
1269
radio/1.4/types.hal
1269
radio/1.4/types.hal
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user