platform_system_core/adb
Colin Cross 58021d15c9 Move adb_dirname and adb_basename to libbase
adb already provides an implementation of dirname and basename that
take and produce std::strings, move it into libbase so it can be
used in the implementation of GetExecutableDirectory.

Test: out/host/linux-x86/nativetest64/adb_test/adb_test
Test: out/host/linux-x86/nativetest64/libbase_test/libbase_test
Test: adb shell /data/nativetest64/libbase_test/libbase_test64
Change-Id: Ideb1627607b14562121316d4ed27fa6fb0930684
2017-02-27 18:18:31 -08:00
..
client adb: add adb host-features, report libusb status. 2017-02-22 18:19:21 -08:00
daemon adb: set max_rw to USB_FFS_BULK_SIZE explicitly 2017-02-21 14:37:07 -08:00
sysdeps Revert "Revert "adb: extend sync protocol's stat support."" 2016-12-05 17:38:30 -08:00
.clang-format
adb.cpp adb: add adb host-features, report libusb status. 2017-02-22 18:19:21 -08:00
adb.h adb: add adb host-features, report libusb status. 2017-02-22 18:19:21 -08:00
adb_auth.h adb: rationalize types. 2016-10-06 14:50:02 -07:00
adb_auth_host.cpp adb: check for and report inotify_init1 failure. 2017-01-20 15:26:00 -08:00
adb_client.cpp Remove unused adb_set_transport. 2016-12-02 12:53:09 -08:00
adb_client.h Remove unused adb_set_transport. 2016-12-02 12:53:09 -08:00
adb_io.cpp adb: add sysdeps/chrono.h for chrono literals on Win32. 2016-11-16 12:14:59 -08:00
adb_io.h
adb_io_test.cpp
adb_listeners.cpp adb: factor out socket specification. 2016-08-25 17:12:26 -07:00
adb_listeners.h
adb_listeners_test.cpp
adb_trace.cpp adb: fix adb trace tag 2016-12-14 12:41:43 -06:00
adb_trace.h adb: add tracing to file_sync_service.cpp. 2016-12-12 12:28:45 -08:00
adb_unique_fd.h adb: extract the adb-specific unique_fd out into its own header. 2016-09-01 15:49:06 -07:00
adb_utils.cpp Move adb_dirname and adb_basename to libbase 2017-02-27 18:18:31 -08:00
adb_utils.h Move adb_dirname and adb_basename to libbase 2017-02-27 18:18:31 -08:00
adb_utils_test.cpp Move adb_dirname and adb_basename to libbase 2017-02-27 18:18:31 -08:00
adbd_auth.cpp adb: rationalize types. 2016-10-06 14:50:02 -07:00
Android.mk Revert "adb: remove win32 dependency on libwinpthread-1.dll." 2017-02-23 13:16:52 -08:00
bugreport.cpp Move adb_dirname and adb_basename to libbase 2017-02-27 18:18:31 -08:00
bugreport.h DO NOT MERGE: Removed extra 'pulling file' message. 2016-08-30 13:06:30 -07:00
bugreport_test.cpp DO NOT MERGE: Split 'generating' and 'pulling' in 2 messages. 2016-08-30 13:06:37 -07:00
commandline.cpp Move adb_dirname and adb_basename to libbase 2017-02-27 18:18:31 -08:00
commandline.h DO NOT MERGE: Refactored functions that copy sdout and stderr to strings to use a callback. 2016-08-30 13:06:26 -07:00
console.cpp adb: add helper to get the ~/.android directory. 2016-09-01 15:43:22 -07:00
CPPLINT.cfg
diagnose_usb.cpp
diagnose_usb.h
fdevent.cpp
fdevent.h
fdevent_test.cpp
fdevent_test.h
file_sync_client.cpp Move adb_dirname and adb_basename to libbase 2017-02-27 18:18:31 -08:00
file_sync_service.cpp Move adb_dirname and adb_basename to libbase 2017-02-27 18:18:31 -08:00
file_sync_service.h Revert "Revert "adb: extend sync protocol's stat support."" 2016-12-05 17:38:30 -08:00
framebuffer_service.cpp
jdwp_service.cpp adb: extract the adb-specific unique_fd out into its own header. 2016-09-01 15:49:06 -07:00
line_printer.cpp adb: add missing newline when printing transfer rate. 2016-08-04 14:56:53 -07:00
line_printer.h
MODULE_LICENSE_APACHE2
NOTICE
OVERVIEW.TXT
protocol.txt Precise command constants on adb/protoxol.txt 2016-08-30 01:30:12 +02:00
remount_service.cpp Switch adb to <android-base/properties.h>. 2016-09-26 13:14:14 -07:00
remount_service.h
security_log_tags.h
services.cpp adb: Set max socket sizes to larger values. 2017-02-13 18:19:36 -08:00
services.h
SERVICES.TXT
set_verity_enable_state_service.cpp adb: early-mount: fix verity toggle through adb for early mount 2017-02-23 16:48:52 -08:00
shell_service.cpp adbd's children should have SIGPIPE set to SIG_DFL. 2017-02-17 11:14:33 -08:00
shell_service.h
shell_service_protocol.cpp
shell_service_protocol_test.cpp adb: fix undefined behavior 2016-10-19 19:39:44 -07:00
shell_service_test.cpp
socket.h
socket_spec.cpp adb: parse tcp socket specs with base::ParseNetAddress. 2016-09-20 13:55:43 -07:00
socket_spec.h adb: parse tcp socket specs with base::ParseNetAddress. 2016-09-20 13:55:43 -07:00
socket_spec_test.cpp adb: parse tcp socket specs with base::ParseNetAddress. 2016-09-20 13:55:43 -07:00
socket_test.cpp adb: add sysdeps/chrono.h for chrono literals on Win32. 2016-11-16 12:14:59 -08:00
sockets.cpp adb: add adb reconnect offline to reconnect offline devices. 2016-10-27 17:13:23 -07:00
sockets.dia
SYNC.TXT
sysdeps.h Revert "Revert "adb: move adb_strerror to sysdeps/win32/errno.cpp."" 2016-12-05 17:38:30 -08:00
sysdeps_test.cpp adb: add sysdeps/chrono.h for chrono literals on Win32. 2016-11-16 12:14:59 -08:00
sysdeps_unix.cpp
sysdeps_win32.cpp Revert "Revert "adb: move adb_strerror to sysdeps/win32/errno.cpp."" 2016-12-05 17:38:30 -08:00
sysdeps_win32_test.cpp adb: add script to trace adbd. 2016-12-13 14:31:17 -08:00
test_adb.py libcutils: try all addresses in socket_network_client_timeout. 2016-09-01 15:56:58 -07:00
test_device.py adb: be more permissive in test_push_error_reporting. 2016-11-21 18:39:21 -08:00
trace.sh adb: add script to trace adbd. 2016-12-13 14:31:17 -08:00
transport.cpp adb: add adb host-features, report libusb status. 2017-02-22 18:19:21 -08:00
transport.h adb: add adb host-features, report libusb status. 2017-02-22 18:19:21 -08:00
transport_local.cpp adb: add sysdeps/chrono.h for chrono literals on Win32. 2016-11-16 12:14:59 -08:00
transport_test.cpp adb: kill adb_mutex_t, adb_cond_t. 2016-09-21 17:22:22 -07:00
transport_usb.cpp adb: add adb host-features, report libusb status. 2017-02-22 18:19:21 -08:00
usb.h adb: add adb host-features, report libusb status. 2017-02-22 18:19:21 -08:00