| /system/update_engine/common/ |
| D | prefs.cc | 32 bool PrefsBase::GetString(const string& key, string* value) const { in GetString() argument 36 bool PrefsBase::SetString(const string& key, const string& value) { in SetString() 47 bool PrefsBase::GetInt64(const string& key, int64_t* value) const { in GetInt64() argument 56 bool PrefsBase::SetInt64(const string& key, const int64_t value) { in SetInt64() 60 bool PrefsBase::GetBoolean(const string& key, bool* value) const { in GetBoolean() argument 76 bool PrefsBase::SetBoolean(const string& key, const bool value) { in SetBoolean() 84 bool PrefsBase::Delete(const string& key) { in Delete() 95 void PrefsBase::AddObserver(const string& key, ObserverInterface* observer) { in AddObserver() 99 void PrefsBase::RemoveObserver(const string& key, ObserverInterface* observer) { in RemoveObserver() 118 bool Prefs::FileStorage::GetKey(const string& key, string* value) const { in GetKey() argument [all …]
|
| D | fake_prefs.cc | 29 void CheckNotNull(const string& key, void* ptr) { in CheckNotNull() 64 bool FakePrefs::GetString(const string& key, string* value) const { in GetString() argument 68 bool FakePrefs::SetString(const string& key, const string& value) { in SetString() 73 bool FakePrefs::GetInt64(const string& key, int64_t* value) const { in GetInt64() argument 77 bool FakePrefs::SetInt64(const string& key, const int64_t value) { in SetInt64() 82 bool FakePrefs::GetBoolean(const string& key, bool* value) const { in GetBoolean() argument 86 bool FakePrefs::SetBoolean(const string& key, const bool value) { in SetBoolean() 95 bool FakePrefs::Delete(const string& key) { in Delete() 120 void FakePrefs::CheckKeyType(const string& key, PrefType type) const { in CheckKeyType() argument 128 void FakePrefs::SetValue(const string& key, const T& value) { in SetValue() [all …]
|
| /system/keymaster/ |
| D | rsa_operation.h | 37 keymaster_padding_t padding, EVP_PKEY* key) in RsaOperation() 90 RsaSignOperation(keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaSignOperation() 112 RsaVerifyOperation(keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaVerifyOperation() 135 keymaster_padding_t padding, EVP_PKEY* key) in RsaCryptOperation() 151 RsaEncryptOperation(keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaEncryptOperation() 163 RsaDecryptOperation(keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaDecryptOperation() 179 Operation* CreateOperation(const Key& key, const AuthorizationSet& begin_params, in CreateOperation() 221 EVP_PKEY* key) override { in InstantiateOperation() 232 EVP_PKEY* key) override { in InstantiateOperation() 243 EVP_PKEY* key) override { in InstantiateOperation() [all …]
|
| D | ecdsa_operation.h | 31 EcdsaOperation(keymaster_purpose_t purpose, keymaster_digest_t digest, EVP_PKEY* key) in EcdsaOperation() 52 EcdsaSignOperation(keymaster_digest_t digest, EVP_PKEY* key) in EcdsaSignOperation() 66 EcdsaVerifyOperation(keymaster_digest_t digest, EVP_PKEY* key) in EcdsaVerifyOperation() 92 Operation* InstantiateOperation(keymaster_digest_t digest, EVP_PKEY* key) override { in InstantiateOperation() 100 Operation* InstantiateOperation(keymaster_digest_t digest, EVP_PKEY* key) override { in InstantiateOperation()
|
| D | hmac_test.cpp | 32 const char* key; member 66 const string key = hex2str(test.key); in TEST() local
|
| /system/core/libutils/include/utils/ |
| D | KeyedVector.h | 129 ssize_t KeyedVector<KEY,VALUE>::indexOfKey(const KEY& key) const { in indexOfKey() 134 const VALUE& KeyedVector<KEY,VALUE>::valueFor(const KEY& key) const { in valueFor() 156 VALUE& KeyedVector<KEY,VALUE>::editValueFor(const KEY& key) { in editValueFor() 168 ssize_t KeyedVector<KEY,VALUE>::add(const KEY& key, const VALUE& value) { in add() 173 ssize_t KeyedVector<KEY,VALUE>::replaceValueFor(const KEY& key, const VALUE& value) { in replaceValueFor() 189 ssize_t KeyedVector<KEY,VALUE>::removeItem(const KEY& key) { in removeItem() 207 const VALUE& DefaultKeyedVector<KEY,VALUE>::valueFor(const KEY& key) const { in valueFor()
|
| D | LruCache.h | 106 typename LruCacheSet::iterator findByKey(const TKey& key) { in findByKey() 151 const TKey& key() const { in key() function 190 const TValue& LruCache<TKey, TValue>::get(const TKey& key) { in get() 204 bool LruCache<TKey, TValue>::put(const TKey& key, const TValue& value) { in put() 220 bool LruCache<TKey, TValue>::remove(const TKey& key) { in remove()
|
| /system/core/libcutils/ |
| D | str_parms.c | 93 const char *key; member 96 static bool remove_pair(void *key, void *value, void *context) in remove_pair() 126 void str_parms_del(struct str_parms *str_parms, const char *key) in str_parms_del() 168 char *key; in str_parms_create_str() local 213 int str_parms_add_str(struct str_parms *str_parms, const char *key, in str_parms_add_str() 261 int str_parms_add_int(struct str_parms *str_parms, const char *key, int value) in str_parms_add_int() 274 int str_parms_add_float(struct str_parms *str_parms, const char *key, in str_parms_add_float() 288 int str_parms_has_key(struct str_parms *str_parms, const char *key) { in str_parms_has_key() 292 int str_parms_get_str(struct str_parms *str_parms, const char *key, char *val, in str_parms_get_str() 304 int str_parms_get_int(struct str_parms *str_parms, const char *key, int *val) in str_parms_get_int() [all …]
|
| D | properties.cpp | 33 int8_t property_get_bool(const char *key, int8_t default_value) { in property_get_bool() 61 static intmax_t property_get_imax(const char *key, intmax_t lower_bound, intmax_t upper_bound, in property_get_imax() 99 int64_t property_get_int64(const char *key, int64_t default_value) { in property_get_int64() 103 int32_t property_get_int32(const char *key, int32_t default_value) { in property_get_int32() 110 int property_set(const char *key, const char *value) { in property_set() 114 int property_get(const char *key, char *value, const char *default_value) { in property_get()
|
| D | hashmap.c | 28 void* key; member 44 int (*hash)(void* key), bool (*equals)(void* keyA, void* keyB)) { in hashmapCreate() 83 static inline int hashKey(Hashmap* map, void* key) { in hashKey() 162 int hashmapHash(void* key, size_t keySize) { in hashmapHash() 173 static Entry* createEntry(void* key, int hash, void* value) { in createEntry() 196 void* hashmapPut(Hashmap* map, void* key, void* value) { in hashmapPut() 228 void* hashmapGet(Hashmap* map, void* key) { in hashmapGet() 243 bool hashmapContainsKey(Hashmap* map, void* key) { in hashmapContainsKey() 258 void* hashmapMemoize(Hashmap* map, void* key, in hashmapMemoize() 259 void* (*initialValue)(void* key, void* context), void* context) { in hashmapMemoize() [all …]
|
| /system/bt/osi/src/ |
| D | properties.cc | 23 int osi_property_get(const char* key, char* value, const char* default_value) { in osi_property_get() 40 int osi_property_set(const char* key, const char* value) { in osi_property_set() 48 int32_t osi_property_get_int32(const char* key, int32_t default_value) { in osi_property_get_int32()
|
| D | config.cc | 40 char* key; member 144 const char* key) { in config_has_key() 152 int config_get_int(const config_t* config, const char* section, const char* key, in config_get_int() 167 const char* key, bool def_value) { in config_get_bool() 182 const char* key, const char* def_value) { in config_get_string() 193 void config_set_int(config_t* config, const char* section, const char* key, in config_set_int() 204 void config_set_bool(config_t* config, const char* section, const char* key, in config_set_bool() 213 void config_set_string(config_t* config, const char* section, const char* key, in config_set_string() 255 bool config_remove_key(config_t* config, const char* section, const char* key) { in config_remove_key() 499 static entry_t* entry_new(const char* key, const char* value) { in entry_new() [all …]
|
| /system/bt/service/ipc/binder/ |
| D | remote_callback_map.h | 127 bool RemoteCallbackMap<K, V>::Register(const K& key, const sp<V>& callback, in Register() 152 bool RemoteCallbackMap<K, V>::Unregister(const K& key) { in Unregister() 165 sp<V> RemoteCallbackMap<K, V>::Get(const K& key) { in Get() 175 sp<V> RemoteCallbackMap<K, V>::Remove(const K& key) { in Remove() 217 const K& key, const sp<V>& callback, RemoteCallbackMap<K, V>* owner, in CallbackDeathRecipient()
|
| /system/core/base/ |
| D | properties.cpp | 35 std::string GetProperty(const std::string& key, const std::string& default_value) { in GetProperty() 48 bool GetBoolProperty(const std::string& key, bool default_value) { in GetBoolProperty() 59 T GetIntProperty(const std::string& key, T default_value, T min, T max) { in GetIntProperty() 67 T GetUintProperty(const std::string& key, T default_value, T max) { in GetUintProperty() 84 bool SetProperty(const std::string& key, const std::string& value) { in SetProperty() 130 static const prop_info* WaitForPropertyCreation(const std::string& key, in WaitForPropertyCreation() 146 bool WaitForProperty(const std::string& key, const std::string& expected_value, in WaitForProperty() 168 bool WaitForPropertyCreation(const std::string& key, in WaitForPropertyCreation()
|
| /system/media/radio/src/ |
| D | radio_metadata.c | 51 bool is_valid_metadata_key(const radio_metadata_key_t key) in is_valid_metadata_key() 102 const radio_metadata_key_t key, in add_metadata() 179 radio_metadata_type_t radio_metadata_type_of_key(const radio_metadata_key_t key) in radio_metadata_type_of_key() 213 const radio_metadata_key_t key, in radio_metadata_add_int() 225 const radio_metadata_key_t key, in radio_metadata_add_text() 237 const radio_metadata_key_t key, in radio_metadata_add_raw() 249 const radio_metadata_key_t key, in radio_metadata_add_clock() 285 radio_metadata_key_t key; in radio_metadata_add_metadata() local 372 radio_metadata_key_t *key, in radio_metadata_get_at_index() 399 const radio_metadata_key_t key, in radio_metadata_get_from_key()
|
| /system/vold/ |
| D | KeyUtil.cpp | 49 bool randomKey(KeyBuffer* key) { in randomKey() 60 static std::string generateKeyRef(const char* key, int length) { in generateKeyRef() 78 static bool fillKey(const KeyBuffer& key, ext4_encryption_key* ext4_key) { in fillKey() 119 bool installKey(const KeyBuffer& key, std::string* raw_ref) { in installKey() 166 KeyBuffer key; in retrieveAndInstallKey() local 189 const std::string& tmp_path, KeyBuffer* key) { in retrieveKey()
|
| /system/extras/perfprofd/ |
| D | configreader.cc | 126 void ConfigReader::addUnsignedEntry(const char *key, in addUnsignedEntry() 144 void ConfigReader::addStringEntry(const char *key, const char *default_value) in addStringEntry() 175 void ConfigReader::overrideUnsignedEntry(const char *key, unsigned new_value) in overrideUnsignedEntry() 195 void ConfigReader::parseLine(const char *key, in parseLine() 281 std::string key(line.substr(0, efound)); in readFile() local
|
| /system/core/libutils/ |
| D | PropertyMap.cpp | 46 void PropertyMap::addProperty(const String8& key, const String8& value) { in addProperty() 54 bool PropertyMap::tryGetProperty(const String8& key, String8& outValue) const { in tryGetProperty() argument 64 bool PropertyMap::tryGetProperty(const String8& key, bool& outValue) const { in tryGetProperty() argument 74 bool PropertyMap::tryGetProperty(const String8& key, int32_t& outValue) const { in tryGetProperty() argument 91 bool PropertyMap::tryGetProperty(const String8& key, float& outValue) const { in tryGetProperty() argument
|
| /system/core/fs_mgr/ |
| D | fs_mgr_boot_config.cpp | 28 bool fs_mgr_get_boot_config_from_kernel_cmdline(const std::string& key, std::string* out_val) { in fs_mgr_get_boot_config_from_kernel_cmdline() 51 bool fs_mgr_get_boot_config(const std::string& key, std::string* out_val) { in fs_mgr_get_boot_config()
|
| /system/bt/osi/test/ |
| D | hash_map_utils_test.cc | 53 char key[] = "keyOfSomething"; in TEST_F() local 63 char key[] = "key"; in TEST_F() local 72 char key[] = "keyOfSomething"; in TEST_F() local 81 char key[] = "keyOfSomething"; in TEST_F() local 90 char key[] = "keyOfSomething"; in TEST_F() local
|
| /system/tpm/attestation/common/ |
| D | crypto_utility_impl_test.cc | 85 std::string key; in TEST_F() local 103 std::string key; in TEST_F() local 109 std::string key(32, 0); in TEST_F() local 115 std::string key(12, 0); in TEST_F() local 127 std::string key(32, 0); in TEST_F() local 135 std::string key(12, 0); in TEST_F() local 141 std::string key(32, 0); in TEST_F() local 147 std::string key(32, 0); in TEST_F() local
|
| /system/bt/btif/src/ |
| D | btif_config.cc | 249 bool btif_config_exist(const char* section, const char* key) { in btif_config_exist() 258 bool btif_config_get_int(const char* section, const char* key, int* value) { in btif_config_get_int() 271 bool btif_config_set_int(const char* section, const char* key, int value) { in btif_config_set_int() 282 bool btif_config_get_str(const char* section, const char* key, char* value, in btif_config_get_str() 301 bool btif_config_set_str(const char* section, const char* key, in btif_config_set_str() 313 bool btif_config_get_bin(const char* section, const char* key, uint8_t* value, in btif_config_get_bin() 338 size_t btif_config_get_bin_length(const char* section, const char* key) { in btif_config_get_bin_length() 351 bool btif_config_set_bin(const char* section, const char* key, in btif_config_set_bin() 402 bool btif_config_remove(const char* section, const char* key) { in btif_config_remove()
|
| /system/tpm/attestation/server/ |
| D | attestation_service.cc | 124 CertifiedKey key; in CreateGoogleAttestedKeyTask() local 174 CertifiedKey key; in GetKeyInfoTask() local 355 CertifiedKey key; in CreateCertifiableKeyTask() local 387 CertifiedKey key; in DecryptTask() local 413 CertifiedKey key; in SignTask() local 442 CertifiedKey key; in RegisterKeyWithChapsTokenTask() local 549 const CertifiedKey& key, in CreateCertificateRequest() 591 CertifiedKey* key, in FinishCertificateRequest() 648 CertifiedKey* key) { in FindKeyByLabel() 676 CertifiedKey* key) { in CreateKey() [all …]
|
| /system/netd/server/ |
| D | InterfaceControllerTest.cpp | 82 void expectGetPropertyDefault(const std::string& key) { in expectGetPropertyDefault() 87 void expectGetProperty(const std::string& key, const std::string& val) { in expectGetProperty() 92 void expectSetProperty(const std::string& key, const std::string& val, Status status) { in expectSetProperty() 115 [this](const std::string& key, const std::string& dflt) { in __anon63b5d4980602() 119 [this](const std::string& key, const std::string& val) { in __anon63b5d4980702()
|
| /system/extras/verity/ |
| D | verity_verifier.cpp | 42 RSA* key = nullptr; in load_key() local 59 std::unique_ptr<RSA, decltype(&RSA_free)> key(load_key(key_path), RSA_free); in verify_table() local
|