/frameworks/base/core/java/android/nfc/cardemulation/ |
AidGroup.java | 16 * The AidGroup class represents a group of Application Identifiers (AIDs). 18 * <p>The format of AIDs is defined in the ISO/IEC 7816-4 specification. This class 19 * requires the AIDs to be input as a hexadecimal string, with an even amount of 26 * The maximum number of AIDs that can be present in any one group. 32 final List<String> aids; field in class:AidGroup 39 * @param aids The list of AIDs present in the group 42 public AidGroup(List<String> aids, String category) { 43 if (aids == null || aids.size() == 0) 133 ArrayList<String> aids = new ArrayList<String>(); local [all...] |
ApduServiceInfo.java | 62 * Whether this service represents AIDs running on the host CPU 207 if (currentGroup.aids.size() > 0) { 212 Log.e(TAG, "Not adding <aid-group> with empty or invalid AIDs"); 221 if (CardEmulation.isValidAid(aid) && !currentGroup.aids.contains(aid)) { 222 currentGroup.aids.add(aid); 235 if (CardEmulation.isValidAid(aid) && !currentGroup.aids.contains(aid)) { 236 currentGroup.aids.add(aid); 258 * Returns a consolidated list of AIDs from the AID groups 261 * AID group, only the dynamically registered AIDs will be returned 263 * @return List of AIDs registered by the servic 266 final ArrayList<String> aids = new ArrayList<String>(); local [all...] |
CardEmulation.java | 100 * any of the Application IDs (AIDs) 253 * Returns whether the user has allowed AIDs registered in the 261 * @return whether AIDs in the category can be handled by a service 306 * Registers a list of AIDs for a specific category for the 309 * <p>If a list of AIDs for that category was previously 312 * that list of AIDs will be replaced with this one. 314 * <p>Note that you can only register AIDs for a service that 321 * @param category The category of AIDs to be registered 322 * @param aids A list containing the AIDs to be registere [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
LargeNumAidsEmulatorActivity.java | 34 ArrayList<String> aids = new ArrayList<String>(); local 36 aids.add(HceUtils.LARGE_NUM_AIDS_PREFIX + String.format("%02X", i) + HceUtils.LARGE_NUM_AIDS_POSTFIX); 39 CardEmulation.CATEGORY_OTHER, aids);
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
AidRoutingManager.java | 53 // OEMs/Carriers could manually map off-host AIDs 57 // How the NFC controller can match AIDs in the routing table; 94 Log.e(TAG, "Device does not support prefix AIDs but AID [" + aid 98 // Cut off '*' since controller anyway treats all AIDs as a prefix 146 * The only way to prevent this is to add the longer AIDs of the 152 // Check whether there are any shorted AIDs routed to non-default 177 Log.e(TAG, "This device does not support prefix AIDs."); 181 // Cut off '*' since controller anyway treats all AIDs as a prefix 223 Set<String> aids = mAidRoutingTable.valueAt(i); local 225 for (String aid : aids) { [all...] |
RegisteredAidCache.java | 45 // mAidServices maps AIDs to services that have registered them. 47 // of AIDs that conflict with each other. 171 Log.e(TAG, "Different defaults for conflicting AIDs!"); 214 * AIDs. Note that the AID itself is not an input to the decision 324 " preference, ignoring conflicting AIDs."); 339 " default, ignoring conflicting AIDs."); 397 final HashSet<String> aids = new HashSet<String>(); field in class:RegisteredAidCache.PrefixConflicts 404 if (DBG) Log.d(TAG, "Finding AIDs in range [" + plainAid + " - " + 415 prefixConflicts.aids.add(entry.getKey()); 423 // Get all exact and prefix AIDs in an ordered lis [all...] |
RegisteredServicesCache.java | 292 " AIDs: " + service.getAids()); 316 Log.d(TAG, "Removing dynamic AIDs registered by " + component); 332 Log.d(TAG, "Dynamic AIDs file does not exist."); 398 Log.e(TAG, "Could not parse dynamic AIDs file, trashing."); 436 Log.e(TAG, "Error writing dynamic AIDs", e); 465 // AidGroup object with invalid AIDs over Binder. 466 List<String> aids = aidGroup.getAids(); local 467 for (String aid : aids) { 525 Log.e(TAG," Could not find dynamic AIDs for category " + category);
|
/prebuilts/sdk/21/ |
android.jar | |