/base/update/updateservice/services/core/ability/adapter/src/ |
D | device_adapter.cpp | 45 std::string DeviceAdapter::GetParameter(const std::string &key, const std::string &def) in GetParameter() function in OHOS::UpdateEngine::DeviceAdapter 64 return GetParameter("const.product.model", ""); in GetDeviceName() 69 return GetParameter("const.ohos.fullname", ""); in GetOsVersion() 74 …ENGINE_LOGI("GetDisplayVersion %{public}s", GetParameter("const.product.software.version", "").c_… in GetDisplayVersion() 75 return GetParameter("const.product.software.version", ""); in GetDisplayVersion() 80 return GetParameter("const.build.ver.physical", ""); in GetRealVersion() 85 return GetParameter("ohos.boot.bootslots", "0"); // 0:not ab,2:ab; default 0 in GetBootSlot()
|
/base/startup/init/test/unittest/syspara/ |
D | syspara_unittest.cpp | 154 int ret = GetParameter(key1, defValue1, value1, 64); 163 int ret = GetParameter(key2, defValue2, value2, 64); 172 int ret = GetParameter(key4, defValue3, value4, 0); 185 ret = GetParameter(key5, defValue3, valueGet, 2); 198 ret = GetParameter(key1, "version=10.1.0", valueGet1, 32); 208 ret = GetParameter(key2, "version=10.1.0", valueGet2, 32); 218 ret = GetParameter(key3, "version=10.1.0", valueGet3, 32); 228 ret = GetParameter(key4, "version=10.1.0", valueGet4, 32); 351 std::string v1 = OHOS::system::GetParameter(key1, ""); 355 v1 = OHOS::system::GetParameter(key2, "test2");
|
/base/startup/init/interfaces/innerkits/syspara/ |
D | param_wrapper.cpp | 67 std::string GetParameter(const std::string& key, const std::string& def) in GetParameter() function 88 std::string value = GetParameter(key, ""); in GetBoolParameter() 128 std::string value = GetParameter(key, ""); in GetIntParameter() 147 std::string value = GetParameter(key, ""); in GetUintParameter()
|
/base/startup/init/test/fuzztest/getparametercpp_fuzzer/ |
D | getparametercpp_fuzzer.cpp | 26 if (system::GetParameter(key, def) != def) { in FuzzGetParameter()
|
/base/startup/init/test/fuzztest/getparameterc_fuzzer/ |
D | getparameterc_fuzzer.cpp | 27 if (!GetParameter(str.c_str(), nullptr, value, len)) { in FuzzGetParameterC()
|
/base/startup/init/test/moduletest/ |
D | syspara_moduleTest.cpp | 92 int ret = GetParameter(key, def, value, len); in GetParameterTestReInt() 99 string ret = system::GetParameter(key, def); in GetParameterTestFuncReStr() 107 string testValue = system::GetParameter(key, ""); in ParamSetFun() 223 string testValue = system::GetParameter(key, ""); 226 testValue = system::GetParameter("test.param.set.002", "aaa.aaa.aaa"); 228 testValue = system::GetParameter("test.param.set.003", ""); 283 vRet = system::GetParameter(key1, ""); 297 vRet = system::GetParameter(key2, "");
|
/base/hiviewdfx/hitrace/cmd/src/ |
D | hitrace_osal.cpp | 37 return OHOS::system::GetParameter(property, value); in GetPropertyInner()
|
/base/update/updateservice/services/core/ability/adapter/include/ |
D | device_adapter.h | 26 static std::string GetParameter(const std::string &key, const std::string &def);
|
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/ |
D | ril_test_util.cpp | 63 GetParameter(TEL_SIM_SLOT_COUNT, DEFAULT_SLOT_COUNT, simSlotCount, SYSPARA_SIZE); in GetMaxSimCount() 120 int retLen = GetParameter(KEY_VOICECALL_CAP.c_str(), "true", retValue, VOICECALL_CAP_VAL_LEN); in HasVoiceCapabilityInner()
|
/base/update/updater/services/flashd/daemon/ |
D | system_depend.cpp | 43 auto res = GetParameter(key, preDefine, tmpStringBuf, BUF_SIZE_MEDIUM); in GetDevItem()
|
/base/powermgr/power_manager/utils/param/src/ |
D | sysparam.cpp | 42 int32_t ret = GetParameter(key.c_str(), std::to_string(def).c_str(), value, VALUE_MAX_LEN); in GetIntValue()
|
/base/startup/init/interfaces/innerkits/include/syspara/ |
D | parameters.h | 28 std::string GetParameter(const std::string& key, const std::string& def);
|
D | parameter.h | 52 int GetParameter(const char *key, const char *def, char *value, uint32_t len);
|
/base/telephony/ril_adapter/services/hril_hdf/src/ |
D | hril_hdf.c | 45 int32_t code = GetParameter(VENDOR_LIB_PATH, "", path, PARAMETER_SIZE); in GetVendorLibPath() 51 code = GetParameter(RIL_VENDOR_LIB_PATH, "", path, PARAMETER_SIZE); in GetVendorLibPath()
|
/base/global/i18n/frameworks/intl/src/ |
D | utils.cpp | 49 int status = GetParameter(paramKey, "", param, paramLength); in ReadSystemParameter()
|
/base/hiviewdfx/hiview/base/utility/ |
D | parameter_ex.cpp | 26 return OHOS::system::GetParameter(key, defaultValue); in GetString()
|
/base/time/time_service/services/time/src/ |
D | time_zone_info.cpp | 42 if (GetParameter(TIMEZONE_KEY, "", value, CONFIG_LEN) < TIMEZONE_OK) { in Init()
|
D | ntp_update_time.cpp | 69 …std::string ntpServer = system::GetParameter(NTP_SERVER_SYSTEM_PARAMETER.c_str(), "ntp.aliyun.com"… in Init() 288 …std::string ntpServer = system::GetParameter(NTP_SERVER_SYSTEM_PARAMETER.c_str(), "ntp.aliyun.com"… in ChangeNtpServerCallback()
|
/base/telephony/core_service/utils/common/src/ |
D | telephony_config.cpp | 45 std::string maxCap = system::GetParameter(MODEM_CAP, NULL_STRING); in IsCapabilitySupport()
|
/base/telephony/cellular_data/services/src/utils/ |
D | cellular_data_utils.cpp | 199 GetParameter(CONFIG_MOBILE_MTU, DEFAULT_MOBILE_MTU, mobile_mtu, MIN_BUFFER_SIZE); in GetDefaultMobileMtuConfig() 206 GetParameter(CONFIG_PREFERAPN, DEFAULT_PREFER_APN, preferApn, MIN_BUFFER_SIZE); in GetDefaultPreferApnConfig() 213 …GetParameter(CONFIG_MULTIPLE_CONNECTIONS, DEFAULT_MULTIPLE_CONNECTIONS, connections, MIN_BUFFER_SI… in GetDefaultMultipleConnectionsConfig()
|
/base/customization/enterprise_device_management/test/unittest/src/ |
D | utils.cpp | 99 std::string edmParaValue = system::GetParameter("persist.edm.edm_enable", "false"); in GetEdmServiceState()
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | telephony_types.h | 54 GetParameter(TEL_SIM_SLOT_COUNT, DEFAULT_SLOT_COUNT, simSlotCount, SYSPARA_SIZE); in GetMaxSlotCount() 64 …GetParameter(TEL_PREFERRED_NETWORK_TYPE, DEFAULT_PREFERRED_NETWORK_TYPE, preferredNetworkType, SYS… in GetPreferredNetworkType()
|
/base/usb/usb_manager/services/native/src/ |
D | usb_function_switch_window.cpp | 66 …int32_t ret = GetParameter("persist.usb.setting.gadget_conn_prompt", defaultValue, paramValue, siz… in PopUpFunctionSwitchWindow()
|
/base/update/sys_installer/services/module_update/service/src/ |
D | module_update_main.cpp | 83 int ret = GetParameter(BOOT_COMPLETE_PARAM, "", value, PARAM_VALUE_SIZE); in CheckBootComplete()
|
/base/startup/init/interfaces/innerkits/ |
D | libbegetutil.versionscript | 131 *GetParameter*;
|