Home
last modified time | relevance | path

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

/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DCborUtils.java217 List<DataItem> respItems = in parseGeekResponse() local
219 if (respItems.size() != EEK_ARRAY_ENTRIES_NO_CONFIG in parseGeekResponse()
220 && respItems.size() != EEK_ARRAY_ENTRIES_WITH_CONFIG) { in parseGeekResponse()
223 + ". Actual: " + respItems.size()); in parseGeekResponse()
226 if (!checkType(respItems.get(EEK_AND_CURVE_INDEX), MajorType.ARRAY, "EekAndCurveArr")) { in parseGeekResponse()
230 ((Array) respItems.get(EEK_AND_CURVE_INDEX)).getDataItems(); in parseGeekResponse()
253 if (!checkType(respItems.get(CHALLENGE_INDEX), MajorType.BYTE_STRING, "Challenge")) { in parseGeekResponse()
256 resp.setChallenge(((ByteString) respItems.get(CHALLENGE_INDEX)).getBytes()); in parseGeekResponse()
257 if (respItems.size() == EEK_ARRAY_ENTRIES_WITH_CONFIG in parseGeekResponse()
258 && !parseDeviceConfig(resp, respItems.get(CONFIG_INDEX))) { in parseGeekResponse()
/packages/modules/RemoteKeyProvisioning/util/src/com/android/rkpdapp/
DRkpRegistrationCheck.java90 List<DataItem> respItems = ((Array) response).getDataItems(); in FetchEekResponse() local
92 ((Array) respItems.get(EEK_AND_CURVE_INDEX)).getDataItems(); in FetchEekResponse()
100 mChallenge = ((ByteString) respItems.get(CHALLENGE_INDEX)).getBytes(); in FetchEekResponse()