Home
last modified time | relevance | path

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

1234567891011

/system/update_engine/common/
Dfake_prefs.cc31 void CheckNotNull(std::string_view key, void* ptr) { in CheckNotNull()
66 bool FakePrefs::GetString(std::string_view key, string* value) const { in GetString()
70 bool FakePrefs::SetString(std::string_view key, std::string_view value) { in SetString()
75 bool FakePrefs::GetInt64(std::string_view key, int64_t* value) const { in GetInt64()
79 bool FakePrefs::SetInt64(std::string_view key, const int64_t value) { in SetInt64()
84 bool FakePrefs::GetBoolean(std::string_view key, bool* value) const { in GetBoolean()
88 bool FakePrefs::SetBoolean(std::string_view key, const bool value) { in SetBoolean()
97 bool FakePrefs::Delete(std::string_view key) { in Delete()
110 bool FakePrefs::Delete(std::string_view key, const vector<string>& nss) { in Delete()
145 void FakePrefs::CheckKeyType(std::string_view key, PrefType type) const { in CheckKeyType()
[all …]
Dprefs.cc57 bool PrefsBase::GetString(const std::string_view key, string* value) const { in GetString() argument
61 bool PrefsBase::SetString(std::string_view key, std::string_view value) { in SetString()
72 bool PrefsBase::GetInt64(const std::string_view key, int64_t* value) const { in GetInt64() argument
90 bool PrefsBase::SetInt64(std::string_view key, const int64_t value) { in SetInt64()
94 bool PrefsBase::GetBoolean(std::string_view key, bool* value) const { in GetBoolean()
110 bool PrefsBase::SetBoolean(std::string_view key, const bool value) { in SetBoolean()
118 bool PrefsBase::Delete(std::string_view key) { in Delete()
136 for (const auto& key : namespace_keys) { in Delete() local
151 void PrefsBase::AddObserver(std::string_view key, ObserverInterface* observer) { in AddObserver()
155 void PrefsBase::RemoveObserver(std::string_view key, in RemoveObserver()
[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/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/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/2/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/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/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/keymaster/include/keymaster/km_openssl/
Drsa_operation.h40 keymaster_padding_t padding, EVP_PKEY* key) in RsaOperation()
95 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaSignOperation()
119 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaVerifyOperation()
144 keymaster_padding_t padding, EVP_PKEY* key) in RsaCryptOperation()
170 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaEncryptOperation()
184 keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaDecryptOperation()
201 OperationPtr CreateOperation(Key&& key, const AuthorizationSet& begin_params, in CreateOperation()
250 keymaster_padding_t padding, EVP_PKEY* key) override { in InstantiateOperation()
263 keymaster_padding_t padding, EVP_PKEY* key) override { in InstantiateOperation()
277 keymaster_padding_t padding, EVP_PKEY* key) override { in InstantiateOperation()
[all …]
Decdsa_operation.h36 keymaster_purpose_t purpose, keymaster_digest_t digest, EVP_PKEY* key) in EcdsaOperation()
59 keymaster_digest_t digest, EVP_PKEY* key) in EcdsaSignOperation()
75 keymaster_digest_t digest, EVP_PKEY* key) in EcdsaVerifyOperation()
91 keymaster_digest_t digest, EVP_PKEY* key) in Ed25519SignOperation()
123 keymaster_digest_t digest, EVP_PKEY* key) override { in InstantiateOperation()
138 keymaster_digest_t digest, EVP_PKEY* key) override { in InstantiateOperation()
/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/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/3/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()
45 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
46 …android.system.keystore2.KeyDescriptor grant(in android.system.keystore2.KeyDescriptor key, in int… in grant()
47 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/
DIKeystoreSecurityLevel.aidl88 CreateOperationResponse createOperation(in KeyDescriptor key, in createOperation()
137 KeyMetadata generateKey(in KeyDescriptor key, in @nullable KeyDescriptor attestationKey, in generateKey()
151 KeyMetadata importKey(in KeyDescriptor key, in @nullable KeyDescriptor attestationKey, in importKey()
180 KeyMetadata importWrappedKey(in KeyDescriptor key, in KeyDescriptor wrappingKey, in importWrappedKey()
218 void deleteKey(in KeyDescriptor key); in deleteKey()
DIKeystoreService.aidl84 KeyEntryResponse getKeyEntry(in KeyDescriptor key); in getKeyEntry()
109 void updateSubcomponent(in KeyDescriptor key, in @nullable byte[] publicCert, in updateSubcomponent()
154 void deleteKey(in KeyDescriptor key); in deleteKey()
184 KeyDescriptor grant(in KeyDescriptor key, in int granteeUid, in int accessVector); in grant()
195 void ungrant(in KeyDescriptor key, in int granteeUid); in ungrant()
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/4/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()
45 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
46 …android.system.keystore2.KeyDescriptor grant(in android.system.keystore2.KeyDescriptor key, in int… in grant()
47 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/aidl_api/android.system.keystore2/current/android/system/keystore2/
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()
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()
45 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
46 …android.system.keystore2.KeyDescriptor grant(in android.system.keystore2.KeyDescriptor key, in int… in grant()
47 void ungrant(in android.system.keystore2.KeyDescriptor key, in int granteeUid); in ungrant()
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/5/android/system/keystore2/
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()
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()
45 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
46 …android.system.keystore2.KeyDescriptor grant(in android.system.keystore2.KeyDescriptor key, in int… in grant()
47 void ungrant(in android.system.keystore2.KeyDescriptor key, in int granteeUid); in ungrant()
/system/security/keystore2/src/permission/
Dtests.rs137 let key = KeyDescriptor { domain: Domain::APP, nspace: 0, alias: None, blob: None }; in check_grant_permission_app() localVariable
149 let key = KeyDescriptor { in check_grant_permission_selinux() localVariable
168 let key = KeyDescriptor { domain: Domain::GRANT, nspace: 0, alias: None, blob: None }; in check_key_permission_domain_grant() localVariable
193 let key = KeyDescriptor { domain: Domain::APP, nspace: 0, alias: None, blob: None }; in check_key_permission_domain_app() localVariable
246 let key = KeyDescriptor { in check_key_permission_domain_selinux() localVariable
278 let key = in check_key_permission_domain_blob() localVariable
291 let key = KeyDescriptor { domain: Domain::KEY_ID, nspace: 0, alias: None, blob: None }; in check_key_permission_domain_key_id() localVariable
/system/media/radio/src/
Dradio_metadata.c51 bool is_valid_metadata_key(const radio_metadata_key_t key) in is_valid_metadata_key()
106 const radio_metadata_key_t key, in add_metadata()
183 radio_metadata_type_t radio_metadata_type_of_key(const radio_metadata_key_t key) in radio_metadata_type_of_key()
218 const radio_metadata_key_t key, in radio_metadata_add_int()
230 const radio_metadata_key_t key, in radio_metadata_add_text()
242 const radio_metadata_key_t key, in radio_metadata_add_raw()
254 const radio_metadata_key_t key, in radio_metadata_add_clock()
290 radio_metadata_key_t key; in radio_metadata_add_metadata() local
377 radio_metadata_key_t *key, in radio_metadata_get_at_index()
404 const radio_metadata_key_t key, in radio_metadata_get_from_key()

1234567891011