Searched refs:FormatCommand (Results 1 – 14 of 14) sorted by relevance
| /developtools/smartperf_host/ide/test/hdc/hdcclient/ |
| D | FormatCommand.test.ts | 16 import { FormatCommand } from '../../../dist/hdc/hdcclient/FormatCommand.js'; 22 expect(FormatCommand.string2FormatCommand(CmdConstant.CMD_TRACE_FILE_SIZE)).toEqual({ 30 expect(FormatCommand.string2FormatCommand('shell ps')).toEqual({ 38 expect(FormatCommand.string2FormatCommand('shell')).toEqual({ 46 expect(FormatCommand.string2FormatCommand('file recv demo')).toEqual({ 54 expect(FormatCommand.string2FormatCommand('file send demo')).toEqual({ 62 expect(FormatCommand.string2FormatCommand(CmdConstant.CMD_GET_HIPERF_EVENTS)).toEqual({ 70 expect(FormatCommand.string2FormatCommand('null')).toEqual({
|
| /developtools/profiler/host/smartperf/ide/src/hdc/common/ |
| D | Utils.ts | 16 import { FormatCommand } from '../hdcclient/FormatCommand.js'; 33 public static formatCommand(cmd: string): FormatCommand { 40 let formatCommand = FormatCommand.string2FormatCommand(command);
|
| /developtools/smartperf_host/ide/src/hdc/common/ |
| D | Utils.ts | 16 import { FormatCommand } from '../hdcclient/FormatCommand.js'; 33 public static formatCommand(cmd: string): FormatCommand { 40 let formatCommand = FormatCommand.string2FormatCommand(command);
|
| /developtools/profiler/host/smartperf/ide/src/hdc/ |
| D | HdcDeviceManager.ts | 19 import { FormatCommand } from './hdcclient/FormatCommand.js'; 125 …await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_KERNEL_CHANNEL_CLOSE, '0', false)… 135 …await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_KERNEL_CHANNEL_CLOSE, '0', false)… 154 …await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_KERNEL_CHANNEL_CLOSE, '0', false)… 161 …await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_KERNEL_CHANNEL_CLOSE, '0', false)… 238 …await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_KERNEL_CHANNEL_CLOSE, '', false)); 253 await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_FILE_FINISH, '', false));
|
| /developtools/smartperf_host/ide/src/hdc/ |
| D | HdcDeviceManager.ts | 19 import { FormatCommand } from './hdcclient/FormatCommand.js'; 125 …await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_KERNEL_CHANNEL_CLOSE, '0', false)… 135 …await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_KERNEL_CHANNEL_CLOSE, '0', false)… 154 …await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_KERNEL_CHANNEL_CLOSE, '0', false)… 161 …await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_KERNEL_CHANNEL_CLOSE, '0', false)… 238 …await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_KERNEL_CHANNEL_CLOSE, '', false)); 253 await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_FILE_FINISH, '', false));
|
| /developtools/profiler/host/smartperf/ide/src/hdc/hdcclient/ |
| D | HdcStream.ts | 18 import { FormatCommand } from './FormatCommand.js'; 46 formatCommand = new FormatCommand(HdcCommand.CMD_SHELL_DATA, cmd, false); 53 public async DoCommandRemote(command: FormatCommand): Promise<boolean> { 92 async FileRecvCommand(command: FormatCommand) { 137 let fileBegin = new FormatCommand(HdcCommand.CMD_FILE_BEGIN, '', false); 142 …async sendToDaemon(command: FormatCommand, payload: Uint8Array, dataLength: number): Promise<boole…
|
| D | FormatCommand.ts | 20 export class FormatCommand { class 31 static string2FormatCommand(cmd: string): FormatCommand { 33 let formatCommand = new FormatCommand(-1, '', false);
|
| /developtools/smartperf_host/ide/src/hdc/hdcclient/ |
| D | HdcStream.ts | 18 import { FormatCommand } from './FormatCommand.js'; 46 formatCommand = new FormatCommand(HdcCommand.CMD_SHELL_DATA, cmd, false); 53 public async DoCommandRemote(command: FormatCommand): Promise<boolean> { 92 async FileRecvCommand(command: FormatCommand) { 137 let fileBegin = new FormatCommand(HdcCommand.CMD_FILE_BEGIN, '', false); 142 …async sendToDaemon(command: FormatCommand, payload: Uint8Array, dataLength: number): Promise<boole…
|
| D | FormatCommand.ts | 20 export class FormatCommand { class 31 static string2FormatCommand(cmd: string): FormatCommand { 33 let formatCommand = new FormatCommand(-1, '', false);
|
| /developtools/hdc/src/host/ |
| D | translate.h | 21 struct FormatCommand { struct 27 string String2FormatCommand(const char *inputRaw, int sizeInputRaw, FormatCommand *outCmd); argument
|
| D | translate.cpp | 189 string TargetConnect(FormatCommand *outCmd) in TargetConnect() 227 string ForwardPort(const char *input, FormatCommand *outCmd) in ForwardPort() 253 string RunMode(const char *input, FormatCommand *outCmd) in RunMode() 274 void TargetReboot(const char *input, FormatCommand *outCmd) in TargetReboot() 288 string String2FormatCommand(const char *inputRaw, int sizeInputRaw, FormatCommand *outCmd) in String2FormatCommand()
|
| D | server_for_client.cpp | 368 …TranslateCommand::FormatCommand *formatCommand = (TranslateCommand::FormatCommand *)formatCommandI… in GetTargetList() 449 …TranslateCommand::FormatCommand *formatCommand = (TranslateCommand::FormatCommand *)formatCommandI… in DoCommandLocal() 536 …TranslateCommand::FormatCommand *formatCommand = (TranslateCommand::FormatCommand *)formatCommandI… in TaskCommand() 617 …TranslateCommand::FormatCommand *formatCommand = (TranslateCommand::FormatCommand *)formatCommandI… in DoCommandRemote() 671 …TranslateCommand::FormatCommand *formatCommand = (TranslateCommand::FormatCommand *)formatCommandI… in DoCommand() 811 struct TranslateCommand::FormatCommand formatCommand = { 0 }; in ReadChannel()
|
| D | host_updater.h | 28 static bool CheckMatchUpdate(const std::string &input, TranslateCommand::FormatCommand &outCmd);
|
| D | host_updater.cpp | 258 bool HostUpdater::CheckMatchUpdate(const std::string &input, TranslateCommand::FormatCommand &outCm… in CheckMatchUpdate()
|