platform_system_core/adb
Dan Albert 8743ef9841 Additional cleanup of start_device_log.
Addresses nnk's post commit review comments on
https://android-review.googlesource.com/#/c/139381/

Remove unneeded code for creating /data/adb.

Add an O_CLOEXEC.

Move the closing of stdin out to main().

Append the pid of the current process to the log file to avoid
clobbering the log if the process crashes and restarts within the same
second.

Change-Id: Ide0be86b4b33256486634c29ba02efaf10cf913d
2015-03-20 09:49:15 -07:00
..
tests Make the root/unroot test more robust. 2015-03-09 10:45:50 -07:00
.clang-format Fix clang-format file for correct indent settings. 2015-03-19 13:27:20 -07:00
Android.mk Revert "Revert "adb: support /oem partition"" 2015-03-16 20:05:21 -07:00
CPPLINT.cfg Ignore another stupid lint warning. 2015-02-20 17:19:22 -08:00
MODULE_LICENSE_APACHE2 eclair snapshot 2009-11-12 18:46:23 -08:00
NOTICE eclair snapshot 2009-11-12 18:46:23 -08:00
OVERVIEW.TXT Fixing spelling errors in adb docs 2010-04-28 11:38:39 -04:00
SERVICES.TXT adb: implement "adb reverse <local> <remote>" 2014-05-27 16:42:13 +02:00
SYNC.TXT Adding documentation on the sync part of the adb protocol previously missing. 2014-03-20 20:36:46 +01:00
adb.cpp Additional cleanup of start_device_log. 2015-03-20 09:49:15 -07:00
adb.h Revert "Revert "adb: support /oem partition"" 2015-03-16 20:05:21 -07:00
adb_auth.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
adb_auth.h File header cleanup. 2015-03-19 15:32:33 -07:00
adb_auth_client.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
adb_auth_host.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
adb_client.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
adb_client.h Move adb to C++. 2015-03-09 14:06:11 -07:00
adb_io.cpp Merge "The generic failure case disappeared..." 2015-03-20 03:50:36 +00:00
adb_io.h Test readx/writex (now renamed). 2015-02-25 15:07:57 -08:00
adb_io_test.cpp The generic failure case disappeared... 2015-03-19 20:10:30 -07:00
adb_listeners.cpp Move adb to C++. 2015-03-09 14:06:11 -07:00
adb_listeners.h Move the listener code into its own file. 2015-02-18 18:22:52 -08:00
adb_main.cpp Additional cleanup of start_device_log. 2015-03-20 09:49:15 -07:00
adb_trace.h Test readx/writex (now renamed). 2015-02-25 15:07:57 -08:00
commandline.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
console.cpp Move adb to C++. 2015-03-09 14:06:11 -07:00
fdevent.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
fdevent.h Begin moving code from adb to libadb. 2015-01-26 16:45:34 -08:00
file_sync_client.cpp adb doesn't actually use libzipfile. 2015-03-13 09:40:45 -07:00
file_sync_service.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
file_sync_service.h Add extern "C" to all the adb headers. 2015-02-18 00:21:16 -08:00
framebuffer_service.cpp Move adb to C++. 2015-03-09 14:06:11 -07:00
get_my_path_darwin.c Move adb to C++. 2015-03-09 14:06:11 -07:00
get_my_path_linux.cpp Move adb to C++. 2015-03-09 14:06:11 -07:00
get_my_path_windows.cpp Move adb to C++. 2015-03-09 14:06:11 -07:00
jdwp_service.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
mutex_list.h adb: Cleanup dead code 2013-04-24 21:31:45 -07:00
protocol.txt adb: Add public key authentification 2012-08-23 00:20:06 -07:00
qemu_tracing.cpp Move adb to C++. 2015-03-09 14:06:11 -07:00
qemu_tracing.h Move emulator tracing into its own file. 2015-02-18 17:21:17 -08:00
remount_service.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
remount_service.h Revert "Revert "adb: support /oem partition"" 2015-03-16 20:05:21 -07:00
services.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
set_verity_enable_state_service.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
sockets.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
sockets.dia auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
sysdeps.h Test readx/writex (now renamed). 2015-02-25 15:07:57 -08:00
sysdeps_win32.c File header cleanup. 2015-03-19 15:32:33 -07:00
test_track_devices.cpp Move adb to C++. 2015-03-09 14:06:11 -07:00
test_track_jdwp.cpp Move adb to C++. 2015-03-09 14:06:11 -07:00
transport.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
transport.h Move adb to C++. 2015-03-09 14:06:11 -07:00
transport_local.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
transport_test.cpp Add some basic tests to adb. 2015-02-25 10:57:26 -08:00
transport_usb.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
usb_linux.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
usb_linux_client.c File header cleanup. 2015-03-19 15:32:33 -07:00
usb_osx.c File header cleanup. 2015-03-19 15:32:33 -07:00
usb_windows.cpp File header cleanup. 2015-03-19 15:32:33 -07:00