scrcpy/app/src/adb
Romain Vimont 3bb24b3926 Make intr optional for adb commands
All adb commands are executed with an "interruptor", so that they can be
interrupted on Ctrl+C.

Make this interruptor optional, so that we could call "adb kill-server"
in OTG mode. This command always returns almost immediately anyway.

Ideally, we should make all blocking calls interruptible (including
libusb calls, by using the asynchronous API), but it's a lot of work,
and in practice it works well enough.

PR #3011 <https://github.com/Genymobile/scrcpy/pull/3011>
2022-02-20 17:39:36 +01:00
..
adb.c Make intr optional for adb commands 2022-02-20 17:39:36 +01:00
adb.h Add option to select USB or TCP/IP devices 2022-02-09 10:00:25 +01:00
adb_device.c Add adb devices parser 2022-02-09 09:56:25 +01:00
adb_device.h Expose simple API to select a single adb device 2022-02-09 09:56:26 +01:00
adb_parser.c Expose simple API to select a single adb device 2022-02-09 09:56:26 +01:00
adb_parser.h Add adb devices parser 2022-02-09 09:56:25 +01:00
adb_tunnel.c Use sc_ prefix for adb 2022-02-04 08:39:10 +01:00
adb_tunnel.h Move ADB code to adb/ 2022-02-04 08:39:10 +01:00