Home
last modified time | relevance | path

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

/developtools/smartperf_host/ide/test/hdc/hdcclient/
DFormatCommand.test.ts16 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/
DUtils.ts16 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/
DUtils.ts16 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/
DHdcDeviceManager.ts19 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/
DHdcDeviceManager.ts19 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/
DHdcStream.ts18 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…
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/hdcclient/
DHdcStream.ts18 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…
DFormatCommand.ts20 export class FormatCommand { class
31 static string2FormatCommand(cmd: string): FormatCommand {
33 let formatCommand = new FormatCommand(-1, '', 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()
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()
Dserver_for_client.cpp368 …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()
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()