Home
last modified time | relevance | path

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

/base/startup/init/services/modules/udid/
Dudid_comm.c35 int ret = SystemGetParameter("ohos.boot.sn", ohosSerial, &len); in GetSerial_()
44 int ret = SystemGetParameter("const.product.udid", udid, &len); in GetUdidFromParam()
48 ret = SystemGetParameter("const.product.devUdid", udid, &len); in GetUdidFromParam()
/base/startup/init/interfaces/innerkits/syspara/
Dparam_comm.c69 int ret = SystemGetParameter(key, NULL, &size); in GetParameter_()
84 ret = SystemGetParameter(key, value, &size); in GetParameter_()
97 int ret = SystemGetParameter(key, NULL, &len); in GetProperty()
101 ret = SystemGetParameter(key, res, &len); in GetProperty()
Dparameter.c326 int ret = SystemGetParameter(key, value, &size); in GetIntParameter()
345 int ret = SystemGetParameter(key, value, &size); in GetUintParameter()
/base/startup/init/interfaces/innerkits/syscap/
Dinit_syscap.c50 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.c262 int ret = SystemGetParameter(realParameter, buffer, &buffSize); in BShellParamCmdCat()
304 ret = SystemGetParameter(key, buffer, &buffSize); in BShellParamCmdGet()
529 int ret = SystemGetParameter(INIT_DEBUG_LEVEL, level, &length); in UpdateInitLogLevel()
/base/startup/init/interfaces/innerkits/reboot/
Dinit_reboot_innerkits.c73 int ret = SystemGetParameter(STARTUP_DEVICE_CTL, result, &len); in ExecReboot()
/base/startup/init/services/include/param/
Dinit_param.h198 #define SystemGetParameter SystemReadParam macro
/base/customization/config_policy/frameworks/config_policy/src/
Dconfig_policy_utils.c103 if (SystemGetParameter(name, NULL, &len) != 0 || len <= 0 || len > PARAM_CONST_VALUE_LEN_MAX) { in CustGetSystemParam()
107 if (value != NULL && SystemGetParameter(name, value, &len) == 0 && value[0]) { in CustGetSystemParam()
125 if (SystemGetParameter(CUST_OPKEY0, NULL, &len) == 0 && len > MIN_OPKEY_LEN) { in GetOpkeyPath()
127 } else if (SystemGetParameter(CUST_OPKEY1, NULL, &len) == 0 && len > MIN_OPKEY_LEN) { in GetOpkeyPath()
/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/startup/init/test/moduletest/
Dparam_test_cmds.c53 int ret = SystemGetParameter("test.randrom.read", buffer, &size); in CmdReader()
/base/startup/init/interfaces/innerkits/fs_manager/
Dfstab_mount.c296 return SystemGetParameter(name, value, &valueLen) == 0 ? atoi(value) : -1; in GetSlotInfoFromParameter()