/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/libhidl/libhidlcache/ |
D | HidlCache.h | 36 HidlCacheLock(sp<HidlCache> cache, const Key& key) : mCache(cache), mKey(key) { in HidlCacheLock() 53 virtual sp<HidlCacheLock> lockGuard(const Key& key) { return new HidlCacheLock(this, key); } in lockGuard() 65 bool cached(Key key) const { return mCached.count(key) > 0; } in cached() 66 bool locked(Key key) const { return mLocked.count(key) > 0; } in locked() 74 bool HidlCache<Key, Value, Compare>::lock(const Key& key) { in lock() 98 sp<Value> HidlCache<Key, Value, Compare>::unlock(const Key& key) { in unlock() 109 bool HidlCache<Key, Value, Compare>::flush(const Key& key) { in flush() 117 sp<Value> HidlCache<Key, Value, Compare>::getCachedLocked(const Key& key) { in getCachedLocked() 131 sp<Value> HidlCache<Key, Value, Compare>::fetch(const Key& key) { in fetch()
|
/system/nfc/src/adaptation/ |
D | nfc_config.cc | 70 bool NfcConfig::hasKey(const std::string& key) { in hasKey() 74 std::string NfcConfig::getString(const std::string& key) { in getString() 78 std::string NfcConfig::getString(const std::string& key, in getString() 84 unsigned NfcConfig::getUnsigned(const std::string& key) { in getUnsigned() 88 unsigned NfcConfig::getUnsigned(const std::string& key, in getUnsigned() 94 std::vector<uint8_t> NfcConfig::getBytes(const std::string& key) { in getBytes()
|
/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()
|
D | config.cc | 52 const std::string& key) { in entry_find() 117 const std::string& key) { in config_has_key() 122 const std::string& key, int def_value) { in config_get_int() 132 const std::string& key, uint64_t def_value) { in config_get_uint64() 142 const std::string& key, bool def_value) { in config_get_bool() 154 const std::string& key, in config_get_string() 163 const std::string& key, int value) { in config_set_int() 168 const std::string& key, uint64_t value) { in config_set_uint64() 173 const std::string& key, bool value) { in config_set_bool() 178 const std::string& key, const std::string& value) { in config_set_string() [all …]
|
/system/bpf/libbpf_android/include/bpf/ |
D | BpfMap.h | 69 netdutils::StatusOr<Key> getNextKey(const Key& key) const { in getNextKey() 78 netdutils::Status writeValue(const Key& key, const Value& value, uint64_t flags) { in writeValue() 86 netdutils::StatusOr<Value> readValue(const Key key) const { in readValue() 95 netdutils::Status deleteValue(const Key& key) { in deleteValue() 157 auto key = this->getFirstKey(); in isEmpty() local 182 const std::function<netdutils::Status(const Key& key, const BpfMap<Key, Value>& map)>& filter) in iterate() 195 const std::function<netdutils::Status(const Key& key, const Value& value, in iterateWithValue() 210 const std::function<netdutils::Status(const Key& key, BpfMap<Key, Value>& map)>& filter) { in iterate() 222 const std::function<netdutils::Status(const Key& key, const Value& value, in iterateWithValue()
|
/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() 159 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaEncryptOperation() 173 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaDecryptOperation() 190 OperationPtr CreateOperation(Key&& key, const AuthorizationSet& begin_params, in CreateOperation() 236 keymaster_padding_t padding, EVP_PKEY* key) const override { in InstantiateOperation() 249 keymaster_padding_t padding, EVP_PKEY* key) const override { in InstantiateOperation() 262 keymaster_padding_t padding, EVP_PKEY* key) const override { in InstantiateOperation() [all …]
|
D | ecdsa_operation.h | 33 keymaster_purpose_t purpose, keymaster_digest_t digest, EVP_PKEY* key) in EcdsaOperation() 56 keymaster_digest_t digest, EVP_PKEY* key) in EcdsaSignOperation() 71 keymaster_digest_t digest, EVP_PKEY* key) in EcdsaVerifyOperation() 100 keymaster_digest_t digest, EVP_PKEY* key) const override { in InstantiateOperation() 110 keymaster_digest_t digest, EVP_PKEY* key) const override { in InstantiateOperation()
|
/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 …]
|
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.cpp | 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() 158 int hashmapHash(void* key, size_t keySize) { in hashmapHash() 169 static Entry* createEntry(void* key, int hash, void* value) { in createEntry() 192 void* hashmapPut(Hashmap* map, void* key, void* value) { in hashmapPut() 224 void* hashmapGet(Hashmap* map, void* key) { in hashmapGet() 239 void* hashmapRemove(Hashmap* map, void* key) { in hashmapRemove() 261 void hashmapForEach(Hashmap* map, bool (*callback)(void* key, void* value, void* context), in hashmapForEach()
|
/system/nfc/utils/ |
D | config.cc | 105 void ConfigFile::addConfig(const std::string& key, ConfigValue& value) { in addConfig() 130 string key(Trim(line.substr(0, search))); in parseFromString() local 142 bool ConfigFile::hasKey(const std::string& key) { in hasKey() 146 ConfigValue& ConfigFile::getValue(const std::string& key) { in getValue() 152 std::string ConfigFile::getString(const std::string& key) { in getString() 156 unsigned ConfigFile::getUnsigned(const std::string& key) { in getUnsigned() 160 std::vector<uint8_t> ConfigFile::getBytes(const std::string& key) { in getBytes()
|
/system/extras/libperfmgr/tests/ |
D | PropertyNodeTest.cc | 50 std::string key = _InitProperty("test.libperfmgr.key"); in TEST() local 57 std::string key = _InitProperty("test.libperfmgr.key"); in TEST() local 67 std::string key = _InitProperty("test.libperfmgr.key"); in TEST() local 83 std::string key = _InitProperty("test.libperfmgr.key"); in TEST() local 95 std::string key = _InitProperty("test.libperfmgr.key"); in TEST() local 118 std::string key = _InitProperty("test.libperfmgr.key"); in TEST() local 148 std::string key = _InitProperty("test.libperfmgr.key"); in TEST() local 178 std::string key = _InitProperty("test.libperfmgr.key"); in TEST() local
|
/system/bt/stack/crypto_toolbox/ |
D | crypto_toolbox.h | 40 inline Octet16 aes_128(const Octet16& key, const uint8_t* message, in aes_128() 50 inline void aes_cmac(const Octet16& key, const uint8_t* message, in aes_cmac() 58 inline Octet16 aes_cmac(const Octet16& key, const Octet16& message) { in aes_cmac()
|
/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/vold/ |
D | KeyUtil.cpp | 38 bool randomKey(KeyBuffer* key) { in randomKey() 49 static std::string generateKeyRef(const uint8_t* key, int length) { in generateKeyRef() 66 static bool fillKey(const KeyBuffer& key, fscrypt_key* fs_key) { in fillKey() 102 bool installKey(const KeyBuffer& key, std::string* raw_ref) { in installKey() 150 KeyBuffer key; in retrieveAndInstallKey() local 172 KeyBuffer* key, bool keepOld) { in retrieveKey()
|
/system/core/base/ |
D | properties.cpp | 36 bool GetBoolProperty(const std::string& key, bool default_value) { in GetBoolProperty() 47 T GetIntProperty(const std::string& key, T default_value, T min, T max) { in GetIntProperty() 55 T GetUintProperty(const std::string& key, T default_value, T max) { in GetUintProperty() 74 static int __system_property_set(const char* key, const char* value) { in __system_property_set() 80 std::string GetProperty(const std::string& key, const std::string& default_value) { in GetProperty() 103 bool SetProperty(const std::string& key, const std::string& value) { in SetProperty() 151 static const prop_info* WaitForPropertyCreation(const std::string& key, in WaitForPropertyCreation() 167 bool WaitForProperty(const std::string& key, const std::string& expected_value, in WaitForProperty() 189 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() 105 const radio_metadata_key_t key, in add_metadata() 182 radio_metadata_type_t radio_metadata_type_of_key(const radio_metadata_key_t key) in radio_metadata_type_of_key() 216 const radio_metadata_key_t key, in radio_metadata_add_int() 228 const radio_metadata_key_t key, in radio_metadata_add_text() 240 const radio_metadata_key_t key, in radio_metadata_add_raw() 252 const radio_metadata_key_t key, in radio_metadata_add_clock() 288 radio_metadata_key_t key; in radio_metadata_add_metadata() local 375 radio_metadata_key_t *key, in radio_metadata_get_at_index() 402 const radio_metadata_key_t key, in radio_metadata_get_from_key()
|
/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/ |
D | encrypt_connection_builder.h | 33 static std::unique_ptr<EncryptConnectionBuilder> Create(const std::vector<uint8_t>& key) { in Create() 47 …explicit EncryptConnectionBuilder(const std::vector<uint8_t>& key) : key_(key.begin(), key.begin()… in EncryptConnectionBuilder()
|
/system/core/libkeyutils/ |
D | mini_keyctl.cpp | 40 key_serial_t key; in parseKeyOrDie() local 70 key_serial_t key = parseKeyOrDie(argv[2]); in main() local 76 key_serial_t key = parseKeyOrDie(key_str); in main() local
|
/system/libvintf/ |
D | PropertyFetcher.cpp | 41 std::string PropertyFetcherImpl::getProperty(const std::string& key, in getProperty() 46 uint64_t PropertyFetcherImpl::getUintProperty(const std::string& key, uint64_t defaultValue, in getUintProperty() 51 bool PropertyFetcherImpl::getBoolProperty(const std::string& key, bool defaultValue) const { in getBoolProperty() argument
|
/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/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
|