Home
last modified time | relevance | path

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

12345678910>>...24

/base/msdp/device_status/tools/vdev/json/
Dsimulate_keyboard_clicks.json6 { "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/
Dpreference_utils_empty.cpp28 bool PreferencesUtil::SaveString(const std::string &key, const std::string &value) in SaveString()
33 bool PreferencesUtil::SaveInt(const std::string &key, int value) in SaveInt()
38 bool PreferencesUtil::SaveBool(const std::string &key, bool value) in SaveBool()
43 bool PreferencesUtil::SaveLong(const std::string &key, int64_t value) in SaveLong()
48 bool PreferencesUtil::SaveFloat(const std::string &key, float value) in SaveFloat()
54 bool PreferencesUtil::Save(const std::string &key, const T &value) in Save()
59 std::string PreferencesUtil::ObtainString(const std::string &key, const std::string &defValue) in ObtainString()
64 int PreferencesUtil::ObtainInt(const std::string &key, int defValue) in ObtainInt()
69 bool PreferencesUtil::ObtainBool(const std::string &key, bool defValue) in ObtainBool()
74 int64_t PreferencesUtil::ObtainLong(const std::string &key, int64_t defValue) in ObtainLong()
[all …]
Dpreference_utils.cpp49 bool PreferencesUtil::SaveString(const std::string &key, const std::string &value) in SaveString()
54 bool PreferencesUtil::SaveInt(const std::string &key, int value) in SaveInt()
59 bool PreferencesUtil::SaveBool(const std::string &key, bool value) in SaveBool()
64 bool PreferencesUtil::SaveLong(const std::string &key, int64_t value) in SaveLong()
69 bool PreferencesUtil::SaveFloat(const std::string &key, float value) in SaveFloat()
75 bool PreferencesUtil::Save(const std::string &key, const T &value) in Save()
89 …std::shared_ptr<NativePreferences::Preferences> ptr, const std::string &key, const std::string &va… in SaveInner()
95 std::shared_ptr<NativePreferences::Preferences> ptr, const std::string &key, const int &value) in SaveInner()
101 std::shared_ptr<NativePreferences::Preferences> ptr, const std::string &key, const bool &value) in SaveInner()
107 … std::shared_ptr<NativePreferences::Preferences> ptr, const std::string &key, const int64_t &value) in SaveInner()
[all …]
/base/hiviewdfx/hiappevent/interfaces/native/inner_api/src/
Dapp_event.cpp29 void Event::AddParam(const std::string& key, bool value) in AddParam()
34 void Event::AddParam(const std::string& key, int32_t value) in AddParam()
39 void Event::AddParam(const std::string& key, int64_t value) in AddParam()
44 void Event::AddParam(const std::string& key, double value) in AddParam()
49 void Event::AddParam(const std::string& key, const std::string& value) in AddParam()
54 void Event::AddParam(const std::string& key, const std::vector<bool>& value) in AddParam()
59 void Event::AddParam(const std::string& key, const std::vector<int32_t>& value) in AddParam()
64 void Event::AddParam(const std::string& key, const std::vector<int64_t>& value) in AddParam()
69 void Event::AddParam(const std::string& key, const std::vector<double>& value) in AddParam()
74 void Event::AddParam(const std::string& key, const std::vector<std::string>& value) in AddParam()
/base/security/crypto_framework/test/unittest/src/aes_cipher/
Dcrypto_aes_ecb_cipher_test.cpp59 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 …]
Dcrypto_aes_cipher_test.cpp49 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 …]
Dcrypto_aes_cfb_cipher_test.cpp55 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/useriam/user_auth_framework/frameworks/native/common/attributes/src/
Dattributes.cpp183 bool Attributes::Impl::SetBoolValue(AttributeKey key, bool value) in SetBoolValue()
200 bool Attributes::Impl::SetUint64Value(AttributeKey key, uint64_t value) in SetUint64Value()
217 bool Attributes::Impl::SetUint32Value(AttributeKey key, uint32_t value) in SetUint32Value()
234 bool Attributes::Impl::SetUint16Value(AttributeKey key, uint16_t value) in SetUint16Value()
251 bool Attributes::Impl::SetUint8Value(AttributeKey key, uint8_t value) in SetUint8Value()
268 bool Attributes::Impl::SetInt32Value(AttributeKey key, int32_t value) in SetInt32Value()
285 bool Attributes::Impl::SetStringValue(AttributeKey key, const std::string &value) in SetStringValue()
302 bool Attributes::Impl::SetUint64ArrayValue(AttributeKey key, const std::vector<uint64_t> &value) in SetUint64ArrayValue()
319 bool Attributes::Impl::SetUint32ArrayValue(AttributeKey key, const std::vector<uint32_t> &value) in SetUint32ArrayValue()
336 bool Attributes::Impl::SetUint16ArrayValue(AttributeKey key, const std::vector<uint16_t> &value) in SetUint16ArrayValue()
[all …]
/base/security/crypto_framework/test/unittest/src/
Dcrypto_sm4_ecb_cipher_test.cpp53 HcfSymKey *key = nullptr; variable
100 HcfSymKey *key = nullptr; variable
148 HcfSymKey *key = nullptr; variable
195 HcfSymKey *key = nullptr; variable
242 HcfSymKey *key = nullptr; variable
290 HcfSymKey *key = nullptr; variable
333 HcfSymKey *key = nullptr; variable
362 HcfSymKey *key = nullptr; variable
391 HcfSymKey *key = nullptr; variable
431 HcfSymKey *key = nullptr; variable
[all …]
Dcrypto_sm4_generator_test.cpp56 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 …]
Dcrypto_3des_cipher_test.cpp55 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 …]
Dcrypto_sm4_cipher_test.cpp58 HcfSymKey *key = nullptr; variable
106 HcfSymKey *key = nullptr; variable
153 HcfSymKey *key = nullptr; variable
199 HcfSymKey *key = nullptr; variable
248 HcfSymKey *key = nullptr; variable
294 HcfSymKey *key = nullptr; variable
342 HcfSymKey *key = nullptr; variable
390 HcfSymKey *key = nullptr; variable
437 HcfSymKey *key = nullptr; variable
484 HcfSymKey *key = nullptr; variable
[all …]
Dcrypto_sm4_cfb_cipher_test.cpp53 HcfSymKey *key = nullptr; variable
101 HcfSymKey *key = nullptr; variable
149 HcfSymKey *key = nullptr; variable
197 HcfSymKey *key = nullptr; variable
245 HcfSymKey *key = nullptr; variable
293 HcfSymKey *key = nullptr; variable
341 HcfSymKey *key = nullptr; variable
388 HcfSymKey *key = nullptr; variable
436 HcfSymKey *key = nullptr; variable
484 HcfSymKey *key = nullptr; variable
[all …]
/base/update/updateservice/interfaces/inner_api/include/
Djson_builder.h31 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()
94 JsonBuilder &AppendNum(const std::string &key, const std::string &value) in AppendNum()
/base/powermgr/battery_manager/test/unittest/src/
Dbattery_config_test.cpp74 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/telephony/core_service/utils/preferences/src/
Dtel_profile_util.cpp34 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/
Dpreferences_util.cpp44 int PreferencesUtil::SaveString(const std::string &key, const std::string &value) in SaveString()
55 std::string PreferencesUtil::ObtainString(const std::string &key, const std::string &defValue) in ObtainString()
64 int PreferencesUtil::SaveInt(const std::string &key, int value) in SaveInt()
75 int PreferencesUtil::ObtainInt(const std::string &key, int defValue) in ObtainInt()
84 int PreferencesUtil::SaveBool(const std::string &key, bool value) in SaveBool()
95 bool PreferencesUtil::ObtainBool(const std::string &key, bool defValue) in ObtainBool()
104 int PreferencesUtil::SaveLong(const std::string &key, int64_t value) in SaveLong()
115 int64_t PreferencesUtil::ObtainLong(const std::string &key, int64_t defValue) in ObtainLong()
124 int PreferencesUtil::SaveFloat(const std::string &key, float value) in SaveFloat()
135 float PreferencesUtil::ObtainFloat(const std::string &key, float defValue) in ObtainFloat()
[all …]
/base/powermgr/battery_statistics/test/unittest/include/servicetest/utils/
Dhisysevent_operation.h73 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/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_database_test/
Ddistributed_preferences_database_test.cpp92 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/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_api_mbedtls.cpp92 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 …]
Dhks_crypto_hal_api_openssl.cpp91 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/hiviewdfx/hiview/base/event_raw/include/decoded/
Ddecoded_param.h31 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/hiviewdfx/hiview/base/utility/
Dparameter_ex.cpp24 std::string GetString(const std::string& key, const std::string& defaultValue) in GetString()
29 int64_t GetInteger(const std::string& key, const int64_t defaultValue) in GetInteger()
34 uint64_t GetUnsignedInteger(const std::string& key, const uint64_t defaultValue) in GetUnsignedInteger()
39 bool GetBoolean(const std::string& key, const bool defaultValue) in GetBoolean()
44 bool SetProperty(const std::string& key, const std::string& defaultValue) in SetProperty()
49 int WaitParamSync(const char *key, const char *value, int timeout) in WaitParamSync()
/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/
Dhks_attest_utils_test.cpp66 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/theme/wallpaper_mgr/utils/include/
Dconcurrent_map.h78 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find()
89 bool Contains(const key_type &key) const noexcept in Contains()
96 bool InsertOrAssign(const key_type &key, _Obj &&obj) noexcept in InsertOrAssign()
103 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert()
110 size_type Erase(const key_type &key) noexcept in Erase()
136 …size_type EraseIf(const std::function<bool(const key_type &key, mapped_type &value)> &action) noex… in EraseIf()
192 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute()
213 …bool ComputeIfPresent(const key_type &key, const std::function<bool(const key_type &, mapped_type … in ComputeIfPresent()
229 …bool ComputeIfAbsent(const key_type &key, const std::function<mapped_type(const key_type &)> &acti… in ComputeIfAbsent()

12345678910>>...24