Home
last modified time | relevance | path

Searched refs:V4_0 (Results 1 – 25 of 69) sorted by relevance

123

/hardware/interfaces/keymaster/4.1/support/include/keymasterV4_1/
Dkeymaster_tags.h26 using V4_0::Algorithm;
27 using V4_0::BlockMode;
28 using V4_0::Digest;
29 using V4_0::EcCurve;
30 using V4_0::HardwareAuthenticatorType;
31 using V4_0::HardwareAuthToken;
32 using V4_0::HmacSharingParameters;
33 using V4_0::KeyBlobUsageRequirements;
34 using V4_0::KeyCharacteristics;
35 using V4_0::KeyFormat;
[all …]
DKeymaster3.h52 _hidl_cb(V4_0::ErrorCode::UNIMPLEMENTED, {}); in getHmacSharingParameters()
58 _hidl_cb(V4_0::ErrorCode::UNIMPLEMENTED, {}); in computeSharedHmac()
65 _hidl_cb(V4_0::ErrorCode::UNIMPLEMENTED, {}); in verifyAuthorization()
69 Return<V4_0::ErrorCode> addRngEntropy(const hidl_vec<uint8_t>& data) override;
85 _hidl_cb(V4_0::ErrorCode::UNIMPLEMENTED, {}, {}); in importWrappedKey()
98 Return<V4_0::ErrorCode> deleteKey(const hidl_vec<uint8_t>& keyBlob) override;
99 Return<V4_0::ErrorCode> deleteAllKeys() override;
100 Return<V4_0::ErrorCode> destroyAttestationIds() override;
111 Return<V4_0::ErrorCode> abort(uint64_t operationHandle) override;
Dauthorization_set.h25 using V4_0::AuthorizationSet;
26 using V4_0::AuthorizationSetBuilder;
27 using V4_0::KeyParameter;
DKeymaster4.h32 using WrappedIKeymasterDevice = V4_0::IKeymasterDevice;
34 Keymaster4(sp<V4_0::IKeymasterDevice> km4_0_dev, const hidl_string& instanceName) in Keymaster4()
68 Return<V4_0::ErrorCode> addRngEntropy(const hidl_vec<uint8_t>& data) override { in addRngEntropy()
117 Return<V4_0::ErrorCode> deleteKey(const hidl_vec<uint8_t>& keyBlob) override { in deleteKey()
121 Return<V4_0::ErrorCode> deleteAllKeys() override { return km4_0_dev_->deleteAllKeys(); } in deleteAllKeys()
123 Return<V4_0::ErrorCode> destroyAttestationIds() override { in destroyAttestationIds()
148 Return<V4_0::ErrorCode> abort(uint64_t operationHandle) override { in abort()
172 sp<V4_0::IKeymasterDevice> km4_0_dev_;
Dkeymaster_utils.h23 using V4_0::support::blob2hidlVec;
24 using V4_0::support::hidlVec2AuthToken;
Dattestation_record.h29 using V4_0::kAttestionRecordOid;
30 using V4_0::keymaster_verified_boot_t;
/hardware/interfaces/audio/4.0/config/api/
Dcurrent.txt2 package audio.policy.configuration.V4_0 {
11 …enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_AMBI…
12 …enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_ANLG…
13 …enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_AUX_…
14 …enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_BACK…
15 …enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_BLUE…
16 …enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_BLUE…
17 …enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_BLUE…
18 …enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_BUIL…
19 … enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_BUS;
[all …]
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dopenssl_utils.h42 inline const EVP_MD* openssl_digest(android::hardware::keymaster::V4_0::Digest digest) { in openssl_digest()
44 case android::hardware::keymaster::V4_0::Digest::NONE: in openssl_digest()
46 case android::hardware::keymaster::V4_0::Digest::MD5: in openssl_digest()
48 case android::hardware::keymaster::V4_0::Digest::SHA1: in openssl_digest()
50 case android::hardware::keymaster::V4_0::Digest::SHA_2_224: in openssl_digest()
52 case android::hardware::keymaster::V4_0::Digest::SHA_2_256: in openssl_digest()
54 case android::hardware::keymaster::V4_0::Digest::SHA_2_384: in openssl_digest()
56 case android::hardware::keymaster::V4_0::Digest::SHA_2_512: in openssl_digest()
/hardware/interfaces/keymaster/4.1/vts/functional/
DDeviceUniqueAttestationTest.cpp30 using android::hardware::keymaster::V4_0::test::add_tag_from_prop;
36 namespace android::hardware::keymaster::V4_0 { namespace
127 EXPECT_EQ(verified_boot_state, V4_0::KM_VERIFIED_BOOT_VERIFIED); in check_root_of_trust()
130 EXPECT_EQ(verified_boot_state, V4_0::KM_VERIFIED_BOOT_SELF_SIGNED); in check_root_of_trust()
133 EXPECT_EQ(verified_boot_state, V4_0::KM_VERIFIED_BOOT_UNVERIFIED); in check_root_of_trust()
136 EXPECT_EQ(verified_boot_state, V4_0::KM_VERIFIED_BOOT_FAILED); in check_root_of_trust()
138 EXPECT_EQ(verified_boot_state, V4_0::KM_VERIFIED_BOOT_UNVERIFIED); in check_root_of_trust()
363 add_tag_from_prop(&attestation_id_tags, V4_0::TAG_ATTESTATION_ID_BRAND, "ro.product.brand"); in TEST_P()
364 add_tag_from_prop(&attestation_id_tags, V4_0::TAG_ATTESTATION_ID_DEVICE, "ro.product.device"); in TEST_P()
365 add_tag_from_prop(&attestation_id_tags, V4_0::TAG_ATTESTATION_ID_PRODUCT, "ro.product.name"); in TEST_P()
[all …]
DKeymaster4_1HidlTest.cpp32 V4_0::ErrorCode result = Begin(operation, key_blob, in_params, &begin_out_params, &op_handle_); in ProcessMessage()
34 if (result != V4_0::ErrorCode::OK) { in ProcessMessage()
44 if (result != V4_0::ErrorCode::OK) { in ProcessMessage()
53 op_handle_ = V4_0::test::kOpHandleSentinel; in ProcessMessage()
DKeymaster4_1HidlTest.h28 using V4_0::test::HidlBuf;
30 class Keymaster4_1HidlTest : public V4_0::test::KeymasterHidlTest {
32 using super = V4_0::test::KeymasterHidlTest;
34 ErrorCode convert(V4_0::ErrorCode error_code) { return static_cast<ErrorCode>(error_code); } in convert()
153 return param.tag == static_cast<V4_0::Tag>(typedTag); in contains()
165 namespace android::hardware::keymaster::V4_0::test {
/hardware/interfaces/keymaster/4.1/support/
DKeymaster3.cpp29 V4_0::ErrorCode convert(V3_0::ErrorCode error) { in convert()
30 return static_cast<V4_0::ErrorCode>(error); in convert()
52 converted.tag = static_cast<V4_0::Tag>(param.tag); in convert()
88 converted[params.size()].blob = V4_0::support::authToken2HidlVec(authToken); in convertAndAddAuthToken()
141 Return<V4_0::ErrorCode> Keymaster3::addRngEntropy(const hidl_vec<uint8_t>& data) { in addRngEntropy()
144 return StatusOf<V3_0::ErrorCode, V4_0::ErrorCode>(rc); in addRngEntropy()
217 Return<V4_0::ErrorCode> Keymaster3::deleteKey(const hidl_vec<uint8_t>& keyBlob) { in deleteKey()
219 if (!rc.isOk()) return StatusOf<V3_0::ErrorCode, V4_0::ErrorCode>(rc); in deleteKey()
223 Return<V4_0::ErrorCode> Keymaster3::deleteAllKeys() { in deleteAllKeys()
225 if (!rc.isOk()) return StatusOf<V3_0::ErrorCode, V4_0::ErrorCode>(rc); in deleteAllKeys()
[all …]
DKeymaster.cpp60 namespace V4_0 { namespace
151 CHECK(error == V4_0::ErrorCode::OK) in getHmacParameters()
174 params, [&](V4_0::ErrorCode error, const hidl_vec<uint8_t>& curSharingCheck) { in computeHmac()
175 CHECK(error == V4_0::ErrorCode::OK) << "Failed to get HMAC parameters from " in computeHmac()
Dattestation_record.cpp201 template <V4_0::Tag tag>
204 typedef typename V4_0::TypedTag2ValueType<decltype(ttag)>::type ValueT; in copyAuthTag()
211 template <V4_0::Tag tag>
214 typedef typename V4_0::TypedTag2ValueType<decltype(ttag)>::type ValueT; in copyAuthTag()
219 template <V4_0::Tag tag>
250 template <V4_0::Tag tag>
258 template <V4_0::Tag tag>
266 template <V4_0::Tag tag>
273 template <V4_0::Tag tag>
/hardware/interfaces/keymaster/4.0/support/fuzzer/
Dkeymaster4_utils_fuzzer.cpp21 namespace android::hardware::keymaster::V4_0::fuzzer { namespace
23 using android::hardware::keymaster::V4_0::SecurityLevel;
24 using android::hardware::keymaster::V4_0::VerificationToken;
25 using android::hardware::keymaster::V4_0::support::deserializeVerificationToken;
26 using android::hardware::keymaster::V4_0::support::serializeVerificationToken;
/hardware/interfaces/identity/aidl/vts/
DUtil.cpp408 keymaster::V4_0::SecurityLevel::TRUSTED_ENVIRONMENT); in validateAttestationCertificate()
418 EXPECT_GE(attRec.keymaster_security_level, keymaster::V4_0::SecurityLevel::TRUSTED_ENVIRONMENT); in validateAttestationCertificate()
431 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()
451 keymaster::V4_0::KeyPurpose::SIGN)); 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()
458 keymaster::V4_0::Algorithm::EC)); in validateAttestationCertificate()
461 EXPECT_TRUE(attRec.hardware_enforced.Contains(keymaster::V4_0::TAG_NO_AUTH_REQUIRED)); in validateAttestationCertificate()
[all …]
/hardware/qcom/sm8150/display/gralloc/
DQtiMapper4.h49 namespace V4_0 {
61 using ::android::hardware::graphics::mapper::V4_0::Error;
62 using ::android::hardware::graphics::mapper::V4_0::IMapper;
66 using ::vendor::qti::hardware::display::mapper::V4_0::IQtiMapper;
70 using android::hardware::graphics::mapper::V4_0::IMapper;
72 android::hardware::graphics::mapper::V4_0::IMapper::BufferDescriptorInfo;
73 using IMapperBufferDescriptor = android::hardware::graphics::mapper::V4_0::BufferDescriptor;
74 using MetadataType = ::android::hardware::graphics::mapper::V4_0::IMapper::MetadataType;
76 ::android::hardware::graphics::mapper::V4_0::IMapper::MetadataTypeDescription;
77 using IMapper_4_0_Error = ::android::hardware::graphics::mapper::V4_0::Error;
Dservice.cpp37 using IQtiAllocator4 = vendor::qti::hardware::display::allocator::V4_0::IQtiAllocator;
55 new vendor::qti::hardware::display::allocator::V4_0::implementation::QtiAllocator(); in main()
DQtiAllocator.h89 namespace V4_0 {
99 using android::hardware::graphics::allocator::V4_0::IAllocator;
103 using vendor::qti::hardware::display::allocator::V4_0::IQtiAllocator;
/hardware/qcom/sm7250/display/gralloc/
DQtiMapper4.h49 namespace V4_0 {
61 using ::android::hardware::graphics::mapper::V4_0::Error;
62 using ::android::hardware::graphics::mapper::V4_0::IMapper;
66 using ::vendor::qti::hardware::display::mapper::V4_0::IQtiMapper;
70 using android::hardware::graphics::mapper::V4_0::IMapper;
72 android::hardware::graphics::mapper::V4_0::IMapper::BufferDescriptorInfo;
73 using IMapperBufferDescriptor = android::hardware::graphics::mapper::V4_0::BufferDescriptor;
74 using MetadataType = ::android::hardware::graphics::mapper::V4_0::IMapper::MetadataType;
76 ::android::hardware::graphics::mapper::V4_0::IMapper::MetadataTypeDescription;
77 using IMapper_4_0_Error = ::android::hardware::graphics::mapper::V4_0::Error;
Dservice.cpp36 using IQtiAllocator4 = vendor::qti::hardware::display::allocator::V4_0::IQtiAllocator;
52 new vendor::qti::hardware::display::allocator::V4_0::implementation::QtiAllocator(); in main()
DQtiAllocator.h89 namespace V4_0 {
99 using android::hardware::graphics::allocator::V4_0::IAllocator;
103 using vendor::qti::hardware::display::allocator::V4_0::IQtiAllocator;
/hardware/interfaces/keymaster/4.0/default/
Dservice.cpp24 using android::hardware::keymaster::V4_0::SecurityLevel;
28 auto keymaster = ::keymaster::V4_0::ng::CreateKeymasterDevice(SecurityLevel::SOFTWARE); in main()
/hardware/google/gchips/gralloc4/src/hidl_common/
Dhidl_common.h33 using android::hardware::graphics::mapper::V4_0::Error;
35 using android::hardware::graphics::mapper::V4_0::BufferDescriptor;
36 using android::hardware::graphics::mapper::V4_0::IMapper;
DAllocator.h28 using android::hardware::graphics::allocator::V4_0::IAllocator;
29 using android::hardware::graphics::mapper::V4_0::Error;

123