Home
last modified time | relevance | path

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

1234567891011

/system/bt/common/
Dlru_unittest.cc162 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 …]
Dlru.h77 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/
Dfake_prefs.cc30 void CheckNotNull(const string& key, void* ptr) { in CheckNotNull()
65 bool FakePrefs::GetString(const string& key, string* value) const { in GetString() argument
69 bool FakePrefs::SetString(const string& key, const string& value) { in SetString()
74 bool FakePrefs::GetInt64(const string& key, int64_t* value) const { in GetInt64() argument
78 bool FakePrefs::SetInt64(const string& key, const int64_t value) { in SetInt64()
83 bool FakePrefs::GetBoolean(const string& key, bool* value) const { in GetBoolean() argument
87 bool FakePrefs::SetBoolean(const string& key, const bool value) { in SetBoolean()
96 bool FakePrefs::Delete(const string& key) { in Delete()
128 void FakePrefs::CheckKeyType(const string& key, PrefType type) const { in CheckKeyType() argument
136 void FakePrefs::SetValue(const string& key, const T& value) { in SetValue()
[all …]
Dprefs.cc52 bool PrefsBase::GetString(const string& key, string* value) const { in GetString() argument
56 bool PrefsBase::SetString(const string& key, const string& value) { in SetString()
67 bool PrefsBase::GetInt64(const string& key, int64_t* value) const { in GetInt64() argument
76 bool PrefsBase::SetInt64(const string& key, const int64_t value) { in SetInt64()
80 bool PrefsBase::GetBoolean(const string& key, bool* value) const { in GetBoolean() argument
96 bool PrefsBase::SetBoolean(const string& key, const bool value) { in SetBoolean()
104 bool PrefsBase::Delete(const string& key) { in Delete()
119 void PrefsBase::AddObserver(const string& key, ObserverInterface* observer) { in AddObserver()
123 void PrefsBase::RemoveObserver(const string& key, ObserverInterface* observer) { in RemoveObserver()
148 bool Prefs::FileStorage::GetKey(const string& key, string* value) const { in GetKey() argument
[all …]
/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.cc37 void section_t::Set(std::string key, std::string value) { in Set()
49 std::list<entry_t>::iterator section_t::Find(const std::string& key) { in Find()
55 bool section_t::Has(const std::string& key) { in Has()
65 bool config_t::Has(const std::string& key) { in Has()
82 const std::string& key) { in entry_find()
147 const std::string& key) { in config_has_key()
152 const std::string& key, int def_value) { in config_get_int()
162 const std::string& key, uint64_t def_value) { in config_get_uint64()
172 const std::string& key, bool def_value) { in config_get_bool()
184 const std::string& key, in config_get_string()
[all …]
/system/bpf/libbpf_android/include/bpf/
DBpfMap.h73 base::Result<Key> getNextKey(const Key& key) const { in getNextKey()
81 base::Result<void> writeValue(const Key& key, const Value& value, uint64_t flags) { in writeValue()
88 base::Result<Value> readValue(const Key key) const { in readValue()
96 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/nfc/src/adaptation/
Dnfc_config.cc91 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/
Dbtif_config_cache.cc30 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/
Dlist_map.h101 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()
Dlru_cache.h107 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()
Dlru_cache_test.cc338 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/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.cpp27 int8_t property_get_bool(const char* key, int8_t default_value) { in property_get_bool()
53 static T property_get_int(const char* key, T default_value) { in property_get_int()
73 int64_t property_get_int64(const char* key, int64_t default_value) { in property_get_int64()
77 int32_t property_get_int32(const char* key, int32_t default_value) { in property_get_int32()
81 int property_set(const char* key, const char* value) { in property_set()
85 int property_get(const char* key, char* value, const char* default_value) { in property_get()
/system/core/libkeyutils/mini_keyctl/
Dmini_keyctl.cpp50 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/
Dconfig.cc110 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/bt/stack/crypto_toolbox/
Dcrypto_toolbox.h42 inline Octet16 aes_128(const Octet16& key, const uint8_t* message, in aes_128()
52 inline void aes_cmac(const Octet16& key, const uint8_t* message, in aes_cmac()
60 inline Octet16 aes_cmac(const Octet16& key, const Octet16& message) { in aes_cmac()
/system/update_engine/
Dexcluder_chromeos.cc43 auto key = prefs_->CreateSubKey({kExclusionPrefsSubDir, name}); in Exclude() local
48 auto key = prefs_->CreateSubKey({kExclusionPrefsSubDir, name}); in IsExcluded() local
57 for (const auto& key : keys) in Reset() local
/system/extras/libperfmgr/tests/
DPropertyNodeTest.cc50 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/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/bt/gd/crypto_toolbox/
Dcrypto_toolbox.h54 inline Octet16 aes_128(const Octet16& key, const uint8_t* message, const uint8_t length) { in aes_128()
63 inline void aes_cmac(const Octet16& key, const uint8_t* message, uint16_t length, uint16_t tlen, ui… in aes_cmac()
70 inline Octet16 aes_cmac(const Octet16& key, const Octet16& message) { in aes_cmac()
/system/libbase/
Dproperties.cpp41 int __system_property_set(const char* key, const char* value) { in __system_property_set()
56 int __system_property_get(const char* key, char* value) { in __system_property_get()
71 bool GetBoolProperty(const std::string& key, bool default_value) { in GetBoolProperty()
84 T GetIntProperty(const std::string& key, T default_value, T min, T max) { in GetIntProperty()
92 T GetUintProperty(const std::string& key, T default_value, T max) { in GetUintProperty()
109 std::string GetProperty(const std::string& key, const std::string& default_value) { in GetProperty()
133 bool SetProperty(const std::string& key, const std::string& value) { in SetProperty()
180 static const prop_info* WaitForPropertyCreation(const std::string& key, in WaitForPropertyCreation()
196 bool WaitForProperty(const std::string& key, const std::string& expected_value, in WaitForProperty()
218 bool WaitForPropertyCreation(const std::string& key, in WaitForPropertyCreation()

1234567891011