Home
last modified time | relevance | path

Searched refs:SystemGetParameter (Results 1 – 13 of 13) sorted by relevance

/base/startup/init/interfaces/innerkits/syspara/
Dparam_comm.c76 int ret = SystemGetParameter(key, NULL, &size); in GetParameter_()
91 ret = SystemGetParameter(key, value, &size); in GetParameter_()
102 int ret = SystemGetParameter(key, NULL, &len); in GetProperty()
106 ret = SystemGetParameter(key, res, &len); in GetProperty()
173 int ret = SystemGetParameter("ohos.boot.sn", ohosSerial, &len); in GetSerial_()
186 int ret = SystemGetParameter("const.product.udid", udid, &len); in GetDevUdid_()
Dparameter.c326 int ret = SystemGetParameter(key, value, &size); in GetIntParameter()
344 int ret = SystemGetParameter(key, value, &size); in GetUintParameter()
/base/startup/init/test/fuzztest/systemgetparameter_fuzzer/
Dsystemgetparameter_fuzzer.cpp28 if (!SystemGetParameter(str.c_str(), buffer, &len)) { in FuzzSystemGetParameter()
/base/startup/init/interfaces/innerkits/syscap/
Dinit_syscap.c51 if (SystemGetParameter(capName, paramValue, &valueLen) != 0) { in HasSystemCapability()
/base/startup/init/services/begetctl/
Dbootchart_cmd.c38 int ret = SystemGetParameter("persist.init.bootchart.enabled", enable, &size); in bootchartCmdStart()
Dparam_cmd.c249 int ret = SystemGetParameter(realParameter, buffer, &buffSize); in BShellParamCmdCat()
291 ret = SystemGetParameter(key, buffer, &buffSize); in BShellParamCmdGet()
/base/startup/init/interfaces/innerkits/reboot/
Dinit_reboot_innerkits.c71 int ret = SystemGetParameter(STARTUP_DEVICE_CTL, result, &len); in DoReboot()
/base/startup/init/services/include/param/
Dinit_param.h165 #define SystemGetParameter SystemReadParam macro
/base/startup/init/test/unittest/param/
Dclient_unittest.cpp28 int ret = SystemGetParameter(name, tmp, &len); in ClientCheckParamValue()
143 ret = SystemGetParameter(testName, tmp, &len); in TestPermission()
/base/customization/config_policy/frameworks/config_policy/src/
Dconfig_policy_utils.c97 if (SystemGetParameter(name, NULL, &len) != 0 || len == 0) { in CustGetSystemParam()
101 if (value != NULL && SystemGetParameter(name, value, &len) == 0 && value[0]) { in CustGetSystemParam()
119 if (SystemGetParameter(CUST_OPKEY0, NULL, &len) == 0 && len > 0) { in GetOpkeyPath()
121 } else if (SystemGetParameter(CUST_OPKEY1, NULL, &len) == 0 && len > 0) { in GetOpkeyPath()
/base/startup/syspara_lite/adapter/native/syspara/src/
Dparameters.cpp33 int ret = SystemGetParameter(key.c_str(), nullptr, &len); in GetParameter()
36 ret = SystemGetParameter(key.c_str(), value.data(), &len); in GetParameter()
/base/startup/init/test/moduletest/
Dparam_test_cmds.c52 int ret = SystemGetParameter("test.randrom.read", buffer, &size); in CmdReader()
/base/startup/init/interfaces/innerkits/fs_manager/
Dfstab_mount.c315 return SystemGetParameter(name, value, &valueLen) == 0 ? atoi(value) : -1; in GetSlotInfoFromParameter()