Home
last modified time | relevance | path

Searched refs:GetParameter (Results 1 – 25 of 66) sorted by relevance

123

/base/update/updateservice/services/core/ability/adapter/src/
Ddevice_adapter.cpp45 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/
Dsyspara_unittest.cpp154 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/
Dparam_wrapper.cpp67 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/
Dgetparametercpp_fuzzer.cpp26 if (system::GetParameter(key, def) != def) { in FuzzGetParameter()
/base/startup/init/test/fuzztest/getparameterc_fuzzer/
Dgetparameterc_fuzzer.cpp27 if (!GetParameter(str.c_str(), nullptr, value, len)) { in FuzzGetParameterC()
/base/startup/init/test/moduletest/
Dsyspara_moduleTest.cpp92 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/
Dhitrace_osal.cpp37 return OHOS::system::GetParameter(property, value); in GetPropertyInner()
/base/update/updateservice/services/core/ability/adapter/include/
Ddevice_adapter.h26 static std::string GetParameter(const std::string &key, const std::string &def);
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
Dril_test_util.cpp63 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/
Dsystem_depend.cpp43 auto res = GetParameter(key, preDefine, tmpStringBuf, BUF_SIZE_MEDIUM); in GetDevItem()
/base/powermgr/power_manager/utils/param/src/
Dsysparam.cpp42 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/
Dparameters.h28 std::string GetParameter(const std::string& key, const std::string& def);
Dparameter.h52 int GetParameter(const char *key, const char *def, char *value, uint32_t len);
/base/telephony/ril_adapter/services/hril_hdf/src/
Dhril_hdf.c45 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/
Dutils.cpp49 int status = GetParameter(paramKey, "", param, paramLength); in ReadSystemParameter()
/base/hiviewdfx/hiview/base/utility/
Dparameter_ex.cpp26 return OHOS::system::GetParameter(key, defaultValue); in GetString()
/base/time/time_service/services/time/src/
Dtime_zone_info.cpp42 if (GetParameter(TIMEZONE_KEY, "", value, CONFIG_LEN) < TIMEZONE_OK) { in Init()
Dntp_update_time.cpp69 …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/
Dtelephony_config.cpp45 std::string maxCap = system::GetParameter(MODEM_CAP, NULL_STRING); in IsCapabilitySupport()
/base/telephony/cellular_data/services/src/utils/
Dcellular_data_utils.cpp199 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()
213GetParameter(CONFIG_MULTIPLE_CONNECTIONS, DEFAULT_MULTIPLE_CONNECTIONS, connections, MIN_BUFFER_SI… in GetDefaultMultipleConnectionsConfig()
/base/customization/enterprise_device_management/test/unittest/src/
Dutils.cpp99 std::string edmParaValue = system::GetParameter("persist.edm.edm_enable", "false"); in GetEdmServiceState()
/base/telephony/core_service/interfaces/innerkits/include/
Dtelephony_types.h54 GetParameter(TEL_SIM_SLOT_COUNT, DEFAULT_SLOT_COUNT, simSlotCount, SYSPARA_SIZE); in GetMaxSlotCount()
64GetParameter(TEL_PREFERRED_NETWORK_TYPE, DEFAULT_PREFERRED_NETWORK_TYPE, preferredNetworkType, SYS… in GetPreferredNetworkType()
/base/usb/usb_manager/services/native/src/
Dusb_function_switch_window.cpp66 …int32_t ret = GetParameter("persist.usb.setting.gadget_conn_prompt", defaultValue, paramValue, siz… in PopUpFunctionSwitchWindow()
/base/update/sys_installer/services/module_update/service/src/
Dmodule_update_main.cpp83 int ret = GetParameter(BOOT_COMPLETE_PARAM, "", value, PARAM_VALUE_SIZE); in CheckBootComplete()
/base/startup/init/interfaces/innerkits/
Dlibbegetutil.versionscript131 *GetParameter*;

123