Home
last modified time | relevance | path

Searched refs:Parameter (Results 1 - 25 of 41) sorted by relevance

12

/base/hiviewdfx/hiview/plugins/unified_collector/test/unittest/common/
H A Dtrace_state_change_test.cpp73 g_originalTestAppTraceOn = Parameter::IsTestAppTraceOn(); in SetUp()
74 g_originalUCollectionSwitchOn = Parameter::IsUCollectionSwitchOn(); in SetUp()
75 g_originalTraceCollectionSwitchOn = Parameter::IsTraceCollectionSwitchOn(); in SetUp()
80 Parameter::SetProperty(HIVIEW_UCOLLECTION_TEST_APP_TRACE_STATE, ConvertBoolToString(g_originalTestAppTraceOn)); in TearDown()
82 Parameter::SetProperty(HIVIEW_UCOLLECTION_STATE, ConvertBoolToString(g_originalUCollectionSwitchOn)); in TearDown()
84 Parameter::SetProperty(DEVELOP_HIVIEW_TRACE_RECORDER, ConvertBoolToString(g_originalTraceCollectionSwitchOn)); in TearDown()
108 Parameter::SetBetaVersion(isBetaVersion); in HWTEST_F()
109 Parameter::SetDeveloperMode(isDeveloperMode); in HWTEST_F()
110 Parameter::SetProperty(HIVIEW_UCOLLECTION_TEST_APP_TRACE_STATE, ConvertBoolToString(isTestAppTraceOn)); in HWTEST_F()
111 Parameter in HWTEST_F()
[all...]
H A Dtrace_state_change_test.h30 namespace Parameter { namespace
/base/hiviewdfx/hiview/base/utility/test/unittest/common/
H A Dsystem_service_ohos_test.cpp40 auto ret = Parameter::IsBetaVersion(); in HWTEST_F()
41 auto userType = Parameter::GetString(KEY_HIVIEW_VERSION_TYPE, "unknown"); in HWTEST_F()
53 auto ret1 = Parameter::GetUnsignedInteger("TEST_KEY1", 200); in HWTEST_F()
55 auto ret2 = Parameter::GetBoolean("TEST_KEY2", true); in HWTEST_F()
57 auto ret3 = Parameter::SetProperty("TEST_KEY3", "1234"); in HWTEST_F()
59 auto ret4 = Parameter::GetString("TEST_KEY3", ""); in HWTEST_F()
61 auto ret5 = Parameter::GetInteger("TEST_KEY3", 0); in HWTEST_F()
/base/hiviewdfx/hiview/plugins/unified_collector/
H A Dunified_collector.cpp104 bool isBetaVersion = Parameter::IsBetaVersion(); in OnTestAppTraceStateChanged()
105 bool isUCollectionSwitchOn = Parameter::IsUCollectionSwitchOn(); in OnTestAppTraceStateChanged()
106 bool isTraceCollectionSwitchOn = Parameter::IsTraceCollectionSwitchOn(); in OnTestAppTraceStateChanged()
108 bool isDeveloperMode = Parameter::IsDeveloperMode(); in OnTestAppTraceStateChanged()
117 bool isBetaVersion = Parameter::IsBetaVersion(); in InitDynamicTrace()
118 bool isUCollectionSwitchOn = Parameter::IsUCollectionSwitchOn(); in InitDynamicTrace()
119 bool isTraceCollectionSwitchOn = Parameter::IsTraceCollectionSwitchOn(); in InitDynamicTrace()
123 bool isDeveloperMode = Parameter::IsDeveloperMode(); in InitDynamicTrace()
124 bool isTestAppTraceOn = Parameter::IsTestAppTraceOn(); in InitDynamicTrace()
130 int ret = Parameter in InitDynamicTrace()
[all...]
/base/hiviewdfx/hiview/test/unittest/unified_collection/client/
H A Dtrace_collector_client_test.cpp210 bool isBetaVersion = Parameter::IsBetaVersion(); in HWTEST_F()
211 bool isDevelopMode = Parameter::IsDeveloperMode(); in HWTEST_F()
212 bool isUCollectionSwitchOn = Parameter::IsUCollectionSwitchOn(); in HWTEST_F()
213 bool isTraceCollectionSwitchOn = Parameter::IsTraceCollectionSwitchOn(); in HWTEST_F()
214 bool isTestAppTraceOn = Parameter::IsTestAppTraceOn(); in HWTEST_F()
260 bool isBetaVersion = Parameter::IsBetaVersion(); in HWTEST_F()
261 bool isDevelopMode = Parameter::IsDeveloperMode(); in HWTEST_F()
262 bool isUCollectionSwitchOn = Parameter::IsUCollectionSwitchOn(); in HWTEST_F()
263 bool isTraceCollectionSwitchOn = Parameter::IsTraceCollectionSwitchOn(); in HWTEST_F()
264 bool isTestAppTraceOn = Parameter in HWTEST_F()
[all...]
/base/hiviewdfx/hiview/plugins/unified_collector/task/
H A Dcpu_collection_task.cpp39 if (Parameter::IsBetaVersion()) { in CpuCollectionTask()
49 if (Parameter::IsBetaVersion()) { in Collect()
113 if (Parameter::IsBetaVersion()) { in CollectCpuData()
123 if (Parameter::IsBetaVersion() && threadCpuCollectResult.retCode == UCollect::UcError::SUCCESS) { in CollectCpuData()
130 if (Parameter::IsBetaVersion()) { in CollectCpuData()
/base/hiviewdfx/hiview/plugins/sysevent_source/test/unittest/common/
H A Ddaily_controller_test.cpp91 uint32_t threshold = Parameter::IsBetaVersion() ? thresholdOnBeta : thresholdOnCommercial; in HWTEST_F()
107 uint32_t threshold = Parameter::IsBetaVersion() ? thresholdOnBeta : thresholdOnCommercial; in HWTEST_F()
123 uint32_t threshold = Parameter::IsBetaVersion() ? thresholdOnBeta : thresholdOnCommercial; in HWTEST_F()
139 uint32_t threshold = Parameter::IsBetaVersion() ? thresholdOnBeta : thresholdOnCommercial; in HWTEST_F()
155 uint32_t threshold = Parameter::IsBetaVersion() ? thresholdOnBeta : thresholdOnCommercial; in HWTEST_F()
171 uint32_t threshold = Parameter::IsBetaVersion() ? thresholdOnBeta : thresholdOnCommercial; in HWTEST_F()
187 uint32_t threshold = Parameter::IsBetaVersion() ? thresholdOnBeta : thresholdOnCommercial; in HWTEST_F()
203 uint32_t threshold = Parameter::IsBetaVersion() ? thresholdOnBeta : thresholdOnCommercial; in HWTEST_F()
/base/hiviewdfx/hiview/plugins/event_store/
H A Dsys_event_store.cpp56 lastBackupTime_ = Parameter::GetString(PROP_LAST_BACKUP, ""); in OnLoad()
75 Parameter::SetProperty(PROP_LAST_BACKUP, dateStr); in IsNeedBackup()
122 Parameter::SetProperty(PROP_LAST_BACKUP, dateStr); in OnEvent()
/base/hiviewdfx/hiview/plugins/event_store/event_export/task/export/
H A Dexport_json_file_writer.cpp100 cJSON_AddStringToObject(manufacturer, H_NAME_KEY, Parameter::GetManufactureStr().c_str()); in CreateManufacturerJsonObj()
101 cJSON_AddStringToObject(manufacturer, H_BRAND_KEY, Parameter::GetBrandStr().c_str()); in CreateManufacturerJsonObj()
113 cJSON_AddStringToObject(device, H_MODEL_KEY, Parameter::GetProductModelStr().c_str()); in CreateDeviceJsonObj()
114 cJSON_AddStringToObject(device, H_NAME_KEY, Parameter::GetMarketNameStr().c_str()); in CreateDeviceJsonObj()
115 cJSON_AddStringToObject(device, H_CATEGORY_KEY, Parameter::GetDeviceTypeStr().c_str()); in CreateDeviceJsonObj()
127 cJSON_AddStringToObject(system, H_OHOS_VER_KEY, Parameter::GetSysVersionDetailsStr().c_str()); in CreateSystemObj()
228 .append(Parameter::GetBrandStr()).append(std::string(ZIP_FILE_DELIM)) in AppendZipFile()
229 .append(Parameter::GetProductModelStr()).append(std::string(ZIP_FILE_DELIM)) in AppendZipFile()
230 .append(Parameter::GetSysVersionStr()).append(std::string(ZIP_FILE_DELIM)) in AppendZipFile()
/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/network/rule/
H A Ddomain_chain_rule_test.cpp56 * @tc.desc: Test Parameter func.
66 EXPECT_EQ(domainChainRule.Parameter(), parameter); in HWTEST_F()
72 EXPECT_EQ(domainChainRule1.Parameter(), parameter1); in HWTEST_F()
H A Dfirewall_chain_rule_test.cpp85 * @tc.desc: Test Parameter func.
95 EXPECT_EQ(firewallChainRule.Parameter(), parameter); in HWTEST_F()
101 EXPECT_EQ(firewallChainRule1.Parameter(), parameter); in HWTEST_F()
110 EXPECT_EQ(firewallChainRule2.Parameter(), parameter); in HWTEST_F()
/base/customization/enterprise_device_management/services/edm_plugin/include/network/rule/
H A Ddomain_chain_rule.h31 [[nodiscard]] std::string Parameter() const override;
H A Dfirewall_chain_rule.h32 [[nodiscard]] std::string Parameter() const override;
H A Dchain_rule.h33 [[nodiscard]] virtual std::string Parameter() const = 0;
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
H A Dtrace_collector_impl.cpp68 if (!Parameter::IsBetaVersion() && !Parameter::IsUCollectionSwitchOn()) { in StartDumpTrace()
/base/hiviewdfx/hiview/plugins/privacy_controller/config/
H A Darea_policy.cpp44 std::string version = Parameter::GetVersionTypeStr(); in Parse()
62 int32_t regionCode = Parameter::GetRegionCode(); in ParseAllowedInfos()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
H A Dcompliant_event_checker.cpp47 isSecureEnabeled_ = (Parameter::GetInteger("const.secure", SECURE_ENABALED_VAL) == SECURE_ENABALED_VAL); in CompliantEventChecker()
/base/hiviewdfx/hiview/test/unittest/unified_collection/utility/
H A Dtrace_collector_test.cpp158 if (Parameter::IsBetaVersion()) { in HWTEST_F()
184 if (Parameter::IsBetaVersion()) { in HWTEST_F()
274 if (Parameter::IsBetaVersion()) { in HWTEST_F()
317 if (Parameter::IsBetaVersion()) { in HWTEST_F()
342 if (Parameter::IsBetaVersion()) { in HWTEST_F()
368 if (Parameter::IsBetaVersion()) { in HWTEST_F()
394 if (Parameter::IsBetaVersion()) { in HWTEST_F()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/
H A Devent_checker_test.cpp41 if (Parameter::GetInteger("const.secure", 1) == 0) { // 1 and 0 is test value in HWTEST_F()
/base/startup/init/interfaces/kits/cj/src_enhance/
H A Dsystem_parameter_ffi.cpp22 namespace Parameter { namespace
/base/hiviewdfx/hiview/plugins/unified_collector/test/unittest/common/mock/
H A Dmock_parameter_ex.cpp26 namespace Parameter { namespace
160 std::string displayedVersionStr = Parameter::GetDisplayVersionStr(); in GetSysVersionStr()
189 } // namespace Parameter
/base/hiviewdfx/hiview/base/utility/
H A Dparameter_ex.cpp24 namespace Parameter { namespace
146 std::string displayedVersionStr = Parameter::GetDisplayVersionStr(); in GetSysVersionStr()
186 } // namespace Parameter
/base/customization/enterprise_device_management/services/edm_plugin/src/network/executer/
H A Diexecuter.cpp70 if (rule == nullptr || rule->Parameter().empty()) { in Remove()
82 oss << rule->Parameter(); in ExecWithOption()
/base/hiviewdfx/hiview/plugins/eventlogger/
H A Devent_focus_listener.cpp42 if (!Parameter::IsBetaVersion()) { in RegisterFocusListener()
/base/hiviewdfx/hiview/base/utility/include/
H A Dparameter_ex.h29 namespace Parameter { namespace

Completed in 10 milliseconds

12