Home
last modified time | relevance | path

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

12345678

/system/update_engine/common/
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 …]
Dprefs.cc37 bool Prefs::GetString(const string& key, string* value) const { in GetString() argument
47 bool Prefs::SetString(const string& key, const string& value) { in SetString()
66 bool Prefs::GetInt64(const string& key, int64_t* value) const { in GetInt64() argument
75 bool Prefs::SetInt64(const string& key, const int64_t value) { in SetInt64()
79 bool Prefs::GetBoolean(const string& key, bool* value) const { in GetBoolean() argument
95 bool Prefs::SetBoolean(const string& key, const bool value) { in SetBoolean()
105 bool Prefs::Delete(const string& key) { in Delete()
118 void Prefs::AddObserver(const string& key, ObserverInterface* observer) { in AddObserver()
122 void Prefs::RemoveObserver(const string& key, ObserverInterface* observer) { in RemoveObserver()
130 bool Prefs::GetFileNameForKey(const string& key, in GetFileNameForKey()
/system/connectivity/shill/
Dstub_storage.h40 const std::string& key) const override { in GetGroupsWithKey()
50 bool DeleteKey(const std::string& group, const std::string& key) in DeleteKey()
55 const std::string& key, in GetString()
60 const std::string& key, in SetString()
65 const std::string& key, in GetBool()
70 const std::string& key, in SetBool()
75 const std::string& key, in GetInt()
80 const std::string& key, in SetInt()
85 const std::string& key, in GetUint64()
90 const std::string& key, in SetUint64()
[all …]
Dfake_store.cc124 bool FakeStore::DeleteKey(const string& group, const string& key) { in DeleteKey()
153 const string& key, in GetString()
159 const string& group, const string& key, const string& value) { in SetString()
163 bool FakeStore::GetBool(const string& group, const string& key, bool* value) in GetBool() argument
168 bool FakeStore::SetBool(const string& group, const string& key, bool value) { in SetBool()
173 const string& group, const string& key, int* value) const { in GetInt() argument
177 bool FakeStore::SetInt(const string& group, const string& key, int value) { in SetInt()
182 const string& group, const string& key, uint64_t* value) const { in GetUint64() argument
187 const string& group, const string& key, uint64_t value) { in SetUint64()
192 const string& group, const string& key, vector<string>* value) const { in GetStringList() argument
[all …]
Dkey_file_store.cc189 bool KeyFileStore::DeleteKey(const string& group, const string& key) { in DeleteKey()
225 const string& key, in GetString()
244 const string& key, in SetString()
252 const string& key, in GetBool()
269 bool KeyFileStore::SetBool(const string& group, const string& key, bool value) { in SetBool()
279 const string& group, const string& key, int* value) const { in GetInt() argument
295 bool KeyFileStore::SetInt(const string& group, const string& key, int value) { in SetInt()
302 const string& group, const string& key, uint64_t* value) const { in GetUint64() argument
326 const string& group, const string& key, uint64_t value) { in SetUint64()
334 const string& key, in GetStringList()
[all …]
Djson_store.cc204 const string& key = it.key(); in ConvertDictionaryValueToVariantDictionary() local
302 const auto& key = key_and_value.first; in ConvertVariantDictionaryToDictionaryValue() local
518 bool JsonStore::DeleteKey(const string& group, const string& key) { in DeleteKey()
548 const string& key, in GetString()
554 const string& group, const string& key, const string& value) { in SetString()
558 bool JsonStore::GetBool(const string& group, const string& key, bool* value) in GetBool() argument
563 bool JsonStore::SetBool(const string& group, const string& key, bool value) { in SetBool()
568 const string& group, const string& key, int* value) const { in GetInt() argument
572 bool JsonStore::SetInt(const string& group, const string& key, int value) { in SetInt()
577 const string& group, const string& key, uint64_t* value) const { in GetUint64() argument
[all …]
/system/keymaster/
Drsa_operation.h37 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 …]
Decdsa_operation.h31 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) { in InstantiateOperation()
100 Operation* InstantiateOperation(keymaster_digest_t digest, EVP_PKEY* key) { in InstantiateOperation()
/system/bt/osi/src/
Dhash_functions.c23 hash_index_t hash_function_naive(const void *key) { in hash_function_naive()
27 hash_index_t hash_function_integer(const void *key) { in hash_function_integer()
31 hash_index_t hash_function_pointer(const void *key) { in hash_function_pointer()
35 hash_index_t hash_function_string(const void *key) { in hash_function_string()
Dproperties.c23 int osi_property_get(const char *key, char *value, const char *default_value) { in osi_property_get()
42 int osi_property_set(const char *key, const char *value) { in osi_property_set()
Dconfig.c39 char *key; member
143 bool config_has_key(const config_t *config, const char *section, const char *key) { in config_has_key()
151 int config_get_int(const config_t *config, const char *section, const char *key, int def_value) { in config_get_int()
165 bool config_get_bool(const config_t *config, const char *section, const char *key, bool def_value) { in config_get_bool()
182 const char *config_get_string(const config_t *config, const char *section, const char *key, const c… in config_get_string()
194 void config_set_int(config_t *config, const char *section, const char *key, int value) { in config_set_int()
204 void config_set_bool(config_t *config, const char *section, const char *key, bool value) { in config_set_bool()
212 void config_set_string(config_t *config, const char *section, const char *key, const char *value) { in config_set_string()
243 bool config_remove_key(config_t *config, const char *section, const char *key) { in config_remove_key()
476 static entry_t *entry_new(const char *key, const char *value) { in entry_new()
[all …]
/system/core/libmincrypt/tools/
DDumpPublicKey.java48 static int checkRSA(RSAPublicKey key, boolean useSHA256) throws Exception { in checkRSA()
76 static int checkEC(ECPublicKey key) throws Exception { in checkEC()
87 static int check(PublicKey key, boolean useSHA256) throws Exception { in check()
106 static String printRSA(RSAPublicKey key, boolean useSHA256) throws Exception { in printRSA()
171 static String printEC(ECPublicKey key) throws Exception { in printEC()
221 static String print(PublicKey key, boolean useSHA256) throws Exception { in print()
259 PublicKey key = cert.getPublicKey(); in main() local
/system/core/libcutils/
Dstr_parms.c93 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 …]
Dproperties.c33 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()
115 int property_get(const char *key, char *value, const char *default_value) in property_get()
151 void (*propfn)(const char *key, const char *value, void *cookie), in property_list()
Dhashmap.c28 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/core/libmincrypt/
Drsa.c33 static void subM(const RSAPublicKey* key, in subM()
45 static int geM(const RSAPublicKey* key, in geM()
57 static void montMulAdd(const RSAPublicKey* key, in montMulAdd()
82 static void montMul(const RSAPublicKey* key, in montMul()
97 static void modpow(const RSAPublicKey* key, in modpow()
249 int RSA_verify(const RSAPublicKey *key, in RSA_verify()
/system/bt/service/ipc/binder/
Dremote_callback_map.h132 const K& key, in Register()
158 bool RemoteCallbackMap<K, V>::Unregister(const K& key) { in Unregister()
171 sp<V> RemoteCallbackMap<K, V>::Get(const K& key) { in Get()
182 sp<V> RemoteCallbackMap<K, V>::Remove(const K& key) { in Remove()
225 const K& key, in CallbackDeathRecipient()
/system/media/radio/src/
Dradio_metadata.c49 bool is_valid_metadata_key(const radio_metadata_key_t key) in is_valid_metadata_key()
98 const radio_metadata_key_t key, in add_metadata()
167 radio_metadata_type_t radio_metadata_type_of_key(const radio_metadata_key_t key) in radio_metadata_type_of_key()
201 const radio_metadata_key_t key, in radio_metadata_add_int()
213 const radio_metadata_key_t key, in radio_metadata_add_text()
225 const radio_metadata_key_t key, in radio_metadata_add_raw()
237 const radio_metadata_key_t key, in radio_metadata_add_clock()
273 radio_metadata_key_t key; in radio_metadata_add_metadata() local
360 radio_metadata_key_t *key, in radio_metadata_get_at_index()
387 const radio_metadata_key_t key, in radio_metadata_get_from_key()
/system/core/libutils/
DPropertyMap.cpp50 void PropertyMap::addProperty(const String8& key, const String8& value) { in addProperty()
58 bool PropertyMap::tryGetProperty(const String8& key, String8& outValue) const { in tryGetProperty() argument
68 bool PropertyMap::tryGetProperty(const String8& key, bool& outValue) const { in tryGetProperty() argument
78 bool PropertyMap::tryGetProperty(const String8& key, int32_t& outValue) const { in tryGetProperty() argument
95 bool PropertyMap::tryGetProperty(const String8& key, float& outValue) const { in tryGetProperty() argument
/system/extras/perfprofd/
Dconfigreader.cc125 void ConfigReader::addUnsignedEntry(const char *key, in addUnsignedEntry()
143 void ConfigReader::addStringEntry(const char *key, const char *default_value) in addStringEntry()
174 void ConfigReader::overrideUnsignedEntry(const char *key, unsigned new_value) in overrideUnsignedEntry()
194 void ConfigReader::parseLine(const char *key, in parseLine()
280 std::string key(line.substr(0, efound)); in readFile() local
/system/core/include/utils/
DLruCache.h60 TKey key; member
87 typename LruCacheSet::iterator findByKey(const TKey& key) { in findByKey()
130 const TKey& key() const { in key() function
169 const TValue& LruCache<TKey, TValue>::get(const TKey& key) { in get()
181 bool LruCache<TKey, TValue>::put(const TKey& key, const TValue& value) { in put()
197 bool LruCache<TKey, TValue>::remove(const TKey& key) { in remove()
/system/bt/osi/test/
Dhash_map_utils_test.cpp58 char key[] = "keyOfSomething"; in TEST_F() local
67 char key[] = "key"; in TEST_F() local
76 char key[] = "keyOfSomething"; in TEST_F() local
85 char key[] = "keyOfSomething"; in TEST_F() local
94 char key[] = "keyOfSomething"; in TEST_F() local
Dhash_map_test.cpp30 hash_index_t hash_map_fn00(const void *key) { in hash_map_fn00()
56 const char *key; in TEST_F() member
89 const char *key; in TEST_F() member
120 const char *key; in TEST_F() member
156 const char *key; member
169 const char *key = (const char *)hash_map_entry->key; in hash_test_iter_ro_cb() local
/system/bt/btif/src/
Dbtif_config.c268 bool btif_config_exist(const char *section, const char *key) { in btif_config_exist()
280 bool btif_config_get_int(const char *section, const char *key, int *value) { in btif_config_get_int()
295 bool btif_config_set_int(const char *section, const char *key, int value) { in btif_config_set_int()
307 bool btif_config_get_str(const char *section, const char *key, char *value, int *size_bytes) { in btif_config_get_str()
327 bool btif_config_set_str(const char *section, const char *key, const char *value) { in btif_config_set_str()
340 bool btif_config_get_bin(const char *section, const char *key, uint8_t *value, size_t *length) { in btif_config_get_bin()
368 size_t btif_config_get_bin_length(const char *section, const char *key) { in btif_config_get_bin_length()
384 bool btif_config_set_bin(const char *section, const char *key, const uint8_t *value, size_t length)… in btif_config_set_bin()
431 bool btif_config_remove(const char *section, const char *key) { in btif_config_remove()
/system/tpm/attestation/common/
Dcrypto_utility_impl_test.cc85 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
128 std::string key(32, 0); in TEST_F() local
136 std::string key(12, 0); in TEST_F() local
142 std::string key(32, 0); in TEST_F() local
148 std::string key(32, 0); in TEST_F() local

12345678