Home
last modified time | relevance | path

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

12345678910>>...12

/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.cc31 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 …]
Dprefs.cc54 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/
Dmock_main_shim_BtifConfigInterface.cc30 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 …]
Dmock_btif_config.cc85 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/
DMetadata.cpp29 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/
DBpfMap.h72 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/
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()
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/current/android/system/keystore2/
DIKeystoreService.aidl39 …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()
DIKeystoreSecurityLevel.aidl38 …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/
DIKeystoreService.aidl83 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()
DIKeystoreSecurityLevel.aidl88 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/
DIKeystoreService.aidl39 …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()
DIKeystoreSecurityLevel.aidl38 …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/
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/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 …]
/system/core/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/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()
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 …]

12345678910>>...12