summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Change the CHECK failure into function failure." into oc-devDaichi Hirono2017-05-171-1/+6
|\ | | | | | | | | | | am: bf6e949727 Change-Id: Ic374fc076cc9584c375618a57371669c23aff539
| * Merge "Change the CHECK failure into function failure." into oc-devTreeHugger Robot2017-05-161-1/+6
| |\
| | * Change the CHECK failure into function failure.Daichi Hirono2017-05-161-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we have CHECK in WriteInternal function to observe short writing. However it turns out short write can happen according to the bug report. To prevent app from crashing due to CHECK failure, the CL removes the CHECK and let WriteInternal return a failure value. Bug: 37561460 Test: libappfuse_tests, manually re-wrote the return value of write() and checked logcat. Change-Id: I6a1e233c3ddb8eb68f59e7c606ad0459b5ca2c6e
* | | Merge "Use SO_SNDBUFFORCE instead of SO_SNDBUF" into oc-devDaichi Hirono2017-05-171-2/+2
|\| | | | | | | | | | | | | | | | | am: 165dad791d Change-Id: I2da13af0ff1e4a50259847fd57695c3d616e59cc
| * | Merge "Use SO_SNDBUFFORCE instead of SO_SNDBUF" into oc-devTreeHugger Robot2017-05-161-2/+2
| |\ \
| | * | Use SO_SNDBUFFORCE instead of SO_SNDBUFDaichi Hirono2017-04-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When /proc/sys/net/core/wmem_max is smaller than kMaxMessageSize, we need to override the limitation. Bug: 37561460 Test: libappfuse_tests Change-Id: Ibaac8db61290d661459fdc46f0ae8416f7db1d9e
* | | | resolve merge conflicts of fbe942724 to oc-dev-plus-aospJiyong Park2017-05-177-13/+192
|\| | | | | | | | | | | | | | | | | | | | | | | Test: I solemnly swear I tested this conflict resolution. Merged-In: I137c17d55940b783eab6d0125bc4d26b96bcc2f2 Change-Id: I90c3ff7c82a9b53ce00057fd87cf227d5faf0975
| * | | Merge changes from topic 'synchronize_vndk-sp' into oc-devTreeHugger Robot2017-05-167-13/+192
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: add libvndksupport.so to ll-ndk libbacktrace is VNDK-SP add libvndksupport
| | * | | add libvndksupport.so to ll-ndkJiyong Park2017-05-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libvndksupport.so is a new member of ll-ndk. Bug: 37323945 Test: sailfish builds and boots Merged-In: Ic5db48292a30a6face7f263d939f27a0760240b1 Change-Id: Ic5db48292a30a6face7f263d939f27a0760240b1 (cherry picked from commit 7000859b7cb0b0947d11f9fbe4ffddb6f66cabc4)
| | * | | libbacktrace is VNDK-SPJiyong Park2017-05-141-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libbacktrace and its dependents are now VNDK-SP. Since they are in /vendor/lib/vndk-sp directory, they are accessible directly from the vndk namespace. Therefore, libbacktrace is removed from the exported shared libs list of the default namespace. Bug: 37413104 Test: sailfish builds and boots Merged-In: I137c17d55940b783eab6d0125bc4d26b96bcc2f2 Change-Id: I137c17d55940b783eab6d0125bc4d26b96bcc2f2 (cherry picked from commit b2a4b8cd18e5f45571b8e929088047b445b6f63b)
| | * | | add libvndksupportJiyong Park2017-05-146-0/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libvndksupport is a new LL-NDK library that provides vendor-visible APIs for platform-only functionalities of other LL-NDK libraries. Currently, it provides android_(load|unload)_sphal_library which abstracts the platform-only APIs of libdl (android_get_exported_namespace, etc.) Bug: 37323945 Test: sailfish builds and boots Test: libvndksupport-tests passes Merged-In: I6d2911b57e009d0c842554933aac87d6573ffcbf Change-Id: I6d2911b57e009d0c842554933aac87d6573ffcbf (cherry picked from commit 7130e13262f788d35e85e0b38db58a1e2aa6266b)
* | | | | Add vendor_available:true to libcrypto_utilsVijay Venkatraman2017-05-161-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 15042c1e5e Change-Id: Ib8a4b3e88142eae2946648ae965bb03d40d2e55e
| * | | | Add vendor_available:true to libcrypto_utilsVijay Venkatraman2017-05-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 38244611 Test: build sailfish Change-Id: Ieaaf9e03a63124cd1bb79d4c8f6e5d5d4cc7d94b
* | | | | Merge "libnetutils: Restore dhcptool" am: b03d5a4ba6 am: 1f47a6ba48Dmitry Shmidt2017-05-162-0/+61
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: cebd49c93f Change-Id: I06dd468023d64b15e5f21d1fa61115b836582612
| * \ \ \ \ Merge "libnetutils: Restore dhcptool" am: b03d5a4ba6Dmitry Shmidt2017-05-162-0/+61
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 1f47a6ba48 Change-Id: Ib8a86d12fd170e4fe34a3132ad1c41934c29119d
| | * \ \ \ \ Merge "libnetutils: Restore dhcptool"Dmitry Shmidt2017-05-162-0/+61
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b03d5a4ba6 Change-Id: I3c348f92ffdbaaac1bbb66a6f9d89fca7a65ef32
| | | * \ \ \ \ Merge "libnetutils: Restore dhcptool"Treehugger Robot2017-05-162-0/+61
| | | |\ \ \ \ \
| | | | * | | | | libnetutils: Restore dhcptoolDmitry Shmidt2017-05-162-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Despite it is not used for network management, it is very convenient tool for wifi bringup and debugging. Test: Manual Change-Id: I045301acc2dd15d0e68d6b99c8e214865f19ebad Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | | | | | | | Merge "Remove libbase's trivial libutils-headers dependency." am: 337b4dd661 ↵Elliott Hughes2017-05-162-3/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 70b0e94f80 am: 97caf43fbc Change-Id: I130d4c518160d7d30353b8ca8c62339440b9ac6d
| * | | | | | | | Merge "Remove libbase's trivial libutils-headers dependency." am: 337b4dd661Elliott Hughes2017-05-162-3/+3
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 70b0e94f80 Change-Id: I1d498fa1fac847e676841a80a23b7b0b0fac7f0e
| | * | | | | | | Merge "Remove libbase's trivial libutils-headers dependency."Elliott Hughes2017-05-162-3/+3
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 337b4dd661 Change-Id: I929930dbe7e013d8be608b06c76b5af33b527351
| | | * | | | | | Merge "Remove libbase's trivial libutils-headers dependency."Treehugger Robot2017-05-162-3/+3
| | | |\ \ \ \ \ \
| | | | * | | | | | Remove libbase's trivial libutils-headers dependency.Elliott Hughes2017-05-152-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: N/A Test: builds Change-Id: I59eb464a0127564a42775bf19b516ad8a53ee235
* | | | | | | | | | Merge "logd: remove start filtration from flushTo" am: c8c49988b1 am: 27d54dd4acMark Salyzyn2017-05-161-8/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ab4f5eafc Change-Id: I700220b3db7c84de51053b818e4e597552b68c80
| * | | | | | | | | Merge "logd: remove start filtration from flushTo" am: c8c49988b1Mark Salyzyn2017-05-161-8/+3
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 27d54dd4ac Change-Id: Ied7a62d1ec231da5b6969c7642d4843912bf6203
| | * | | | | | | | Merge "logd: remove start filtration from flushTo"Mark Salyzyn2017-05-161-8/+3
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: c8c49988b1 Change-Id: I7be86455b6bb3930e8e37810208f237df202af31
| | | * | | | | | | Merge "logd: remove start filtration from flushTo"Treehugger Robot2017-05-161-8/+3
| | | |\ \ \ \ \ \ \
| | | | * | | | | | | logd: remove start filtration from flushToMark Salyzyn2017-05-151-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have already searched for the start point, the start filter check is paranoia that removes out-of-order entries that we are undoubtably interested in. Out-of-order entries occur under reader pressure, as the writer gets pushed back from in-place sorted order and lands it at the end for the reader to pick it up. If this occurred during a batch run or a logger thread wakeup, the entry could be filtered out and never output to the reader. Found one case where logcat.tail_time* tests failed which was fixed with this adjustment. Test: gTest logd-unit-tests, liblog-unit-tests and logcat-unit-tests Bug: 38046067 Bug: 37791296 Change-Id: Icbde6b33dca7ab98348c3a872793aeef3997d460
* | | | | | | | | | | first stage mount: removing the requirement of by-name prefix for AVBBowgo Tsai2017-05-150-0/+0
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: d7846a2c53 -s ours Change-Id: I32bee7e0bce24f9ae52c92179e30ffd1bfbb2856
| * | | | | | | | | | first stage mount: removing the requirement of by-name prefix for AVBBowgo Tsai2017-05-156-134/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current first stage mount for AVB requires specifying a common prefix of by-name symlink for all AVB partitions. It limits all AVB partitions to be on the same block device. firmware { android { compatible = "android,firmware"; vbmeta { compatible = "android,vbmeta"; parts = "vbmeta,boot,system,vendor"; by_name_prefix="/dev/block/platform/soc.0/f9824900.sdhci/by-name" <-- *removing this* }; fstab { compatible = "android,fstab"; vendor { compatible = "android,vendor"; dev = "/dev/block/platform/soc.0/f9824900.sdhci/by-name/vendor"; type = "ext4"; mnt_flags = "ro,barrier=1,inode_readahead_blks=8"; fsmgr_flags = "wait,avb"; }; }; }; }; For normal mount with AVB, it extracts the by-name prefix of /misc partition and use it as the prefix for all other partitions: - /dev/block/platform/soc.0/f9824900.sdhci/by-name/misc -> - /dev/block/platform/soc.0/f9824900.sdhci/by-name/vendor_a Fix this by adding an internal map in FsManagerAvbOps to record the mapping from partition name to its by-name symlink: ByNameSymlinkMap["vendor_a"] = "/dev/block/platform/soc.0/f9824900.sdhci/by-name/vendor_a" Two overloaded factory methods are then provided for FsManagerAvbUniquePtr: - FsManagerAvbUniquePtr Open(ByNameSymlinkMap&& by_name_symlink_map): for first stage mount, where the by-name symlink map will be constructed externally, from the uevents processed by init, before invoking this factory method. - FsManagerAvbUniquePtr Open(const fstab& fstab): for normal mount, where the by-name symlink map will be constructed from the input fstab internally. Bug: 37552224 Test: first stage mount /vendor with vboot 1.0 Test: first stage mount /vendor with vboot 2.0 (AVB) Test: normal mount /vendor with vboot 2.0 (AVB) Change-Id: Id17e8566da87ea22b8923fcd6e47db8d45bc7d6a Merged-In: Id17e8566da87ea22b8923fcd6e47db8d45bc7d6a (cherry picked from commit 20651f62d081c88596e70b3b589863a75e2a9c35)
* | | | | | | | | | | init: moving get_block_device_symlinks() to public APIBowgo Tsai2017-05-150-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 1fa0251930 -s ours Change-Id: If69297cbcf81719740aa1858fd55e7ab969c6dba
| * | | | | | | | | | init: moving get_block_device_symlinks() to public APIBowgo Tsai2017-05-152-2/+3
| | |_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is required for init to get by-name symlinks in the first stage mount with AVB. Bug: 37552224 Test: first stage mount /vendor with vboot 2.0 (AVB) Change-Id: Ib067753f651ecea4d4d26215da9294f1c607d95e Merged-In: Ia0f290542eb1cffce5ae876dfedb453dde960253
* | | | | | | | | | Merge "fs_mgr: support different dm-verity error modes" am: b9b95ee3a9 am: ↵Bowgo Tsai2017-05-151-75/+95
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d1a2aac294 am: c7690e0abe Change-Id: I78bab02e15cc6ffe7f693377217c325e40894e67
| * | | | | | | | | Merge "fs_mgr: support different dm-verity error modes" am: b9b95ee3a9Bowgo Tsai2017-05-151-75/+95
| |\ \ \ \ \ \ \ \ \ | | | |/ / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: d1a2aac294 Change-Id: I21b6817855bfa2742bb8795c952c366366a825e2
| | * | | | | | | | Merge "fs_mgr: support different dm-verity error modes"Bowgo Tsai2017-05-151-75/+95
| | |\ \ \ \ \ \ \ \ | | | | |/ / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b9b95ee3a9 Change-Id: I2761343b66be35c01ee4365f2ff004b7f912a117
| | | * | | | | | | Merge "fs_mgr: support different dm-verity error modes"Treehugger Robot2017-05-151-75/+95
| | | |\ \ \ \ \ \ \ | | | | |_|_|/ / / / | | | |/| | | | | |
| | | | * | | | | | fs_mgr: support different dm-verity error modesBowgo Tsai2017-05-131-75/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AVB is going to support different modes to handle dm-verity errors. See the following CL for more details: - https://android-review.googlesource.com/#/c/392873/ The verity mode is controlled by bootloader through androidboot.veritymode in kernel command line. fs_mgr should read the value from there and specify the corresponding flag when loading dm-verity table into kernel. Also removes some unused #include libraries. Bug: 38157502 Test: Manually tested different dm verity modes: - "restart_on_corruption" (androidboot.veritymode=enforcing) - "ignore_corruption" (androidboot.veritymode=logging) - None, default mode is EIO in kernel (androidboot.veritymode=eio) Change-Id: I80e1e817a148b54fb67ba58112d376dc2cf37c98
* | | | | | | | | | Merge "logcat: -v thread help missing" am: 3cfc1ab89d am: 6f9051ea1bMark Salyzyn2017-05-151-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 6b05d269a3 Change-Id: I52ca7c084c8878212c49e7c5b9c44019c6b04f12
| * | | | | | | | | Merge "logcat: -v thread help missing" am: 3cfc1ab89dMark Salyzyn2017-05-151-0/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 6f9051ea1b Change-Id: Ifac625defc04d013817853e80491e29130c71cac
| | * | | | | | | | Merge "logcat: -v thread help missing"Mark Salyzyn2017-05-151-0/+1
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 3cfc1ab89d Change-Id: I7a04e1da3697de84f73e3f831e220299a483b7fb
| | | * | | | | | | Merge "logcat: -v thread help missing"Treehugger Robot2017-05-151-0/+1
| | | |\ \ \ \ \ \ \
| | | | * | | | | | | logcat: -v thread help missingMark Salyzyn2017-05-151-0/+1
| | | | | |_|/ / / / | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | KISS documentation for -v thread added Test: manual logcat -v --help Bug: 37030280 Change-Id: If1ad9d3862a68dfe570b524c36efd4fae5b03262
* | | | | | | | | | Merge changes I8e8e0963,I3c714f63,Id157412e,Ib7c26fbd am: 55ddb99527 am: ↵Josh Gao2017-05-152-43/+78
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 66ca192ac3 am: f4578f1ad4 Change-Id: Ica1d6489562b8d9e729eae0d3faee30efa265d6a
| * | | | | | | | | Merge changes I8e8e0963,I3c714f63,Id157412e,Ib7c26fbd am: 55ddb99527Josh Gao2017-05-152-43/+78
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 66ca192ac3 Change-Id: I751dbb8fd9a5b5f79118ce38a63d2b5073bb5bf7
| | * | | | | | | | Merge changes I8e8e0963,I3c714f63,Id157412e,Ib7c26fbdJosh Gao2017-05-152-43/+78
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 55ddb99527 Change-Id: If947b8e8efd9ad873defabe3f6fea3caacf394ed
| | | * | | | | | | Merge changes I8e8e0963,I3c714f63,Id157412e,Ib7c26fbdJosh Gao2017-05-152-43/+78
| | | |\ \ \ \ \ \ \ | | | | |/ / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: adb: libusb: recognize devices with multiple interfaces. adb: libusb: wait for devices to become accessible. adb: libusb: switch to hotplug for device detection. adb: silence noise.
| | | | * | | | | | adb: libusb: recognize devices with multiple interfaces.Josh Gao2017-05-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A bug was introduced by commit 8bf37d7a wherein we accidentally only look at the first interface of a device when checking whether a USB device was an ADB device or not. Bug: http://b/38201318 Test: none Change-Id: I8e8e0963c77cd2cb03538d926ab735f4b57e52b7
| | | | * | | | | | adb: libusb: wait for devices to become accessible.Josh Gao2017-05-121-4/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android's host linux libusb uses netlink instead of udev for device hotplug notification, which means we can get hotplug notifications before udev has updated ownership/perms on the device. When detecting a new device, poll the device file for a while until we can access it, before trying to open it. Bug: http://b/38170349 Test: manually incrased timeout and chmodded a device betwen 0 and 664 Change-Id: I3c714f630940df02b407442592301e2bbb3d9653
| | | | * | | | | | adb: libusb: switch to hotplug for device detection.Josh Gao2017-05-121-36/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch from polling in a loop to using libusb's hotplug API to detect when devices arrive and leave. Use this to remove devices that were inaccessible when they're unplugged. Bug: http://b/38170349 Test: plugged in device Change-Id: Id157412eb46834debecb0cd45b47b1ced50c2274
| | | | * | | | | | adb: silence noise.Josh Gao2017-05-121-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove logging statements that don't provide any benefit. Test: none Change-Id: Ib7c26fbdb019f4d6bbce2b7fb192cb5e6066e53f