Home
last modified time | relevance | path

Searched refs:asInt (Results 1 – 15 of 15) sorted by relevance

/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubTestConstants.java240 public int asInt() { in asInt() method in ContextHubTestConstants.TestNames
335 public int asInt() { in asInt() method in ContextHubTestConstants.MessageType
354 if (value == type.asInt()) { in fromInt()
DContextHubNanoAppInfoEventsTestExecutor.java77 ContextHubTestConstants.TestNames.NANO_APP_INFO_EVENTS_PERFORMER.asInt(), in handleMessageFromNanoApp()
104 ContextHubTestConstants.MessageType.CONTINUE.asInt(), buffer.array()); in handleMessageFromNanoApp()
DContextHubEventBetweenAppsTestExecutor.java114 ContextHubTestConstants.MessageType.CONTINUE.asInt(), buffer.array()); in handleMessageFromNanoApp()
119 ContextHubTestConstants.MessageType.CONTINUE.asInt(), buffer.array()); in handleMessageFromNanoApp()
DContextHubSendMessageToHostTestExecutor.java150 message.getNanoAppId(), ContextHubTestConstants.MessageType.CONTINUE.asInt(), in hackMessageFromNanoApp()
185 sendMessageToNanoAppOrFail(nanoAppId, ContextHubTestConstants.MessageType.CONTINUE.asInt(), in sendEmptyMessage()
DContextHubSimpleHeapAllocTestExecutor.java60 sendMessageToNanoAppOrFail(nanoAppId, ContextHubTestConstants.MessageType.CONTINUE.asInt(), in handleMessageFromNanoApp()
DContextHubEstimatedHostTimeTestExecutor.java54 ContextHubTestConstants.MessageType.CONTINUE.asInt(), in handleMessageFromNanoApp()
DContextHubInfoByIdTestExecutor.java59 sendMessageToNanoAppOrFail(nanoAppId, ContextHubTestConstants.MessageType.CONTINUE.asInt(), in handleMessageFromNanoApp()
DContextHubGetTimeTestExecutor.java97 ContextHubTestConstants.MessageType.CONTINUE.asInt(), in handleMessageFromNanoApp()
DContextHubGeneralTestExecutor.java222 test.getTestName().asInt(), new byte[0] /* data */); in run()
/system/keymaster/km_openssl/
Dattestation_record.cpp1479 const cppbor::Int* key = key_item->asInt(); in parse_eat_record()
1484 const cppbor::Int* int_value = value_item->asInt(); in parse_eat_record()
1599 const cppbor::Int* key_int = key_item->asInt(); in parse_submod_values()
1609 ASSERT_OR_RETURN_ERROR(value_item->asInt(), KM_ERROR_INVALID_TAG); in parse_submod_values()
1611 TAG_ALGORITHM, static_cast<keymaster_algorithm_t>(value_item->asInt()->value())); in parse_submod_values()
1614 ASSERT_OR_RETURN_ERROR(value_item->asInt(), KM_ERROR_INVALID_TAG); in parse_submod_values()
1616 TAG_EC_CURVE, static_cast<keymaster_ec_curve_t>(value_item->asInt()->value())); in parse_submod_values()
1619 ASSERT_OR_RETURN_ERROR(value_item->asInt(), KM_ERROR_INVALID_TAG); in parse_submod_values()
1621 value_item->asInt()->value())); in parse_submod_values()
1624 ASSERT_OR_RETURN_ERROR(value_item->asInt(), KM_ERROR_INVALID_TAG); in parse_submod_values()
[all …]
/system/keymaster/cppcose/
Dcppcose.cpp119 if (!algo || !algo->asInt() || algo->asInt()->value() != HMAC_256) { in verifyAndParseCoseMac0()
196 if (!algorithm || !algorithm->asInt() || algorithm->asInt()->value() != EDDSA) { in verifyAndParseCoseSign1()
286 if (!algorithm || !algorithm->asInt() || algorithm->asInt()->value() != ECDH_ES_HKDF_256) { in getSenderPubKeyFromCoseEncrypt()
297 if (!keyType || !keyType->asInt() || keyType->asInt()->value() != OCTET_KEY_PAIR) { in getSenderPubKeyFromCoseEncrypt()
302 if (!curve || !curve->asInt() || curve->asInt()->value() != X25519) { in getSenderPubKeyFromCoseEncrypt()
346 if (!algorithm || !algorithm->asInt() || algorithm->asInt()->value() != AES_GCM_256) { in decryptCoseEncrypt()
/system/security/identity/
DCredentialData.cpp149 const cppbor::Int* itemId = ((*array)[0])->asInt(); in parseSacp()
154 const cppbor::Int* itemTimeoutMillis = ((*array)[3])->asInt(); in parseSacp()
155 const cppbor::Int* itesecureUserId_ = ((*array)[4])->asInt(); in parseSacp()
184 const cppbor::Int* itemUseCount = ((*array)[5])->asInt(); in parseAuthKeyData()
195 const cppbor::Int* itemExpirationDateMillisSinceEpoch = ((*array)[6])->asInt(); in parseAuthKeyData()
218 const cppbor::Int* itemInt = ((*array)[n])->asInt(); in parseAccessControlProfileIds()
285 const cppbor::Int* number = valueItem->asInt(); in loadFromDisk()
342 const cppbor::Int* ecEntrySizeItem = (*ecEntryArrayItem)[0]->asInt(); in loadFromDisk()
387 const cppbor::Int* number = valueItem->asInt(); in loadFromDisk()
395 const cppbor::Int* number = valueItem->asInt(); in loadFromDisk()
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h208 if (!value || !value->asInt()) return {}; in getIntValue()
209 return value->asInt()->value(); in getIntValue()
223 return value && value->asInt() && value->asInt()->value() == expectedValue; in checkIntValue()
/system/keymaster/tests/
Dattestation_record_test.cpp321 const cppbor::Int* root_key = eat_key->asInt(); in TEST()
332 const cppbor::Int* key_int = key_item->asInt(); in TEST()
336 submod_security_level = (EatSecurityLevel)value_item->asInt()->value(); in TEST()
/system/keymaster/android_keymaster/
Dremote_provisioning_utils.cpp155 if (!algo || !algo->asInt() || algo->asInt()->value() != HMAC_256) { in validateAndExtractPubkeys()