Home
last modified time | relevance | path

Searched refs:SystemSetParameter (Results 1 – 21 of 21) sorted by relevance

/base/startup/init/services/begetctl/
Dbootchart_cmd.c24 SystemSetParameter("persist.init.bootchart.enabled", "1"); in bootchartCmdEnable()
30 SystemSetParameter("persist.init.bootchart.enabled", "0"); in bootchartCmdDisable()
43 SystemSetParameter("ohos.servicectrl.bootchart", "start"); in bootchartCmdStart()
49 SystemSetParameter("ohos.servicectrl.bootchart", "stop"); in bootchartCmdStop()
Ddump_service.c51 if (SystemSetParameter("persist.init.bootevent.enable", "true") == 0) { in BootEventEnable()
58 if (SystemSetParameter("persist.init.bootevent.enable", "false") == 0) { in BootEventDisable()
Dmodulectl.c37 SystemSetParameter(combinedArgs, argv[1]); in ModuleInstallCmd()
Dsetloglevel.c39 int ret = SystemSetParameter("persist.init.debug.loglevel", argv[1]); in SetInitLogLevelFromParam()
Dparam_cmd.c316 int ret = SystemSetParameter(realParameter, argv[2]); // 2 value param in BShellParamCmdSet()
/base/startup/init/interfaces/innerkits/reboot/
Dinit_reboot_innerkits.c38 ret = SystemSetParameter(STARTUP_DEVICE_CTL, DEVICE_CMD_STOP); in DoReboot_()
40 ret = SystemSetParameter(DOREBOOT_PARAM, "reboot"); in DoReboot_()
50 ret = SystemSetParameter(STARTUP_DEVICE_CTL, DEVICE_CMD_STOP); in DoReboot_()
52 ret = SystemSetParameter(DOREBOOT_PARAM, value); in DoReboot_()
/base/startup/init/interfaces/innerkits/service_control/
Dservice_control.c64 ret = SystemSetParameter("ohos.ctl.start", nameValue); in StartProcess()
67 ret = SystemSetParameter("ohos.ctl.start", name); in StartProcess()
75 return SystemSetParameter("ohos.ctl.stop", serviceName); in StopProcess()
184 return SystemSetParameter(paramName, value); in ServiceSetReady()
200 return SystemSetParameter("ohos.servicectrl.timer_start", value); in StartServiceByTimer()
206 return SystemSetParameter("ohos.servicectrl.timer_stop", serviceName); in StopServiceTimer()
/base/startup/init/test/unittest/param/
Dclient_unittest.cpp48 SystemSetParameter(name.c_str(), name.c_str()); in TestSendParamSetMsg()
118 ret = SystemSetParameter(testName, "22202"); in TestPermission()
129 ret = SystemSetParameter(testName, "22202"); in TestPermission()
134 ret = SystemSetParameter(testName, "3333"); in TestPermission()
154 SystemSetParameter(name, value); in TestClientApi()
195 SystemSetParameter(name.c_str(), value.c_str());
Dwatcher_proxy_unittest.cpp274 SystemSetParameter("test.watcher.test4", "1101");
275 SystemSetParameter("test.watcher.test4.test", "1102");
286 SystemSetParameter("test.permission.watcher.test5", "1101");
Dparam_shell_unittest.cpp39 SystemSetParameter("aaa", "aaa"); in TestInitParamShell()
/base/startup/init/test/fuzztest/systemsetparameter_fuzzer/
Dsystemsetparameter_fuzzer.cpp25 if (!SystemSetParameter(str.c_str(), str.c_str())) { in FuzzSystemSetParameter()
/base/startup/init/test/moduletest/
Dparam_test_cmds.c72 SystemSetParameter("test.randrom.read.start", "1"); in BShellParamCmdRead()
78 SystemSetParameter("test.randrom.read.start", "0"); in BShellParamCmdRead()
230 SystemSetParameter(buffer, argv[1]); in BShellParamCmdInstall()
238 SystemSetParameter("ohos.servicectrl.display", argv[1]); in BShellParamCmdDisplay()
/base/startup/init/services/include/param/
Dinit_param.h156 int SystemSetParameter(const char *name, const char *value);
/base/startup/appspawn/standard/
Dmain.c91 SystemSetParameter("bootevent.appspawn.started", "true"); in main()
/base/startup/init/services/param/liteos/
Dparam_client.c58 int SystemSetParameter(const char *name, const char *value) in SystemSetParameter() function
/base/startup/init/ueventd/standard/
Dueventd_parameter.c93 if ((len <= 0) || (SystemSetParameter(paramName, paramValue) != 0)) { in ThreadRun()
/base/startup/init/interfaces/innerkits/syspara/
Dparam_wrapper.cpp35 int ret = SystemSetParameter(key.c_str(), value.c_str()); in SetParameter()
Dparameter.c93 int ret = SystemSetParameter(key, value); in SetParameter()
/base/startup/syspara_lite/adapter/native/syspara/src/
Dparameters.cpp45 return SystemSetParameter(key.c_str(), value.c_str()) == 0; in SetParameter()
/base/startup/init/services/param/linux/
Dparam_request.c145 int SystemSetParameter(const char *name, const char *value) in SystemSetParameter() function
/base/startup/init/services/param/watcher/proxy/
Dwatcher_manager.cpp321 SystemSetParameter("bootevent.param_watcher.started", "true"); in OnStart()