Home
last modified time | relevance | path

Searched refs:majorType (Results 1 – 2 of 2) sorted by relevance

/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DCborUtils.java141 private static boolean checkType(DataItem item, MajorType majorType, String field) { in checkType() argument
142 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() argument
381 || !checkType(dataItems.get(RESPONSE_CERT_ARRAY_INDEX), majorType, debugName)) { in decodeCbor()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/provisioning/
DScriptParser.java229 private static boolean checkType(DataItem item, MajorType majorType, String field) { in checkType() argument
230 if (item.getMajorType() != majorType) { in checkType()
232 + ". Expected " + majorType.name() in checkType()