| /system/bt/common/ |
| D | lru_unittest.cc | 162 for (int key = 0; key <= 30; key++) { in TEST() local 165 for (int key = 0; key <= 20; key++) { in TEST() local 168 for (int key = 21; key <= 30; key++) { in TEST() local 171 for (int key = 21; key <= 30; key++) { in TEST() local 174 for (int key = 21; key <= 30; key++) { in TEST() local 181 for (int key = 0; key < 10; key++) { in TEST() local 184 for (int key = 0; key < 10; key++) { in TEST() local 188 for (int key = 0; key < 10; key++) { in TEST() local 192 for (int key = 0; key < 10; key++) { in TEST() local 195 for (int key = 0; key < 10; key++) { in TEST() local [all …]
|
| D | lru.h | 77 V* Find(const K& key) { in Find() 95 bool Get(const K& key, V* value) { in Get() 113 bool HasKey(const K& key) { in HasKey() 126 std::optional<Node> Put(const K& key, V value) { in Put() 154 bool Remove(const K& key) { in Remove()
|
| /system/update_engine/common/ |
| D | fake_prefs.cc | 31 void CheckNotNull(const string& key, void* ptr) { in CheckNotNull() 66 bool FakePrefs::GetString(const string& key, string* value) const { in GetString() argument 70 bool FakePrefs::SetString(const string& key, std::string_view value) { in SetString() 75 bool FakePrefs::GetInt64(const string& key, int64_t* value) const { in GetInt64() argument 79 bool FakePrefs::SetInt64(const string& key, const int64_t value) { in SetInt64() 84 bool FakePrefs::GetBoolean(const string& key, bool* value) const { in GetBoolean() argument 88 bool FakePrefs::SetBoolean(const string& key, const bool value) { in SetBoolean() 97 bool FakePrefs::Delete(const string& key) { in Delete() 110 bool FakePrefs::Delete(const string& key, const vector<string>& nss) { in Delete() 145 void FakePrefs::CheckKeyType(const string& key, PrefType type) const { in CheckKeyType() argument [all …]
|
| D | prefs.cc | 54 bool PrefsBase::GetString(const string& key, string* value) const { in GetString() argument 58 bool PrefsBase::SetString(const string& key, std::string_view value) { in SetString() 69 bool PrefsBase::GetInt64(const string& key, int64_t* value) const { in GetInt64() argument 78 bool PrefsBase::SetInt64(const string& key, const int64_t value) { in SetInt64() 82 bool PrefsBase::GetBoolean(const string& key, bool* value) const { in GetBoolean() argument 98 bool PrefsBase::SetBoolean(const string& key, const bool value) { in SetBoolean() 106 bool PrefsBase::Delete(const string& key) { in Delete() 124 for (const auto& key : namespace_keys) { in Delete() local 139 void PrefsBase::AddObserver(const string& key, ObserverInterface* observer) { in AddObserver() 143 void PrefsBase::RemoveObserver(const string& key, ObserverInterface* observer) { in RemoveObserver() [all …]
|
| /system/bt/test/mock/ |
| D | mock_main_shim_BtifConfigInterface.cc | 30 const std::string& key, in GetInt() 35 const std::string& key, in SetInt() 40 const std::string& key, in GetUint64() 45 const std::string& key, in SetUint64() 50 const std::string& key, in GetStr() 56 const std::string& section, const std::string& key) { in GetStr() 60 const std::string& key, in SetStr() 65 const std::string& key, in GetBin() 71 const std::string& section, const std::string& key) { in GetBinLength() 75 const std::string& key, in SetBin() [all …]
|
| D | mock_btif_config.cc | 85 bool btif_config_exist(const std::string& section, const std::string& key) { in btif_config_exist() 89 bool btif_config_get_int(const std::string& section, const std::string& key, in btif_config_get_int() 94 bool btif_config_set_int(const std::string& section, const std::string& key, in btif_config_set_int() 99 bool btif_config_get_uint64(const std::string& section, const std::string& key, in btif_config_get_uint64() 104 bool btif_config_set_uint64(const std::string& section, const std::string& key, in btif_config_set_uint64() 109 bool btif_config_get_str(const std::string& section, const std::string& key, in btif_config_get_str() 115 bool btif_config_set_str(const std::string& section, const std::string& key, in btif_config_set_str() 120 bool btif_config_get_bin(const std::string& section, const std::string& key, in btif_config_get_bin() 127 const std::string& key) { in btif_config_get_bin_length() 131 bool btif_config_set_bin(const std::string& section, const std::string& key, in btif_config_set_bin() [all …]
|
| /system/media/audio_utils/ |
| D | Metadata.cpp | 29 int audio_metadata_put_int32(audio_metadata_t *metadata, const char *key, int32_t value) { in audio_metadata_put_int32() 37 int audio_metadata_put_int64(audio_metadata_t *metadata, const char *key, int64_t value) { in audio_metadata_put_int64() 45 int audio_metadata_put_float(audio_metadata_t *metadata, const char *key, float value) { in audio_metadata_put_float() 53 int audio_metadata_put_double(audio_metadata_t *metadata, const char *key, double value) { in audio_metadata_put_double() 61 int audio_metadata_put_string(audio_metadata_t *metadata, const char *key, const char *value) { in audio_metadata_put_string() 70 audio_metadata_t *metadata, const char *key, audio_metadata_t *value) { in audio_metadata_put_data() 80 int audio_metadata_get_int32(audio_metadata_t *metadata, const char *key, int32_t *value) { in audio_metadata_get_int32() 92 int audio_metadata_get_int64(audio_metadata_t *metadata, const char *key, int64_t *value) { in audio_metadata_get_int64() 104 int audio_metadata_get_float(audio_metadata_t *metadata, const char *key, float *value) { in audio_metadata_get_float() 116 int audio_metadata_get_double(audio_metadata_t *metadata, const char *key, double *value) { in audio_metadata_get_double() [all …]
|
| /system/bpf/libbpf_android/include/bpf/ |
| D | BpfMap.h | 72 base::Result<Key> getNextKey(const Key& key) const { in getNextKey() 80 base::Result<void> writeValue(const Key& key, const Value& value, uint64_t flags) { in writeValue() 87 base::Result<Value> readValue(const Key key) const { in readValue() 95 base::Result<void> deleteValue(const Key& key) { in deleteValue() 151 auto key = getFirstKey(); in clear() local 167 auto key = getFirstKey(); in isEmpty() local 191 const std::function<base::Result<void>(const Key& key, const BpfMap<Key, Value>& map)>& in iterate() 206 const std::function<base::Result<void>(const Key& key, const Value& value, in iterateWithValue() 223 const std::function<base::Result<void>(const Key& key, BpfMap<Key, Value>& map)>& filter) { in iterate() 237 const std::function<base::Result<void>(const Key& key, const Value& value, in iterateWithValue()
|
| /system/bt/osi/src/ |
| D | properties.cc | 31 int osi_property_get(const char* key, char* value, const char* default_value) { in osi_property_get() 48 int osi_property_set(const char* key, const char* value) { in osi_property_set() 56 int32_t osi_property_get_int32(const char* key, int32_t default_value) { in osi_property_get_int32() 64 bool osi_property_get_bool(const char* key, bool default_value) { in osi_property_get_bool()
|
| /system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/current/android/system/keystore2/ |
| D | IKeystoreService.aidl | 39 …android.system.keystore2.KeyEntryResponse getKeyEntry(in android.system.keystore2.KeyDescriptor ke… in getKeyEntry() 40 …void updateSubcomponent(in android.system.keystore2.KeyDescriptor key, in @nullable byte[] publicC… in updateSubcomponent() 42 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey() 43 …android.system.keystore2.KeyDescriptor grant(in android.system.keystore2.KeyDescriptor key, in int… in grant() 44 void ungrant(in android.system.keystore2.KeyDescriptor key, in int granteeUid); in ungrant()
|
| D | IKeystoreSecurityLevel.aidl | 38 …tem.keystore2.CreateOperationResponse createOperation(in android.system.keystore2.KeyDescriptor ke… in createOperation() 39 …android.system.keystore2.KeyMetadata generateKey(in android.system.keystore2.KeyDescriptor key, in… in generateKey() 40 …android.system.keystore2.KeyMetadata importKey(in android.system.keystore2.KeyDescriptor key, in @… in importKey() 41 …android.system.keystore2.KeyMetadata importWrappedKey(in android.system.keystore2.KeyDescriptor ke… in importWrappedKey() 43 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
|
| /system/hardware/interfaces/keystore2/aidl/android/system/keystore2/ |
| D | IKeystoreService.aidl | 83 KeyEntryResponse getKeyEntry(in KeyDescriptor key); in getKeyEntry() 108 void updateSubcomponent(in KeyDescriptor key, in @nullable byte[] publicCert, in updateSubcomponent() 149 void deleteKey(in KeyDescriptor key); in deleteKey() 179 KeyDescriptor grant(in KeyDescriptor key, in int granteeUid, in int accessVector); in grant() 190 void ungrant(in KeyDescriptor key, in int granteeUid); in ungrant()
|
| D | IKeystoreSecurityLevel.aidl | 88 CreateOperationResponse createOperation(in KeyDescriptor key, in createOperation() 133 KeyMetadata generateKey(in KeyDescriptor key, in @nullable KeyDescriptor attestationKey, in generateKey() 147 KeyMetadata importKey(in KeyDescriptor key, in @nullable KeyDescriptor attestationKey, in importKey() 176 KeyMetadata importWrappedKey(in KeyDescriptor key, in KeyDescriptor wrappingKey, in importWrappedKey() 214 void deleteKey(in KeyDescriptor key); in deleteKey()
|
| /system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/1/android/system/keystore2/ |
| D | IKeystoreService.aidl | 39 …android.system.keystore2.KeyEntryResponse getKeyEntry(in android.system.keystore2.KeyDescriptor ke… in getKeyEntry() 40 …void updateSubcomponent(in android.system.keystore2.KeyDescriptor key, in @nullable byte[] publicC… in updateSubcomponent() 42 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey() 43 …android.system.keystore2.KeyDescriptor grant(in android.system.keystore2.KeyDescriptor key, in int… in grant() 44 void ungrant(in android.system.keystore2.KeyDescriptor key, in int granteeUid); in ungrant()
|
| D | IKeystoreSecurityLevel.aidl | 38 …tem.keystore2.CreateOperationResponse createOperation(in android.system.keystore2.KeyDescriptor ke… in createOperation() 39 …android.system.keystore2.KeyMetadata generateKey(in android.system.keystore2.KeyDescriptor key, in… in generateKey() 40 …android.system.keystore2.KeyMetadata importKey(in android.system.keystore2.KeyDescriptor key, in @… in importKey() 41 …android.system.keystore2.KeyMetadata importWrappedKey(in android.system.keystore2.KeyDescriptor ke… in importWrappedKey() 43 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
|
| /system/nfc/src/adaptation/ |
| D | nfc_config.cc | 91 bool NfcConfig::hasKey(const std::string& key) { in hasKey() 95 std::string NfcConfig::getString(const std::string& key) { in getString() 99 std::string NfcConfig::getString(const std::string& key, in getString() 105 unsigned NfcConfig::getUnsigned(const std::string& key) { in getUnsigned() 109 unsigned NfcConfig::getUnsigned(const std::string& key, in getUnsigned() 115 std::vector<uint8_t> NfcConfig::getBytes(const std::string& key) { in getBytes()
|
| /system/bt/btif/src/ |
| D | btif_config_cache.cc | 30 bool is_link_key(const std::string& key) { in is_link_key() 91 const std::string& key) { in HasKey() 104 void BtifConfigCache::RemovePersistentSectionsWithKey(const std::string& key) { in RemovePersistentSectionsWithKey() 117 const std::string& key) { in RemoveKey() 166 void BtifConfigCache::SetString(std::string section_name, std::string key, in SetString() 217 const std::string& section_name, const std::string& key) { in GetString() 239 void BtifConfigCache::SetInt(std::string section_name, std::string key, in SetInt() 245 const std::string& key) { in GetInt() 265 void BtifConfigCache::SetUint64(std::string section_name, std::string key, in SetUint64() 271 const std::string& section_name, const std::string& key) { in GetUint64() [all …]
|
| /system/bt/gd/common/ |
| D | list_map.h | 101 const_iterator find(const Key& key) const { in find() 106 iterator find(const Key& key) { in find() 115 bool contains(const Key& key) const { in contains() 123 std::pair<iterator, bool> try_emplace(const_iterator pos, const Key& key, Args&&... args) { in try_emplace() 137 std::pair<iterator, bool> try_emplace_back(const Key& key, Args&&... args) { in try_emplace_back() 143 void insert_or_assign(const_iterator pos, const Key& key, T value) { in insert_or_assign() 154 void insert_or_assign(const Key& key, T value) { in insert_or_assign() 172 std::optional<node_type> extract(const Key& key) { in extract()
|
| D | lru_cache.h | 107 const_iterator find(const Key& key) const { in find() 116 iterator find(const Key& key) { in find() 129 bool contains(const Key& key) const { in contains() 139 std::optional<node_type> insert_or_assign(const Key& key, T value) { in insert_or_assign() 162 std::tuple<iterator, bool, std::optional<node_type>> try_emplace(const Key& key, Args&&... args) { in try_emplace() 179 inline std::optional<node_type> extract(const Key& key) { in extract()
|
| D | lru_cache_test.cc | 338 for (int key = 0; key <= 30; key++) { in TEST() local 341 for (int key = 0; key <= 20; key++) { in TEST() local 344 for (int key = 21; key <= 30; key++) { in TEST() local 347 for (int key = 0; key <= 20; key++) { in TEST() local 350 for (int key = 21; key <= 30; key++) { in TEST() local 355 for (int key = 21; key <= 30; key++) { in TEST() local 362 for (int key = 0; key < 10; key++) { in TEST() local 365 for (int key = 0; key < 10; key++) { in TEST() local 369 for (int key = 0; key < 10; key++) { in TEST() local 373 for (int key = 0; key < 10; key++) { in TEST() local [all …]
|
| /system/core/libutils/include/utils/ |
| D | KeyedVector.h | 131 ssize_t KeyedVector<KEY,VALUE>::indexOfKey(const KEY& key) const { in indexOfKey() 136 const VALUE& KeyedVector<KEY,VALUE>::valueFor(const KEY& key) const { in valueFor() 158 VALUE& KeyedVector<KEY,VALUE>::editValueFor(const KEY& key) { in editValueFor() 170 ssize_t KeyedVector<KEY,VALUE>::add(const KEY& key, const VALUE& value) { in add() 175 ssize_t KeyedVector<KEY,VALUE>::replaceValueFor(const KEY& key, const VALUE& value) { in replaceValueFor() 191 ssize_t KeyedVector<KEY,VALUE>::removeItem(const KEY& key) { in removeItem() 209 const VALUE& DefaultKeyedVector<KEY,VALUE>::valueFor(const KEY& key) const { in valueFor()
|
| /system/core/libcutils/ |
| D | str_parms.cpp | 86 const char *key; member 89 static bool remove_pair(void *key, void *value, void *context) in remove_pair() 119 void str_parms_del(struct str_parms *str_parms, const char *key) in str_parms_del() 161 char *key; in str_parms_create_str() local 206 int str_parms_add_str(struct str_parms *str_parms, const char *key, in str_parms_add_str() 254 int str_parms_add_int(struct str_parms *str_parms, const char *key, int value) in str_parms_add_int() 267 int str_parms_add_float(struct str_parms *str_parms, const char *key, in str_parms_add_float() 281 int str_parms_has_key(struct str_parms *str_parms, const char *key) { in str_parms_has_key() 285 int str_parms_get_str(struct str_parms *str_parms, const char *key, char *val, in str_parms_get_str() 296 int str_parms_get_int(struct str_parms *str_parms, const char *key, int *val) in str_parms_get_int() [all …]
|
| /system/core/mini_keyctl/ |
| D | mini_keyctl.cpp | 50 key_serial_t key; in parseKeyOrDie() local 57 int Unlink(key_serial_t key, const std::string& keyring) { in Unlink() 74 key_serial_t key = add_key(type.c_str(), desc.c_str(), data.c_str(), data.size(), keyring_id); in Add() local 97 key_serial_t key = add_key(type.c_str(), desc.c_str(), data.c_str(), data.size(), keyring_id); in Padd() local 117 std::string RetrieveSecurityContext(key_serial_t key) { in RetrieveSecurityContext() 158 key_serial_t key = parseKeyOrDie(argv[2]); in main() local 164 key_serial_t key = parseKeyOrDie(key_str); in main() local
|
| /system/nfc/utils/ |
| D | config.cc | 110 void ConfigFile::addConfig(const std::string& key, ConfigValue& value) { in addConfig() 135 string key(Trim(line.substr(0, search))); in parseFromString() local 147 bool ConfigFile::hasKey(const std::string& key) { in hasKey() 151 ConfigValue& ConfigFile::getValue(const std::string& key) { in getValue() 157 std::string ConfigFile::getString(const std::string& key) { in getString() 161 unsigned ConfigFile::getUnsigned(const std::string& key) { in getUnsigned() 165 std::vector<uint8_t> ConfigFile::getBytes(const std::string& key) { in getBytes()
|
| /system/keymaster/include/keymaster/km_openssl/ |
| D | rsa_operation.h | 38 keymaster_padding_t padding, EVP_PKEY* key) in RsaOperation() 93 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaSignOperation() 117 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaVerifyOperation() 142 keymaster_padding_t padding, EVP_PKEY* key) in RsaCryptOperation() 167 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaEncryptOperation() 181 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaDecryptOperation() 198 OperationPtr CreateOperation(Key&& key, const AuthorizationSet& begin_params, in CreateOperation() 247 keymaster_padding_t padding, EVP_PKEY* key) override { in InstantiateOperation() 260 keymaster_padding_t padding, EVP_PKEY* key) override { in InstantiateOperation() 273 keymaster_padding_t padding, EVP_PKEY* key) override { in InstantiateOperation() [all …]
|