/hardware/interfaces/secure_element/aidl/default/ |
D | main.cpp | 165 virtual RawApdu Select(Aid const& aid, uint8_t p2) = 0; 182 se::RawApdu Select(se::Aid const& aid, uint8_t /*p2*/) override { in Select() argument 183 if (aid[aid.size() - 1] == 0x31) { in Select() 466 ScopedAStatus openBasicChannel(const std::vector<uint8_t>& aid, int8_t p2, in openBasicChannel() argument 468 LOG(INFO) << __func__ << " aid: " << HexString(aid.data(), aid.size()) << " (" << aid.size() in openBasicChannel() 487 if (aid.size() > 0) { in openBasicChannel() 488 applet = SelectApplet(aid); in openBasicChannel() 494 select_response = applet->Select(aid, p2); in openBasicChannel() 501 if (aid.size() == 0) { in openBasicChannel() 513 channels_[0] = Channel(aid, p2, applet); in openBasicChannel() [all …]
|
/hardware/interfaces/radio/aidl/compat/libradiocompat/sim/ |
D | RadioSim.cpp | 44 const std::string& newPin2, const std::string& aid) { in changeIccPin2ForApp() argument 46 mHal1_5->changeIccPin2ForApp(serial, oldPin2, newPin2, aid); in changeIccPin2ForApp() 51 const std::string& newPin, const std::string& aid) { in changeIccPinForApp() argument 53 mHal1_5->changeIccPinForApp(serial, oldPin, newPin, aid); in changeIccPinForApp() 95 ScopedAStatus RadioSim::getImsiForApp(int32_t serial, const std::string& aid) { in getImsiForApp() argument 97 mHal1_5->getImsiForApp(serial, aid); in getImsiForApp() 141 ScopedAStatus RadioSim::iccOpenLogicalChannel(int32_t serial, const std::string& aid, int32_t p2) { in iccOpenLogicalChannel() argument 143 mHal1_5->iccOpenLogicalChannel(serial, aid, p2); in iccOpenLogicalChannel() 167 int32_t serial, int32_t authContext, const std::string& authData, const std::string& aid) { in requestIccSimAuthentication() argument 169 mHal1_5->requestIccSimAuthentication(serial, authContext, authData, aid); in requestIccSimAuthentication() [all …]
|
/hardware/interfaces/radio/aidl/android/hardware/radio/sim/ |
D | IRadioSim.aidl | 64 void changeIccPin2ForApp(in int serial, in String oldPin2, in String newPin2, in String aid); in changeIccPin2ForApp() argument 76 void changeIccPinForApp(in int serial, in String oldPin, in String newPin, in String aid); in changeIccPinForApp() argument 158 void getImsiForApp(in int serial, in String aid); in getImsiForApp() argument 223 void iccOpenLogicalChannel(in int serial, in String aid, in int p2); in iccOpenLogicalChannel() argument 271 in int serial, in int authContext, in String authData, in String aid); in requestIccSimAuthentication() argument 434 void supplyIccPin2ForApp(in int serial, in String pin2, in String aid); in supplyIccPin2ForApp() argument 445 void supplyIccPinForApp(in int serial, in String pin, in String aid); in supplyIccPinForApp() argument 457 void supplyIccPuk2ForApp(in int serial, in String puk2, in String pin2, in String aid); in supplyIccPuk2ForApp() argument 469 void supplyIccPukForApp(in int serial, in String puk, in String pin, in String aid); in supplyIccPukForApp() argument
|
D | SimRefreshResult.aidl | 50 String aid;
|
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.sim/1/android/hardware/radio/sim/ |
D | IRadioSim.aidl | 38 …neway void changeIccPin2ForApp(in int serial, in String oldPin2, in String newPin2, in String aid); in changeIccPin2ForApp() argument 39 oneway void changeIccPinForApp(in int serial, in String oldPin, in String newPin, in String aid); in changeIccPinForApp() argument 46 oneway void getImsiForApp(in int serial, in String aid); in getImsiForApp() argument 51 oneway void iccOpenLogicalChannel(in int serial, in String aid, in int p2); in iccOpenLogicalChannel() argument 55 … requestIccSimAuthentication(in int serial, in int authContext, in String authData, in String aid); in requestIccSimAuthentication() argument 67 oneway void supplyIccPin2ForApp(in int serial, in String pin2, in String aid); in supplyIccPin2ForApp() argument 68 oneway void supplyIccPinForApp(in int serial, in String pin, in String aid); in supplyIccPinForApp() argument 69 oneway void supplyIccPuk2ForApp(in int serial, in String puk2, in String pin2, in String aid); in supplyIccPuk2ForApp() argument 70 oneway void supplyIccPukForApp(in int serial, in String puk, in String pin, in String aid); in supplyIccPukForApp() argument
|
D | SimRefreshResult.aidl | 39 String aid;
|
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.sim/2/android/hardware/radio/sim/ |
D | IRadioSim.aidl | 38 …neway void changeIccPin2ForApp(in int serial, in String oldPin2, in String newPin2, in String aid); in changeIccPin2ForApp() argument 39 oneway void changeIccPinForApp(in int serial, in String oldPin, in String newPin, in String aid); in changeIccPinForApp() argument 46 oneway void getImsiForApp(in int serial, in String aid); in getImsiForApp() argument 54 oneway void iccOpenLogicalChannel(in int serial, in String aid, in int p2); in iccOpenLogicalChannel() argument 58 … requestIccSimAuthentication(in int serial, in int authContext, in String authData, in String aid); in requestIccSimAuthentication() argument 70 oneway void supplyIccPin2ForApp(in int serial, in String pin2, in String aid); in supplyIccPin2ForApp() argument 71 oneway void supplyIccPinForApp(in int serial, in String pin, in String aid); in supplyIccPinForApp() argument 72 oneway void supplyIccPuk2ForApp(in int serial, in String puk2, in String pin2, in String aid); in supplyIccPuk2ForApp() argument 73 oneway void supplyIccPukForApp(in int serial, in String puk, in String pin, in String aid); in supplyIccPukForApp() argument
|
D | SimRefreshResult.aidl | 39 String aid;
|
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.sim/current/android/hardware/radio/sim/ |
D | IRadioSim.aidl | 38 …neway void changeIccPin2ForApp(in int serial, in String oldPin2, in String newPin2, in String aid); in changeIccPin2ForApp() argument 39 oneway void changeIccPinForApp(in int serial, in String oldPin, in String newPin, in String aid); in changeIccPinForApp() argument 46 oneway void getImsiForApp(in int serial, in String aid); in getImsiForApp() argument 54 oneway void iccOpenLogicalChannel(in int serial, in String aid, in int p2); in iccOpenLogicalChannel() argument 58 … requestIccSimAuthentication(in int serial, in int authContext, in String authData, in String aid); in requestIccSimAuthentication() argument 70 oneway void supplyIccPin2ForApp(in int serial, in String pin2, in String aid); in supplyIccPin2ForApp() argument 71 oneway void supplyIccPinForApp(in int serial, in String pin, in String aid); in supplyIccPinForApp() argument 72 oneway void supplyIccPuk2ForApp(in int serial, in String puk2, in String pin2, in String aid); in supplyIccPuk2ForApp() argument 73 oneway void supplyIccPukForApp(in int serial, in String puk, in String pin, in String aid); in supplyIccPukForApp() argument
|
D | SimRefreshResult.aidl | 39 String aid;
|
/hardware/interfaces/radio/aidl/compat/libradiocompat/include/libradiocompat/ |
D | RadioSim.h | 28 const std::string& aid) override; 31 const std::string& aid) override; 40 ::ndk::ScopedAStatus getImsiForApp(int32_t serial, const std::string& aid) override; 47 ::ndk::ScopedAStatus iccOpenLogicalChannel(int32_t serial, const std::string& aid, 56 const std::string& aid) override; 88 const std::string& aid) override; 90 const std::string& aid) override; 93 const std::string& aid) override; 96 const std::string& aid) override;
|
/hardware/st/secure_element/1.0/ |
D | SecureElement.cpp | 148 Return<void> SecureElement::openLogicalChannel(const hidl_vec<uint8_t>& aid, in openLogicalChannel() argument 160 if (aid.size() > 16) { in openLogicalChannel() 161 STLOG_HAL_E("%s: Invalid AID size: %u", __func__, (unsigned)aid.size()); in openLogicalChannel() 203 if (ARA_M_AID == aid) { in openLogicalChannel() 245 cmdApdu.len = (int32_t)(6 + aid.size()); in openLogicalChannel() 253 cmdApdu.p_data[xx++] = aid.size(); // Lc in openLogicalChannel() 254 memcpy(&cmdApdu.p_data[xx], aid.data(), aid.size()); in openLogicalChannel() 255 cmdApdu.p_data[xx + aid.size()] = 0x00; // Le in openLogicalChannel() 311 Return<void> SecureElement::openBasicChannel(const hidl_vec<uint8_t>& aid, in openBasicChannel() argument 318 if (aid.size() > 16) { in openBasicChannel() [all …]
|
/hardware/st/secure_element/1.1/ |
D | SecureElement.cpp | 151 Return<void> SecureElement::openLogicalChannel(const hidl_vec<uint8_t>& aid, in openLogicalChannel() argument 161 if (aid.size() > 16) { in openLogicalChannel() 162 STLOG_HAL_E("%s: Invalid AID size: %u", __func__, (unsigned)aid.size()); in openLogicalChannel() 239 cmdApdu.len = (int32_t)(6 + aid.size()); in openLogicalChannel() 247 cmdApdu.p_data[xx++] = aid.size(); // Lc in openLogicalChannel() 248 memcpy(&cmdApdu.p_data[xx], aid.data(), aid.size()); in openLogicalChannel() 249 cmdApdu.p_data[xx + aid.size()] = 0x00; // Le in openLogicalChannel() 300 Return<void> SecureElement::openBasicChannel(const hidl_vec<uint8_t>& aid, in openBasicChannel() argument 307 if (aid.size() > 16) { in openBasicChannel() 308 STLOG_HAL_E("%s: Invalid AID size: %u", __func__, (unsigned)aid.size()); in openBasicChannel() [all …]
|
/hardware/interfaces/secure_element/aidl/aidl_api/android.hardware.secure_element/current/android/hardware/secure_element/ |
D | ISecureElement.aidl | 41 byte[] openBasicChannel(in byte[] aid, in byte p2); in openBasicChannel() argument 42 …android.hardware.secure_element.LogicalChannelResponse openLogicalChannel(in byte[] aid, in byte p… in openLogicalChannel() argument
|
/hardware/interfaces/secure_element/aidl/aidl_api/android.hardware.secure_element/1/android/hardware/secure_element/ |
D | ISecureElement.aidl | 41 byte[] openBasicChannel(in byte[] aid, in byte p2); in openBasicChannel() argument 42 …android.hardware.secure_element.LogicalChannelResponse openLogicalChannel(in byte[] aid, in byte p… in openLogicalChannel() argument
|
/hardware/interfaces/secure_element/aidl/android/hardware/secure_element/ |
D | ISecureElement.aidl | 91 byte[] openBasicChannel(in byte[] aid, in byte p2); in openBasicChannel() argument 110 LogicalChannelResponse openLogicalChannel(in byte[] aid, in byte p2); in openLogicalChannel() argument
|
/hardware/st/secure_element/1.2/ |
D | SecureElement.cpp | 156 Return<void> SecureElement::openLogicalChannel(const hidl_vec<uint8_t>& aid, in openLogicalChannel() argument 166 if (aid.size() > 16) { in openLogicalChannel() 167 STLOG_HAL_E("%s: Invalid AID size: %u", __func__, (unsigned)aid.size()); in openLogicalChannel() 244 cmdApdu.len = (int32_t)(6 + aid.size()); in openLogicalChannel() 252 cmdApdu.p_data[xx++] = aid.size(); // Lc in openLogicalChannel() 253 memcpy(&cmdApdu.p_data[xx], aid.data(), aid.size()); in openLogicalChannel() 254 cmdApdu.p_data[xx + aid.size()] = 0x00; // Le in openLogicalChannel() 305 Return<void> SecureElement::openBasicChannel(const hidl_vec<uint8_t>& aid, in openBasicChannel() argument 312 if (aid.size() > 16) { in openBasicChannel() 313 STLOG_HAL_E("%s: Invalid AID size: %u", __func__, (unsigned)aid.size()); in openBasicChannel() [all …]
|
/hardware/interfaces/secure_element/1.0/vts/functional/ |
D | VtsHalSecureElementV1_0TargetTest.cpp | 98 std::vector<uint8_t> aid = ANDROID_TEST_AID; in TEST_P() local 102 aid, 0x00, in TEST_P() 138 std::vector<uint8_t> aid = ANDROID_TEST_AID; in TEST_P() local 141 se_->openBasicChannel(aid, 0x00, in TEST_P() 185 std::vector<uint8_t> aid = ANDROID_TEST_AID; in TEST_P() local 189 aid, 0x00, in TEST_P()
|
/hardware/nxp/secure_element/pn8x/1.0/ |
D | SecureElement.cpp | 120 Return<void> SecureElement::openLogicalChannel(const hidl_vec<uint8_t>& aid, in openLogicalChannel() argument 198 cmdApdu.len = (int32_t)(5 + aid.size()); in openLogicalChannel() 206 cmdApdu.p_data[xx++] = aid.size(); // Lc in openLogicalChannel() 207 memcpy(&cmdApdu.p_data[xx], aid.data(), aid.size()); in openLogicalChannel() 253 Return<void> SecureElement::openBasicChannel(const hidl_vec<uint8_t>& aid, in openBasicChannel() argument 275 cmdApdu.len = (int32_t)(5 + aid.size()); in openBasicChannel() 283 cmdApdu.p_data[xx++] = aid.size(); // Lc in openBasicChannel() 284 memcpy(&cmdApdu.p_data[xx], aid.data(), aid.size()); in openBasicChannel()
|
/hardware/st/secure_element2/secure_element/1.0/ |
D | SecureElement.cpp | 200 Return<void> SecureElement::openLogicalChannel(const hidl_vec<uint8_t>& aid, uint8_t p2, openLogica… in openLogicalChannel() argument 218 if (aid.size() > MAX_AID_LEN) { in openLogicalChannel() 292 apdu_len = (int32_t)(6 + aid.size()); in openLogicalChannel() 303 apdu[index++] = aid.size(); in openLogicalChannel() 304 memcpy(&apdu[index], aid.data(), aid.size()); in openLogicalChannel() 305 index += aid.size(); in openLogicalChannel() 383 Return<void> SecureElement::openBasicChannel(const hidl_vec<uint8_t>& aid, uint8_t p2, openBasicCha… in openBasicChannel() argument 410 if (aid.size() > MAX_AID_LEN) { in openBasicChannel() 416 apdu_len = (int32_t)(6 + aid.size()); in openBasicChannel() 428 apdu[index++] = aid.size(); in openBasicChannel() [all …]
|
/hardware/nxp/secure_element/pn8x/1.1/ |
D | SecureElement.cpp | 162 Return<void> SecureElement::openLogicalChannel(const hidl_vec<uint8_t>& aid, in openLogicalChannel() argument 240 cmdApdu.len = (int32_t)(5 + aid.size()); in openLogicalChannel() 248 cmdApdu.p_data[xx++] = aid.size(); // Lc in openLogicalChannel() 249 memcpy(&cmdApdu.p_data[xx], aid.data(), aid.size()); in openLogicalChannel() 295 Return<void> SecureElement::openBasicChannel(const hidl_vec<uint8_t>& aid, in openBasicChannel() argument 317 cmdApdu.len = (int32_t)(5 + aid.size()); in openBasicChannel() 325 cmdApdu.p_data[xx++] = aid.size(); // Lc in openBasicChannel() 326 memcpy(&cmdApdu.p_data[xx], aid.data(), aid.size()); in openBasicChannel()
|
/hardware/st/secure_element2/secure_element/aidl/ |
D | SecureElement.cpp | 213 ScopedAStatus SecureElement::openLogicalChannel(const std::vector<uint8_t>& aid, int8_t p2, ::aidl:… in openLogicalChannel() argument 232 if (aid.size() > MAX_AID_LEN) { in openLogicalChannel() 305 apdu_len = (int32_t)(6 + aid.size()); in openLogicalChannel() 316 apdu[index++] = aid.size(); in openLogicalChannel() 317 memcpy(&apdu[index], aid.data(), aid.size()); in openLogicalChannel() 318 index += aid.size(); in openLogicalChannel() 401 ScopedAStatus SecureElement::openBasicChannel(const std::vector<uint8_t>& aid, int8_t p2, std::vect… in openBasicChannel() argument 429 if (aid.size() > MAX_AID_LEN) { in openBasicChannel() 434 apdu_len = (int32_t)(6 + aid.size()); in openBasicChannel() 446 apdu[index++] = aid.size(); in openBasicChannel() [all …]
|
/hardware/st/secure_element2/secure_element/1.2/ |
D | SecureElement.cpp | 243 Return<void> SecureElement::openLogicalChannel(const hidl_vec<uint8_t>& aid, uint8_t p2, openLogica… in openLogicalChannel() argument 266 if (aid.size() > MAX_AID_LEN) { in openLogicalChannel() 341 apdu_len = (int32_t)(6 + aid.size()); in openLogicalChannel() 352 apdu[index++] = aid.size(); in openLogicalChannel() 353 memcpy(&apdu[index], aid.data(), aid.size()); in openLogicalChannel() 354 index += aid.size(); in openLogicalChannel() 432 Return<void> SecureElement::openBasicChannel(const hidl_vec<uint8_t>& aid, uint8_t p2, openBasicCha… in openBasicChannel() argument 464 if (aid.size() > MAX_AID_LEN) { in openBasicChannel() 470 apdu_len = (int32_t)(6 + aid.size()); in openBasicChannel() 482 apdu[index++] = aid.size(); in openBasicChannel() [all …]
|
/hardware/st/secure_element2/secure_element/1.1/ |
D | SecureElement.cpp | 229 Return<void> SecureElement::openLogicalChannel(const hidl_vec<uint8_t>& aid, uint8_t p2, openLogica… in openLogicalChannel() argument 252 if (aid.size() > MAX_AID_LEN) { in openLogicalChannel() 326 apdu_len = (int32_t)(6 + aid.size()); in openLogicalChannel() 337 apdu[index++] = aid.size(); in openLogicalChannel() 338 memcpy(&apdu[index], aid.data(), aid.size()); in openLogicalChannel() 339 index += aid.size(); in openLogicalChannel() 417 Return<void> SecureElement::openBasicChannel(const hidl_vec<uint8_t>& aid, uint8_t p2, openBasicCha… in openBasicChannel() argument 449 if (aid.size() > MAX_AID_LEN) { in openBasicChannel() 455 apdu_len = (int32_t)(6 + aid.size()); in openBasicChannel() 467 apdu[index++] = aid.size(); in openBasicChannel() [all …]
|
/hardware/nxp/secure_element/snxxx/1.2/ |
D | SecureElement.h | 103 Return<void> openLogicalChannel(const hidl_vec<uint8_t>& aid, uint8_t p2, 105 Return<void> openBasicChannel(const hidl_vec<uint8_t>& aid, uint8_t p2, 134 uint8_t getReserveChannelCnt(const hidl_vec<uint8_t>& aid);
|