Lines Matching refs:channelNumber
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()
394 (mOpenedChannels[channelNumber] == false)) { in closeChannel()
397 } else if (channelNumber > DEFAULT_BASIC_CHANNEL) { in closeChannel()
404 cmdApdu.p_data[xx++] = channelNumber; in closeChannel()
407 cmdApdu.p_data[xx++] = channelNumber; // P2 in closeChannel()
425 if ((channelNumber == DEFAULT_BASIC_CHANNEL) || in closeChannel()
428 channelNumber); in closeChannel()
429 mOpenedChannels[channelNumber] = false; in closeChannel()