| /base/msdp/device_status/tools/vdev/json/ |
| D | simulate_keyboard_clicks.json | 6 { "action": "down", "key": 42 }, number 7 { "action": "down", "key": 35 }, number 8 { "action": "up", "key": 35 }, number 9 { "action": "up", "key": 42 }, number 10 { "action": "down", "key": 23 }, number 11 { "action": "up", "key": 23 }, number 12 { "action": "down", "key": 51 }, number 13 { "action": "up", "key": 51 }, number 14 { "action": "down", "key": 57 }, number 15 { "action": "up", "key": 57 }, number [all …]
|
| /base/update/updateservice/services/core/ability/preference/src/ |
| D | preference_utils_empty.cpp | 27 bool PreferencesUtil::SaveString(const std::string &key, const std::string &value) in SaveString() 32 bool PreferencesUtil::SaveInt(const std::string &key, int value) in SaveInt() 37 bool PreferencesUtil::SaveBool(const std::string &key, bool value) in SaveBool() 42 bool PreferencesUtil::SaveLong(const std::string &key, int64_t value) in SaveLong() 47 bool PreferencesUtil::SaveFloat(const std::string &key, float value) in SaveFloat() 53 bool PreferencesUtil::Save(const std::string &key, const T &value) in Save() 58 std::string PreferencesUtil::ObtainString(const std::string &key, const std::string &defValue) in ObtainString() 63 int PreferencesUtil::ObtainInt(const std::string &key, int defValue) in ObtainInt() 68 bool PreferencesUtil::ObtainBool(const std::string &key, bool defValue) in ObtainBool() 73 int64_t PreferencesUtil::ObtainLong(const std::string &key, int64_t defValue) in ObtainLong() [all …]
|
| D | preference_utils.cpp | 48 bool PreferencesUtil::SaveString(const std::string &key, const std::string &value) in SaveString() 53 bool PreferencesUtil::SaveInt(const std::string &key, int value) in SaveInt() 58 bool PreferencesUtil::SaveBool(const std::string &key, bool value) in SaveBool() 63 bool PreferencesUtil::SaveLong(const std::string &key, int64_t value) in SaveLong() 68 bool PreferencesUtil::SaveFloat(const std::string &key, float value) in SaveFloat() 74 bool PreferencesUtil::Save(const std::string &key, const T &value) in Save() 88 …std::shared_ptr<NativePreferences::Preferences> ptr, const std::string &key, const std::string &va… in SaveInner() 98 std::shared_ptr<NativePreferences::Preferences> ptr, const std::string &key, const int &value) in SaveInner() 108 std::shared_ptr<NativePreferences::Preferences> ptr, const std::string &key, const bool &value) in SaveInner() 118 … std::shared_ptr<NativePreferences::Preferences> ptr, const std::string &key, const int64_t &value) in SaveInner() [all …]
|
| /base/security/crypto_framework/test/unittest/src/aes_cipher/ |
| D | crypto_aes_ecb_cipher_test.cpp | 59 HcfSymKey *key = nullptr; variable 111 HcfSymKey *key = nullptr; variable 156 HcfSymKey *key = nullptr; variable 201 HcfSymKey *key = nullptr; variable 251 HcfSymKey *key = nullptr; variable 297 HcfSymKey *key = nullptr; variable 342 HcfSymKey *key = nullptr; variable 387 HcfSymKey *key = nullptr; variable 433 HcfSymKey *key = nullptr; variable 481 HcfSymKey *key = nullptr; variable [all …]
|
| D | crypto_aes_cipher_test.cpp | 49 HcfSymKey *key = nullptr; variable 111 HcfSymKey *key = nullptr; variable 142 HcfSymKey *key = nullptr; variable 172 HcfSymKey *key = nullptr; variable 198 HcfSymKey *key = nullptr; variable 229 HcfSymKey *key = nullptr; variable 260 HcfSymKey *key = nullptr; variable 285 HcfSymKey *key = nullptr; variable 316 HcfSymKey *key = nullptr; variable 363 HcfSymKey *key = nullptr; variable [all …]
|
| D | crypto_aes_cfb_cipher_test.cpp | 55 HcfSymKey *key = nullptr; variable 106 HcfSymKey *key = nullptr; variable 157 HcfSymKey *key = nullptr; variable 209 HcfSymKey *key = nullptr; variable 260 HcfSymKey *key = nullptr; variable 311 HcfSymKey *key = nullptr; variable 361 HcfSymKey *key = nullptr; variable 411 HcfSymKey *key = nullptr; variable 461 HcfSymKey *key = nullptr; variable 511 HcfSymKey *key = nullptr; variable [all …]
|
| /base/hiviewdfx/hiappevent/interfaces/native/inner_api/src/ |
| D | app_event.cpp | 30 void Event::AddParam(const std::string& key, bool value) in AddParam() 35 void Event::AddParam(const std::string& key, int32_t value) in AddParam() 40 void Event::AddParam(const std::string& key, int64_t value) in AddParam() 45 void Event::AddParam(const std::string& key, double value) in AddParam() 50 void Event::AddParam(const std::string& key, const std::string& value) in AddParam() 55 void Event::AddParam(const std::string& key, const std::vector<bool>& value) in AddParam() 60 void Event::AddParam(const std::string& key, const std::vector<int32_t>& value) in AddParam() 65 void Event::AddParam(const std::string& key, const std::vector<int64_t>& value) in AddParam() 70 void Event::AddParam(const std::string& key, const std::vector<double>& value) in AddParam() 75 void Event::AddParam(const std::string& key, const std::vector<std::string>& value) in AddParam()
|
| /base/useriam/user_auth_framework/frameworks/native/common/attributes/src/ |
| D | attributes.cpp | 192 bool Attributes::Impl::SetBoolValue(AttributeKey key, bool value) in SetBoolValue() 209 bool Attributes::Impl::SetUint64Value(AttributeKey key, uint64_t value) in SetUint64Value() 226 bool Attributes::Impl::SetUint32Value(AttributeKey key, uint32_t value) in SetUint32Value() 243 bool Attributes::Impl::SetUint16Value(AttributeKey key, uint16_t value) in SetUint16Value() 260 bool Attributes::Impl::SetUint8Value(AttributeKey key, uint8_t value) in SetUint8Value() 277 bool Attributes::Impl::SetInt32Value(AttributeKey key, int32_t value) in SetInt32Value() 294 bool Attributes::Impl::SetInt64Value(AttributeKey key, int64_t value) in SetInt64Value() 311 bool Attributes::Impl::SetStringValue(AttributeKey key, const std::string &value) in SetStringValue() 328 bool Attributes::Impl::SetUint64ArrayValue(AttributeKey key, const std::vector<uint64_t> &value) in SetUint64ArrayValue() 345 bool Attributes::Impl::SetUint32ArrayValue(AttributeKey key, const std::vector<uint32_t> &value) in SetUint32ArrayValue() [all …]
|
| /base/security/crypto_framework/test/unittest/src/ |
| D | crypto_sm4_ecb_cipher_test.cpp | 54 HcfSymKey *key = nullptr; variable 101 HcfSymKey *key = nullptr; variable 149 HcfSymKey *key = nullptr; variable 196 HcfSymKey *key = nullptr; variable 243 HcfSymKey *key = nullptr; variable 291 HcfSymKey *key = nullptr; variable 334 HcfSymKey *key = nullptr; variable 363 HcfSymKey *key = nullptr; variable 392 HcfSymKey *key = nullptr; variable 432 HcfSymKey *key = nullptr; variable [all …]
|
| D | crypto_sm4_generator_test.cpp | 56 static int32_t GenerateSymKey(const char *algoName, HcfSymKey **key) in GenerateSymKey() 78 HcfSymKey *key = nullptr; variable 140 HcfSymKey *key = nullptr; variable 171 HcfSymKey *key = nullptr; variable 197 HcfSymKey *key = nullptr; variable 228 HcfSymKey *key = nullptr; variable 253 HcfSymKey *key = nullptr; variable 284 HcfSymKey *key = nullptr; variable 323 HcfSymKey *key = nullptr; variable 362 HcfSymKey *key = nullptr; variable [all …]
|
| D | crypto_3des_cipher_test.cpp | 55 static HcfResult GenerateDesSymKey(HcfSymKey **key) in GenerateDesSymKey() 73 static int32_t DesEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in DesEncrypt() 116 static int32_t DesDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in DesDecrypt() 163 static int32_t DesNoUpdateEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in DesNoUpdateEncrypt() 193 static int32_t DesNoUpdateDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in DesNoUpdateDecrypt() 235 HcfSymKey *key = nullptr; variable 282 HcfSymKey *key = nullptr; variable 330 HcfSymKey *key = nullptr; variable 378 HcfSymKey *key = nullptr; variable 429 HcfSymKey *key = nullptr; variable [all …]
|
| D | crypto_sm4_cipher_test.cpp | 59 HcfSymKey *key = nullptr; variable 107 HcfSymKey *key = nullptr; variable 154 HcfSymKey *key = nullptr; variable 200 HcfSymKey *key = nullptr; variable 249 HcfSymKey *key = nullptr; variable 295 HcfSymKey *key = nullptr; variable 343 HcfSymKey *key = nullptr; variable 391 HcfSymKey *key = nullptr; variable 438 HcfSymKey *key = nullptr; variable 485 HcfSymKey *key = nullptr; variable [all …]
|
| /base/theme/screenlock_mgr/utils/src/ |
| D | preferences_util.cpp | 38 int PreferencesUtil::SaveString(const std::string &key, const std::string &value) in SaveString() 49 std::string PreferencesUtil::ObtainString(const std::string &key, const std::string &defValue) in ObtainString() 58 int PreferencesUtil::SaveInt(const std::string &key, int value) in SaveInt() 69 int PreferencesUtil::ObtainInt(const std::string &key, int defValue) in ObtainInt() 78 int PreferencesUtil::SaveBool(const std::string &key, bool value) in SaveBool() 89 bool PreferencesUtil::ObtainBool(const std::string &key, bool defValue) in ObtainBool() 98 int PreferencesUtil::SaveLong(const std::string &key, int64_t value) in SaveLong() 109 int64_t PreferencesUtil::ObtainLong(const std::string &key, int64_t defValue) in ObtainLong() 118 int PreferencesUtil::SaveFloat(const std::string &key, float value) in SaveFloat() 129 float PreferencesUtil::ObtainFloat(const std::string &key, float defValue) in ObtainFloat() [all …]
|
| /base/telephony/core_service/utils/preferences/src/ |
| D | tel_profile_util.cpp | 34 int TelProfileUtil::SaveString(const std::string &key, const std::string &value) in SaveString() 45 std::string TelProfileUtil::ObtainString(const std::string &key, const std::string &defValue) in ObtainString() 54 int TelProfileUtil::SaveInt(const std::string &key, int value) in SaveInt() 65 int TelProfileUtil::ObtainInt(const std::string &key, int defValue) in ObtainInt() 74 int TelProfileUtil::SaveBool(const std::string &key, bool value) in SaveBool() 85 bool TelProfileUtil::ObtainBool(const std::string &key, bool defValue) in ObtainBool() 94 int TelProfileUtil::SaveLong(const std::string &key, int64_t value) in SaveLong() 105 int64_t TelProfileUtil::ObtainLong(const std::string &key, int64_t defValue) in ObtainLong() 114 int TelProfileUtil::SaveFloat(const std::string &key, float value) in SaveFloat() 125 float TelProfileUtil::ObtainFloat(const std::string &key, float defValue) in ObtainFloat() [all …]
|
| /base/telephony/telephony_data/common/src/ |
| D | preferences_util.cpp | 39 int PreferencesUtil::SaveString(const std::string &key, const std::string &value) in SaveString() 50 std::string PreferencesUtil::ObtainString(const std::string &key, const std::string &defValue) in ObtainString() 59 int PreferencesUtil::SaveInt(const std::string &key, int value) in SaveInt() 70 int PreferencesUtil::ObtainInt(const std::string &key, int defValue) in ObtainInt() 79 int PreferencesUtil::SaveBool(const std::string &key, bool value) in SaveBool() 90 bool PreferencesUtil::ObtainBool(const std::string &key, bool defValue) in ObtainBool() 99 int PreferencesUtil::SaveLong(const std::string &key, int64_t value) in SaveLong() 110 int64_t PreferencesUtil::ObtainLong(const std::string &key, int64_t defValue) in ObtainLong() 119 int PreferencesUtil::SaveFloat(const std::string &key, float value) in SaveFloat() 130 float PreferencesUtil::ObtainFloat(const std::string &key, float defValue) in ObtainFloat() [all …]
|
| /base/powermgr/battery_manager/test/unittest/src/ |
| D | battery_config_test.cpp | 74 std::string key = "soc.warning"; variable 93 std::string key = "temperature.high"; variable 113 std::string key = "temperature.low"; variable 133 std::string key = "soc.shutdown"; variable 152 std::string key = "soc.low"; variable 224 std::string key = "light.high.soc"; variable 245 std::string key = "invalid.key"; variable
|
| /base/update/updateservice/foundations/ability/utils/include/ |
| D | json_builder.h | 31 JsonBuilder &Append(const std::string &key, const uint32_t value) in Append() 36 JsonBuilder &Append(const std::string &key, const int32_t value) in Append() 41 JsonBuilder &Append(const std::string &key, const bool value) in Append() 47 JsonBuilder &Append(const std::string &key, const int64_t value) in Append() 63 JsonBuilder &Append(const std::string &key, const JsonBuilder &jsonBuilder) in Append() 70 JsonBuilder &Append(const std::string &key, const std::vector<JsonBuilder> &valueList) in Append() 95 JsonBuilder &AppendNum(const std::string &key, const std::string &value) in AppendNum()
|
| /base/powermgr/battery_statistics/test/unittest/include/servicetest/utils/ |
| D | hisysevent_operation.h | 73 static void AppendData(EventBase &eventBase, const std::string &key, T value) in AppendData() 87 …static void InnerCombine(EventBase &eventBase, const std::string &key, bool value, Types... keyVal… in InnerCombine() 94 …static void InnerCombine(EventBase &eventBase, const std::string &key, const char value, Types... … in InnerCombine() 101 static void InnerCombine(EventBase &eventBase, const std::string &key, in InnerCombine() 109 …static void InnerCombine(EventBase &eventBase, const std::string &key, const short value, Types...… in InnerCombine() 116 static void InnerCombine(EventBase &eventBase, const std::string &key, in InnerCombine() 124 …static void InnerCombine(EventBase &eventBase, const std::string &key, const int value, Types... k… in InnerCombine() 131 …static void InnerCombine(EventBase &eventBase, const std::string &key, const unsigned int value, T… in InnerCombine() 138 …static void InnerCombine(EventBase &eventBase, const std::string &key, const long value, Types... … in InnerCombine() 145 static void InnerCombine(EventBase &eventBase, const std::string &key, in InnerCombine() [all …]
|
| /base/security/security_guard/frameworks/common/json/src/ |
| D | json_cfg.cpp | 19 bool JsonCfg::Unmarshal(uint64_t &data, nlohmann::json jsonObj, std::string key) in Unmarshal() 26 bool JsonCfg::Unmarshal(int64_t &data, nlohmann::json jsonObj, std::string key) in Unmarshal() 33 bool JsonCfg::Unmarshal(uint32_t &data, nlohmann::json jsonObj, std::string key) in Unmarshal() 40 bool JsonCfg::Unmarshal(int32_t &data, nlohmann::json jsonObj, std::string key) in Unmarshal() 47 bool JsonCfg::Unmarshal(std::string &data, nlohmann::json jsonObj, std::string key) in Unmarshal() 54 bool JsonCfg::Unmarshal(std::vector<int32_t> &data, nlohmann::json jsonObj, std::string key) in Unmarshal() 67 bool JsonCfg::Unmarshal(std::vector<std::string> &data, nlohmann::json jsonObj, std::string key) in Unmarshal() 80 bool JsonCfg::Unmarshal(std::vector<int64_t> &data, nlohmann::json jsonObj, std::string key) in Unmarshal()
|
| /base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/ |
| D | hks_crypto_hal_api_mbedtls.cpp | 92 HksBlob key = {}; variable 113 HksBlob key = {}; variable 128 HksBlob key = { .size = 0, .data = nullptr }; variable 163 HksBlob key = { .size = 0, .data = nullptr }; variable 198 HksBlob key = { .size = 1, .data = buff }; variable 222 HksBlob key = { .size = 1, .data = buff }; variable 245 HksBlob key = { .size = sizeof(buff), .data = buff }; variable 269 HksBlob key = { .size = sizeof(buff), .data = buff }; variable 291 HksBlob key; variable 339 HksBlob key = { .size = 0, .data = NULL }; variable [all …]
|
| D | hks_crypto_hal_api_openssl.cpp | 91 HksBlob key = {}; variable 111 HksBlob key = {}; variable 148 HksBlob key = { .size = 0, .data = nullptr }; variable 183 HksBlob key = { .size = 0, .data = nullptr }; variable 218 HksBlob key = { .size = 1, .data = buff }; variable 254 HksBlob key = { .size = 1, .data = buff }; variable 282 HksBlob key = { .size = sizeof(buff), .data = buff }; variable 306 HksBlob key = { .size = 0, .data = nullptr }; variable 333 HksBlob key = { .size = 0, .data = nullptr }; variable 366 HksBlob key = { .size = sizeof(buff), .data = buff }; variable [all …]
|
| /base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_database_test/ |
| D | distributed_preferences_database_test.cpp | 92 std::string key = "aa"; variable 108 std::string key = "aa"; variable 124 std::string key = "aa"; variable 138 std::string key = "aa"; variable 154 std::string key = "aa"; variable 171 std::string key = "aa"; variable 188 std::string key = "aa"; variable 248 std::string key = "aa"; variable 263 std::string key = "aa"; variable 278 std::string key = "aa"; variable
|
| /base/hiviewdfx/hiview/base/event_raw/include/decoded/ |
| D | decoded_param.h | 31 DecodedParam(uint8_t* rawData, const size_t maxLen, size_t& pos, const std::string& key) in DecodedParam() 64 …ignedVarintDecodedParam(uint8_t* rawData, const size_t maxLen, size_t& pos, const std::string& key) in UnsignedVarintDecodedParam() 77 …VarintDecodedArrayParam(uint8_t* rawData, const size_t maxLen, size_t& pos, const std::string& key) in UnsignedVarintDecodedArrayParam() 90 …ignedVarintDecodedParam(uint8_t* rawData, const size_t maxLen, size_t& pos, const std::string& key) in SignedVarintDecodedParam() 103 …VarintDecodedArrayParam(uint8_t* rawData, const size_t maxLen, size_t& pos, const std::string& key) in SignedVarintDecodedArrayParam() 116 …atingNumberDecodedParam(uint8_t* rawData, const size_t maxLen, size_t& pos, const std::string& key) in FloatingNumberDecodedParam() 129 …NumberDecodedArrayParam(uint8_t* rawData, const size_t maxLen, size_t& pos, const std::string& key) in FloatingNumberDecodedArrayParam() 142 StringDecodedParam(uint8_t* rawData, const size_t maxLen, size_t& pos, const std::string& key) in StringDecodedParam() 155 …StringDecodedArrayParam(uint8_t* rawData, const size_t maxLen, size_t& pos, const std::string& key) in StringDecodedArrayParam()
|
| /base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/ |
| D | hks_attest_utils_test.cpp | 66 struct HksBlob key = { 1, buffer }; variable 84 struct HksBlob key = { 1, buffer }; variable 100 struct HksBlob key = { 1, buffer }; variable 118 struct HksBlob key = { 1, buffer }; variable 134 struct HksBlob key = { ASN_1_MAX_HEADER_LEN + 1, buffer }; variable 150 struct HksBlob key = { ASN_1_MAX_HEADER_LEN + 1, buffer }; variable 166 struct HksBlob key = { ASN_1_MAX_HEADER_LEN + 1, buffer }; variable 183 struct HksBlob key = { ASN_1_MAX_HEADER_LEN + 1, buffer }; variable 200 struct HksBlob key = { ASN_1_MAX_HEADER_LEN + 1, buffer }; variable
|
| /base/hiviewdfx/hiview/plugins/performance/timer/ |
| D | SceneTimerOhImpl.cpp | 46 int key = BuildRecordKey(user, id); in Start() local 54 int key = BuildRecordKey(user, id); in Stop() local 75 void SceneTimerOhImpl::FillRecordAndNotify(int key, long long expireTs) in FillRecordAndNotify() 86 void SceneTimerOhImpl::ValidateDuplication(int key) in ValidateDuplication() 94 void SceneTimerOhImpl::ValidateExistence(int key) in ValidateExistence() 114 int key = it->first; in CheckRecordsAndTrigger() local 160 int SceneTimerOhImpl::ExtractUserFromRecordKey(int key) in ExtractUserFromRecordKey() 165 int SceneTimerOhImpl::ExtractIdFromRecordKey(int key) in ExtractIdFromRecordKey() 170 void SceneTimerOhImpl::RemoveRecordAndNotify(int key) in RemoveRecordAndNotify()
|