Home
last modified time | relevance | path

Searched refs:Contains (Results 1 – 25 of 51) sorted by relevance

123

/hardware/interfaces/automotive/vehicle/aidl/
DREADME.md12 Contains a test to test that all HIDL VHAL properties are supported in
17 Contains AIDL VHAL interface definition. The main interface file is
/hardware/interfaces/identity/aidl/vts/
DUtil.cpp431 EXPECT_TRUE(attRec.software_enforced.Contains(keymaster::V4_0::TAG_ATTESTATION_APPLICATION_ID, in validateAttestationCertificate()
441 attRec.hardware_enforced.Contains(static_cast<android::hardware::keymaster::V4_0::Tag>( in validateAttestationCertificate()
450 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_PURPOSE, in validateAttestationCertificate()
454 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_KEY_SIZE, 256)); in validateAttestationCertificate()
457 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_ALGORITHM, in validateAttestationCertificate()
461 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_NO_AUTH_REQUIRED)); in validateAttestationCertificate()
464 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_DIGEST, in validateAttestationCertificate()
468 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_EC_CURVE, in validateAttestationCertificate()
477 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_OS_VERSION)); in validateAttestationCertificate()
478 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_OS_PATCHLEVEL)); in validateAttestationCertificate()
/hardware/interfaces/boot/1.1/vts/functional/
DVtsHalBootV1_1TargetTest.cpp40 using ::testing::Contains;
83 EXPECT_THAT(values, Contains(status)); in TEST_P()
/hardware/interfaces/automotive/ivn_android_device/vts/src/
DVtsHalIvnTargetTest.cpp32 using ::testing::Contains;
69 EXPECT_THAT(foundDeviceIds, Not(Contains(deviceId))) << "Duplicate device ID: " << deviceId; in TEST_P()
114 EXPECT_THAT(foundOccupantZoneIds, Not(Contains(zoneId))) in TEST_P()
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintTest.cpp619 EXPECT_TRUE(auths.Contains(TAG_PURPOSE, KeyPurpose::SIGN)); in CheckBaseParams()
622 EXPECT_FALSE(auths.Contains(TAG_PURPOSE, KeyPurpose::ENCRYPT)); in CheckBaseParams()
623 EXPECT_FALSE(auths.Contains(TAG_PURPOSE, KeyPurpose::DECRYPT)); in CheckBaseParams()
628 EXPECT_TRUE(auths.Contains(TAG_PURPOSE, KeyPurpose::ENCRYPT)); in CheckSymmetricParams()
629 EXPECT_TRUE(auths.Contains(TAG_PURPOSE, KeyPurpose::DECRYPT)); in CheckSymmetricParams()
631 EXPECT_FALSE(auths.Contains(TAG_PURPOSE, KeyPurpose::SIGN)); in CheckSymmetricParams()
641 EXPECT_TRUE(auths.Contains(TAG_ORIGIN, expectedKeyOrigin)); in CheckCommonParams()
644 EXPECT_FALSE(auths.Contains(TAG_ROOT_OF_TRUST)); in CheckCommonParams()
645 EXPECT_FALSE(auths.Contains(TAG_APPLICATION_DATA)); in CheckCommonParams()
646 EXPECT_FALSE(auths.Contains(TAG_AUTH_TIMEOUT, 301U)); in CheckCommonParams()
[all …]
DKeyMintAidlTestBase.cpp321 if (isRkpOnly() && key_desc.Contains(TAG_ATTESTATION_CHALLENGE)) { in GenerateKey()
368 if (key_desc.Contains(TAG_ATTESTATION_CHALLENGE)) { in GenerateKey()
412 if (key_desc.Contains(TAG_ATTESTATION_CHALLENGE)) EXPECT_GT(cert_chain_.size(), 1); in ImportKey()
1939 EXPECT_TRUE(expected_sw_enforced.Contains(TAG_NO_AUTH_REQUIRED)); in verify_attestation_record()
1941 EXPECT_TRUE(expected_hw_enforced.Contains(TAG_NO_AUTH_REQUIRED)); in verify_attestation_record()
1944 if (att_hw_enforced.Contains(TAG_ALGORITHM, Algorithm::EC)) { in verify_attestation_record()
1946 EXPECT_TRUE(att_hw_enforced.Contains(TAG_EC_CURVE) || in verify_attestation_record()
1947 att_hw_enforced.Contains(TAG_KEY_SIZE)); in verify_attestation_record()
2129 ASSERT_TRUE(auths.Contains(TAG_RSA_OAEP_MGF_DIGEST, digest)); in assert_mgf_digests_present_or_not_in_key_characteristics()
2131 ASSERT_FALSE(auths.Contains(TAG_RSA_OAEP_MGF_DIGEST, digest)); in assert_mgf_digests_present_or_not_in_key_characteristics()
/hardware/interfaces/automotive/vehicle/aidl/impl/proto/android/hardware/automotive/vehicle/
DVehiclePropConfig.proto36 /* Contains per-area configuration. */
39 /* Contains additional configuration parameters */
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp1056 EXPECT_TRUE(auths.Contains(TAG_ORIGIN, KeyOrigin::UNKNOWN)); in CheckBaseParams()
1058 EXPECT_TRUE(auths.Contains(TAG_ORIGIN, KeyOrigin::GENERATED)); in CheckBaseParams()
1061 EXPECT_TRUE(auths.Contains(TAG_PURPOSE, KeyPurpose::SIGN)); in CheckBaseParams()
1062 EXPECT_TRUE(auths.Contains(TAG_PURPOSE, KeyPurpose::VERIFY)); in CheckBaseParams()
1063 EXPECT_TRUE(auths.Contains(TAG_USER_ID, 7)) in CheckBaseParams()
1067 EXPECT_FALSE(auths.Contains(TAG_ROOT_OF_TRUST)); in CheckBaseParams()
1068 EXPECT_FALSE(auths.Contains(TAG_APPLICATION_ID)); in CheckBaseParams()
1069 EXPECT_FALSE(auths.Contains(TAG_APPLICATION_DATA)); in CheckBaseParams()
1072 EXPECT_FALSE(auths.Contains(TAG_PURPOSE, KeyPurpose::ENCRYPT)); in CheckBaseParams()
1073 EXPECT_FALSE(auths.Contains(TAG_PURPOSE, KeyPurpose::DECRYPT)); in CheckBaseParams()
[all …]
Dauthorization_set.h162 bool Contains(Tag tag) const { return find(tag) != -1; } in Contains() function
164 template <typename T> bool Contains(T tag) const { return find(tag) != -1; } in Contains() function
167 bool Contains(TypedTag<tag_type, tag> ttag, const ValueT& value) const { in Contains() function
/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp478 EXPECT_TRUE(expected_sw_enforced.Contains(TAG_NO_AUTH_REQUIRED)); in verify_attestation_record()
480 EXPECT_TRUE(expected_hw_enforced.Contains(TAG_NO_AUTH_REQUIRED)); in verify_attestation_record()
485 EXPECT_FALSE(expected_sw_enforced.Contains(TAG_TRUSTED_USER_PRESENCE_REQUIRED)); in verify_attestation_record()
486 EXPECT_FALSE(att_sw_enforced.Contains(TAG_TRUSTED_USER_PRESENCE_REQUIRED)); in verify_attestation_record()
487 EXPECT_FALSE(expected_hw_enforced.Contains(TAG_TRUSTED_USER_PRESENCE_REQUIRED)); in verify_attestation_record()
488 EXPECT_FALSE(att_hw_enforced.Contains(TAG_TRUSTED_USER_PRESENCE_REQUIRED)); in verify_attestation_record()
490 if (att_hw_enforced.Contains(TAG_ALGORITHM, Algorithm::EC)) { in verify_attestation_record()
492 EXPECT_TRUE(att_hw_enforced.Contains(TAG_EC_CURVE) || in verify_attestation_record()
493 att_hw_enforced.Contains(TAG_KEY_SIZE)); in verify_attestation_record()
572 EXPECT_TRUE(auths.Contains(TAG_ORIGIN, KeyOrigin::GENERATED)); in CheckBaseParams()
[all …]
/hardware/qcom/sm7250/display/sdm/include/utils/
Drect.h55 bool Contains(const LayerRect &rect1, const LayerRect &rect2);
/hardware/qcom/sm8150/display/sdm/include/utils/
Drect.h55 bool Contains(const LayerRect &rect1, const LayerRect &rect2);
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dauthorization_set.h167 bool Contains(Tag tag) const { return find(tag) != -1; } in Contains() function
170 bool Contains(TypedTag<tag_type, tag> ttag, const ValueT& value,
/hardware/interfaces/security/keymint/support/include/keymint_support/
Dauthorization_set.h165 bool Contains(Tag tag) const { return find(tag) != -1; } in Contains() function
168 bool Contains(TypedTag<tag_type, tag> ttag, const ValueT& value) const { in Contains() function
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/
DREADME.md62 Contains vendor properties used for testing purpose in reference VHAL.
/hardware/google/gfxstream/
DREADME.md83 Contains utility code related to synchronization, threading, and suballocation.
88 Contains concrete implementations of auxiliary virtual devices such as
/hardware/google/aemu/base/
DHealthMonitor_unittest.cpp39 using ::testing::Contains;
350 Pointee(AllOf(Contains(Key("key1")), Contains(Key("key2"))))))))) in TEST_F()
584 Pointee(Contains(Pair(StrEq("tag"), StrEq(tag)))))), in TEST()
/hardware/interfaces/gnss/1.0/
Dtypes.hal66 /** Contains GnssLocationFlags bits. */
/hardware/interfaces/automotive/vehicle/aidl/impl/
DREADME.md16 Contains libraries used specifically for the fake reference VHAL implementation.
/hardware/interfaces/security/keymint/support/fuzzer/
Dkeymint_authSet_fuzzer.cpp147 authSet.Contains(mFdp.ConsumeBool() ? tag : mFdp.PickValueInArray(kTagArray)); in process()
/hardware/interfaces/keymaster/4.0/support/fuzzer/
Dkeymaster4_authSet_fuzzer.cpp161 authSet.Contains(mFdp->ConsumeBool() ? tag : mFdp->PickValueInArray(kTagArray)); in invokeAuthSetAPIs()
/hardware/interfaces/gnss/1.1/
DIGnssMeasurementCallback.hal112 * @param data Contains a reading of GNSS measurements.
/hardware/interfaces/power/stats/1.0/
Dtypes.hal102 /** Contains residency data for a single state */
/hardware/interfaces/gnss/measurement_corrections/1.0/
Dtypes.hal28 /** Contains GnssSingleSatCorrectionFlags bits. */
/hardware/interfaces/broadcastradio/1.0/
Dtypes.hal210 * Contains information on currently tuned channel.

123