/developtools/smartperf_host/ide/test/command/ |
D | Cmd.test.ts | 17 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/ |
D | Cmd.ts | 20 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/ |
D | Cmd.ts | 20 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/ |
D | SpJsHeap.ts | 22 import { Cmd } from '../../../command/Cmd.js'; 89 Cmd.getDebugProcess().then((processList) => {
|
D | SpHisysEvent.ts | 23 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) => {
|
D | SpVmTracker.ts | 23 import { Cmd } from '../../../command/Cmd.js'; 130 Cmd.getProcess().then((processList) => {
|
D | SpRecordPerf.ts | 30 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) => {
|
D | SpAllocations.ts | 24 import { Cmd } from '../../../command/Cmd.js'; 127 Cmd.getProcess().then((processList) => {
|
D | SpFileSystem.ts | 25 import { Cmd } from '../../../command/Cmd.js'; 252 Cmd.getProcess().then((processList) => {
|
/developtools/smartperf_host/ide/src/trace/component/setting/ |
D | SpHisysEvent.ts | 23 import { Cmd } from '../../../command/Cmd.js'; 79 Cmd.getProcess().then((processList) => {
|
D | SpVmTracker.ts | 23 import { Cmd } from '../../../command/Cmd.js'; 80 Cmd.getProcess().then((processList) => {
|
D | SpRecordPerf.ts | 30 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) => {
|
D | SpFileSystem.ts | 25 import { Cmd } from '../../../command/Cmd.js'; 143 Cmd.getProcess().then((processList) => {
|
D | SpArkTs.ts | 22 import { Cmd } from '../../../command/Cmd.js'; 125 Cmd.getDebugProcess().then((processList) => {
|
D | SpAllocations.ts | 24 import { Cmd } from '../../../command/Cmd.js'; 136 Cmd.getProcess().then((processList) => {
|
/developtools/smartperf_host/ide/src/trace/component/ |
D | SpRecordTrace.ts | 61 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) => { 1018 …Cmd.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) => { 1027 … Cmd.execHdcTraceCmd(traceCommandStr, SpRecordTrace.serialNumber, (traceResult: string) => { [all …]
|
/developtools/profiler/host/smartperf/ide/src/trace/component/ |
D | SpRecordTrace.ts | 61 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) => { 1017 …Cmd.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) => { 1026 … Cmd.execHdcTraceCmd(traceCommandStr, SpRecordTrace.serialNumber, (traceResult: string) => { [all …]
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/hiperf/ |
D | TabPerfSampleList.ts | 32 import { Cmd } from '../../../../../command/Cmd.js'; 161 Cmd.execObjDump(cmd, perfSampleListAddrHex, (result: any) => {
|
D | TabPerfProfile.ts | 27 import { Cmd } from '../../../../../command/Cmd.js'; 245 Cmd.execObjDump(cmd, perfProfilerAddrHex, (result: any) => {
|
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/hiperf/ |
D | TabPerfSampleList.ts | 32 import { Cmd } from '../../../../../command/Cmd.js'; 161 Cmd.execObjDump(cmd, perfSampleListAddrHex, (result: any) => {
|
D | TabPerfProfile.ts | 27 import { Cmd } from '../../../../../command/Cmd.js'; 245 Cmd.execObjDump(cmd, perfProfilerAddrHex, (result: any) => {
|
/developtools/profiler/host/smartperf/ide/src/trace/ |
D | SpApplication.ts | 45 import { Cmd } from '../command/Cmd.js'; 932 Cmd.openFileDialog().then((res: string) => { 958 Cmd.uploadFile(vsUpload, (response: Response) => {
|
/developtools/smartperf_host/ide/src/trace/ |
D | SpApplication.ts | 45 import { Cmd } from '../command/Cmd.js'; 950 Cmd.openFileDialog().then((res: string) => { 976 Cmd.uploadFile(vsUpload, (response: Response) => {
|