• Home
  • Raw
  • Download

Lines Matching refs:aid

346     private void select(byte[] aid) throws IOException {  in select()  argument
347 int commandSize = (aid == null ? 0 : aid.length) + 5; in select()
353 if (aid != null && aid.length != 0) { in select()
354 selectCommand[4] = (byte) aid.length; in select()
355 System.arraycopy(aid, 0, selectCommand, 5, aid.length); in select()
375 public Channel openBasicChannel(SecureElementSession session, byte[] aid, byte p2, in openBasicChannel() argument
378 if (aid != null && aid.length == 0) { in openBasicChannel()
379 aid = null; in openBasicChannel()
380 } else if (aid != null && (aid.length < 5 || aid.length > 16)) { in openBasicChannel()
394 channelAccess = setUpChannelAccess(aid, packageName, pid); in openBasicChannel()
404 if (aid == null && !mDefaultApplicationSelectedOnBasicChannel) { in openBasicChannel()
413 mSEHal.openBasicChannel(byteArrayToArrayList(aid), p2, in openBasicChannel()
437 Channel basicChannel = new Channel(session, this, 0, selectResponse, aid, in openBasicChannel()
441 if (aid != null) { in openBasicChannel()
452 public Channel openLogicalChannelWithoutChannelAccess(byte[] aid) throws IOException, in openLogicalChannelWithoutChannelAccess() argument
454 return openLogicalChannel(null, aid, (byte) 0x00, null, null, 0); in openLogicalChannelWithoutChannelAccess()
460 public Channel openLogicalChannel(SecureElementSession session, byte[] aid, byte p2, in openLogicalChannel() argument
463 if (aid != null && aid.length == 0) { in openLogicalChannel()
464 aid = null; in openLogicalChannel()
465 } else if (aid != null && (aid.length < 5 || aid.length > 16)) { in openLogicalChannel()
480 channelAccess = setUpChannelAccess(aid, packageName, pid); in openLogicalChannel()
491 mSEHal.openLogicalChannel(byteArrayToArrayList(aid), p2, in openLogicalChannel()
519 selectResponse, aid, listener); in openLogicalChannel()
530 public boolean isAidSelectable(byte[] aid) { in isAidSelectable() argument
531 if (aid == null) { in isAidSelectable()
542 mSEHal.openLogicalChannel(byteArrayToArrayList(aid), (byte) 0x00, in isAidSelectable()
620 public boolean[] isNfcEventAllowed(PackageManager packageManager, byte[] aid, in isNfcEventAllowed() argument
638 return mAccessControlEnforcer.isNfcEventAllowed(aid, packageNames); in isNfcEventAllowed()
661 private ChannelAccess setUpChannelAccess(byte[] aid, String packageName, int pid) in setUpChannelAccess() argument
677 mAccessControlEnforcer.setUpChannelAccess(aid, packageName, in setUpChannelAccess()