| /drivers/interface/camera/sequenceable/map_data/ |
| D | map_data_sequenceable.cpp | 57 auto key = parcel.ReadString(); in Unmarshalling() local 132 int32_t MapDataSequenceable::Get(const std::string &key, int32_t &value) const in Get() argument 137 int32_t MapDataSequenceable::Get(const std::string &key, int64_t &value) const in Get() argument 142 int32_t MapDataSequenceable::Get(const std::string &key, double &value) const in Get() argument 147 int32_t MapDataSequenceable::Get(const std::string &key, std::string &value) const in Get() argument 152 int32_t MapDataSequenceable::Set(const std::string &key, int32_t value) in Set() 157 int32_t MapDataSequenceable::Set(const std::string &key, int64_t value) in Set() 162 int32_t MapDataSequenceable::Set(const std::string &key, double value) in Set() 167 int32_t MapDataSequenceable::Set(const std::string &key, const std::string& value) in Set() 173 int32_t MapDataSequenceable::Get(const std::string &key, MapDataType type, T &value) const in Get() argument [all …]
|
| /drivers/peripheral/huks/hdi_service/ |
| D | huks_hdi_passthrough_adapter.c | 72 int32_t HuksHdiAdapterImportKey(const struct HksBlob *keyAlias, const struct HksBlob *key, in HuksHdiAdapterImportKey() 94 int32_t HuksHdiAdapterExportPublicKey(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterExportPublicKey() 105 int32_t HuksHdiAdapterInit(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterInit() 148 …t32_t HuksHdiAdapterGetKeyProperties(const struct HksParamSet *paramSet, const struct HksBlob *key) in HuksHdiAdapterGetKeyProperties() 158 int32_t HuksHdiAdapterSign(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterSign() 169 int32_t HuksHdiAdapterVerify(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterVerify() 180 int32_t HuksHdiAdapterEncrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterEncrypt() 191 int32_t HuksHdiAdapterDecrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterDecrypt() 224 int32_t HuksHdiAdapterMac(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterMac() 246 int32_t HuksHdiAdapterAttestKey(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterAttestKey()
|
| D | huks_hdi_template.h | 60 #define HDI_CONVERTER_FUNC_IMPORTKEY(keyAlias, key, paramSet, keyOut, ret, func) \ argument 75 #define HDI_CONVERTER_FUNC_IMPORTWRAPPEDKEY(wrappedKeyAlias, key, wrappedKeyData, paramSet, keyOut,… argument 93 #define HDI_CONVERTER_FUNC_EXPORTPUBLICKEY(key, paramSet, keyOut, ret, func) \ argument 105 #define HDI_CONVERTER_FUNC_INIT(key, paramSet, handle, token, ret, func) \ argument 159 #define HDI_CONVERTER_FUNC_CHECKKEYVALIDITY(paramSet, key, ret, func) \ argument 167 #define HDI_CONVERTER_FUNC_ATTESTKEY(key, paramSet, certChain, ret, func) \ argument 188 #define HDI_CONVERTER_FUNC_SIGN(key, paramSet, srcData, signature, ret, func) \ argument 203 #define HDI_CONVERTER_FUNC_VERIFY(key, paramSet, srcData, signature, ret, func) \ argument 217 #define HDI_CONVERTER_FUNC_ENCRYPT(key, paramSet, plainText, cipherText, ret, func) \ argument 232 #define HDI_CONVERTER_FUNC_DECRYPT(key, paramSet, cipherText, plainText, ret, func) \ argument [all …]
|
| /drivers/peripheral/user_auth/hdi_service/key_mgr/src/ |
| D | hmac_key.c | 53 Buffer *key = NULL; in GenerateHmacKey() local 76 Buffer *key = GenerateHmacKey(&peerUdidBuf); in HmacSign() local 108 Buffer *key = GenerateHmacKey(&peerUdidBuf); in HmacVerify() local
|
| D | token_key.c | 26 ResultCode GetTokenKey(HksAuthTokenKey *key) in GetTokenKey()
|
| /drivers/peripheral/display/buffer/hdi_service/include/ |
| D | idisplay_buffer_vdi.h | 128 …virtual int32_t SetMetadata(const BufferHandle& handle, uint32_t key, const std::vector<uint8_t>& … in SetMetadata() 133 … virtual int32_t GetMetadata(const BufferHandle& handle, uint32_t key, std::vector<uint8_t>& value) in GetMetadata() 143 virtual int32_t EraseMetadataKey(const BufferHandle& handle, uint32_t key) in EraseMetadataKey()
|
| /drivers/peripheral/pin_auth/hdi_service/common/src/ |
| D | attribute.c | 96 IAM_STATIC ResultCode GetAttributeIndex(AttributeKey key, uint32_t *index) in GetAttributeIndex() 318 ResultCode GetAttributeUint32(const Attribute *attribute, AttributeKey key, uint32_t *value) in GetAttributeUint32() 333 ResultCode SetAttributeUint32(Attribute *attribute, AttributeKey key, const uint32_t value) in SetAttributeUint32() 345 ResultCode GetAttributeInt32(const Attribute *attribute, AttributeKey key, int32_t *retValue) in GetAttributeInt32() 353 ResultCode SetAttributeInt32(Attribute *attribute, AttributeKey key, const int32_t value) in SetAttributeInt32() 360 ResultCode GetAttributeUint64(const Attribute *attribute, AttributeKey key, uint64_t *retValue) in GetAttributeUint64() 375 ResultCode SetAttributeUint64(Attribute *attribute, AttributeKey key, const uint64_t value) in SetAttributeUint64() 387 ResultCode GetAttributeLength(const Attribute *attribute, AttributeKey key, uint32_t *len) in GetAttributeLength() 405 ResultCode GetAttributeUint8Array(const Attribute *attributePub, AttributeKey key, Uint8Array *retD… in GetAttributeUint8Array() 435 ResultCode SetAttributeUint8Array(Attribute *attributePub, AttributeKey key, const Uint8Array data) in SetAttributeUint8Array() [all …]
|
| /drivers/peripheral/display/buffer/test/benchmarktest/ |
| D | display_buffer_benchmark_test.cpp | 84 int32_t key = 0; in BENCHMARK_F() local 102 int32_t key = 0; in BENCHMARK_F() local 123 int32_t key = 0; in BENCHMARK_F() local 144 int32_t key = 0; in BENCHMARK_F() local
|
| /drivers/hdf_core/framework/utils/src/ |
| D | hdf_map.c | 22 void *key; member 98 static struct MapNode *MapCreateNode(const char *key, uint32_t hash, in MapCreateNode() 123 static int32_t MapSetCheckPara(const Map *map, const char *key, const void *value, uint32_t valueSi… in MapSetCheckPara() 136 int32_t MapSet(Map *map, const char *key, const void *value, uint32_t valueSize) in MapSet() 191 void* MapGet(const Map *map, const char *key) in MapGet() 216 int32_t MapErase(Map *map, const char *key) in MapErase()
|
| /drivers/interface/display/buffer/v1_1/hdi_impl/ |
| D | display_buffer_hdi_impl.h | 59 …int32_t SetMetadata(const BufferHandle& handle, uint32_t key, const std::vector<uint8_t>& value) o… in SetMetadata() 69 …int32_t GetMetadata(const BufferHandle& handle, uint32_t key, std::vector<uint8_t>& value) override in GetMetadata() 89 int32_t EraseMetadataKey(const BufferHandle& handle, uint32_t key) override in EraseMetadataKey()
|
| /drivers/peripheral/user_auth/hdi_service/utils/src/ |
| D | attribute.c | 115 IAM_STATIC ResultCode GetAttributeIndex(AttributeKey key, uint32_t *index) in GetAttributeIndex() 336 ResultCode GetAttributeUint32(const Attribute *attribute, AttributeKey key, uint32_t *value) in GetAttributeUint32() 351 ResultCode SetAttributeUint32(Attribute *attribute, AttributeKey key, const uint32_t value) in SetAttributeUint32() 363 ResultCode GetAttributeInt32(const Attribute *attribute, AttributeKey key, int32_t *retValue) in GetAttributeInt32() 371 ResultCode SetAttributeInt32(Attribute *attribute, AttributeKey key, const int32_t value) in SetAttributeInt32() 378 ResultCode GetAttributeUint64(const Attribute *attribute, AttributeKey key, uint64_t *retValue) in GetAttributeUint64() 393 ResultCode SetAttributeUint64(Attribute *attribute, AttributeKey key, const uint64_t value) in SetAttributeUint64() 405 ResultCode GetAttributeUint8Array(const Attribute *attributePub, AttributeKey key, Uint8Array *retD… in GetAttributeUint8Array() 434 ResultCode SetAttributeUint8Array(Attribute *attributePub, AttributeKey key, const Uint8Array data) in SetAttributeUint8Array() 455 ResultCode GetAttributeUint64Array(const Attribute *attribute, AttributeKey key, Uint64Array *retDa… in GetAttributeUint64Array() [all …]
|
| /drivers/peripheral/display/buffer/hdi_service/src/ |
| D | metadata_service.cpp | 127 int32_t MetadataService::SetMetadata(const sptr<NativeBuffer>& handle, uint32_t key, const std::vec… in SetMetadata() 140 int32_t MetadataService::GetMetadata(const sptr<NativeBuffer>& handle, uint32_t key, std::vector<ui… in GetMetadata() 165 int32_t MetadataService::EraseMetadataKey(const sptr<NativeBuffer>& handle, uint32_t key) in EraseMetadataKey()
|
| /drivers/external_device_manager/services/native/driver_extension_manager/src/bus_extension/usb/ |
| D | usb_driver_info.cpp | 24 static int32_t SetArrayToObj(cJSON *obj, const string &key, const vector<uint16_t> &arr) in SetArrayToObj() 49 static bool GetObjectItem(const cJSON *jsonObj, const string &key, vector<uint16_t> &array) in GetObjectItem()
|
| /drivers/peripheral/display/buffer/vdi_base/src/ |
| D | display_buffer_vdi_impl.cpp | 89 int32_t DisplayBufferVdiImpl::SetMetadata(const BufferHandle& handle, uint32_t key, const std::vect… in SetMetadata() 95 int32_t DisplayBufferVdiImpl::GetMetadata(const BufferHandle& handle, uint32_t key, std::vector<uin… in GetMetadata() 107 int32_t DisplayBufferVdiImpl::EraseMetadataKey(const BufferHandle& handle, uint32_t key) in EraseMetadataKey()
|
| /drivers/peripheral/huks/test/unittest/ |
| D | hdi_ihuks_api_function_test.cpp | 273 struct HuksBlob key = { variable 307 struct HuksBlob key = { variable 338 struct HuksBlob key = { variable 380 struct HuksBlob key = { variable
|
| /drivers/peripheral/distributed_audio/hdi_service/common/utils/src/ |
| D | daudio_utils.cpp | 75 int32_t GetAudioParamStr(const std::string ¶ms, const std::string &key, std::string &value) in GetAudioParamStr() 97 int32_t GetAudioParamInt(const std::string ¶ms, const std::string &key, int32_t &value) in GetAudioParamInt() 124 int32_t GetAudioParamUInt(const std::string ¶ms, const std::string &key, uint32_t &value) in GetAudioParamUInt() 130 int32_t GetAudioParamBool(const std::string ¶ms, const std::string &key, bool &value) in GetAudioParamBool() 138 int32_t SetAudioParamStr(std::string ¶ms, const std::string &key, const std::string &value) in SetAudioParamStr() 277 std::string ParseStringFromArgs(const std::string &args, const char *key) in ParseStringFromArgs()
|
| /drivers/peripheral/pin_auth/test/unittest/pin_auth/adaptor/src/ |
| D | adaptor_algorithm_test.cpp | 242 Buffer *key = DeriveDeviceKey(pinData, secret); variable 266 Buffer *key = Hkdf(salt, rootKey); variable 286 Buffer *key = Sha256Adaptor(data); variable
|
| /drivers/peripheral/display/buffer/test/fuzztest/metadata_fuzzer/ |
| D | metadata_fuzzer.cpp | 100 uint16_t key = GetData<uint16_t>(); in TestSetMetadata() local 112 uint16_t key = GetData<uint16_t>(); in TestGetMetadata() local 125 uint16_t key = GetData<uint16_t>(); in TestEraseMetadataKey() local
|
| /drivers/peripheral/audio/test/unittest/common/adapter/ |
| D | audio_adapter_common_test.cpp | 448 enum AudioExtParamKey key = AUDIO_EXT_PARAM_KEY_NONE; variable 454 enum AudioExtParamKey key = AUDIO_EXT_PARAM_KEY_NONE; variable 462 enum AudioExtParamKey key = AUDIO_EXT_PARAM_KEY_LOWPOWER; variable 471 enum AudioExtParamKey key = AUDIO_EXT_PARAM_KEY_NONE; variable 478 enum AudioExtParamKey key = AUDIO_EXT_PARAM_KEY_NONE; variable 487 enum AudioExtParamKey key = AUDIO_EXT_PARAM_KEY_NONE; variable
|
| /drivers/peripheral/clearplay/hdi_service/src/ |
| D | media_decrypt_module_service.cpp | 59 std::vector<uint8_t> key; in DecryptMediaData() local 136 int32_t MediaDecryptModuleService::DecryptBySM4Cbc(const std::vector<uint8_t> &key, const std::vect… in DecryptBySM4Cbc() 183 int32_t MediaDecryptModuleService::DecryptByAesCbc(const std::vector<uint8_t> &key, const std::vect… in DecryptByAesCbc()
|
| /drivers/peripheral/pin_auth/hdi_service/adaptor/src/ |
| D | adaptor_algorithm.c | 96 EVP_PKEY *key = NULL; in GenerateEd25519KeyPair() local 144 EVP_PKEY *key = EVP_PKEY_new_raw_private_key(EVP_PKEY_ED25519, NULL, in Ed25519Sign() local 189 …EVP_PKEY *key = EVP_PKEY_new_raw_public_key(EVP_PKEY_ED25519, NULL, pubKey->buf, pubKey->contentSi… in Ed25519Verify() local 312 Buffer *key = CreateBufferBySize(SHA256_DIGEST_SIZE); in Hkdf() local 359 int32_t GetDistributeKey(const Buffer *peerUdid, const Buffer *salt, Buffer **key) in GetDistributeKey()
|
| /drivers/peripheral/user_auth/hdi_service/adaptor/src/ |
| D | adaptor_algorithm.c | 105 EVP_PKEY *key = NULL; in GenerateEd25519KeyPair() local 153 EVP_PKEY *key = EVP_PKEY_new_raw_private_key(EVP_PKEY_ED25519, NULL, in Ed25519Sign() local 198 …EVP_PKEY *key = EVP_PKEY_new_raw_public_key(EVP_PKEY_ED25519, NULL, pubKey->buf, pubKey->contentSi… in Ed25519Verify() local 489 int32_t GetDistributeKey(const Buffer *peerUdid, const Buffer *salt, Buffer **key) in GetDistributeKey()
|
| /drivers/external_device_manager/test/unittest/ndk_stage_js_test/entry/src/main/ets/TestRunner/ |
| D | OpenHarmonyTestRunner.ts | 28 for (const key in parameters) { constant
|
| /drivers/external_device_manager/test/unittest/ndk_permission_js_test/entry/src/main/ets/TestRunner/ |
| D | OpenHarmonyTestRunner.ts | 28 for (const key in parameters) { constant
|
| /drivers/peripheral/battery/interfaces/hdi_service/src/ |
| D | battery_config.cpp | 203 std::string key = *iter; in ParseLightConfig() local 249 std::string key = *iter; in ParseChargeSceneConfig() local 268 bool BatteryConfig::IsValidChargeSceneConfig(const std::string& key, const Json::Value& valueObj) in IsValidChargeSceneConfig() 349 std::string key = *iter; in ParseUeventConfig() local 372 bool BatteryConfig::SplitKey(const std::string& key, std::vector<std::string>& keys) const in SplitKey() argument
|