Lines Matching defs:aid
228 * @param aid The ISO7816-4 Application ID
233 public boolean isDefaultServiceForAid(ComponentName service, String aid) {
235 return sService.isDefaultServiceForAid(UserHandle.myUserId(), service, aid);
244 return sService.isDefaultServiceForAid(UserHandle.myUserId(), service, aid);
613 public static boolean isValidAid(String aid) {
614 if (aid == null)
618 if (aid.endsWith("*") && ((aid.length() % 2) == 0)) {
619 Log.e(TAG, "AID " + aid + " is not a valid AID.");
624 if (!aid.endsWith("*") && ((aid.length() % 2) != 0)) {
625 Log.e(TAG, "AID " + aid + " is not a valid AID.");
630 if (!aid.matches("[0-9A-Fa-f]{10,32}\\*?")) {
631 Log.e(TAG, "AID " + aid + " is not a valid AID.");