Home
last modified time | relevance | path

Searched refs:FormatCommand (Results 1 – 10 of 10) sorted by relevance

/developtools/smartperf_host/ide/test/hdc/hdcclient/
DFormatCommand.test.ts15 import { FormatCommand } from '../../../src/hdc/hdcclient/FormatCommand';
20 expect(FormatCommand.string2FormatCommand(CmdConstant.CMD_TRACE_FILE_SIZE)).toEqual({
28 expect(FormatCommand.string2FormatCommand('shell ps')).toEqual({
36 expect(FormatCommand.string2FormatCommand('shell')).toEqual({
44 expect(FormatCommand.string2FormatCommand('file recv demo')).toEqual({
52 expect(FormatCommand.string2FormatCommand('file send demo')).toEqual({
60 expect(FormatCommand.string2FormatCommand(CmdConstant.CMD_GET_HIPERF_EVENTS)).toEqual({
68 expect(FormatCommand.string2FormatCommand('null')).toEqual({
/developtools/smartperf_host/ide/src/hdc/common/
DUtils.ts16 import { FormatCommand } from '../hdcclient/FormatCommand';
33 public static formatCommand(cmd: string): FormatCommand {
40 let formatCommand = FormatCommand.string2FormatCommand(command);
/developtools/smartperf_host/ide/src/hdc/hdcclient/
DHdcStream.ts18 import { FormatCommand } from './FormatCommand';
41 formatCommand = new FormatCommand(HdcCommand.CMD_SHELL_DATA, cmd, false);
48 public async DoCommandRemote(command: FormatCommand): Promise<boolean> {
87 async FileRecvCommand(command: FormatCommand): Promise<void> {
130 let fileBegin = new FormatCommand(HdcCommand.CMD_FILE_BEGIN, '', false);
135 …async sendToDaemon(command: FormatCommand, payload: Uint8Array, dataLength: number): Promise<boole…
DFormatCommand.ts20 export class FormatCommand { class
31 static string2FormatCommand(cmd: string): FormatCommand {
33 let formatCommand = new FormatCommand(-1, '', false);
/developtools/smartperf_host/ide/src/hdc/
DHdcDeviceManager.ts19 import { FormatCommand } from './hdcclient/FormatCommand';
146 …await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_KERNEL_CHANNEL_CLOSE, '0', false)…
157 …await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_KERNEL_CHANNEL_CLOSE, '0', false)…
179 …await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_KERNEL_CHANNEL_CLOSE, '0', false)…
210 new FormatCommand(HdcCommand.CMD_SHELL_DATA, cmd, false),
224 new FormatCommand(HdcCommand.CMD_SHELL_DATA, cmd, false),
318 …await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_KERNEL_CHANNEL_CLOSE, '', false));
333 await hdcStream.DoCommandRemote(new FormatCommand(HdcCommand.CMD_FILE_FINISH, '', false));
350 const channelClose = new FormatCommand(HdcCommand.CMD_KERNEL_CHANNEL_CLOSE, '0', false);
/developtools/hdc/src/host/
Dtranslate.h21 struct FormatCommand { struct
27 string String2FormatCommand(const char *inputRaw, int sizeInputRaw, FormatCommand *outCmd); argument
Dtranslate.cpp189 string TargetConnect(FormatCommand *outCmd) in TargetConnect()
227 string ForwardPort(const char *input, FormatCommand *outCmd) in ForwardPort()
258 string RunMode(const char *input, FormatCommand *outCmd) in RunMode()
279 void TargetReboot(const char *input, FormatCommand *outCmd) in TargetReboot()
293 string String2FormatCommand(const char *inputRaw, int sizeInputRaw, FormatCommand *outCmd) in String2FormatCommand()
Dserver_for_client.cpp387 …TranslateCommand::FormatCommand *formatCommand = (TranslateCommand::FormatCommand *)formatCommandI… in GetTargetList()
468 …TranslateCommand::FormatCommand *formatCommand = (TranslateCommand::FormatCommand *)formatCommandI… in DoCommandLocal()
555 …TranslateCommand::FormatCommand *formatCommand = (TranslateCommand::FormatCommand *)formatCommandI… in TaskCommand()
635 …TranslateCommand::FormatCommand *formatCommand = (TranslateCommand::FormatCommand *)formatCommandI… in DoCommandRemote()
689 …TranslateCommand::FormatCommand *formatCommand = (TranslateCommand::FormatCommand *)formatCommandI… in DoCommand()
848 struct TranslateCommand::FormatCommand formatCommand = { 0 }; in ReadChannel()
Dhost_updater.h28 static bool CheckMatchUpdate(const std::string &input, TranslateCommand::FormatCommand &outCmd);
Dhost_updater.cpp258 bool HostUpdater::CheckMatchUpdate(const std::string &input, TranslateCommand::FormatCommand &outCm… in CheckMatchUpdate()