Searched refs:SystemGetParameter (Results 1 – 13 of 13) sorted by relevance
/base/startup/init/interfaces/innerkits/syspara/ |
D | param_comm.c | 76 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_()
|
D | parameter.c | 326 int ret = SystemGetParameter(key, value, &size); in GetIntParameter() 344 int ret = SystemGetParameter(key, value, &size); in GetUintParameter()
|
/base/startup/init/test/fuzztest/systemgetparameter_fuzzer/ |
D | systemgetparameter_fuzzer.cpp | 28 if (!SystemGetParameter(str.c_str(), buffer, &len)) { in FuzzSystemGetParameter()
|
/base/startup/init/interfaces/innerkits/syscap/ |
D | init_syscap.c | 51 if (SystemGetParameter(capName, paramValue, &valueLen) != 0) { in HasSystemCapability()
|
/base/startup/init/services/begetctl/ |
D | bootchart_cmd.c | 38 int ret = SystemGetParameter("persist.init.bootchart.enabled", enable, &size); in bootchartCmdStart()
|
D | param_cmd.c | 249 int ret = SystemGetParameter(realParameter, buffer, &buffSize); in BShellParamCmdCat() 291 ret = SystemGetParameter(key, buffer, &buffSize); in BShellParamCmdGet()
|
/base/startup/init/interfaces/innerkits/reboot/ |
D | init_reboot_innerkits.c | 71 int ret = SystemGetParameter(STARTUP_DEVICE_CTL, result, &len); in DoReboot()
|
/base/startup/init/services/include/param/ |
D | init_param.h | 165 #define SystemGetParameter SystemReadParam macro
|
/base/startup/init/test/unittest/param/ |
D | client_unittest.cpp | 28 int ret = SystemGetParameter(name, tmp, &len); in ClientCheckParamValue() 143 ret = SystemGetParameter(testName, tmp, &len); in TestPermission()
|
/base/customization/config_policy/frameworks/config_policy/src/ |
D | config_policy_utils.c | 97 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/ |
D | parameters.cpp | 33 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/ |
D | param_test_cmds.c | 52 int ret = SystemGetParameter("test.randrom.read", buffer, &size); in CmdReader()
|
/base/startup/init/interfaces/innerkits/fs_manager/ |
D | fstab_mount.c | 315 return SystemGetParameter(name, value, &valueLen) == 0 ? atoi(value) : -1; in GetSlotInfoFromParameter()
|