Searched refs:adb_read (Results 1 – 1 of 1) sorted by relevance
489 ADBAPIHANDLE adb_read = AdbOpenDefaultBulkReadEndpoint(adb_interface, in DeviceHandShake() local492 if (NULL == adb_read) { in DeviceHandShake()503 AdbCloseHandle(adb_read); in DeviceHandShake()521 AdbCloseHandle(adb_read); in DeviceHandShake()528 bool read_res = AdbReadEndpointSync(adb_read, &msg_rcv, sizeof(msg_rcv), &read_bytes, 512); in DeviceHandShake()532 AdbCloseHandle(adb_read); in DeviceHandShake()551 read_res = AdbReadEndpointSync(adb_read, buf, msg_rcv.data_length, &read_bytes, 512); in DeviceHandShake()556 AdbCloseHandle(adb_read); in DeviceHandShake()568 if (!AdbCloseHandle(adb_read)) { in DeviceHandShake()