No description
Find a file
Dima Zavin 6d46a4975e fastboot: reset timeout if INFO is received during long commands
As part of a refactor, commit db511207ed
added a timeout for receving responses for commands. Unfortunately,
the timeout is optimistic as to how quickly target devices can complete
such operations. Flash and erase commands can be quite slow on devices
with traditional flash chips. The fastboot protocol is already adept
at handling such cases because it allows for sending INFO packets during
these periods. We may receive one or more INFO packets during tehse long
operations. Every time we receive an INFO packet, it proves the remote
end is alive, but busy, which should reset our timeout timer.

Change-Id: Ia3bba21c497b22639b626d89711ecd4eb02504ed
Signed-off-by: Dima Zavin <dmitriyz@waymo.com>
2019-02-28 14:55:49 -08:00
adb Merge "adbd: limit the sizes of aio writes." 2019-02-28 07:25:21 +00:00
base Hopefully fix more darwin build breakage. 2019-02-19 14:37:02 -08:00
bootstat bootstat: local GetProperty use libbase 2019-02-11 13:16:59 -08:00
cpio Switch from dist-for-goals to dist in Android.bp 2018-11-19 23:06:12 -08:00
debuggerd Fix libdexfile dependencies to avoid direct dependency on libdexfile_external. 2019-02-24 22:04:11 +00:00
demangle Build adbd for recovery 2018-05-24 14:11:11 +09:00
deprecated-adf adf: rename. 2019-02-14 16:30:24 -08:00
diagnose_usb Build adbd for recovery 2018-05-24 14:11:11 +09:00
fastboot fastboot: reset timeout if INFO is received during long commands 2019-02-28 14:55:49 -08:00
fs_mgr libfs_avb: Pass const string by reference 2019-02-28 06:34:25 -08:00
gatekeeperd Multi-threaded Keystore 2018-11-07 11:39:23 -08:00
healthd libprocessgroup: Add support for task profiles 2019-02-03 16:48:35 +00:00
include Move android_filesystem_config.h => fs_config.h 2017-08-02 16:31:19 -07:00
init libfs_avb: support key rotation for standalone partitions 2019-02-27 04:13:21 +00:00
janitors Initial "janitors" owner group. 2019-01-11 16:33:25 -08:00
libappfuse use epoll_create1(EPOLL_CLOEXEC) 2018-12-17 09:32:23 -08:00
libasyncio Mark libs as double_loadable 2019-02-08 11:48:04 +09:00
libbacktrace procinfo: Read inode number from /proc/<pid>/maps 2019-02-11 01:38:08 +00:00
libbinderwrapper Make libbinderwrapper available in /vendor partition 2018-04-06 08:41:21 +09:00
libcrypto_utils Convert more modules to Android.bp 2018-10-31 21:53:37 -07:00
libcutils __android_log_is_debuggable() shouldn't be an apex symbol 2019-02-20 12:52:02 -08:00
libdiskconfig Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]] 2017-10-02 10:44:29 -07:00
libgrallocusage Merge "Build both static and shared lib." 2018-09-25 22:29:31 +00:00
libion libion: cleanup logging 2018-03-07 10:56:06 -08:00
libkeyutils Add a tool to add keys to keyring. 2019-01-30 13:08:31 -08:00
liblog __android_log_is_debuggable() shouldn't be an apex symbol 2019-02-20 12:52:02 -08:00
libmeminfo Merge "procinfo: Read inode number from /proc/<pid>/maps" 2019-02-15 23:03:00 +00:00
libmemtrack Mark libs as double_loadable 2019-02-08 11:48:04 +09:00
libmemunreachable procinfo: Read inode number from /proc/<pid>/maps 2019-02-11 01:38:08 +00:00
libmetricslogger DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master 2018-12-11 14:46:12 -08:00
libnativebridge Update OWNERS for libnativebridge 2019-02-13 19:20:59 +09:00
libnativeloader Avoid runtime namespace becoming parent for classloader-namespace. 2019-02-23 03:46:27 +00:00
libnetutils Refactor OWNERS files for Android Core Networking 2019-02-12 13:25:13 +08:00
libpackagelistparser libpackagelistparser: export profileable_from_shell flag. 2019-01-10 16:24:20 -08:00
libpixelflinger Mark gglMulx and gglMulAddx as always_inline 2019-02-14 11:59:48 -08:00
libprocessgroup Unify some text format in task_profiles.json 2019-02-27 21:08:19 +08:00
libprocinfo Merge "procinfo: Read inode number from /proc/<pid>/maps" 2019-02-15 23:03:00 +00:00
libqtaguid Redirect qtaguid native call to netd fwmark client 2017-11-09 18:02:22 -08:00
libsparse Convert Android.mk file to Android.bp 2019-01-24 21:16:39 -08:00
libstats Merge "Remove liblog/uio.c and <log/uio.h>" 2019-01-17 17:19:52 +00:00
libsuspend Remove libsuspend from VNDK. 2018-08-14 13:39:55 -07:00
libsync Merge libsync_recovery rules into libsync. 2018-08-07 11:00:50 -07:00
libsystem Freshen libsystem/OWNERS 2019-02-07 10:19:01 -08:00
libsysutils Refactor OWNERS files for Android Core Networking 2019-02-14 14:13:53 +08:00
libunwindstack Fix libdexfile dependencies to avoid direct dependency on libdexfile_external. 2019-02-24 22:04:11 +00:00
libusbhost Mark libs as double_loadable 2019-02-08 11:48:04 +09:00
libutils Add test_suites to libutils_test. 2019-02-25 12:26:00 -08:00
libvndksupport libvndksupport: Add android_is_in_vendor_process() 2019-02-12 20:28:38 -08:00
libziparchive Revert the explicit config, see topic 2019-02-20 13:29:11 -08:00
llkd llkd: do not call sync() 2019-01-10 12:52:35 -08:00
lmkd lmkd: Remove redundant free swap and free memory check 2019-02-19 17:04:07 +00:00
logcat DO NOT MERGE: Revert "Revert "Add dependencies on libprocessgroup for sched_policy users"" 2019-01-25 16:49:18 +00:00
logd Actually add right instant app boilerplate. 2019-01-29 17:12:35 -08:00
logwrapper Build adbd for recovery 2018-05-24 14:11:11 +09:00
mkbootimg Populate header size for boot image header version 2 correctly 2019-01-24 16:48:51 -08:00
property_service Add libc_headers to header_libs for libpropertyinfoparser 2019-01-17 21:18:01 +08:00
qemu_pipe Build adbd for recovery 2018-05-24 14:11:11 +09:00
reboot reboot: only pause indefinitely for non-shutdown operations 2017-09-29 16:29:52 +00:00
rootdir Add blkio cgroup to libprocessgroup 2019-02-27 11:23:14 +08:00
run-as run-as: add shared app gid in supplementary groups. 2019-01-10 15:08:22 -08:00
sdcard Reland "Create new mount directory /mnt/runtime/full." 2019-01-19 00:21:10 +00:00
shell_and_utilities install mini-keyctl to /system/bin 2019-01-31 13:48:04 -08:00
storaged Remove liblog's rate limiting 2019-01-16 10:37:14 -08:00
toolbox toolbox: getevent: disable stdout buffering 2019-01-15 16:42:59 +01:00
trusty Merge "trusty: Avoid unnecessary use of static libtrusty" 2019-01-18 21:54:39 +00:00
usbd bpfmt. 2018-02-16 17:58:14 -08:00
watchdogd Move watchdogd out of init 2018-08-02 12:25:58 -07:00
.clang-format Add a 2 width option of clang format. 2017-03-10 13:01:39 -08:00
.clang-format-2 Move clang-formats to build. 2019-01-18 14:26:33 -08:00
.clang-format-4 Move clang-formats to build. 2019-01-18 14:26:33 -08: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
CleanSpec.mk Shared libs are supported in recovery mode 2018-06-10 08:32:24 +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 Move per-file OWNERS directives to their directories. 2018-06-06 11:49:40 +09:00
PREUPLOAD.cfg Add a PREUPLOAD.cfg file to run git-clang-format on every commit 2017-03-08 16:51:26 +08:00
TEST_MAPPING Add presubmit test for vendor overlay 2019-02-16 08:24:35 +09:00