summaryrefslogtreecommitdiff
path: root/adb/client/incremental_utils.cpp
AgeCommit message (Collapse)Author
2020-10-22Migrate system/core/adb to packages/modules/adbBaligh Uddin
BUG: 167963357 Test: TH Change-Id: Ie1f82db2fb14e1bdd183bf8d3d93d5e9f974be5d Ignore-AOSP-First: Unable to Merge into aosp/master due to downstream conflicts, so working from bottom up.
2020-09-16Merge "adb: switch to ZipEntry64." am: ebd07cc5d0 am: b138c21233 am: ↵Elliott Hughes
bcb60b915c am: 41a62498f6 Original change: https://android-review.googlesource.com/c/platform/system/core/+/1428116 Change-Id: I93e4aec51956102d7eb4aea0bfe8764fbf0b6d65
2020-09-15adb: switch to ZipEntry64.Elliott Hughes
Test: treehugger Change-Id: I1eba8c641912e46ed243deddd19f367ae40a5d46
2020-05-25[incfs] Stream the hash tree for incremental installationAlex Buynytskyy
Instead of sending the whole tree upfront use the same streaming interface for it as for the data blocks This improves installation speed by almost 200ms, 650-800ms -> 500-600ms Bug: 153696423 Test: manual, adb install in various configurations Change-Id: I32ad33c72b70067dc8703de02d2fbe26fda832d4 Merged-In: Ia83de2af54ca0b1969397514ea5d761719af9055
2020-04-15[incfs] Stream the hash tree for incremental installationAlex Buynytskyy
Instead of sending the whole tree upfront use the same streaming interface for it as for the data blocks This improves installation speed by almost 200ms, 650-800ms -> 500-600ms Bug: 153696423 Test: manual, adb install in various configurations Change-Id: Ia83de2af54ca0b1969397514ea5d761719af9055 (cherry picked from commit e2e850f32578527befe0b4281cec454f534c7cf6) Merged-In: Ia83de2af54ca0b1969397514ea5d761719af9055
2020-03-27[adb] use zip iteration with functorSongchun Fan
Test: manual BUG: 151676293 Change-Id: I738811bb5ff3ecc86ae49aa64df29427fb4ec69a
2020-03-24[adb] Fix incremental installation on WindowsYurii Zubrytskyi
Use only the syscalls that work with the wrapped ADB fds, or extract the native handles for the case when need to call one not wrapped. Bug: 151239696 Test: adb install --incremental <apk> on Windows Change-Id: Ia6de620171ab696b8136dcb60a2b63af6f86419f Merged-In: Ia6de620171ab696b8136dcb60a2b63af6f86419f
2020-03-24[adb incremental] send priority blocks firstSongchun Fan
Before this change, "Success" is returned after all data is streamed, around 7.5 seconds for Megacity. After this change, "Success" is returned in about 1.5 seconds, before streaming finishes. BUG: 151676293 Test: manual Change-Id: Ifda7de48da8e82623c99ae0194f70cb162fd72fa Merged-In: Ifda7de48da8e82623c99ae0194f70cb162fd72fa