Home | History | Annotate | Download | only in cardemulation

Lines Matching defs:aid

59      * Convenience AID list
69 * All AID groups this service handles
173 // Parsed values for the current AID group
177 if (eventType == XmlPullParser.START_TAG && "aid-group".equals(tagName) &&
181 // Get category of AID group
192 Log.e(TAG, "Not allowing multiple aid-groups in the " +
200 } else if (eventType == XmlPullParser.END_TAG && "aid-group".equals(tagName) &&
208 Log.e(TAG, "Not adding <aid-group> with empty or invalid AIDs");
211 } else if (eventType == XmlPullParser.START_TAG && "aid-filter".equals(tagName) &&
215 String aid = a.getString(com.android.internal.R.styleable.AidFilter_name).
217 if (isValidAid(aid) && !currentGroup.aids.contains(aid)) {
218 currentGroup.aids.add(aid);
219 mAids.add(aid);
221 Log.e(TAG, "Ignoring invalid or duplicate aid: " + aid);
285 static boolean isValidAid(String aid) {
286 if (aid == null)
289 int aidLength = aid.length();
291 Log.e(TAG, "AID " + aid + " is not correctly formatted.");
294 // Minimum AID length is 5 bytes, 10 hex chars
296 Log.e(TAG, "AID " + aid + " is shorter than 5 bytes.");
307 out.append(", AID Groups: ");
399 for (String aid : aids) {
400 out.append(aid);