Lines Matching refs:resApduBuff

233   LogicalChannelResponse resApduBuff;  in openLogicalChannel()  local
237 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
238 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
243 _hidl_cb(resApduBuff, SecureElementStatus::IOERROR); in openLogicalChannel()
274 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
285 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
289 resApduBuff.channelNumber = rspApdu.p_data[0]; in openLogicalChannel()
291 mOpenedChannels[resApduBuff.channelNumber] = true; in openLogicalChannel()
316 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()
328 if ((resApduBuff.channelNumber > 0x03) && in openLogicalChannel()
329 (resApduBuff.channelNumber < 0x14)) { in openLogicalChannel()
332 0x40 + (resApduBuff.channelNumber - 4); /* Class of instruction */ in openLogicalChannel()
333 } else if ((resApduBuff.channelNumber > 0x00) && in openLogicalChannel()
334 (resApduBuff.channelNumber < 0x04)) { in openLogicalChannel()
336 cpdu.cla = resApduBuff.channelNumber; /* Class of instruction */ in openLogicalChannel()
339 resApduBuff.channelNumber); in openLogicalChannel()
340 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
341 _hidl_cb(resApduBuff, SecureElementStatus::IOERROR); in openLogicalChannel()
368 resApduBuff.selectResponse.resize(responseLen); in openLogicalChannel()
369 memcpy(&resApduBuff.selectResponse[0], rpdu.pdata, rpdu.len); in openLogicalChannel()
370 resApduBuff.selectResponse[responseLen - 1] = rpdu.sw2; in openLogicalChannel()
371 resApduBuff.selectResponse[responseLen - 2] = rpdu.sw1; in openLogicalChannel()
390 internalCloseChannel(resApduBuff.channelNumber); in openLogicalChannel()
394 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
401 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()