Home
last modified time | relevance | path

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

12

/hardware/interfaces/identity/aidl/vts/
DUtil.cpp353 EXPECT_TRUE(attRec.software_enforced.Contains(keymaster::V4_0::TAG_ATTESTATION_APPLICATION_ID, in validateAttestationCertificate()
363 attRec.hardware_enforced.Contains(static_cast<android::hardware::keymaster::V4_0::Tag>( in validateAttestationCertificate()
372 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_PURPOSE, in validateAttestationCertificate()
376 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_KEY_SIZE, 256)); in validateAttestationCertificate()
379 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_ALGORITHM, in validateAttestationCertificate()
383 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_NO_AUTH_REQUIRED)); in validateAttestationCertificate()
386 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_DIGEST, in validateAttestationCertificate()
390 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_EC_CURVE, in validateAttestationCertificate()
399 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_OS_VERSION)); in validateAttestationCertificate()
400 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_OS_PATCHLEVEL)); in validateAttestationCertificate()
/hardware/interfaces/boot/1.1/vts/functional/
DVtsHalBootV1_1TargetTest.cpp38 using ::testing::Contains;
69 EXPECT_THAT(values, Contains(status)); in TEST_P()
/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.cpp472 EXPECT_TRUE(expected_sw_enforced.Contains(TAG_NO_AUTH_REQUIRED)); in verify_attestation_record()
474 EXPECT_TRUE(expected_hw_enforced.Contains(TAG_NO_AUTH_REQUIRED)); in verify_attestation_record()
479 EXPECT_FALSE(expected_sw_enforced.Contains(TAG_TRUSTED_USER_PRESENCE_REQUIRED)); in verify_attestation_record()
480 EXPECT_FALSE(att_sw_enforced.Contains(TAG_TRUSTED_USER_PRESENCE_REQUIRED)); in verify_attestation_record()
481 EXPECT_FALSE(expected_hw_enforced.Contains(TAG_TRUSTED_USER_PRESENCE_REQUIRED)); in verify_attestation_record()
482 EXPECT_FALSE(att_hw_enforced.Contains(TAG_TRUSTED_USER_PRESENCE_REQUIRED)); in verify_attestation_record()
484 if (att_hw_enforced.Contains(TAG_ALGORITHM, Algorithm::EC)) { in verify_attestation_record()
486 EXPECT_TRUE(att_hw_enforced.Contains(TAG_EC_CURVE) || in verify_attestation_record()
487 att_hw_enforced.Contains(TAG_KEY_SIZE)); in verify_attestation_record()
566 EXPECT_TRUE(auths.Contains(TAG_ORIGIN, KeyOrigin::GENERATED)); in CheckBaseParams()
[all …]
/hardware/qcom/sm8150/display/sdm/include/utils/
Drect.h55 bool Contains(const LayerRect &rect1, const LayerRect &rect2);
/hardware/qcom/sm7250/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/gnss/1.0/
Dtypes.hal66 /** Contains GnssLocationFlags bits. */
DIGnssCallback.hal134 * Contains additional data about the given SV.
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintAidlTestBase.cpp250 if (key_desc.Contains(TAG_ATTESTATION_CHALLENGE)) { in GenerateKey()
299 if (key_desc.Contains(TAG_ATTESTATION_CHALLENGE)) EXPECT_GT(cert_chain_.size(), 1); in ImportKey()
1386 EXPECT_TRUE(expected_sw_enforced.Contains(TAG_NO_AUTH_REQUIRED)); in verify_attestation_record()
1388 EXPECT_TRUE(expected_hw_enforced.Contains(TAG_NO_AUTH_REQUIRED)); in verify_attestation_record()
1391 if (att_hw_enforced.Contains(TAG_ALGORITHM, Algorithm::EC)) { in verify_attestation_record()
1393 EXPECT_TRUE(att_hw_enforced.Contains(TAG_EC_CURVE) || in verify_attestation_record()
1394 att_hw_enforced.Contains(TAG_KEY_SIZE)); in verify_attestation_record()
DAttestKeyTest.cpp159 EXPECT_TRUE(sw_enforced.Contains(TAG_CREATION_DATETIME, timestamp)) in TEST_P()
/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/tv/cec/1.0/
DIHdmiCec.hal136 * Passes the updated language information of Android system. Contains
/hardware/interfaces/broadcastradio/1.0/
Dtypes.hal210 * Contains information on currently tuned channel.
/hardware/qcom/sm8150/display/sdm/libs/utils/
Drect.cpp102 bool Contains(const LayerRect &rect1, const LayerRect &rect2) { in Contains() function
/hardware/qcom/sm7250/display/sdm/libs/utils/
Drect.cpp102 bool Contains(const LayerRect &rect1, const LayerRect &rect2) { in Contains() function
/hardware/interfaces/camera/device/3.4/
Dtypes.hal174 * Contains the physical device camera id. Any settings passed by client here
313 * Contains the physical device camera id. As long as the corresponding
/hardware/interfaces/gnss/2.1/
DIGnssMeasurementCallback.hal201 * @param data Contains a reading of GNSS measurements.
/hardware/interfaces/broadcastradio/1.1/
Dtypes.hal289 * Contains information on currently tuned channel.
/hardware/interfaces/automotive/evs/1.1/
Dtypes.hal356 * Shared memory object containing the waveforms data. Contains one waveform
/hardware/interfaces/broadcastradio/2.0/
Dtypes.hal704 * Contains one of the entries explained in MetadataKey.
767 * Contains primaryId (ProgramSelector member) of a program to remove.
/hardware/interfaces/gnss/2.0/
DIGnssMeasurementCallback.hal480 * @param data Contains a reading of GNSS measurements.

12