Home | History | Annotate | Download | only in cardemulation

Lines Matching refs:aid

45     // that for any AID that needs to be routed to this
68 // Easy look-up what the route is for a certain AID
91 String aid = aidEntry.getKey();
92 if (aid.endsWith("*")) {
94 Log.e(TAG, "Device does not support prefix AIDs but AID [" + aid
97 if (DBG) Log.d(TAG, "Unrouting prefix AID " + aid);
99 aid = aid.substring(0, aid.length() - 1);
101 if (DBG) Log.d(TAG, "Unrouting prefix AID " + aid);
104 if (DBG) Log.d(TAG, "Unrouting exact AID " + aid);
107 NfcService.getInstance().unrouteAids(aid);
117 String aid = aidEntry.getKey();
119 entries.add(aid);
121 routeForAid.put(aid, route);
135 /* If a non-default route registers an exact AID which is shorter
136 * than this exact AID, this will create a problem with controllers
137 * that treat every AID in the routing table as a prefix.
138 * For example, if App A registers F0000000041010 as an exact AID,
139 * and App B registers F000000004 as an exact AID, and App B is not
155 String aid = aidEntry.getKey();
157 if (defaultRouteAid.startsWith(aid) && route != mDefaultRoute) {
159 Log.d(TAG, "Adding AID " + defaultRouteAid + " for default " +
160 "route, because a conflicting shorter AID will be " +
169 // Add AID entries for all non-default routes
174 for (String aid : aidsForRoute) {
175 if (aid.endsWith("*")) {
179 if (DBG) Log.d(TAG, "Routing prefix AID " + aid + " to route "
182 NfcService.getInstance().routeAids(aid.substring(0,
183 aid.length() - 1), route);
185 if (DBG) Log.d(TAG, "Routing prefix AID " + aid + " to route "
187 NfcService.getInstance().routeAids(aid, route);
190 if (DBG) Log.d(TAG, "Routing exact AID " + aid + " to route "
192 NfcService.getInstance().routeAids(aid, route);
206 * This notifies that the AID routing table in the controller
225 for (String aid : aids) {
226 pw.println(" \"" + aid + "\"");