mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 02:42:35 +00:00
Merge "Add EID to 1.3::CardStatus"
This commit is contained in:
@@ -24,6 +24,7 @@ hidl_interface {
|
||||
"CellConfigLte",
|
||||
"CellInfo",
|
||||
"CellInfoLte",
|
||||
"CardStatus",
|
||||
"DataProfileInfo",
|
||||
"DataRegStateResult",
|
||||
"EmergencyNumber",
|
||||
|
||||
@@ -72,4 +72,19 @@ interface IRadioResponse extends @1.2::IRadioResponse {
|
||||
*/
|
||||
oneway getDataRegistrationStateResponse_1_3(RadioResponseInfo info,
|
||||
DataRegStateResult dataRegResponse);
|
||||
|
||||
/**
|
||||
* @param info Response info struct containing response type, serial no. and error
|
||||
* @param cardStatus ICC card status as defined by CardStatus 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
|
||||
*/
|
||||
oneway getIccCardStatusResponse_1_3(RadioResponseInfo info, CardStatus cardStatus);
|
||||
};
|
||||
|
||||
@@ -33,6 +33,7 @@ import @1.2::CellInfoGsm;
|
||||
import @1.2::CellInfoLte;
|
||||
import @1.2::CellInfoTdscdma;
|
||||
import @1.2::CellInfoWcdma;
|
||||
import @1.2::CardStatus;
|
||||
import @1.2::CellIdentity;
|
||||
import @1.2::DataRegStateResult;
|
||||
|
||||
@@ -325,3 +326,15 @@ struct DataProfileInfo {
|
||||
*/
|
||||
bool persistent;
|
||||
};
|
||||
|
||||
struct CardStatus {
|
||||
@1.2::CardStatus base;
|
||||
/**
|
||||
* The EID is the eUICC identifier. The EID shall be stored within the ECASD and can be
|
||||
* retrieved by the Device at any time using the standard GlobalPlatform GET DATA command.
|
||||
*
|
||||
* This data is mandatory and applicable only when cardState is CardState:PRESENT and SIM card
|
||||
* supports eUICC.
|
||||
*/
|
||||
string eid;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user