summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryLocalTest.cpp
diff options
context:
space:
mode:
authorDavid Pursell <dpursell@google.com>2016-03-01 08:58:26 -0800
committerJosh Gao <jmgao@google.com>2016-03-03 15:46:50 -0800
commit802c54ebb79453256a8c7fd3c3cab88acc8a84e8 (patch)
treee31b2ed00e2fde057eac5b62025820b8c0891123 /libunwindstack/tests/MemoryLocalTest.cpp
parentf22bc60fc9b16148cd82e2c23b22ca3f62b00d96 (diff)
adb: relax serial matching rules.
Currently targeting a device by serial requires matching the serial number exactly. This CL relaxes the matching rules for local transports to ignore protocol prefixes and make the port optional: [tcp:|udp:]<hostname>[:port] The purpose of this is to allow a user to set ANDROID_SERIAL to something like "tcp:100.100.100.100" and have it work for both fastboot and adb (assuming the device comes up at 100.100.100.100 in both modes). This CL also adds some unit tests for the modified functions to make sure they work as expected. Bug: 27340240 Change-Id: I006e0c70c84331ab44d05d0a0f462d06592eb879 (cherry picked from commit 3f902aad5b427a8162bf860a758878b55b13e775)
Diffstat (limited to 'libunwindstack/tests/MemoryLocalTest.cpp')
0 files changed, 0 insertions, 0 deletions