Home | History | Annotate | Download | only in cardemulation

Lines Matching refs:category

49     final String category;
56 * @param category The category of this group, e.g. {@link CardEmulation#CATEGORY_PAYMENT}
58 public AidGroup(List<String> aids, String category) {
70 if (isValidCategory(category)) {
71 this.category = category;
73 this.category = CardEmulation.CATEGORY_OTHER;
82 AidGroup(String category, String description) {
84 this.category = category;
89 * @return the category of this AID group
92 return category;
104 StringBuilder out = new StringBuilder("Category: " + category +
120 dest.writeString(category);
132 String category = source.readString();
138 return new AidGroup(aidList, category);
148 String category = null;
168 category = parser.getAttributeValue(null, "category");
169 if (category == null) {
170 Log.e(TAG, "<aid-group> tag without valid category");
179 group = new AidGroup(aids, category);
190 out.attribute(null, "category", category);
199 static boolean isValidCategory(String category) {
200 return CardEmulation.CATEGORY_PAYMENT.equals(category) ||
201 CardEmulation.CATEGORY_OTHER.equals(category);