/ohos5.0/base/hiviewdfx/hiview/base/utility/ |
H A D | setting_observer_manager.cpp | 70 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 D | setting_observer_manager.h | 32 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 D | custom_event_param_dao.cpp | 144 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 D | sys_event_repeat_guard.cpp | 131 [] (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 D | event_export_engine.cpp | 121 [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 D | export_config_parser.cpp | 80 …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 D | screen_session_ability_connection.cpp | 222 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 D | wifi_common_event_helper.cpp | 78 …ventHelper::PublishEvent(const std::string &eventAction, const std::string ¶mKey, T paramValue, in PublishEvent() argument 82 eventAction.c_str(), paramKey.c_str(), code); in PublishEvent() 86 want.SetParam(paramKey, paramValue); in PublishEvent()
|
H A D | wifi_common_event_helper.h | 55 …static bool PublishEvent(const std::string &eventAction, const std::string ¶mKey, T paramValue,
|
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/ |
H A D | ability_tool_command.cpp | 417 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 D | app_domain_verify_data_mgr_test.cpp | 310 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 D | utils.cpp | 63 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 D | event_export_mgr_test.cpp | 52 [] (const std::string& paramKey) { in __anonf62509910202() argument
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/services/src/manager/core/ |
H A D | app_domain_verify_data_mgr.cpp | 164 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 D | export_config_parser.h | 73 bool ParseSettingDbParam(SettingDbParam& settingDbParam, const std::string& paramKey);
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/services/include/manager/core/ |
H A D | app_domain_verify_data_mgr.h | 71 bool GetParamKey(const std::string& bundleName, std::string& paramKey);
|
/ohos5.0/base/global/i18n/frameworks/intl/include/ |
H A D | utils.h | 35 std::string ReadSystemParameter(const char *paramKey, const int paramLength);
|
/ohos5.0/base/hiviewdfx/hiview/base/event_raw/encoded/ |
H A D | raw_data_builder.cpp | 251 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 D | dslm_credential_utils.c | 467 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 D | screen_session_ability_connection_test.cpp | 272 std::string paramKey = "requestReason"; variable 274 want.SetParam(paramKey, paramValue);
|
/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/ |
H A D | intl_test.cpp | 1937 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 D | atomicserviceweb.ets | 411 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 D | medialibrary_rdbstore.cpp | 3175 const string paramKey = "multimedia.medialibrary.startup." + to_string(uid); in ResetCloudCursorAfterInitFinish() local 3177 if (WaitParameter(paramKey.c_str(), "true", maxTryTimes) == E_OK) { in ResetCloudCursorAfterInitFinish()
|