Home
last modified time | relevance | path

Searched defs:key (Results 26 – 50 of 2549) sorted by relevance

12345678910>>...102

/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/utils/
H A Ddps_metadata_info.cpp34 auto key = parcel.ReadString(); in ReadFromParcel() local
113 DpsMetadataError DpsMetadata::Get(const std::string &key, int32_t &value) const in Get() argument
118 DpsMetadataError DpsMetadata::Get(const std::string &key, int64_t &value) const in Get() argument
123 DpsMetadataError DpsMetadata::Get(const std::string &key, double &value) const in Get() argument
128 DpsMetadataError DpsMetadata::Get(const std::string &key, std::string &value) const in Get() argument
133 DpsMetadataError DpsMetadata::Set(const std::string &key, int32_t value) in Set()
138 DpsMetadataError DpsMetadata::Set(const std::string &key, int64_t value) in Set()
143 DpsMetadataError DpsMetadata::Set(const std::string &key, double value) in Set()
148 DpsMetadataError DpsMetadata::Set(const std::string &key, const std::string& value) in Set()
154 DpsMetadataError DpsMetadata::Get(const std::string &key, DpsDataType type, T &value) const in Get() argument
[all …]
/ohos5.0/foundation/filemanagement/dfs_service/utils/preference/src/
H A Dcloud_pref_impl.cpp60 void CloudPrefImpl::SetString(const std::string& key, const std::string& value) in SetString()
70 void CloudPrefImpl::GetString(const std::string& key, std::string &value) in GetString()
79 void CloudPrefImpl::SetLong(const std::string& key, const int64_t value) in SetLong()
89 void CloudPrefImpl::GetLong(const std::string& key, int64_t &value) in GetLong()
98 void CloudPrefImpl::SetInt(const std::string& key, const int value) in SetInt()
108 void CloudPrefImpl::GetInt(const std::string& key, int32_t &value) in GetInt()
117 void CloudPrefImpl::SetBool(const std::string& key, const bool& value) in SetBool()
127 void CloudPrefImpl::GetBool(const std::string& key, bool& value) in GetBool()
146 void CloudPrefImpl::Delete(const std::string& key) in Delete()
/ohos5.0/foundation/graphic/graphic_surface/surface/src/
H A Dbuffer_extra_data_impl.cpp41 auto key = parcel.ReadString(); in ReadFromParcel() local
123 GSError BufferExtraDataImpl::ExtraGet(const std::string &key, int32_t &value) const in ExtraGet() argument
128 GSError BufferExtraDataImpl::ExtraGet(const std::string &key, int64_t &value) const in ExtraGet() argument
133 GSError BufferExtraDataImpl::ExtraGet(const std::string &key, double &value) const in ExtraGet() argument
138 GSError BufferExtraDataImpl::ExtraGet(const std::string &key, std::string &value) const in ExtraGet() argument
143 GSError BufferExtraDataImpl::ExtraSet(const std::string &key, int32_t value) in ExtraSet()
148 GSError BufferExtraDataImpl::ExtraSet(const std::string &key, int64_t value) in ExtraSet()
153 GSError BufferExtraDataImpl::ExtraSet(const std::string &key, double value) in ExtraSet()
158 GSError BufferExtraDataImpl::ExtraSet(const std::string &key, const std::string& value) in ExtraSet()
164 GSError BufferExtraDataImpl::ExtraGet(const std::string &key, ExtraDataType type, T &value) const in ExtraGet() argument
[all …]
/ohos5.0/foundation/multimodalinput/input/service/key_command/test/
H A Dsetting_datashare_test.cpp56 std::string key = "settingDateShare"; variable
71 std::string key = "settingDateShare"; variable
87 std::string key = "settingDateShare"; variable
103 std::string key = "settingDateShare"; variable
119 std::string key = "settingDateShare"; variable
133 std::string key = "settingDateShare"; variable
148 std::string key = "settingDateShare"; variable
163 std::string key = "settingDateShare"; variable
181 std::string key = "settingDateShare"; variable
197 std::string key = "SettingObserver"; variable
/ohos5.0/base/telephony/telephony_data/common/src/
H A Dpreferences_util.cpp39 int PreferencesUtil::SaveString(const std::string &key, const std::string &value) in SaveString()
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()
139 bool PreferencesUtil::IsExistKey(const std::string &key) in IsExistKey()
[all …]
/ohos5.0/base/theme/screenlock_mgr/utils/src/
H A Dpreferences_util.cpp38 int PreferencesUtil::SaveString(const std::string &key, const std::string &value) in SaveString()
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()
138 bool PreferencesUtil::IsExistKey(const std::string &key) in IsExistKey()
[all …]
/ohos5.0/base/telephony/core_service/utils/preferences/src/
H A Dtel_profile_util.cpp34 int TelProfileUtil::SaveString(const std::string &key, const std::string &value) in SaveString()
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()
134 bool TelProfileUtil::IsExistKey(const std::string &key) in IsExistKey()
[all …]
/ohos5.0/base/update/updateservice/foundations/ability/utils/include/
H A 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()
95 JsonBuilder &AppendNum(const std::string &key, const std::string &value) in AppendNum()
/ohos5.0/base/powermgr/battery_manager/test/unittest/src/
H A 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
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/test/unittest/fake/hiview/include/
H A Dhievent.h86 HiEvent& PutBool(const std::string& key, bool value) in PutBool()
96 HiEvent& PutByte(const std::string& key, unsigned char value) in PutByte()
106 HiEvent& PutShort(const std::string& key, short value) in PutShort()
117 HiEvent& PutInt(const std::string& key, int value) in PutInt()
127 HiEvent& PutLong(const std::string& key, long value) in PutLong()
137 HiEvent& PutFloat(const std::string& key, float value) in PutFloat()
147 HiEvent& PutString(const std::string& key, const std::string& value) in PutString()
158 HiEvent& PutHiEventArray(const std::string& key, const std::vector<HiEvent>& value) in PutHiEventArray()
/ohos5.0/base/security/crypto_framework/test/unittest/src/aes_cipher/
H A 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 …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/state_manage/
H A Dcj_persistent_storage_ffi.cpp27 bool GetValueFromStorage(std::string key, std::string& result) in GetValueFromStorage()
42 void SetValueToStorage(std::string key, std::string value) in SetValueToStorage()
57 NativeOptionCString FfiOHOSAceFrameworkPersistentGetString(const char* key) in FfiOHOSAceFrameworkPersistentGetString()
73 void FfiOHOSAceFrameworkPersistentSetString(const char* key, const char* value, NotifyCallbackStrin… in FfiOHOSAceFrameworkPersistentSetString()
87 NativeOptionInt64 FfiOHOSAceFrameworkPersistentGetInt64(const char* key) in FfiOHOSAceFrameworkPersistentGetInt64()
103 void FfiOHOSAceFrameworkPersistentSetInt64(const char* key, int64_t value, NotifyCallbackInt64 call… in FfiOHOSAceFrameworkPersistentSetInt64()
118 NativeOptionFloat64 FfiOHOSAceFrameworkPersistentGetFloat64(const char* key) in FfiOHOSAceFrameworkPersistentGetFloat64()
134 void FfiOHOSAceFrameworkPersistentSetFloat64(const char* key, double value, NotifyCallbackFloat64 c… in FfiOHOSAceFrameworkPersistentSetFloat64()
149 NativeOptionBool FfiOHOSAceFrameworkPersistentGetBool(const char* key) in FfiOHOSAceFrameworkPersistentGetBool()
165 void FfiOHOSAceFrameworkPersistentSetBool(const char* key, bool value, NotifyCallbackBool callback) in FfiOHOSAceFrameworkPersistentSetBool()
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/common/include/
H A Dstorage_rl_map.h30 V ReadVal(const K& key) in ReadVal()
35 void Erase(const K& key) in Erase()
40 bool Insert(const K& key, const V& value) in Insert()
56 bool Contains(const K& key) in Contains()
65 typename std::map<K, V>::iterator Find(const K& key) in Find()
70 typename std::map<K, V>::const_iterator Find(const K& key) const in Find()
/ohos5.0/base/security/security_guard/frameworks/common/json/src/
H A Djson_cfg.cpp19 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()
/ohos5.0/base/powermgr/battery_statistics/test/unittest/include/servicetest/utils/
H A 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()
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()
161 const std::string &key, const unsigned long long value, Types... keyValues) in InnerCombine()
[all …]
/ohos5.0/base/security/crypto_framework/test/unittest/src/
H A Dcrypto_sm4_generator_test.cpp78 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
407 HcfSymKey *key = nullptr; variable
[all …]
H A Dcrypto_3des_cipher_test.cpp235 HcfSymKey *key = nullptr; variable
282 HcfSymKey *key = nullptr; variable
330 HcfSymKey *key = nullptr; variable
378 HcfSymKey *key = nullptr; variable
429 HcfSymKey *key = nullptr; variable
479 HcfSymKey *key = nullptr; variable
529 HcfSymKey *key = nullptr; variable
581 HcfSymKey *key = nullptr; variable
631 HcfSymKey *key = nullptr; variable
683 HcfSymKey *key = nullptr; variable
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/json/
H A Duobject.cpp24 size_t HashItem(const std::string& key, const T& value) in HashItem()
332 void UObject::WriteKV(const std::string& key, size_t value) in WriteKV()
364 void UObject::WriteKV(const std::string& key, bool value) in WriteKV()
460 std::string key = ReadString(keyLen); in ReadKey() local
468 std::string key = ReadKey(); in ReadKV() local
473 std::string key = ReadKey(); in ReadKV() local
477 std::string key = ReadKey(); in ReadKV() local
481 std::string key = ReadKey(); in ReadKV() local
485 std::string key = ReadKey(); in ReadKV() local
489 std::string key = ReadKey(); in ReadKV() local
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/subscriber_managers/
H A Dpublished_data_subscriber_manager.cpp49 int PublishedDataSubscriberManager::Delete(const PublishedDataKey &key, uint32_t firstCallerTokenId) in Delete()
70 …publishedDataCache_.EraseIf([&callerTokenId, &callerPid](const auto &key, std::vector<ObserverNode… in Delete()
84 int PublishedDataSubscriberManager::Disable(const PublishedDataKey &key, uint32_t firstCallerTokenI… in Disable()
100 int PublishedDataSubscriberManager::Enable(const PublishedDataKey &key, uint32_t firstCallerTokenId) in Enable()
103 publishedDataCache_.ComputeIfPresent(key, [&firstCallerTokenId](const auto &key, in Enable()
104 std::vector<ObserverNode> &value) { in Enable()
123 const PublishedDataKey &key, std::vector<ObserverNode> &val) { in Emit()
144 for (auto &key : keys) { in Emit() local
159 const std::vector<ObserverNode> &val, const PublishedDataKey &key, in PutInto()
178 int PublishedDataSubscriberManager::GetCount(const PublishedDataKey &key) in GetCount()
[all …]
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/utils/common/
H A Djson_helper.cpp102 EffectJsonPtr EffectJson::GetElement(const std::string &key) in GetElement()
273 bool EffectJson::Put(const std::string &key, int32_t value) in Put()
278 bool EffectJson::Put(const std::string &key, uint32_t value) in Put()
283 bool EffectJson::Put(const std::string &key, float value) in Put()
288 bool EffectJson::Put(const std::string &key, double value) in Put()
294 bool EffectJson::Put(const std::string &key, bool value) in Put()
306 bool EffectJson::Put(const std::string &key, const char *value) in Put()
406 bool EffectJson::Replace(const std::string &key, int32_t value) in Replace()
416 bool EffectJson::Replace(const std::string &key, float value) in Replace()
421 bool EffectJson::Replace(const std::string &key, double value) in Replace()
[all …]
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
H A Dhks_crypto_hal_api_mbedtls.cpp92 HksBlob key = {}; variable
113 HksBlob key = {}; variable
128 HksBlob key = { .size = 0, .data = nullptr }; variable
198 HksBlob key = { .size = 1, .data = buff }; variable
222 HksBlob key = { .size = 1, .data = buff }; variable
291 HksBlob key; variable
339 HksBlob key = { .size = 0, .data = NULL }; variable
374 HksBlob key = { .size = 0, .data = NULL }; variable
394 HksBlob key = { .size = 0, .data = NULL }; variable
439 HksBlob key = { .size = 0, .data = NULL }; variable
[all …]
H A 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
306 HksBlob key = { .size = 0, .data = nullptr }; variable
333 HksBlob key = { .size = 0, .data = nullptr }; variable
491 HksBlob key = { .size = 0, .data = nullptr }; variable
577 HksBlob key = { .size = 0, .data = nullptr }; variable
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_database_test/
H A 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
/ohos5.0/foundation/systemabilitymgr/samgr/interfaces/innerkits/common/include/
H A Dparse_util.h72 static inline void GetBoolFromJson(const nlohmann::json& obj, const std::string& key, bool& out) in GetBoolFromJson()
79 …static inline void GetStringFromJson(const nlohmann::json& obj, const std::string& key, std::strin… in GetStringFromJson()
86 …static inline void GetInt32FromJson(const nlohmann::json& obj, const std::string& key, int32_t& ou… in GetInt32FromJson()
93 static inline void GetStringArrayFromJson(const nlohmann::json& obj, const std::string& key, in GetStringArrayFromJson()
105 static inline void GetIntArrayFromJson(const nlohmann::json& obj, const std::string& key, in GetIntArrayFromJson()
117 static inline void GetIntArrayFromJson(const nlohmann::json& obj, const std::string& key, in GetIntArrayFromJson()
/ohos5.0/base/hiviewdfx/hiview/base/event_raw/include/decoded/
H A 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()

12345678910>>...102