Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ce29fdb authored by Jordan Liu's avatar Jordan Liu Committed by Gerrit Code Review
Browse files

Merge "Add EID to 1.3::CardStatus"

parents 277c17cc 398e84dd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ hidl_interface {
        "CellConfigLte",
        "CellInfo",
        "CellInfoLte",
        "CardStatus",
        "DataProfileInfo",
        "DataRegStateResult",
        "EmergencyNumber",
+15 −0
Original line number Diff line number Diff line
@@ -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);
};
+13 −0
Original line number Diff line number Diff line
@@ -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;
};