Home | History | Annotate | Download | only in cardemulation

Lines Matching defs:aids

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;
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) {
44 throw new IllegalArgumentException("No AIDS in AID group.");
46 if (aids.size() > MAX_NUM_AIDS) {
47 throw new IllegalArgumentException("Too many AIDs in AID group.");
49 for (String aid : aids) {
59 this.aids = new ArrayList<String>(aids.size());
60 for (String aid : aids) {
61 this.aids.add(aid.toUpperCase());
67 this.aids = new ArrayList<String>();
80 * @return the list of AIDs in this group
83 return aids;
89 ", AIDs:");
90 for (String aid : aids) {
105 dest.writeInt(aids.size());
106 if (aids.size() > 0) {
107 dest.writeStringList(aids);
133 ArrayList<String> aids = new ArrayList<String>();
146 aids.add(aid.toUpperCase());
162 if (tagName.equals("aid-group") && inGroup && aids.size() > 0) {
163 group = new AidGroup(aids, category);
175 for (String aid : aids) {