Home
last modified time | relevance | path

Searched refs:sendRaw (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/ui/src/controller/
Dadb_jsdomtest.ts28 const sendRaw = jest.fn(); constant
29 adb.sendRaw = sendRaw;
43 expect(sendRaw).toHaveBeenCalledTimes(2);
44 expect(sendRaw).toBeCalledWith(expectedAuthMessage.encodeHeader());
45 expect(sendRaw).toBeCalledWith(expectedAuthMessage.data);
Dadb.ts323 const sendPromises = [this.sendRaw(msg.encodeHeader())];
324 if (msg.data.length > 0) sendPromises.push(this.sendRaw(msg.data));
367 sendRaw(buf: Uint8Array): Promise<USBOutTransferResult> {