History log of /system/core/adb/socket.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e3585684d93710cefb59dd410de0c6c07f804c60 12-Sep-2017 Josh Gao <jmgao@google.com> adb: reformat comments.

Bug: 67320882
Test: none
Change-Id: Ib484f701f66cdb57f303dbd6d5eb2e5a15abdc0e
(cherry picked from commit 55c8b34f144ab37f0e8a9df4b2399b74f155408f)
/system/core/adb/socket.h
b4cff495a1f93b6c92f4327cbfb9e564b28913d8 29-Mar-2016 Dan Austin <danielaustin@google.com> Address const issues in preparation for libcxx rebase.

Change-Id: I4eccc1b5a70da9dd325e1a7e10ab0a3fe588c03f
/system/core/adb/socket.h
3f902aad5b427a8162bf860a758878b55b13e775 01-Mar-2016 David Pursell <dpursell@google.com> 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
/system/core/adb/socket.h
c1b1f6ff5de82b457923eea3f0bbad1ac2e459d7 16-Sep-2015 Yabin Cui <yabinc@google.com> Add unit tests for local socket.

Add has_write_error flag in asocket, so it will not wait on local_socket_closing_list
to write pending packets in local_socket_close(). Although it doesn't fix any problem,
it helps to make the code more stable.
Add a missing put_apacket() in error handling.
Add a check when adding local socket in local_socket_closing_list.

Bug: 23314034

Change-Id: I75b07ba8ee59b7f277fba2fb919db63065b291be
/system/core/adb/socket.h