Home
last modified time | relevance | path

Searched refs:paramKey (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dsetting_observer_manager.cpp70 auto observer = GetSettingObserver(paramKey); in RegisterObserver()
73 UnregisterObserver(paramKey); in RegisterObserver()
80 Uri uri = AssembleUri(paramKey); in RegisterObserver()
81 observer = new SettingObserver(paramKey, callback); in RegisterObserver()
86 observers_[paramKey] = observer; in RegisterObserver()
92 auto observer = GetSettingObserver(paramKey); in UnregisterObserver()
102 Uri uri = AssembleUri(paramKey); in UnregisterObserver()
107 observers_.erase(paramKey); in UnregisterObserver()
119 predicates.EqualTo("KEYWORD", paramKey); in GetStringValue()
121 Uri uri = AssembleUri(paramKey); in GetStringValue()
[all …]
/ohos5.0/base/hiviewdfx/hiview/base/utility/include/
H A Dsetting_observer_manager.h32 SettingObserver(const std::string& paramKey, ObserverCallback callback) in SettingObserver() argument
33 : paramKey_(paramKey), callback_(callback) {} in SettingObserver()
46 bool RegisterObserver(const std::string& paramKey, SettingObserver::ObserverCallback callback);
47 bool UnregisterObserver(const std::string& paramKey);
48 std::string GetStringValue(const std::string& paramKey, const std::string& defaultVal = "");
51 Uri AssembleUri(const std::string& paramKey);
52 sptr<SettingObserver> GetSettingObserver(const std::string& paramKey);
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/
H A Dcustom_event_param_dao.cpp144 std::string paramKey; in QueryParamkeys() local
145 if (resultSet->GetString(0, paramKey) != NativeRdb::E_OK) { in QueryParamkeys()
150 out.insert(paramKey); in QueryParamkeys()
172 std::string paramKey; in Query() local
174 if (resultSet->GetString(0, paramKey) != NativeRdb::E_OK in Query()
180 params[paramKey] = paramValue; in Query()
/ohos5.0/base/hiviewdfx/hiview/base/event_store/store/
H A Dsys_event_repeat_guard.cpp131 [] (const std::string& paramKey) { in RegisterListeningUeSwitch() argument
132 std::string val = SettingObserverManager::GetInstance()->GetStringValue(paramKey); in RegisterListeningUeSwitch()
133 … HIVIEW_LOGI("value of param key[%{public}s] is %{public}s", paramKey.c_str(), val.c_str()); in RegisterListeningUeSwitch()
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/event_export/
H A Devent_export_engine.cpp121 [this, &config] (const std::string& paramKey) { in RegistSettingObserver() argument
122 std::string val = SettingObserverManager::GetInstance()->GetStringValue(paramKey); in RegistSettingObserver()
123 … HIVIEW_LOGI("value of param key[%{public}s] is %{public}s", paramKey.c_str(), val.c_str()); in RegistSettingObserver()
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/event_export/config/
H A Dexport_config_parser.cpp80 …xportConfigParser::ParseSettingDbParam(SettingDbParam& settingDbParam, const std::string& paramKey) in ParseSettingDbParam() argument
82 cJSON* settingDbParamJson = cJSON_GetObjectItem(jsonRoot_, paramKey.c_str()); in ParseSettingDbParam()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/connection/
H A Dscreen_session_ability_connection.cpp222 std::string paramKey = param.first; in ScreenSessionConnectExtension() local
224 if (!paramKey.empty() && !paramValue.empty()) { in ScreenSessionConnectExtension()
225 want.SetParam(paramKey, paramValue); in ScreenSessionConnectExtension()
227 paramKey.c_str(), paramValue.c_str()); in ScreenSessionConnectExtension()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/
H A Dwifi_common_event_helper.cpp78 …ventHelper::PublishEvent(const std::string &eventAction, const std::string &paramKey, T paramValue, in PublishEvent() argument
82 eventAction.c_str(), paramKey.c_str(), code); in PublishEvent()
86 want.SetParam(paramKey, paramValue); in PublishEvent()
H A Dwifi_common_event_helper.h55 …static bool PublishEvent(const std::string &eventAction, const std::string &paramKey, T paramValue,
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/
H A Dability_tool_command.cpp417 std::string paramKey; in ParseTestArgsFromCmd() local
439 paramKey = "-s "; in ParseTestArgsFromCmd()
440 paramKey.append(tempKey); in ParseTestArgsFromCmd()
441 params[paramKey] = paramValue; in ParseTestArgsFromCmd()
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/services/app_domain_verify_data_mgr_test/
H A Dapp_domain_verify_data_mgr_test.cpp310 std::string paramKey = ""; variable
311 EXPECT_FALSE(appDomainVerifyDataMgr->GetParamKey(bundleName, paramKey));
323 std::string paramKey = ""; variable
324 EXPECT_TRUE(appDomainVerifyDataMgr->GetParamKey(bundleName, paramKey));
/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Dutils.cpp63 std::string ReadSystemParameter(const char *paramKey, const int paramLength) in ReadSystemParameter() argument
66 int status = GetParameter(paramKey, "", param, paramLength); in ReadSystemParameter()
70 HILOG_ERROR_I18N("GetParameter: get param for %{public}s failed.", paramKey); in ReadSystemParameter()
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/event_export/test/unittest/common/
H A Devent_export_mgr_test.cpp52 [] (const std::string& paramKey) { in __anonf62509910202() argument
/ohos5.0/foundation/bundlemanager/app_domain_verify/services/src/manager/core/
H A Dapp_domain_verify_data_mgr.cpp164 bool AppDomainVerifyDataMgr::GetParamKey(const std::string& bundleName, std::string& paramKey) in GetParamKey() argument
169 paramKey = bundleName; in GetParamKey()
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/event_export/config/include/
H A Dexport_config_parser.h73 bool ParseSettingDbParam(SettingDbParam& settingDbParam, const std::string& paramKey);
/ohos5.0/foundation/bundlemanager/app_domain_verify/services/include/manager/core/
H A Dapp_domain_verify_data_mgr.h71 bool GetParamKey(const std::string& bundleName, std::string& paramKey);
/ohos5.0/base/global/i18n/frameworks/intl/include/
H A Dutils.h35 std::string ReadSystemParameter(const char *paramKey, const int paramLength);
/ohos5.0/base/hiviewdfx/hiview/base/event_raw/encoded/
H A Draw_data_builder.cpp251 auto paramKey = param->GetKey(); in AppendValue() local
257 if ((*iter)->GetKey() == paramKey) { in AppendValue()
/ohos5.0/base/security/device_security_level/oem_property/common/
H A Ddslm_credential_utils.c467 static int32_t GetDataFromJson(DslmJsonHandle json, const char *paramKey, char *dest, uint32_t dest… in GetDataFromJson() argument
469 const char *data = DslmGetJsonFieldString(json, paramKey); in GetDataFromJson()
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_ability_connection_test.cpp272 std::string paramKey = "requestReason"; variable
274 want.SetParam(paramKey, paramValue);
/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/
H A Dintl_test.cpp1937 string paramKey = "const.global.language"; variable
1939 string res = ReadSystemParameter(paramKey.c_str(), paramLength);
1942 paramKey = "fake system param";
1943 res = ReadSystemParameter(paramKey.c_str(), paramLength);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/atomicserviceweb/source/
H A Datomicserviceweb.ets411 checkParamRequired<V, T>(paramKey: string, paramValue: V, options: BaseOptions<T>): boolean {
413 …this.errorWithCodeAndMsg(new AsError(PARAM_REQUIRED_ERROR_CODE, `Param ${paramKey} is required.`),…
419 …checkNumberParamPositive<T>(paramKey: string, paramValue: number, options: BaseOptions<T>): boolea…
422 `Param ${paramKey} must be a positive number.`), options);
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_rdbstore.cpp3175 const string paramKey = "multimedia.medialibrary.startup." + to_string(uid); in ResetCloudCursorAfterInitFinish() local
3177 if (WaitParameter(paramKey.c_str(), "true", maxTryTimes) == E_OK) { in ResetCloudCursorAfterInitFinish()