Searched refs:sendRaw (Results 1 – 2 of 2) sorted by relevance
28 const sendRaw = jest.fn(); constant29 adb.sendRaw = sendRaw;43 expect(sendRaw).toHaveBeenCalledTimes(2);44 expect(sendRaw).toBeCalledWith(expectedAuthMessage.encodeHeader());45 expect(sendRaw).toBeCalledWith(expectedAuthMessage.data);
323 const sendPromises = [this.sendRaw(msg.encodeHeader())];324 if (msg.data.length > 0) sendPromises.push(this.sendRaw(msg.data));367 sendRaw(buf: Uint8Array): Promise<USBOutTransferResult> {