1099215e30c3b09dfa390c638a45487c43b2b1e1 |
|
20-Sep-2016 |
Josh Gao <jmgao@google.com> |
adb: parse tcp socket specs with base::ParseNetAddress. libbase already has IPv6-aware address parsing, so use it instead of adb's handrolled IPv4-only parsing. Bug: http://b/31537253 Change-Id: I4e9ce56b55d7d02787c0fa67b724490bf49ce479 Test: mma && adb start-server && \ adb -L 'tcp:[::ffff:127.0.0.1]:5037' devices && \ adb -L 'tcp:localhost:5037' devices && \ adb -L 'tcp:127.0.0.1:5037' devices && \ adb -L 'tcp:5037' devices && \ $ANDROID_HOST_OUT/nativetest64/adb_test/adb_test
/system/core/adb/socket_spec.h
|
9c869b58a8cf4f7c3bc88931fbd27d3f5187b2db |
|
26-Aug-2016 |
Josh Gao <jmgao@google.com> |
adb: allow use of arbitrary socket specs for command socket. Bug: http://b/30445394 Change-Id: I474ede35ec3c56ad86da503c9703f83ef5e80862
/system/core/adb/socket_spec.h
|
cfb21412e5e3a716fc45601f35d3b58ce5f78f46 |
|
25-Aug-2016 |
Josh Gao <jmgao@google.com> |
adb: factor out socket specification. Move the logic for string socket specification out to separate functions to facilitate using arbitrary sockets for the adb command socket. Bug: http://b/30445394 Change-Id: Icd8fdb853272edc029fb3a0f5b18e941dc8ef52c Test: adb_test, adbd_test, test_device.py
/system/core/adb/socket_spec.h
|