Home
last modified time | relevance | path

Searched refs:hdcClient (Results 1 – 5 of 5) sorted by relevance

/developtools/smartperf_host/ide/test/hdc/hdcclient/
DHdcClient.test.ts21 let hdcClient = new HdcClient(); variable
22 expect(hdcClient.constructor()).toBeUndefined();
25 let hdcClient = new HdcClient(); variable
26 expect(hdcClient.bindStream()).toBeUndefined();
29 let hdcClient = new HdcClient(); variable
30 expect(hdcClient.bindStopStream()).toBeUndefined();
33 let hdcClient = new HdcClient(); variable
34 expect(hdcClient.unbindStream()).toBeTruthy();
37 let hdcClient = new HdcClient(); variable
38 expect(hdcClient.unbindStopStream()).toBeTruthy();
[all …]
/developtools/profiler/host/smartperf/ide/src/hdc/hdcclient/
DHdcStream.ts30 private hdcClient: HdcClient; property in HdcStream
33 constructor(hdcClient: HdcClient, isStopCmd: boolean) {
34 this.hdcClient = hdcClient;
37 this.hdcClient.bindStopStream(this.channelId, this);
39 this.hdcClient.bindStream(this.channelId, this);
143 return await this.hdcClient.readDataProcessing.send(
144 this.hdcClient.sessionId,
161 this.hdcClient.unbindStream(this.channelId);
165 this.hdcClient.unbindStopStream(this.channelId);
/developtools/smartperf_host/ide/src/hdc/hdcclient/
DHdcStream.ts30 private hdcClient: HdcClient; property in HdcStream
33 constructor(hdcClient: HdcClient, isStopCmd: boolean) {
34 this.hdcClient = hdcClient;
37 this.hdcClient.bindStopStream(this.channelId, this);
39 this.hdcClient.bindStream(this.channelId, this);
143 return await this.hdcClient.readDataProcessing.send(
144 this.hdcClient.sessionId,
161 this.hdcClient.unbindStream(this.channelId);
165 this.hdcClient.unbindStopStream(this.channelId);
/developtools/profiler/host/smartperf/ide/src/hdc/
DHdcDeviceManager.ts72 let hdcClient = new HdcClient(usbChannel, connectDevice);
73 let connected = await hdcClient.connectDevice();
75 this.currentHdcClient = hdcClient;
76 this.clientList.set(serialNumber, hdcClient);
101 let hdcClient = this.clientList.get(serialNumber);
102 if (hdcClient) {
103 await hdcClient.disconnect();
/developtools/smartperf_host/ide/src/hdc/
DHdcDeviceManager.ts72 let hdcClient = new HdcClient(usbChannel, connectDevice);
73 let connected = await hdcClient.connectDevice();
75 this.currentHdcClient = hdcClient;
76 this.clientList.set(serialNumber, hdcClient);
101 let hdcClient = this.clientList.get(serialNumber);
102 if (hdcClient) {
103 await hdcClient.disconnect();