/packages/modules/AppSearch/framework/java/external/android/app/appsearch/ |
D | AppSearchBatchResult.java | 44 public final class AppSearchBatchResult<KeyType, ValueType> { 46 private final Map<KeyType, @android.app.appsearch.checker.nullness.qual.Nullable ValueType> 49 @NonNull private final Map<KeyType, AppSearchResult<ValueType>> mFailures; 50 @NonNull private final Map<KeyType, AppSearchResult<ValueType>> mAll; 54 Map<KeyType, @android.app.appsearch.checker.nullness.qual.Nullable ValueType> in AppSearchBatchResult() argument 56 @NonNull Map<KeyType, AppSearchResult<ValueType>> failures, in AppSearchBatchResult() 57 @NonNull Map<KeyType, AppSearchResult<ValueType>> all) { in AppSearchBatchResult() 79 public Map<KeyType, ValueType> getSuccesses() { in getSuccesses() 90 public Map<KeyType, AppSearchResult<ValueType>> getFailures() { in getFailures() 101 public Map<KeyType, AppSearchResult<ValueType>> getAll() { in getAll() [all …]
|
/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/ |
D | bpf_helpers.h | 316 #define DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md, \ argument 319 DEFINE_BPF_MAP_BASE(the_map, TYPE, sizeof(KeyType), sizeof(ValueType), \ 324 _Static_assert(sizeof(KeyType) < 1024, "aosp/2370288 requires < 1024 byte keys"); \ 326 BPF_ANNOTATE_KV_PAIR(the_map, KeyType, ValueType); \ 329 const KeyType* k) { \ 334 const KeyType* k, const ValueType* v, unsigned long long flags) { \ 338 static inline __always_inline __unused int bpf_##the_map##_delete_elem(const KeyType* k) { \ 356 #define DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md) \ argument 357 DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md, \ 362 #define DEFINE_BPF_MAP(the_map, TYPE, KeyType, ValueType, num_entries) \ argument [all …]
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/data/ |
D | FederatedComputeEncryptionKey.java | 52 @KeyType private final int mKeyType; 85 public @interface KeyType {} annotation in FederatedComputeEncryptionKey 88 public static String keyTypeToString(@KeyType int value) { in keyTypeToString() 102 @KeyType int keyType, in FederatedComputeEncryptionKey() 147 public @KeyType int getKeyType() { in getKeyType() 212 private @KeyType int mKeyType; 227 @KeyType int keyType, in Builder() 276 public @NonNull Builder setKeyType(@KeyType int value) { in setKeyType()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/encryptionkey/ |
D | EncryptionKey.java | 29 private KeyType mKeyType; 41 mKeyType = KeyType.ENCRYPTION; in EncryptionKey() 91 public KeyType getKeyType() { in getKeyType() 168 public Builder setKeyType(KeyType keyType) { in setKeyType() 228 public enum KeyType { enum in EncryptionKey 234 KeyType(String value) { in KeyType() method in EncryptionKey.KeyType
|
D | EncryptionKeyFetcher.java | 249 EncryptionKey.KeyType.ENCRYPTION)); in parseEncryptionKeyJSONResponse() 256 enrollmentData, signingObject, EncryptionKey.KeyType.SIGNING)); in parseEncryptionKeyJSONResponse() 269 EnrollmentData enrollmentData, JSONObject jsonObject, EncryptionKey.KeyType keyType) { in buildEncryptionKeys()
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | enum_helper.h | 63 template <typename T, typename std::enable_if<std::is_same_v<T, hci::KeyType>, int>::type = 0> 64 std::optional<hci::KeyType> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString() 69 if (*raw_value < static_cast<int64_t>(hci::KeyType::COMBINATION) || in FromLegacyConfigString() 70 *raw_value > static_cast<int64_t>(hci::KeyType::AUTHENTICATED_P256)) { in FromLegacyConfigString() 73 return static_cast<hci::KeyType>(*raw_value); in FromLegacyConfigString()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | EncryptionManagerTest.java | 86 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) 99 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) 141 ENROLLMENT_ID, EncryptionKey.KeyType.ENCRYPTION)) in testEncryption_success() 176 ENROLLMENT_ID, EncryptionKey.KeyType.ENCRYPTION)) in testEncryption_verifyLatestKeys() 213 ENROLLMENT_ID, EncryptionKey.KeyType.ENCRYPTION)) in testEncryption_missingKeys() 232 ENROLLMENT_ID, EncryptionKey.KeyType.ENCRYPTION)) in testEncryption_incompatibleKeys() 326 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) in testEncryption_keyDecodingFailure() 340 ENROLLMENT_ID, EncryptionKey.KeyType.ENCRYPTION)) in testEncryption_keyDecodingFailure() 361 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) in testEncryption_keyWithSmallerLength() 375 ENROLLMENT_ID, EncryptionKey.KeyType.ENCRYPTION)) in testEncryption_keyWithSmallerLength() [all …]
|
/packages/modules/Bluetooth/system/gd/security/pairing/ |
D | classic_pairing_handler_unittest.cc | 232 hci::KeyType key_type) { in ReceiveLinkKeyNotification() 319 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() 357 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() 395 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() 433 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() 471 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() 509 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() 547 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() 585 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() 667 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() [all …]
|
/packages/modules/DnsResolver/ |
D | OperationLimiter.h | 50 template <typename KeyType> 64 bool start(KeyType key, int globalLimit = MAX_QUERIES_IN_TOTAL) EXCLUDES(mMutex) { in EXCLUDES() 90 void finish(KeyType key) EXCLUDES(mMutex) { in finish() 117 std::unordered_map<KeyType, int> mCounters GUARDED_BY(mMutex);
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/encryptionkey/ |
D | EncryptionKeyDaoTest.java | 65 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) 79 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) 93 .setKeyType(EncryptionKey.KeyType.SIGNING) 107 .setKeyType(EncryptionKey.KeyType.SIGNING) 121 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) 135 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) 147 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) 322 "100", EncryptionKey.KeyType.ENCRYPTION); in testGetEncryptionKeyFromEnrollmentIdAndKeyType() 335 "100", EncryptionKey.KeyType.SIGNING); in testGetEncryptionKeyFromEnrollmentIdAndKeyType() 383 Uri.parse("https://test1.com"), EncryptionKey.KeyType.SIGNING); in testGetEncryptionKeyFromReportingOrigin() [all …]
|
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/ |
D | SharedPreferencesKey.java | 47 public @interface KeyType {} annotation in SharedPreferencesKey 80 private final @KeyType int mKeyType; 93 public SharedPreferencesKey(@NonNull String keyName, @KeyType int keyType) { in SharedPreferencesKey() 139 public @KeyType int getType() { in getType()
|
/packages/modules/Bluetooth/system/gd/security/record/ |
D | security_record.h | 46 void SetLinkKey(std::array<uint8_t, 16> link_key, hci::KeyType key_type) { in SetLinkKey() 61 hci::KeyType GetKeyType() { in GetKeyType() 109 hci::KeyType key_type_ = hci::KeyType::DEBUG_COMBINATION;
|
D | security_record_storage_test.cc | 72 record->SetLinkKey(link_key, hci::KeyType::DEBUG_COMBINATION); in TEST_F() 133 record->SetLinkKey(link_key, hci::KeyType::DEBUG_COMBINATION); in TEST_F() 166 record->SetLinkKey(link_key, hci::KeyType::DEBUG_COMBINATION); in TEST_F() 187 record->SetLinkKey(link_key, hci::KeyType::DEBUG_COMBINATION); in TEST_F()
|
/packages/modules/adb/crypto/include/adb/crypto/ |
D | key.h | 31 explicit Key(bssl::UniquePtr<EVP_PKEY>&& pkey, adb::proto::KeyType type) in Key() 37 adb::proto::KeyType GetKeyType() const { return key_type_; } in GetKeyType() 42 adb::proto::KeyType key_type_;
|
/packages/modules/Virtualization/libs/bssl/src/ |
D | evp.rs | 33 CoseKey, KeyType, Label, 132 KeyType::Assigned(iana::KeyType::EC2) => { in from_cose_public_key() 135 KeyType::Assigned(iana::KeyType::OKP) => { in from_cose_public_key()
|
D | ec_key.rs | 40 CborSerializable, CoseKey, CoseKeyBuilder, KeyType, Label, 101 if cose_key.kty != KeyType::Assigned(iana::KeyType::EC2) { in from_cose_public_key()
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/ |
D | BatchResultCallback.java | 29 public interface BatchResultCallback<KeyType, ValueType> { 36 void onResult(@NonNull AppSearchBatchResult<KeyType, ValueType> result); in onResult() argument
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/encryptionkey/ |
D | EncryptionKeyTest.java | 45 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) in createKeyCommitment() 63 assertEquals(EncryptionKey.KeyType.ENCRYPTION, result.getKeyType()); in testCreation() 80 assertEquals(EncryptionKey.KeyType.ENCRYPTION, result.getKeyType()); in testDefaults()
|
D | EncryptionKeyJobHandlerTest.java | 82 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) 95 .setKeyType(EncryptionKey.KeyType.SIGNING) 108 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) 121 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) 134 .setKeyType(EncryptionKey.KeyType.SIGNING)
|
/packages/modules/Virtualization/service_vm/fake_chain/src/ |
D | service_vm.rs | 25 Algorithm, AsCborValue, CborSerializable, CoseKey, KeyOperation, KeyType, Label, 79 kty: KeyType::Assigned(iana::KeyType::OKP), in ed25519_public_key_to_cbor_value()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/encryptionkey/ |
D | IEncryptionKeyDao.java | 46 String enrollmentId, EncryptionKey.KeyType keyType); in getEncryptionKeyFromEnrollmentIdAndKeyType() 67 Uri reportingOrigin, EncryptionKey.KeyType keyType); in getEncryptionKeyFromReportingOrigin()
|
/packages/modules/Virtualization/libs/dice/sample_inputs/src/ |
D | sample_inputs.rs | 22 use coset::{iana, Algorithm, AsCborValue, CoseKey, KeyOperation, KeyType, Label}; 81 kty: KeyType::Assigned(iana::KeyType::OKP), in ed25519_public_key_to_cbor_value()
|
/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/procedure/ |
D | legacy_pairing.rs | 58 key_type: hci::KeyType::Combination, in initiate() 100 key_type: hci::KeyType::Combination, in respond()
|
/packages/modules/Virtualization/service_vm/requests/src/ |
D | dice.rs | 31 Algorithm, AsCborValue, CborSerializable, CoseError, CoseKey, CoseSign1, KeyOperation, KeyType, 237 KeyType::Assigned(iana::KeyType::EC2) => { in verify() 254 KeyType::Assigned(iana::KeyType::OKP) => { in verify()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/ |
D | EncryptionKeyConverterUtilTest.java | 73 expect.that(encryptionKey.getKeyType()).isEqualTo(EncryptionKey.KeyType.SIGNING); in createEncryptionKeyFromJson_signing_successVersion3() 95 expect.that(encryptionKey.getKeyType()).isEqualTo(EncryptionKey.KeyType.ENCRYPTION); in createEncryptionKeyFromJson_encryption_successVersion3()
|