scrcpy/app/tests
Romain Vimont 86e614c9a5 Improve adb devices parsing
`adb devices -l` prints one device per line, containing, separated by
spaces:
 - the device serial,
 - the device state,
 - a list of key:value pairs.

However, the device serial itself may contain spaces, making a simple
split ambiguous.

To avoid ambiguity, parse the string backwards:
 - first, parse all the trailing key-value pairs (containing ':'),
 - then, the preceding token (not containing ':') is the device state,
 - finally, the remaining leading token is the device serial.
2026-02-09 22:51:31 +01:00
..
test_adb_parser.c Improve adb devices parsing 2026-02-09 22:51:31 +01:00
test_audiobuf.c Handle audio stream discontinuities 2025-03-29 14:54:35 +01:00
test_binary.c Add util functions to write in little-endian 2024-09-15 11:21:56 +02:00
test_cli.c Add --capture-orientation 2024-11-19 21:31:04 +01:00
test_control_msg_serialize.c Add shortcuts to change the camera zoom 2026-01-13 20:40:58 +01:00
test_device_msg_deserialize.c Handle UHID output 2024-03-01 00:52:00 +01:00
test_orientation.c Add --display-orientation 2023-11-23 23:27:28 +01:00
test_str.c Use explicit file protocol for AVIO 2024-11-18 18:48:26 +01:00
test_strbuf.c Add missing includes 2021-11-24 21:44:29 +01:00
test_vecdeque.c Add missing voids for empty parameter list 2023-10-23 21:50:40 +02:00
test_vector.c Add missing voids for empty parameter list 2023-10-23 21:50:40 +02:00