Lines Matching refs:channelNumber
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()
352 } else if (channelNumber > DEFAULT_BASIC_CHANNEL) { in closeChannel()
359 cmdApdu.p_data[xx++] = channelNumber; in closeChannel()
362 cmdApdu.p_data[xx++] = channelNumber; // P2 in closeChannel()
380 if (mOpenedChannels[channelNumber] != false) mOpenedchannelCount--; in closeChannel()
381 mOpenedChannels[channelNumber] = false; in closeChannel()