Home
last modified time | relevance | path

Searched refs:cmdLine (Results 1 – 11 of 11) sorted by relevance

/base/update/updater/test/unittest/applypatch_test/
Dcommands_unittest.cpp56 std::string cmdLine = std::string("move ") + hashValue + " " + blockInfo; variable
58 cmd->Init(cmdLine);
64 EXPECT_EQ(cmd->GetCommandLine(), cmdLine);
72 std::string cmdLine = std::string("move ") + hashValue + " " + blockInfo; variable
74 EXPECT_EQ(cmd->Init(cmdLine), true);
75 cmdLine = "abort";
76 EXPECT_EQ(cmd->Init(cmdLine), true);
77 cmdLine = "bsdiff 1,1";
78 EXPECT_EQ(cmd->Init(cmdLine), true);
79 cmdLine = "earse 1,1";
[all …]
Dcommandsfunction_unittest.cpp37 CommandResult TestCommandFnExec(std::shared_ptr<Command> cmd, std::string cmdLine) in TestCommandFnExec() argument
39 cmd->Init(cmdLine); in TestCommandFnExec()
79 std::string cmdLine = std::string("erase 2,0,1"); variable
80 CommandResult ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
82 cmdLine = "free 2,0,1";
83 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
86 cmdLine = "move ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb47c7a85dabd8b48892ca7 2,3,4 1 2,1,2";
88 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
90 cmdLine = R"(bsdiff 0 132 ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb4
95 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
[all …]
Dblockset_unittest.cpp117 std::string cmdLine = std::string("move ") + hashValue + " " + blockInfo; variable
124 cmd->Init(cmdLine);
/base/update/updater/services/applypatch/
Dcommand.cpp23 bool Command::Init(const std::string &cmdLine) in Init() argument
25 cmdLine_ = std::move(cmdLine); in Init()
/base/update/updater/services/include/applypatch/
Dapply_patch.h25 std::string cmdLine; member
/base/startup/init/services/modules/bootchart/
Dbootchart.c83 …char *cmdLine = ReadFileToBuffer("/proc/cmdline", g_bootchartCtrl->buffer, g_bootchartCtrl->buffer… in BootchartLogHeader() local
84 PLUGIN_CHECK(cmdLine != NULL, return, "Failed to open file "BOOTCHART_OUTPUT_PATH"header"); in BootchartLogHeader()
96 (void)fprintf(file, "system.kernel.options = %s\n", cmdLine); in BootchartLogHeader()
/base/startup/init/services/param/trigger/
Dtrigger_processor.c202 static int GetCommandInfo(const char *cmdLine, int *cmdKeyIndex, char **content) in GetCommandInfo() argument
204 const char *matchCmd = GetMatchCmd(cmdLine, cmdKeyIndex); in GetCommandInfo()
205 PARAM_CHECK(matchCmd != NULL, return -1, "Command not support %s", cmdLine); in GetCommandInfo()
206 char *str = strstr(cmdLine, matchCmd); in GetCommandInfo()
/base/startup/init/test/unittest/init/
Dcmds_unittest.cpp90 auto checkMkdirCmd = [=](const char *mkdirFile, const char *cmdLine) { in __anon0c8980500102() argument
91 DoCmdByName("mkdir ", cmdLine); in __anon0c8980500102()
/base/startup/init/test/unittest/modules/
Deng_unittest.cpp248 const char *cmdLine = "ohos.boot.root_package=off "; variable
249 CreateTestFile(BOOT_CMD_LINE, cmdLine);
/base/startup/init/test/unittest/param/
Dparam_stub.cpp411 const char *cmdLine = "bootgroup=device.boot.group earlycon=uart8250,mmio32,0xfe660000 " in PrepareCmdLineData() local
420 CreateTestFile(BOOT_CMD_LINE, cmdLine); in PrepareCmdLineData()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dnapi_webview_controller.cpp594 std::string cmdLine = WebviewController::customeSchemeCmdLine_; in InnerGetCustomeSchemeCmdLine() local
595 napi_create_string_utf8(env, cmdLine.c_str(), cmdLine.length(), &result); in InnerGetCustomeSchemeCmdLine()
3246 std::string cmdLine; in CustomizeSchemes() local
3277 cmdLine.append(schemeName + "," + corsCmdLine + fetchCmdLine); in CustomizeSchemes()
3279 cmdLine.pop_back(); in CustomizeSchemes()
3280 WVLOG_I("Reg scheme cmdline %{public}s", cmdLine.c_str()); in CustomizeSchemes()
3281 WebviewController::customeSchemeCmdLine_ = cmdLine; in CustomizeSchemes()