Go to file
Jerry Zhang 6e9a327504 adb: Retry io in case of interrupt
io_submit sleeps waiting for the gadget
to be enabled. Currently if that sleep
is interrupted it will shut down adb,
causing it to have to start back up again.

Rather than return EINTR if interrupted,
io_submit actually completes and the EINTR
is found later when looking through events.
Since an io that is interrupted will be
small anyway, add a loop to retry small ios.

Also upgrade aio logs in accordance with
their importance.

Fixes: 75981904
Test: adb works, logs show successful interrupt handling
Change-Id: I35973fce130ee849ce59fef80d15b65afb816ba4
2018-03-23 00:11:05 +00:00
adb adb: Retry io in case of interrupt 2018-03-23 00:11:05 +00:00
adf Merge "Add OWNERS." am: 3289b9c928 am: 515c8fe572 2017-12-08 01:29:20 +00:00
base Base: Add default tag manipulation 2018-03-09 13:20:05 -08:00
bootstat Merge "Fix PDK build" am: 24e34e4b8e am: 9a393de28f 2018-02-14 03:23:00 +00:00
cpio Possible null pointer miss on realloc 2017-03-23 22:41:14 +01:00
debuggerd Mark crash_dump.policy as not supported on mips 2018-02-27 15:35:11 -08:00
demangle bpfmt. 2018-02-16 17:58:14 -08:00
fastboot fastboot: only require Linux modules on Linux 2018-02-13 17:49:16 +00:00
fs_mgr Merge "fs_mgr: add sysfs_path=%s to indicate a location of sysfs entry" am: badaa56639 am: 81e692c04b 2018-02-27 06:38:45 +00:00
gatekeeperd Merge "Revert "Restore "Add UID parameter to authentication token""" 2018-02-23 17:42:46 +00:00
healthd Merge "healthd: Fix negativity check after cast to unsigned enum" am: 3dad67af05 am: 4734981245 2018-03-03 00:46:57 +00:00
include Move android_filesystem_config.h => fs_config.h 2017-08-02 16:31:19 -07:00
init Merge "Revert "init: Reboot after timeout passes during reboot"" into pi-dev 2018-03-20 18:42:43 +00:00
libappfuse Stop using SO_SNDBUFFORCE 2018-03-15 14:22:27 +09:00
libasyncio bpfmt. 2018-02-16 17:58:14 -08:00
libbacktrace Modify the offline handling interface. 2018-02-23 09:14:06 -08:00
libbinderwrapper libbinderwrapper: Android.mk -> Android.bp 2017-04-25 15:55:26 -07:00
libcrypto_utils Mark the modules as VNDK in Android.bp 2017-09-14 08:35:16 +00:00
libcutils Merge "Remove fs_config entries for webview_zygote." am: 47354e76eb am: 19fafd1ae9 2018-02-23 17:55:05 +00:00
libdiskconfig Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]] 2017-10-02 10:44:29 -07:00
libgrallocusage Use -Werror in system/core 2017-11-01 11:32:55 -07:00
libion bpfmt. 2018-02-16 17:58:14 -08:00
libkeyutils Add libkeyutils. 2017-05-10 10:40:11 -07:00
liblog liblog: save errno through log writing 2018-03-07 22:30:16 +00:00
libmemtrack Add OWNERS. 2017-12-07 13:30:03 -08:00
libmemunreachable Make memunreachable_binder_test suitable for VTS 2018-02-27 18:29:18 -08:00
libmetricslogger Add OWNERS. 2017-12-07 13:30:03 -08:00
libnativebridge bpfmt. 2018-02-16 17:58:14 -08:00
libnativeloader bpfmt. 2018-02-16 17:58:14 -08:00
libnetutils Merge "Add OWNERS." am: 3289b9c928 2017-12-07 23:51:13 +00:00
libpackagelistparser bpfmt. 2018-02-16 17:58:14 -08:00
libpixelflinger MIPS[64]: codeflinger: Fix build due to unused variable warnings 2017-11-06 16:38:49 +01:00
libprocessgroup libprocessgroup: remove legacy C string handling and build for host 2018-02-27 14:12:19 -08:00
libprocinfo bpfmt. 2018-02-16 17:58:14 -08:00
libqtaguid Redirect qtaguid native call to netd fwmark client 2017-11-09 18:02:22 -08:00
libsparse Merge "<stdbool.h> not necessary in C++." 2017-10-17 19:26:53 +00:00
libsuspend Add force_suspend function 2018-01-19 12:30:39 -08:00
libsync Merge "libsync: Add fence info tests" 2017-09-26 23:46:32 +00:00
libsystem graphics: include graphics-sw.h from graphics.h 2018-03-13 10:13:51 -07:00
libsysutils Include iface index in the netlink event 2018-03-09 12:46:20 +09:00
libunwindstack Always set the sp reg to the cfa for DWARF. 2018-03-19 11:11:19 -07:00
libusbhost Merge "Remove urb request size maximum." am: 1cb765c867 am: 1ab6e9d018 2018-02-13 09:02:38 +00:00
libutils Revert "libutilscallstack is private VNDK-SP" 2018-03-15 10:46:30 +09:00
libvndksupport bpfmt. 2018-02-16 17:58:14 -08:00
libziparchive Merge "Remove empty zip warning on host builds" am: fd42c09813 2018-03-02 02:32:13 +00:00
lmkd lmkd: Select in-kernel vs userspace lmk based on kernel driver presence 2018-03-02 01:16:05 +00:00
logcat bpfmt. 2018-02-16 17:58:14 -08:00
logd logd: identical check access message data out of range 2018-03-14 07:26:20 -07:00
logwrapper bpfmt. 2018-02-16 17:58:14 -08:00
mkbootimg mkbootimg: use int for os_version and os_patch_level 2016-03-29 16:06:37 -07:00
property_service Introduce property types 2018-01-16 14:44:40 -08:00
qemu_pipe Add OWNERS. 2017-12-07 13:30:03 -08:00
reboot reboot: only pause indefinitely for non-shutdown operations 2017-09-29 16:29:52 +00:00
rootdir Merge "Set SPI Allocation Timeout to One Hour" into pi-dev 2018-03-21 17:03:39 +00:00
run-as run-as: Keep supplementary groups. 2017-09-29 15:34:23 -04:00
sdcard Add support for esdfs mounting 2018-01-19 12:58:42 -08:00
shell_and_utilities Reland: Add getprop to toolbox 2018-01-10 11:26:24 -08:00
storaged health: Modify IHealthInfo Callback interface to return V2.0 HealthInfo 2018-01-18 14:51:26 -08:00
toolbox Build toolbox with _FILE_OFFSET_BITS=64. 2018-01-22 16:15:55 -08:00
trusty Merge "bpfmt." am: 0609e8d231 am: b57755c429 2018-02-20 02:24:45 +00:00
usbd bpfmt. 2018-02-16 17:58:14 -08:00
.clang-format Add a 2 width option of clang format. 2017-03-10 13:01:39 -08:00
.clang-format-2 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.clang-format-4 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.bp Export android_filesystem_config.h as a filegroup 2017-01-17 18:20:28 -08:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk Add VNDK version for namespace configuration files 2017-12-13 10:31:04 +09:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
PREUPLOAD.cfg Add a PREUPLOAD.cfg file to run git-clang-format on every commit 2017-03-08 16:51:26 +08:00
platform_tools_tool_version.mk Fix warning on the build servers 2017-05-25 12:35:40 -07:00