/system/update_engine/common/ |
D | fake_prefs.cc | 31 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 …]
|
D | prefs.cc | 54 bool PrefsBase::GetString(const std::string_view key, string* value) const { in GetString() argument 58 bool PrefsBase::SetString(std::string_view key, std::string_view value) { in SetString() 69 bool PrefsBase::GetInt64(const std::string_view key, int64_t* value) const { in GetInt64() argument 78 bool PrefsBase::SetInt64(std::string_view key, const int64_t value) { in SetInt64() 82 bool PrefsBase::GetBoolean(std::string_view key, bool* value) const { in GetBoolean() 98 bool PrefsBase::SetBoolean(std::string_view key, const bool value) { in SetBoolean() 106 bool PrefsBase::Delete(std::string_view key) { in Delete() 124 for (const auto& key : namespace_keys) { in Delete() local 139 void PrefsBase::AddObserver(std::string_view key, ObserverInterface* observer) { in AddObserver() 143 void PrefsBase::RemoveObserver(std::string_view key, in RemoveObserver() [all …]
|
/system/media/audio_utils/ |
D | Metadata.cpp | 29 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/ |
D | IKeystoreService.aidl | 39 …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()
|
D | IKeystoreSecurityLevel.aidl | 38 …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/ |
D | IKeystoreService.aidl | 39 …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()
|
D | IKeystoreSecurityLevel.aidl | 38 …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/ |
D | IKeystoreService.aidl | 39 …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()
|
D | IKeystoreSecurityLevel.aidl | 38 …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/ |
D | IKeystoreService.aidl | 83 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()
|
D | IKeystoreSecurityLevel.aidl | 88 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()
|
/system/nfc/src/adaptation/ |
D | nfc_config.cc | 91 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/core/libutils/include/utils/ |
D | KeyedVector.h | 131 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/ |
D | str_parms.cpp | 86 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 …]
|
D | properties.cpp | 27 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()
|
D | hashmap.cpp | 28 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() 158 int hashmapHash(void* key, size_t keySize) { in hashmapHash() 169 static Entry* createEntry(void* key, int hash, void* value) { in createEntry() 192 void* hashmapPut(Hashmap* map, void* key, void* value) { in hashmapPut() 224 void* hashmapGet(Hashmap* map, void* key) { in hashmapGet() 239 void* hashmapRemove(Hashmap* map, void* key) { in hashmapRemove() 261 void hashmapForEach(Hashmap* map, bool (*callback)(void* key, void* value, void* context), in hashmapForEach()
|
/system/keymaster/include/keymaster/km_openssl/ |
D | rsa_operation.h | 38 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 …]
|
D | ecdsa_operation.h | 34 keymaster_purpose_t purpose, keymaster_digest_t digest, EVP_PKEY* key) in EcdsaOperation() 57 keymaster_digest_t digest, EVP_PKEY* key) in EcdsaSignOperation() 72 keymaster_digest_t digest, EVP_PKEY* key) in EcdsaVerifyOperation() 87 keymaster_digest_t digest, EVP_PKEY* key) in Ed25519SignOperation() 119 keymaster_digest_t digest, EVP_PKEY* key) override { in InstantiateOperation() 134 keymaster_digest_t digest, EVP_PKEY* key) override { in InstantiateOperation()
|
/system/core/mini_keyctl/ |
D | mini_keyctl.cpp | 50 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/ |
D | config.cc | 117 void ConfigFile::addConfig(const std::string& key, ConfigValue& value) { in addConfig() 142 string key(Trim(line.substr(0, search))); in parseFromString() local 154 bool ConfigFile::hasKey(const std::string& key) { in hasKey() 158 ConfigValue& ConfigFile::getValue(const std::string& key) { in getValue() 164 std::string ConfigFile::getString(const std::string& key) { in getString() 168 unsigned ConfigFile::getUnsigned(const std::string& key) { in getUnsigned() 172 std::vector<uint8_t> ConfigFile::getBytes(const std::string& key) { in getBytes()
|
/system/media/radio/src/ |
D | radio_metadata.c | 51 bool is_valid_metadata_key(const radio_metadata_key_t key) in is_valid_metadata_key() 105 const radio_metadata_key_t key, in add_metadata() 182 radio_metadata_type_t radio_metadata_type_of_key(const radio_metadata_key_t key) in radio_metadata_type_of_key() 216 const radio_metadata_key_t key, in radio_metadata_add_int() 228 const radio_metadata_key_t key, in radio_metadata_add_text() 240 const radio_metadata_key_t key, in radio_metadata_add_raw() 252 const radio_metadata_key_t key, in radio_metadata_add_clock() 288 radio_metadata_key_t key; in radio_metadata_add_metadata() local 375 radio_metadata_key_t *key, in radio_metadata_get_at_index() 402 const radio_metadata_key_t key, in radio_metadata_get_from_key()
|
/system/libbase/ |
D | properties.cpp | 41 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()
|
/system/tools/sysprop/stub/android/os/ |
D | SystemProperties.java | 21 public static String get(String key) { in get() 24 public static void set(String key, String val) { in set()
|
/system/keymaster/cppcose/ |
D | cppcose.cpp | 38 ErrMsgOr<bssl::UniquePtr<EVP_CIPHER_CTX>> aesGcmInitAndProcessAad(const bytevec& key, in aesGcmInitAndProcessAad() 61 ErrMsgOr<bytevec> signEcdsaDigest(const bytevec& key, const bytevec& data) { in signEcdsaDigest() 189 ErrMsgOr<HmacSha256> generateHmacSha256(const bytevec& key, const bytevec& data) { in generateHmacSha256() 270 ErrMsgOr<bytevec> createECDSACoseSign1Signature(const bytevec& key, const bytevec& protectedParams, in createECDSACoseSign1Signature() 284 ErrMsgOr<bytevec> createCoseSign1Signature(const bytevec& key, const bytevec& protectedParams, in createCoseSign1Signature() 302 ErrMsgOr<cppbor::Array> constructECDSACoseSign1(const bytevec& key, cppbor::Map protectedParams, in constructECDSACoseSign1() 315 ErrMsgOr<cppbor::Array> constructCoseSign1(const bytevec& key, cppbor::Map protectedParams, in constructCoseSign1() 328 ErrMsgOr<cppbor::Array> constructCoseSign1(const bytevec& key, const bytevec& payload, in constructCoseSign1() 370 auto key = CoseKey::parseEd25519(selfSigned ? payload->value() : signingCoseKey); in verifyAndParseCoseSign1() local 380 auto key = CoseKey::parseP256(selfSigned ? payload->value() : signingCoseKey); in verifyAndParseCoseSign1() local [all …]
|
/system/libvintf/ |
D | PropertyFetcher.cpp | 41 std::string PropertyFetcherImpl::getProperty(const std::string& key, in getProperty() 46 uint64_t PropertyFetcherImpl::getUintProperty(const std::string& key, uint64_t defaultValue, in getUintProperty() 51 bool PropertyFetcherImpl::getBoolProperty(const std::string& key, bool defaultValue) const { in getBoolProperty() argument
|