platform_system_core/base
David Pursell 706955ff0d base: add network address parsing function from adb.
This CL moves the network address parsing function from adb to libbase
so that it can be used by fastboot as well as adb.

libbase seemed like the right choice because:
  1. It already has some parsing functions (parseint)
  2. The net address parsing function uses the libbase string
     functions so we have a libbase dependency anyway.

The parsing function has been modified slightly to make the canonical
address optional, and debug logging on success has been removed.

For adb the only functional difference is that parsing a network
address will no longer print the result to the debug log, which seemed
unnecessary.

Bug: http://b/26236380
Change-Id: Ife6df02937225fc66de87884d3572d79c092c522
2016-01-21 20:03:33 -08:00
..
include/android-base base: add network address parsing function from adb. 2016-01-21 20:03:33 -08:00
.clang-format Revert "Revert "Create libbase."" 2015-03-16 10:08:46 -07:00
Android.mk base: add network address parsing function from adb. 2016-01-21 20:03:33 -08:00
CPPLINT.cfg Don't show lint errors for rvalue references. 2015-04-02 18:38:01 -07:00
file.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
file_test.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
logging.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
logging_test.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
parseint_test.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
parsenetaddress.cpp base: add network address parsing function from adb. 2016-01-21 20:03:33 -08:00
parsenetaddress_test.cpp base: add network address parsing function from adb. 2016-01-21 20:03:33 -08:00
stringprintf.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
stringprintf_test.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
strings.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
strings_test.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
test_main.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
test_utils.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
utf8.cpp Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
utf8_test.cpp Fix a couple sign-comparison warnings. 2016-01-15 12:18:14 -08:00