| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change all data transfer to occur through FileDescriptors instead of
relying on local files. This paves the way for downloading directly
to content:// Uris in the future.
Rewrite storage management logic to preflight download when size is
known. If enough space is found, immediately reserve the space with
fallocate(), advising the kernel block allocator to try giving us a
contiguous block regions to reduce fragmentation. When preflighting
on internal storage or emulated external storage, ask PackageManager
to clear private app caches to free up space.
Since we fallocate() the entire file, use the database as the source
of truth for resume locations, which requires that we fsync() before
each database update.
Store in-progress downloads in separate directories to keep the OS
from deleting out from under us. Clean up filename generation logic
to break ties in this new dual-directory case.
Clearer enforcement of successful download preconditions around
content lengths and ETags. Move all database field mutations to
clearer DownloadInfoDelta object, and write back through single
code path.
Catch and log uncaught exceptions from DownloadThread. Tests to
verify new storage behaviors. Fixed existing test to reflect correct
RFC behavior.
Bug: 5287571, 3213677, 12663412
Change-Id: I6bb905eca7c7d1a6bc88df3db28b65d70f660221
|
|
|
|
|
| |
This reverts commit 4f9d2d04003fafb358d7c127054055b3a9732c9b, was only
wanted for debugging.
|
|
|
|
|
|
|
|
| |
Try to catch the download provider in the act of deleting pending
system updates.
Bug: 12680933
Change-Id: If58aba5c30fd624217e5d073730645af05e98ac7
|
|\
| |
| |
| |
| |
| |
| | |
directories before creates file"
* commit 'f9e455a61cf29e515adb4e3c56e8e9269bc868f9':
Creates parent directories before creates file
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
before creates file"
* commit '34d915e1dccf3d65e5a7c7f3a2273047ba8e51e8':
Creates parent directories before creates file
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* commit '18794718f15cbf79c8da732af3e8368c7b905523':
Creates parent directories before creates file
|
| | | |\
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'c5d43a1fc595ce650a9a20d2811ad47429ebd7da':
Creates parent directories before creates file
|
| | | | |\ |
|
| | | | |/
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I124f7ce2b731b100e9572d7c5d95206e243ee316
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ideda5d4f3df261fb2e30faa0dddd9312323b713f
Auto-generated-cl: translation import
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
c478796c: (-s ours) am 8f3c6521: (-s ours) Import translations. DO NOT MERGE
* commit '5a6b8f28c2cd2a78798b51b902599a79ffe2e997':
Import translations. DO NOT MERGE
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
8f3c6521: (-s ours) Import translations. DO NOT MERGE
* commit '762140410bebac113e04ff5c7038a834f9f28363':
Import translations. DO NOT MERGE
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
translations. DO NOT MERGE
* commit '7f13f61be97d5774516be544239bc0a0338cfb47':
Import translations. DO NOT MERGE
|
| | | |\ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit 'c478796c0f999a4d91bfe3d605412e93dfa2868f':
Import translations. DO NOT MERGE
|
| | | | |\ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '8f3c652160e84e02f438a8dad72b9329d45b269f':
Import translations. DO NOT MERGE
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: Ie4bcb30ee912d1b7486470d8849bde142c461d3b
Auto-generated-cl: translation import
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: I24d865d63e43413352dd2bce6db694e7f94a415f
Auto-generated-cl: translation import
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
don\'t allow backups."
* commit '25051b0276fa90c58d483c1b72b53618cd78012d':
DownloadProvider: don't allow backups.
|
| |\| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
backups."
* commit 'b8f4b81b80af5a09c61a59dee95f4d32ce7d74cd':
DownloadProvider: don't allow backups.
|
| | |\| | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '9ec7f19fad500366049b4e470ac3a0622aee556e':
DownloadProvider: don't allow backups.
|
| | | |\ \ \ \
| | | | | |_|/
| | | | |/| |
| | | | | | |
| | | | | | | |
* commit '1e950b1a9345889a1197aeb4cb19e45f8b19a136':
DownloadProvider: don't allow backups.
|
| | | | |\ \ \ |
|
| | | | |/ / /
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: I5a07244d4bb7e11af4f5eb1a624fc20165248aab
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: Ib424d4d4a02fdec4a04f0bd9af39d47d4f0c3b1e
Auto-generated-cl: translation import
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
5bafb68f: (-s ours) am fc6d1ead: (-s ours) Import translations. DO NOT MERGE
* commit 'bce1d6ca92d29ea9259731c22b8f0d76d9e2973e':
Import translations. DO NOT MERGE
|
| |\| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
fc6d1ead: (-s ours) Import translations. DO NOT MERGE
* commit '1b3a7274c1c54974b536b999b5e60228fd6a922c':
Import translations. DO NOT MERGE
|
| | |\| | | |
| | | |/ / /
| | |/| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
translations. DO NOT MERGE
* commit 'cd3a74b38ec9bb2b6fb20184c3be5abc10366a6a':
Import translations. DO NOT MERGE
|
| | |/| | |
| | | |/ /
| | | | |
| | | | |
| | | | | |
* commit '5bafb68f64d87fecd4f871b2f27df5d037292f5f':
Import translations. DO NOT MERGE
|
| | | |\|
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'fc6d1ead7d7abf97e5cf28f8871cf3dd0c09bd97':
Import translations. DO NOT MERGE
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ib82d39385a5966f41daa15c9f9a7026e71030221
Auto-generated-cl: translation import
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I53a1138f878fdb9793f841567120565bc1b3dfcb
Auto-generated-cl: translation import
|
|\| | | |
| | | | |
| | | | |
| | | | | |
* commit '9f74143c2e8cbf3328b68055026e4f2e871c09af':
|
| |\ \ \ \
| | |/ / /
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug:11340849
Change-Id: Ibc9f4d1f4b616031f18df7cbc594e602a54e7c0c
|
|\ \ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | | |
translations. DO NOT MERGE
* commit '606cca593f26beda8daaa8b3f6c53a9506ad48b5':
|
| |\ \ \ \
| | |_|_|/
| |/| | |
| | | | | |
* commit 'c159de74b326050eeb3dc2683a3ab55cbed9aadd':
|
|\ \ \ \ \
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
translations. DO NOT MERGE
* commit '4ff1765c9660b2e1288560e94b7a208170bdd810':
Import translations. DO NOT MERGE
|
| |\ \ \ \
| | | |_|/
| | |/| |
| | | | |
| | | | | |
* commit 'a0daefb0032289905ab369b98a886dc322346e9c':
Import translations. DO NOT MERGE
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '34f6f70e69b1e272e19a70c01964a122e4d117e7':
Import translations. DO NOT MERGE
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Iffd5af8620652465c2f67635b33705ecf596746a
Auto-generated-cl: translation import
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I24247a5e762270fe14b5ef065b9bd1796702cf3f
Auto-generated-cl: translation import
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
translations. DO NOT MERGE
* commit '97202826ab4d3ccd925212a5e093211fc46e0cf9':
Import translations. DO NOT MERGE
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'd5c438761040510845e67979079f37da0737966f':
Import translations. DO NOT MERGE
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '1a0e1c0eddcb835620ef884325f7e4f07e3439f7':
Import translations. DO NOT MERGE
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I8d3a6aaac652d2e11cc5fed65d13bcad4b5bb810
Auto-generated-cl: translation import
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I681ef37e68b629ae5f9aaa898ccf426447311b53
Auto-generated-cl: translation import
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
"Import translations. DO NOT MERGE" into klp-dev
* commit 'ba6071ed0b7e674986887c6753ee5efbf7b5b25d':
Import translations. DO NOT MERGE
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
NOT MERGE" into klp-dev
* commit 'c0498333d7a836f24ea72934e9d8d118a273b324':
Import translations. DO NOT MERGE
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '4e4ef211382d05c17c93b68fe0ab347a64951a9c':
Import translations. DO NOT MERGE
|
| | | |\ \ |
|