Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 219) sorted by relevance

123456789

/system/update_engine/common/
Dprefs.cc32 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 …]
Dfake_prefs.cc29 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/
DHidlCache.h36 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/
Dnfc_config.cc70 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/
Dproperties.cc31 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()
Dconfig.cc52 const std::string& key) { in entry_find()
104 const std::string& key) { in config_has_key()
109 const std::string& key, int def_value) { in config_get_int()
119 const std::string& key, uint64_t def_value) { in config_get_uint64()
129 const std::string& key, bool def_value) { in config_get_bool()
141 const std::string& key, in config_get_string()
150 const std::string& key, int value) { in config_set_int()
155 const std::string& key, uint64_t value) { in config_set_uint64()
160 const std::string& key, bool value) { in config_set_bool()
165 const std::string& key, const std::string& value) { in config_set_string()
[all …]
/system/keymaster/include/keymaster/km_openssl/
Drsa_operation.h38 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()
235 keymaster_padding_t padding, EVP_PKEY* key) override { in InstantiateOperation()
248 keymaster_padding_t padding, EVP_PKEY* key) override { in InstantiateOperation()
261 keymaster_padding_t padding, EVP_PKEY* key) override { in InstantiateOperation()
[all …]
Decdsa_operation.h33 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) override { in InstantiateOperation()
110 keymaster_digest_t digest, EVP_PKEY* key) override { in InstantiateOperation()
/system/core/libutils/include/utils/
DKeyedVector.h131 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/
Dstr_parms.cpp86 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 …]
Dproperties.cpp33 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()
Dhashmap.cpp29 void* key; member
45 int (*hash)(void* key), bool (*equals)(void* keyA, void* keyB)) { in hashmapCreate()
84 static inline int hashKey(Hashmap* map, void* key) { in hashKey()
163 int hashmapHash(void* key, size_t keySize) { in hashmapHash()
174 static Entry* createEntry(void* key, int hash, void* value) { in createEntry()
197 void* hashmapPut(Hashmap* map, void* key, void* value) { in hashmapPut()
229 void* hashmapGet(Hashmap* map, void* key) { in hashmapGet()
244 bool hashmapContainsKey(Hashmap* map, void* key) { in hashmapContainsKey()
259 void* hashmapMemoize(Hashmap* map, void* key, in hashmapMemoize()
260 void* (*initialValue)(void* key, void* context), void* context) { in hashmapMemoize()
[all …]
/system/nfc/utils/
Dconfig.cc105 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/bt/service/ipc/binder/
Dremote_callback_map.h127 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/netd/libbpf/include/bpf/
DBpfMap.h132 netdutils::StatusOr<Key> getNextKey(const Key& key) const { in getNextKey()
141 netdutils::Status writeValue(const Key& key, const Value& value, uint64_t flags) { in writeValue()
149 netdutils::StatusOr<Value> readValue(const Key key) const { in readValue()
158 netdutils::Status deleteValue(const Key& key) { in deleteValue()
263 const std::function<netdutils::Status(const Key& key, const BpfMap<Key, Value>& map)>& filter) in iterate()
278 const std::function<netdutils::Status(const Key& key, const Value& value, in iterateWithValue()
295 const std::function<netdutils::Status(const Key& key, BpfMap<Key, Value>& map)>& filter) { in iterate()
309 const std::function<netdutils::Status(const Key& key, const Value& value, in iterateWithValue()
/system/netd/libbpf/
DBpfMapTest.cpp90 void writeToMapAndCheck(BpfMap<uint32_t, uint32_t>& map, uint32_t key, uint32_t value) { in writeToMapAndCheck() argument
103 for (uint32_t key = 0; key < total; key++) { in populateMap() local
125 uint32_t key = TEST_KEY1; in TEST_F() local
140 uint32_t key = TEST_KEY1; in TEST_F() local
154 uint32_t key = TEST_KEY1; in TEST_F() local
172 for (uint32_t key = 0; key < TEST_MAP_SIZE; key++) { in TEST_F() local
186 for (uint32_t key = 0; key < TEST_MAP_SIZE; key++) { in TEST_F() local
193 for (uint32_t key = 0; key < TEST_MAP_SIZE; key++) { in TEST_F() local
227 uint32_t key = TEST_KEY1; in TEST_F() local
244 uint32_t key = TEST_KEY1; in TEST_F() local
[all …]
/system/media/radio/src/
Dradio_metadata.c51 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/core/base/
Dproperties.cpp34 std::string GetProperty(const std::string& key, const std::string& default_value) { in GetProperty()
52 bool GetBoolProperty(const std::string& key, bool default_value) { in GetBoolProperty()
63 T GetIntProperty(const std::string& key, T default_value, T min, T max) { in GetIntProperty()
71 T GetUintProperty(const std::string& key, T default_value, T max) { in GetUintProperty()
88 bool SetProperty(const std::string& key, const std::string& value) { in SetProperty()
134 static const prop_info* WaitForPropertyCreation(const std::string& key, in WaitForPropertyCreation()
150 bool WaitForProperty(const std::string& key, const std::string& expected_value, in WaitForProperty()
172 bool WaitForPropertyCreation(const std::string& key, in WaitForPropertyCreation()
/system/vold/
DKeyUtil.cpp49 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()
167 KeyBuffer key; in retrieveAndInstallKey() local
189 const std::string& tmp_path, KeyBuffer* key) { in retrieveKey()
/system/netd/bpfloader/
Dbpf_kern.c33 uint32_t key = skb->ifindex; in ELF_SEC() local
40 uint32_t key = skb->ifindex; in ELF_SEC() local
/system/libvintf/
Dutils.cpp39 std::string getProperty(const std::string& key, in getProperty()
43 uint64_t getUintProperty(const std::string& key, uint64_t defaultValue, in getUintProperty()
47 bool getBoolProperty(const std::string& key, bool defaultValue) const override { in getBoolProperty() argument
/system/core/libutils/
DPropertyMap.cpp46 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/
Dhash_map_utils_test.cc53 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/core/fs_mgr/
Dfs_mgr_boot_config.cpp28 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/iot/attestation/partner-tools/
Daesgcm.py36 def encrypt(plaintext, key, associated_data=''): argument
69 def decrypt(ciphertext, key, iv, tag, associated_data=''): argument

123456789