Lines Matching refs:channelNumber
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()
392 } else if (channelNumber > DEFAULT_BASIC_CHANNEL) { in closeChannel()
399 cmdApdu.p_data[xx++] = channelNumber; in closeChannel()
402 cmdApdu.p_data[xx++] = channelNumber; // P2 in closeChannel()
420 if (mOpenedChannels[channelNumber] != false) mOpenedchannelCount--; in closeChannel()
421 mOpenedChannels[channelNumber] = false; in closeChannel()