Home
last modified time | relevance | path

Searched refs:Cmd (Results 1 – 23 of 23) sorted by relevance

/developtools/smartperf_host/ide/test/command/
DCmd.test.ts17 import { Cmd } from '../../dist/command/Cmd.js';
21 expect(Cmd.execObjDump('', '')).toBeUndefined();
25 expect(Cmd.execHdcCmd('')).toBeUndefined();
29 expect(Cmd.execFileRecv('', '')).toBeTruthy();
33 expect(Cmd.execHdcTraceCmd('', '')).toBeUndefined();
42 expect(Cmd.formatString('', params)).toBe('');
46 expect(Cmd.showSaveFile()).toBeUndefined();
50 expect(Cmd.uploadFile()).toBeUndefined();
54 expect(Cmd.copyFile('', '')).toBeUndefined();
58 expect(Cmd.openFileDialog()).toBeTruthy();
[all …]
/developtools/smartperf_host/ide/src/command/
DCmd.ts20 export class Cmd { class
55 Cmd.CmdSendPostUtils(uri, callback, data);
68 Cmd.CmdSendPostUtils(uri, callback, data);
104 Cmd.CmdSendPostUtils(uri, callback, data);
202 …let cmd = Cmd.formatString(CmdConstant.CMD_GET_DEBUG_PROCESS_DEVICES, [SpRecordTrace.serialNumber]…
203 Cmd.execHdcCmd(cmd, (res: string) => {
204 resolve(Cmd.convertOutProcessList(res));
210 resolve(Cmd.convertOutProcessList(res));
223 … let cmd = Cmd.formatString(CmdConstant.CMD_GET_PROCESS_DEVICES, [SpRecordTrace.serialNumber]);
224 Cmd.execHdcCmd(cmd, (res: string) => {
[all …]
/developtools/profiler/host/smartperf/ide/src/command/
DCmd.ts20 export class Cmd { class
55 Cmd.CmdSendPostUtils(uri, callback, data);
68 Cmd.CmdSendPostUtils(uri, callback, data);
104 Cmd.CmdSendPostUtils(uri, callback, data);
202 …let cmd = Cmd.formatString(CmdConstant.CMD_GET_DEBUG_PROCESS_DEVICES, [SpRecordTrace.serialNumber]…
203 Cmd.execHdcCmd(cmd, (res: string) => {
204 resolve(Cmd.convertOutProcessList(res));
210 resolve(Cmd.convertOutProcessList(res));
223 … let cmd = Cmd.formatString(CmdConstant.CMD_GET_PROCESS_DEVICES, [SpRecordTrace.serialNumber]);
224 Cmd.execHdcCmd(cmd, (res: string) => {
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/setting/
DSpJsHeap.ts22 import { Cmd } from '../../../command/Cmd.js';
89 Cmd.getDebugProcess().then((processList) => {
DSpHisysEvent.ts23 import { Cmd } from '../../../command/Cmd.js';
127 … let cmd = Cmd.formatString(CmdConstant.CMD_GET_APP_NMAE_DEVICES, [SpRecordTrace.serialNumber]);
128 Cmd.execHdcCmd(cmd, (res: string) => {
DSpVmTracker.ts23 import { Cmd } from '../../../command/Cmd.js';
130 Cmd.getProcess().then((processList) => {
DSpRecordPerf.ts30 import { Cmd } from '../../../command/Cmd.js';
314 Cmd.getProcess().then(
347 … let cmd = Cmd.formatString(CmdConstant.CMD_GET_CPU_COUNT_DEVICES, [SpRecordTrace.serialNumber]);
348 Cmd.execHdcCmd(cmd, (res: string) => {
419 …let cmd = Cmd.formatString(CmdConstant.CMD_GET_HIPERF_EVENTS_DEVICES, [SpRecordTrace.serialNumber]…
420 Cmd.execHdcCmd(cmd, (res: string) => {
DSpAllocations.ts24 import { Cmd } from '../../../command/Cmd.js';
127 Cmd.getProcess().then((processList) => {
DSpFileSystem.ts25 import { Cmd } from '../../../command/Cmd.js';
252 Cmd.getProcess().then((processList) => {
/developtools/smartperf_host/ide/src/trace/component/setting/
DSpHisysEvent.ts23 import { Cmd } from '../../../command/Cmd.js';
79 Cmd.getProcess().then((processList) => {
DSpVmTracker.ts23 import { Cmd } from '../../../command/Cmd.js';
80 Cmd.getProcess().then((processList) => {
DSpRecordPerf.ts30 import { Cmd } from '../../../command/Cmd.js';
309 Cmd.getProcess().then(
342 … let cmd = Cmd.formatString(CmdConstant.CMD_GET_CPU_COUNT_DEVICES, [SpRecordTrace.serialNumber]);
343 Cmd.execHdcCmd(cmd, (res: string) => {
414 …let cmd = Cmd.formatString(CmdConstant.CMD_GET_HIPERF_EVENTS_DEVICES, [SpRecordTrace.serialNumber]…
415 Cmd.execHdcCmd(cmd, (res: string) => {
DSpFileSystem.ts25 import { Cmd } from '../../../command/Cmd.js';
143 Cmd.getProcess().then((processList) => {
DSpArkTs.ts22 import { Cmd } from '../../../command/Cmd.js';
125 Cmd.getDebugProcess().then((processList) => {
DSpAllocations.ts24 import { Cmd } from '../../../command/Cmd.js';
136 Cmd.getProcess().then((processList) => {
/developtools/smartperf_host/ide/src/trace/component/
DSpRecordTrace.ts61 import { Cmd } from '../../command/Cmd.js';
417 Cmd.execHdcCmd(CmdConstant.CMD_HDC_DEVICES, (res: string) => {
569 … let cmd = Cmd.formatString(CmdConstant.CMD_GET_VERSION_DEVICES, [SpRecordTrace.serialNumber]);
570 Cmd.execHdcCmd(cmd, (deviceVersion: string) => {
726 let cmd = Cmd.formatString(CmdConstant.CMS_HDC_STOP, [SpRecordTrace.serialNumber]);
727 Cmd.execHdcCmd(cmd, (res: string) => {
1018Cmd.execHdcCmd(Cmd.formatString(CmdConstant.CMS_HDC_STOP, [SpRecordTrace.serialNumber]), (stopRes:…
1019 let cmd = Cmd.formatString(CmdConstant.CMD_MOUNT_DEVICES, [SpRecordTrace.serialNumber]);
1020 Cmd.execHdcCmd(cmd, (res: string) => {
1027Cmd.execHdcTraceCmd(traceCommandStr, SpRecordTrace.serialNumber, (traceResult: string) => {
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/
DSpRecordTrace.ts61 import { Cmd } from '../../command/Cmd.js';
417 Cmd.execHdcCmd(CmdConstant.CMD_HDC_DEVICES, (res: string) => {
568 … let cmd = Cmd.formatString(CmdConstant.CMD_GET_VERSION_DEVICES, [SpRecordTrace.serialNumber]);
569 Cmd.execHdcCmd(cmd, (deviceVersion: string) => {
725 let cmd = Cmd.formatString(CmdConstant.CMS_HDC_STOP, [SpRecordTrace.serialNumber]);
726 Cmd.execHdcCmd(cmd, (res: string) => {
1017Cmd.execHdcCmd(Cmd.formatString(CmdConstant.CMS_HDC_STOP, [SpRecordTrace.serialNumber]), (stopRes:…
1018 let cmd = Cmd.formatString(CmdConstant.CMD_MOUNT_DEVICES, [SpRecordTrace.serialNumber]);
1019 Cmd.execHdcCmd(cmd, (res: string) => {
1026Cmd.execHdcTraceCmd(traceCommandStr, SpRecordTrace.serialNumber, (traceResult: string) => {
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/hiperf/
DTabPerfSampleList.ts32 import { Cmd } from '../../../../../command/Cmd.js';
161 Cmd.execObjDump(cmd, perfSampleListAddrHex, (result: any) => {
DTabPerfProfile.ts27 import { Cmd } from '../../../../../command/Cmd.js';
245 Cmd.execObjDump(cmd, perfProfilerAddrHex, (result: any) => {
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/hiperf/
DTabPerfSampleList.ts32 import { Cmd } from '../../../../../command/Cmd.js';
161 Cmd.execObjDump(cmd, perfSampleListAddrHex, (result: any) => {
DTabPerfProfile.ts27 import { Cmd } from '../../../../../command/Cmd.js';
245 Cmd.execObjDump(cmd, perfProfilerAddrHex, (result: any) => {
/developtools/profiler/host/smartperf/ide/src/trace/
DSpApplication.ts45 import { Cmd } from '../command/Cmd.js';
932 Cmd.openFileDialog().then((res: string) => {
958 Cmd.uploadFile(vsUpload, (response: Response) => {
/developtools/smartperf_host/ide/src/trace/
DSpApplication.ts45 import { Cmd } from '../command/Cmd.js';
950 Cmd.openFileDialog().then((res: string) => {
976 Cmd.uploadFile(vsUpload, (response: Response) => {