Searched refs:majorType (Results 1 – 2 of 2) sorted by relevance
141 private static boolean checkType(DataItem item, MajorType majorType, String field) { in checkType() argument142 if (item.getMajorType() != majorType) { in checkType()143 Log.e(TAG, "Incorrect CBOR type for field: " + field + ". Expected " + majorType.name() in checkType()377 MajorType majorType) throws CborException, RkpdException { in decodeCbor() argument381 || !checkType(dataItems.get(RESPONSE_CERT_ARRAY_INDEX), majorType, debugName)) { in decodeCbor()
229 private static boolean checkType(DataItem item, MajorType majorType, String field) { in checkType() argument230 if (item.getMajorType() != majorType) { in checkType()232 + ". Expected " + majorType.name() in checkType()