/hardware/st/secure_element/1.0/ |
D | SecureElement.cpp | 156 resApduBuff.channelNumber = 0xff; in openLogicalChannel() 192 resApduBuff.channelNumber = rspApdu.p_data[0]; in openLogicalChannel() 194 mOpenedChannels[resApduBuff.channelNumber] = true; in openLogicalChannel() 198 aram_channel = resApduBuff.channelNumber; in openLogicalChannel() 201 if (aram_channel == resApduBuff.channelNumber) aram_channel = 0; in openLogicalChannel() 242 cmdApdu.p_data[xx++] = resApduBuff.channelNumber; in openLogicalChannel() 250 if (Aram_transceive && (aram_channel == resApduBuff.channelNumber)) { in openLogicalChannel() 288 closeChannel(resApduBuff.channelNumber); in openLogicalChannel() 292 resApduBuff.channelNumber = 0xff; in openLogicalChannel() 394 SecureElement::closeChannel(uint8_t channelNumber) { in closeChannel() argument [all …]
|
D | SecureElement.h | 63 closeChannel(uint8_t channelNumber) override;
|
/hardware/interfaces/secure_element/1.0/vts/functional/ |
D | VtsHalSecureElementV1_0TargetTest.cpp | 107 response.channelNumber = channelResponse.channelNumber; in TEST_P() 116 EXPECT_LE(1, response.channelNumber); in TEST_P() 118 command[0] |= response.channelNumber; in TEST_P() 129 EXPECT_EQ(SecureElementStatus::SUCCESS, se_->closeChannel(response.channelNumber)); in TEST_P() 194 response.channelNumber = channelResponse.channelNumber; in TEST_P() 203 EXPECT_LE(1, response.channelNumber); in TEST_P() 204 EXPECT_EQ(SecureElementStatus::SUCCESS, se_->closeChannel(response.channelNumber)); in TEST_P()
|
/hardware/nxp/secure_element/1.0/ |
D | SecureElement.cpp | 127 resApduBuff.channelNumber = 0xff; in openLogicalChannel() 160 resApduBuff.channelNumber = rspApdu.p_data[0]; in openLogicalChannel() 162 mOpenedChannels[resApduBuff.channelNumber] = true; in openLogicalChannel() 203 cmdApdu.p_data[xx++] = resApduBuff.channelNumber; in openLogicalChannel() 240 closeChannel(resApduBuff.channelNumber); in openLogicalChannel() 244 resApduBuff.channelNumber = 0xff; in openLogicalChannel() 340 SecureElement::closeChannel(uint8_t channelNumber) { in closeChannel() argument 347 if ((channelNumber < DEFAULT_BASIC_CHANNEL) || in closeChannel() 348 (channelNumber >= MAX_LOGICAL_CHANNELS) || in closeChannel() 349 (mOpenedChannels[channelNumber] == false)) { in closeChannel() [all …]
|
D | SecureElement.h | 64 closeChannel(uint8_t channelNumber) override;
|
/hardware/st/secure_element/1.2/ |
D | SecureElement.cpp | 157 resApduBuff.channelNumber = 0xff; in openLogicalChannel() 193 resApduBuff.channelNumber = rspApdu.p_data[0]; in openLogicalChannel() 195 mOpenedChannels[resApduBuff.channelNumber] = true; in openLogicalChannel() 236 cmdApdu.p_data[xx++] = resApduBuff.channelNumber; in openLogicalChannel() 277 closeChannel(resApduBuff.channelNumber); in openLogicalChannel() 281 resApduBuff.channelNumber = 0xff; in openLogicalChannel() 383 SecureElement::closeChannel(uint8_t channelNumber) { in closeChannel() argument 390 STLOG_HAL_D("%s: Enter : %d", __func__, channelNumber); in closeChannel() 392 if ((channelNumber < DEFAULT_BASIC_CHANNEL) || in closeChannel() 393 (channelNumber >= MAX_LOGICAL_CHANNELS) || in closeChannel() [all …]
|
D | SecureElement.h | 71 closeChannel(uint8_t channelNumber) override;
|
/hardware/st/secure_element/1.1/ |
D | SecureElement.cpp | 157 resApduBuff.channelNumber = 0xff; in openLogicalChannel() 193 resApduBuff.channelNumber = rspApdu.p_data[0]; in openLogicalChannel() 195 mOpenedChannels[resApduBuff.channelNumber] = true; in openLogicalChannel() 236 cmdApdu.p_data[xx++] = resApduBuff.channelNumber; in openLogicalChannel() 277 closeChannel(resApduBuff.channelNumber); in openLogicalChannel() 281 resApduBuff.channelNumber = 0xff; in openLogicalChannel() 383 SecureElement::closeChannel(uint8_t channelNumber) { in closeChannel() argument 390 STLOG_HAL_D("%s: Enter : %d", __func__, channelNumber); in closeChannel() 392 if ((channelNumber < DEFAULT_BASIC_CHANNEL) || in closeChannel() 393 (channelNumber >= MAX_LOGICAL_CHANNELS) || in closeChannel() [all …]
|
D | SecureElement.h | 71 closeChannel(uint8_t channelNumber) override;
|
/hardware/nxp/secure_element/1.1/ |
D | SecureElement.cpp | 168 resApduBuff.channelNumber = 0xff; in openLogicalChannel() 201 resApduBuff.channelNumber = rspApdu.p_data[0]; in openLogicalChannel() 203 mOpenedChannels[resApduBuff.channelNumber] = true; in openLogicalChannel() 244 cmdApdu.p_data[xx++] = resApduBuff.channelNumber; in openLogicalChannel() 281 closeChannel(resApduBuff.channelNumber); in openLogicalChannel() 285 resApduBuff.channelNumber = 0xff; in openLogicalChannel() 380 Return<SecureElementStatus> SecureElement::closeChannel(uint8_t channelNumber) { in closeChannel() argument 387 if ((channelNumber < DEFAULT_BASIC_CHANNEL) || in closeChannel() 388 (channelNumber >= MAX_LOGICAL_CHANNELS) || in closeChannel() 389 (mOpenedChannels[channelNumber] == false)) { in closeChannel() [all …]
|
D | SecureElement.h | 69 Return<SecureElementStatus> closeChannel(uint8_t channelNumber) override;
|
/hardware/st/secure_element2/secure_element/1.0/ |
D | SecureElement.cpp | 192 resApduBuff.channelNumber = 0xff; in openLogicalChannel() 244 resApduBuff.channelNumber = resp[0]; in openLogicalChannel() 279 apdu[index++] = resApduBuff.channelNumber; in openLogicalChannel() 324 closeChannel(resApduBuff.channelNumber); in openLogicalChannel() 412 …re::secure_element::V1_0::SecureElementStatus> SecureElement::closeChannel(uint8_t channelNumber) { in closeChannel() argument 421 if ((channelNumber < 0) || (channelNumber >= MAX_CHANNELS)) { in closeChannel() 424 } else if (channelNumber == 0) { in closeChannel() 435 apdu[index++] = channelNumber; in closeChannel() 438 apdu[index++] = channelNumber; in closeChannel()
|
D | SecureElement.h | 44 …:hardware::secure_element::V1_0::SecureElementStatus> closeChannel(uint8_t channelNumber) override;
|
/hardware/st/secure_element2/secure_element/1.1/ |
D | SecureElement.cpp | 224 resApduBuff.channelNumber = 0xff; in openLogicalChannel() 276 resApduBuff.channelNumber = resp[0]; in openLogicalChannel() 311 apdu[index++] = resApduBuff.channelNumber; in openLogicalChannel() 356 closeChannel(resApduBuff.channelNumber); in openLogicalChannel() 444 …re::secure_element::V1_0::SecureElementStatus> SecureElement::closeChannel(uint8_t channelNumber) { in closeChannel() argument 453 if ((channelNumber < 0) || (channelNumber >= MAX_CHANNELS)) { in closeChannel() 456 } else if (channelNumber == 0) { in closeChannel() 467 apdu[index++] = channelNumber; in closeChannel() 470 apdu[index++] = channelNumber; in closeChannel()
|
D | SecureElement.h | 48 …:hardware::secure_element::V1_0::SecureElementStatus> closeChannel(uint8_t channelNumber) override;
|
/hardware/st/secure_element2/secure_element/1.2/ |
D | SecureElement.cpp | 226 resApduBuff.channelNumber = 0xff; in openLogicalChannel() 278 resApduBuff.channelNumber = resp[0]; in openLogicalChannel() 313 apdu[index++] = resApduBuff.channelNumber; in openLogicalChannel() 358 closeChannel(resApduBuff.channelNumber); in openLogicalChannel() 446 …re::secure_element::V1_0::SecureElementStatus> SecureElement::closeChannel(uint8_t channelNumber) { in closeChannel() argument 455 if ((channelNumber < 0) || (channelNumber >= MAX_CHANNELS)) { in closeChannel() 458 } else if (channelNumber == 0) { in closeChannel() 469 apdu[index++] = channelNumber; in closeChannel() 472 apdu[index++] = channelNumber; in closeChannel()
|
D | SecureElement.h | 48 …:hardware::secure_element::V1_0::SecureElementStatus> closeChannel(uint8_t channelNumber) override;
|
/hardware/interfaces/secure_element/1.0/ |
D | ISecureElement.hal | 111 * Closes the channel indicated by the channelNumber. 113 * Closing a basic channel, i.e with channelNumber 0 must return 116 * @param channelNumber to be closed 120 closeChannel(uint8_t channelNumber) generates (SecureElementStatus status);
|
D | types.hal | 30 uint8_t channelNumber;
|
/hardware/nxp/secure_element/ls_client/src/ |
D | LsLib.cpp | 1942 for (uint8_t channelNumber = 0x01; channelNumber < 0x04; channelNumber++) { in LSC_CloseAllLogicalChannels() local 1943 if (channelNumber == Os_info->initChannelNum) continue; in LSC_CloseAllLogicalChannels() 1950 cmdApdu.p_data[xx++] = channelNumber; in LSC_CloseAllLogicalChannels() 1953 cmdApdu.p_data[xx++] = channelNumber; // P2 in LSC_CloseAllLogicalChannels()
|
/hardware/interfaces/broadcastradio/2.0/ |
D | types.hal | 184 * lowerBound + channelNumber * spacing, up to upperBound.
|
/hardware/interfaces/radio/1.4/ |
D | types.hal | 1430 int32_t channelNumber;
|