/base/startup/init/interfaces/innerkits/syspara/ |
D | param_wrapper.cpp | 122 T GetIntParameter(const std::string& key, T def, T min, T max) in GetIntParameter() function 135 template int8_t GetIntParameter(const std::string&, int8_t, int8_t, int8_t); 136 template int16_t GetIntParameter(const std::string&, int16_t, int16_t, int16_t); 137 template int32_t GetIntParameter(const std::string&, int32_t, int32_t, int32_t); 138 template int64_t GetIntParameter(const std::string&, int64_t, int64_t, int64_t); 176 int GetIntParameter(const std::string &key, int def) in GetIntParameter() function 178 return GetIntParameter(key, def, INT_MIN, INT_MAX); in GetIntParameter()
|
D | parameter.c | 322 int32_t GetIntParameter(const char *key, int32_t def) in GetIntParameter() function
|
/base/hiviewdfx/hiview/test/unittest/xpower_event/ |
D | xpower_jsevent_test.cpp | 68 int param = OHOS::system::GetIntParameter(PROP_XPOWER_OPTIMIZE_ENABLE, 0); 77 param = OHOS::system::GetIntParameter(PROP_XPOWER_OPTIMIZE_ENABLE, 0); 104 int param = OHOS::system::GetIntParameter(PROP_XPOWER_OPTIMIZE_ENABLE, 0); 114 param = OHOS::system::GetIntParameter(PROP_XPOWER_OPTIMIZE_ENABLE, 0); 138 int param = OHOS::system::GetIntParameter(PROP_XPOWER_OPTIMIZE_ENABLE, 0);
|
D | xpower_event_test.cpp | 58 int param = OHOS::system::GetIntParameter(PROP_XPOWER_OPTIMIZE_ENABLE, 0); 67 param = OHOS::system::GetIntParameter(PROP_XPOWER_OPTIMIZE_ENABLE, 0);
|
/base/hiviewdfx/hiview/interfaces/innerkits/xpower_event/src/ |
D | xpower_event_js.cpp | 37 if ((OHOS::system::GetIntParameter(PROP_XPOWER_OPTIMIZE_ENABLE, 0) != 1)) { in ReportXPowerJsStackSysEvent() 55 if ((OHOS::system::GetIntParameter(PROP_XPOWER_OPTIMIZE_ENABLE, 0) != 1)) { in ReportXPowerJsStackSysEvent()
|
D | xpower_event.cpp | 27 if ((OHOS::system::GetIntParameter(PROP_XPOWER_OPTIMIZE_ENABLE, 0) != 1)) { in ReportXPowerStackSysEvent()
|
/base/startup/init/test/unittest/syspara/ |
D | syspara_unittest.cpp | 287 EXPECT_EQ(GetIntParameter("test.int.get", 0) == -TEST_VALUE, 1); 289 EXPECT_EQ(GetIntParameter("test.uint.get", 0), TEST_VALUE); 291 EXPECT_EQ(GetIntParameter("test.int.default", 10), 10); // key not find,value = default 315 int v = OHOS::system::GetIntParameter(key1, 0); 317 int8_t v1 = OHOS::system::GetIntParameter(key1, 0, -127, 128); // -127, 128 range 319 int16_t v2 = OHOS::system::GetIntParameter(key1, 0, -127, 128); // -127, 128 range 321 int32_t v3 = OHOS::system::GetIntParameter(key1, 0, -127, 128); // -127, 128 range 323 int64_t v4 = OHOS::system::GetIntParameter(key1, 0, -127, 128); // -127, 128 range 326 int8_t v5 = OHOS::system::GetIntParameter(key1, 0, -10, 10); // -10, 10 range
|
/base/startup/init/interfaces/innerkits/include/syspara/ |
D | param_wrapper.h | 24 int GetIntParameter(const std::string &key, int def);
|
D | parameters.h | 42 T GetIntParameter(const std::string& key, T def, T min = std::numeric_limits<T>::min(),
|
D | parameter.h | 173 int32_t GetIntParameter(const char *key, int32_t def);
|
/base/startup/init/test/fuzztest/getintparametercpp_fuzzer/ |
D | getintparametercpp_fuzzer.cpp | 24 system::GetIntParameter(key, 1); in FuzzGetIntParameterCpp()
|
/base/startup/init/test/fuzztest/getintparameterc_fuzzer/ |
D | getintparameterc_fuzzer.cpp | 25 GetIntParameter(key.c_str(), 1); in FuzzGetIntParameterC()
|
/base/startup/init/test/moduletest/ |
D | syspara_moduleTest.cpp | 369 EXPECT_EQ(GetIntParameter(key1, 0), 1118481); // 0x111111 decimalism result 375 EXPECT_EQ(GetIntParameter(key2, 0), -1118481); // 0x111111 decimalism result 382 EXPECT_EQ(GetIntParameter(key3, 0), 9999999); // value3 int result 388 EXPECT_EQ(GetIntParameter(key4, 0), -9999999); // value4 int result 394 EXPECT_EQ(GetIntParameter(key5, 0), 0); 399 EXPECT_EQ(GetIntParameter(key6, 0), 0);
|
/base/hiviewdfx/hiview/base/utility/ |
D | parameter_ex.cpp | 31 return OHOS::system::GetIntParameter(key, defaultValue); in GetInteger()
|
/base/startup/appspawn/interfaces/innerkits/client/ |
D | client_socket.cpp | 70 int value = OHOS::system::GetIntParameter("persist.appspawn.client.timeout", TIMEOUT_DEF); in ConnectSocket()
|
/base/startup/init/test/unittest/init/ |
D | init_unittest.cpp | 146 int32_t loglevel = GetIntParameter("persist.init.debug.loglevel", INIT_ERROR);
|
/base/startup/init/services/begetctl/ |
D | begetctl_cmd.c | 84 int level = GetIntParameter(INIT_DEBUG_LEVEL, (int)INIT_ERROR); in GetInitLogLevelFromParam()
|
/base/startup/init/interfaces/innerkits/ |
D | libbegetutil.versionscript | 129 *GetIntParameter*;
|
/base/startup/init/device_info/ |
D | device_info_stub.cpp | 141 int level = GetIntParameter(INIT_DEBUG_LEVEL, (int)INIT_INFO); in OnStart()
|
/base/startup/appspawn/adapter/ |
D | appspawn_ace.cpp | 146 if (GetIntParameter("persist.init.debug.checkexit", true)) { in RunChildProcessor()
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/ |
D | hitrace_meter.cpp | 83 int nums = OHOS::system::GetIntParameter<int>(KEY_APP_NUMBER, 0); in IsAppValid()
|
/base/startup/init/test/unittest/param/ |
D | param_stub.cpp | 523 int32_t loglevel = GetIntParameter("persist.init.debug.loglevel", INIT_ERROR); in PrepareInitUnitTestEnv()
|
/base/startup/init/services/param/watcher/proxy/ |
D | watcher_manager.cpp | 322 int level = GetIntParameter(INIT_DEBUG_LEVEL, (int)INIT_ERROR); in OnStart()
|
/base/telephony/cellular_call/services/control/src/ |
D | cellular_call_config.cpp | 490 int32_t vonrState = GetIntParameter(vonrStateKey.c_str(), VONR_SWITCH_STATUS_ON); in ObtainVoNRState()
|