Home
last modified time | relevance | path

Searched refs:formatCommand (Results 1 – 8 of 8) sorted by relevance

/developtools/profiler/host/smartperf/ide/src/hdc/hdcclient/
DFormatCommand.ts33 let formatCommand = new FormatCommand(-1, '', false);
35 formatCommand.cmdFlag = HdcCommand.CMD_UNITY_EXECUTE;
36 formatCommand.parameters = cmd.substring((CMDSTR_SHELL + ' ').length);
38 formatCommand.cmdFlag = HdcCommand.CMD_SHELL_INIT;
40 formatCommand.cmdFlag = HdcCommand.CMD_FILE_INIT;
41 formatCommand.parameters = cmd.substring((CMDSTR_FILE_RECV + ' ').length);
43 formatCommand.cmdFlag = HdcCommand.CMD_FILE_INIT;
44 formatCommand.parameters = cmd.substring((CMDSTR_FILE_SEND + ' ').length);
46 formatCommand.bJumpDo = true;
48 log('formatCommand cmdFlag is : ' + formatCommand.cmdFlag);
[all …]
DHdcStream.ts44 let formatCommand;
46 formatCommand = new FormatCommand(HdcCommand.CMD_SHELL_DATA, cmd, false);
48 formatCommand = Utils.formatCommand(cmd);
50 return this.DoCommandRemote(formatCommand);
/developtools/smartperf_host/ide/src/hdc/hdcclient/
DFormatCommand.ts33 let formatCommand = new FormatCommand(-1, '', false);
35 formatCommand.cmdFlag = HdcCommand.CMD_UNITY_EXECUTE;
36 formatCommand.parameters = cmd.substring((CMDSTR_SHELL + ' ').length);
38 formatCommand.cmdFlag = HdcCommand.CMD_SHELL_INIT;
40 formatCommand.cmdFlag = HdcCommand.CMD_FILE_INIT;
41 formatCommand.parameters = cmd.substring((CMDSTR_FILE_RECV + ' ').length);
43 formatCommand.cmdFlag = HdcCommand.CMD_FILE_INIT;
44 formatCommand.parameters = cmd.substring((CMDSTR_FILE_SEND + ' ').length);
46 formatCommand.bJumpDo = true;
48 log('formatCommand cmdFlag is : ' + formatCommand.cmdFlag);
[all …]
DHdcStream.ts44 let formatCommand;
46 formatCommand = new FormatCommand(HdcCommand.CMD_SHELL_DATA, cmd, false);
48 formatCommand = Utils.formatCommand(cmd);
50 return this.DoCommandRemote(formatCommand);
/developtools/hdc/src/host/
Dserver_for_client.cpp368 …TranslateCommand::FormatCommand *formatCommand = (TranslateCommand::FormatCommand *)formatCommandI… in GetTargetList() local
371 if (formatCommand->parameters == "v") { in GetTargetList()
449 …TranslateCommand::FormatCommand *formatCommand = (TranslateCommand::FormatCommand *)formatCommandI… in DoCommandLocal() local
453 switch (formatCommand->cmdFlag) { in DoCommandLocal()
477 …WRITE_LOG(LOG_DEBUG, "%s CMD_KERNEL_TARGET_ANY %s", __FUNCTION__, formatCommand->parameters.c_str(… in DoCommandLocal()
484 …WRITE_LOG(LOG_DEBUG, "%s CMD_KERNEL_TARGET_CONNECT %s", __FUNCTION__, formatCommand->parameters.c_… in DoCommandLocal()
486 ret = NewConnectTry(ptrServer, hChannel, formatCommand->parameters.c_str()); in DoCommandLocal()
490 … WRITE_LOG(LOG_INFO, "%s CMD_CHECK_DEVICE %s", __FUNCTION__, formatCommand->parameters.c_str()); in DoCommandLocal()
492 hChannel->key = formatCommand->parameters.c_str(); in DoCommandLocal()
493 ret = NewConnectTry(ptrServer, hChannel, formatCommand->parameters.c_str(), true); in DoCommandLocal()
[all …]
/developtools/profiler/host/smartperf/ide/src/hdc/common/
DUtils.ts33 public static formatCommand(cmd: string): FormatCommand { method in Utils
40 let formatCommand = FormatCommand.string2FormatCommand(command);
42 if (formatCommand.cmdFlag <= -1) {
45 return formatCommand;
/developtools/smartperf_host/ide/src/hdc/common/
DUtils.ts33 public static formatCommand(cmd: string): FormatCommand { method in Utils
40 let formatCommand = FormatCommand.string2FormatCommand(command);
42 if (formatCommand.cmdFlag <= -1) {
45 return formatCommand;
/developtools/smartperf_host/ide/test/hdc/common/
DUtils.test.ts35 Utils.formatCommand(
46 expect(Utils.formatCommand('abc')).toEqual({
54 expect(Utils.formatCommand('hdc')).toEqual({