Merge "Add EID to 1.3::CardStatus"

am: 5ce29fdb29

Change-Id: Ibaefddbf354b41e5ba48e74df1ef11bd6729c957
This commit is contained in:
Jordan Liu
2018-11-14 11:36:30 -08:00
committed by android-build-merger
3 changed files with 29 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ hidl_interface {
"CellConfigLte",
"CellInfo",
"CellInfoLte",
"CardStatus",
"DataProfileInfo",
"DataRegStateResult",
"EmergencyNumber",

View File

@@ -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);
};

View File

@@ -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;
};