Lines Matching refs:channel_number
529 size_t channel_number = 1; in openLogicalChannel() local
534 for (; channel_number < channels_.size(); channel_number++) { in openLogicalChannel()
535 if (channels_[channel_number].opened == false) { in openLogicalChannel()
541 if (channel_number >= channels_.size()) { in openLogicalChannel()
573 channels_[channel_number] = Channel(aid, p2, applet); in openLogicalChannel()
575 .channelNumber = static_cast<int8_t>(channel_number), in openLogicalChannel()
581 ScopedAStatus closeChannel(int8_t channel_number) override { in closeChannel() argument
582 LOG(INFO) << __func__ << " channel number: " << static_cast<int>(channel_number); in closeChannel()
588 if (channel_number >= channels_.size() || !channels_[channel_number].opened) { in closeChannel()
597 channels_[channel_number].opened = false; in closeChannel()
610 uint8_t channel_number = apdu.get_channel_number(); in transmit() local
631 CHECK(channel_number < channels_.size()) << " invalid channel number"; in transmit()
632 if (!channels_[channel_number].opened) { in transmit()
633 LOG(INFO) << __func__ << " the channel " << static_cast<int>(channel_number) in transmit()
642 if (channels_[channel_number].applet == nullptr) { in transmit()
645 response_apdu = channels_[channel_number].applet->Process(apdu); in transmit()