summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Import translations. DO NOT MERGEBaligh Uddin2014-05-122-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I15ec5bd7271c00f6be45d8832e71263aefb95acd Auto-generated-cl: translation import
* | | | | am f04a7690: am 90e7485d: am 02562d30: Merge "Avoid leaking cursors"Jeff Sharkey2014-05-101-20/+30
|\| | | | | | | | | | | | | | | | | | | | | | | | * commit 'f04a7690b53288c98c07e0aa05214cceebea1331': Avoid leaking cursors
| * | | | am 90e7485d: am 02562d30: Merge "Avoid leaking cursors"Jeff Sharkey2014-05-101-20/+30
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit '90e7485d68095b5fc5044dd1bc6cd4dfc485eaa3': Avoid leaking cursors
| | * \ \ \ am 02562d30: Merge "Avoid leaking cursors"Jeff Sharkey2014-05-101-20/+30
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '02562d300310909e30782b907a8c0cbdf76f14af': Avoid leaking cursors
| | | * \ \ \ Merge "Avoid leaking cursors"Jeff Sharkey2014-05-101-20/+30
| | | |\ \ \ \
| | | | * | | | Avoid leaking cursorsMattias Nilsson2014-04-011-20/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding try/finally blocks to make sure that cursor resources are let go Change-Id: I596074aa9ab5752f91a26b5a03e1f39c23c64a5f
* | | | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-05-072-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iefb371e2bdeced17fce52a10c6a0fa1685fb74d8 Auto-generated-cl: translation import
* | | | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-05-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I72bbe5619e739ef745c921a79c1dbb32a9dca4db Auto-generated-cl: translation import
* | | | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-04-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id27d2c45e0529f1e756ec2e998cf9fff571e0dcd Auto-generated-cl: translation import
* | | | | | | | am bf0c789f: am d0b810ff: Merge commit ↵Bill Yi2014-04-300-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | \'b1299b7414b05ee48d680d1f0199a43b31fc103d\' into HEAD * commit 'bf0c789f0c0aafba0f2ed468aee20f99ca9381ba':
| * | | | | | | am d0b810ff: Merge commit \'b1299b7414b05ee48d680d1f0199a43b31fc103d\' into HEADBill Yi2014-04-300-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd0b810ffdd1ffcb130e5c1f539ecba651ca3e7ef':
| | * | | | | | Merge commit 'b1299b7414b05ee48d680d1f0199a43b31fc103d' into HEADBill Yi2014-04-290-0/+0
| | |\ \ \ \ \ \ | | | |/ / / / / | | |/| | | | |
| | | * | | | | am 2834a68d: Merge "Drop restorecon call from DownloadProvider."Nick Kralevich2014-03-151-6/+0
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '2834a68d04dc3d0ce42c231873e5bec4b0f0c65c': Drop restorecon call from DownloadProvider.
* | | | | | | | Merge "Import translations. DO NOT MERGE"Baligh Uddin2014-04-291-1/+1
|\ \ \ \ \ \ \ \
| * | | | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0fb4b01370e760a827caf1e17cadcef802c3e157 Auto-generated-cl: translation import
* | | | | | | | | OsConstants is moving.Elliott Hughes2014-04-291-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie72e18f539cbad593c489bf52b9afea5330f62c1
* | | | | | | | | Fix reference to moved ErrnoException.Torne (Richard Coles)2014-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ErrnoException has moved to android.system; fix reference in DownloadIdleService. Change-Id: I8a08d3f8074d0ec5a4e8314db173139a109abb33
* | | | | | | | | Move internal DownloadProvider code off libcore.os.Elliott Hughes2014-04-283-25/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (As much as possible. There are no plans to make the mocking API public.) Change-Id: I348877b850d6d34572d5a19e67952254bc4f12ef
* | | | | | | | | resolved conflicts for merge of 3b0c40cf to masterElliott Hughes2014-04-280-0/+0
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| / / / / / / / | |/ / / / / / / Change-Id: I9e3b0735950cb1e495ecd58590b5d6e1f253bc88
| * | | | | | | am ea8e67d0: Merge "Track API package change."Elliott Hughes2014-04-281-4/+4
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ea8e67d0c31bda6b51b3991fb0dfada66b7359ea': Track API package change.
| | * | | | | | Merge "Track API package change."Elliott Hughes2014-04-281-4/+4
| | |\ \ \ \ \ \ | | | |_|/ / / / | | |/| | | | |
| | | * | | | | Track API package change.Elliott Hughes2014-04-281-4/+4
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie2f35386e48894a9c9afb9717af90a5628dcd79b
* | | | | | | fix test buildsColin Cross2014-04-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | StructStatVfs and ErrnoException were moved from libcore.io to android.system Change-Id: I42c789a941f964ae7dde224b16af39a95212fbc7
* | | | | | | am bdba041e: (-s ours) am 58a8f205: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-04-230-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'bdba041eb86f06dbf8a2832d342bfdfdeb4b39cf': Import translations. DO NOT MERGE
| * | | | | | am 58a8f205: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-04-230-0/+0
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | * commit '58a8f20526f06452e7348a3c287951d89a192ec5': Import translations. DO NOT MERGE
| | * | | | | Import translations. DO NOT MERGEBaligh Uddin2014-04-2273-103/+1458
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6e60ad45fafed82ebcebb45efa7d28582c498460 Auto-generated-cl: translation import
* | | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7a87313ed9154ceba2cf28c5aeead0d0af1505c2 Auto-generated-cl: translation import
* | | | | | | Revert "Mark the package as required for all profiles"Alexandra Gherghina2014-04-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit aea634a20b08f00770c1d0774e6e892e323f9de3. We've switched to a whitelist approach. Change-Id: Ifd760d8f800fd2de3a99079d1e04576163ebad80
* | | | | | | Mark the package as required for all profilesAlexandra Gherghina2014-03-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I575f1a1589e805341e5772eceb5db2f06f9ec4c2
* | | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8af96092317594d6afde66e0657545daaae4c7df Auto-generated-cl: translation import
* | | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-03-192-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6e2571e30582e7a49604c3b0397821d18b0071ef Auto-generated-cl: translation import
* | | | | | | Import translations. DO NOT MERGEGeoff Mendal2014-03-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I11aaaafa00673987fb097682e32a04e0093fbd2e Auto-generated-cl: translation import
* | | | | | | resolved conflicts for merge of 2ca55fd3 to masterNick Kralevich2014-03-141-6/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I59df74b902c95299ae9adda2ddddb6bad4260159
| * | | | | | | am b3fe6924: am 2834a68d: Merge "Drop restorecon call from DownloadProvider."Nick Kralevich2014-03-151-6/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b3fe69241b09c574428416dc0b2875c06549c608': Drop restorecon call from DownloadProvider.
| | * | | | | | am 2834a68d: Merge "Drop restorecon call from DownloadProvider."Nick Kralevich2014-03-151-6/+0
| | |\ \ \ \ \ \ | | | | |/ / / / | | | |/| | | | | | | | | | | | | | | | | | | | * commit '2834a68d04dc3d0ce42c231873e5bec4b0f0c65c': Drop restorecon call from DownloadProvider.
| | | * | | | | Merge "Drop restorecon call from DownloadProvider."Nick Kralevich2014-03-151-6/+0
| | | |\ \ \ \ \
| | | | * | | | | Drop restorecon call from DownloadProvider.Stephen Smalley2014-03-121-6/+0
| | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is not necessary/useful to place this directory into a separate type from other app data files, so remove this restorecon. Change-Id: Iabd643a515c134ab2a62e82866a3f72530f795ba Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* | | | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9e9268493f082614483a44f61467b93ac2075bb5 Auto-generated-cl: translation import
* | | | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0a43d9232a21d978f86fbb93aa62ee32053f1b74 Auto-generated-cl: translation import
* | | | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I202110dd9f346faf6ad1f8b056565d41dfe90646 Auto-generated-cl: translation import
* | | | | | | | am e95f8fab: (-s ours) am 931de3d5: (-s ours) am ed5049a8: (-s ours) am ↵Baligh Uddin2014-02-210-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 13a6b148: (-s ours) am 56c0597e: (-s ours) am 738782ff: (-s ours) Import translations. DO NOT MERGE * commit 'e95f8fab8261c3b1f8d6eaff0e08256caede5fb6': Import translations. DO NOT MERGE
| * | | | | | | am 931de3d5: (-s ours) am ed5049a8: (-s ours) am 13a6b148: (-s ours) am ↵Baligh Uddin2014-02-200-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 56c0597e: (-s ours) am 738782ff: (-s ours) Import translations. DO NOT MERGE * commit '931de3d57ed054d1624cba6443ecaff22bf7ebbf': Import translations. DO NOT MERGE
| | * | | | | | am ed5049a8: (-s ours) am 13a6b148: (-s ours) am 56c0597e: (-s ours) am ↵Baligh Uddin2014-02-200-0/+0
| |/| | | | | | | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 738782ff: (-s ours) Import translations. DO NOT MERGE * commit 'ed5049a8aee55aa422939ba356da2e1de5466e77': Import translations. DO NOT MERGE
| | * | | | | am 13a6b148: (-s ours) am 56c0597e: (-s ours) am 738782ff: (-s ours) Import ↵Baligh Uddin2014-02-200-0/+0
| |/| | | | | | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | translations. DO NOT MERGE * commit '13a6b148384ec433bafeb5fd547444f410955d7e': Import translations. DO NOT MERGE
| | * | | | am 56c0597e: (-s ours) am 738782ff: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-02-200-0/+0
| | |\ \ \ \ | | | | |/ / | | | |/| | | | | | | | | | | | | | * commit '56c0597e29bb89ae66e3e5b9476ab13cb7283dba': Import translations. DO NOT MERGE
| | | * | | am 738782ff: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-02-200-0/+0
| | | |\ \ \ | | | | | |/ | | | | |/| | | | | | | | | | | | | * commit '738782ffd27153884b8adeb3c797d7073c9c15ad': Import translations. DO NOT MERGE
| | | | * | Import translations. DO NOT MERGEBaligh Uddin2014-02-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic24ce6a6b18e3c7e5adcc4f75beea818b33b3629 Auto-generated-cl: translation import
* | | | | | resolved conflicts for merge of a7fa30f3 to masterFred Quintana2014-02-201-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ifcdb3e10bbbb08711d3f8bdafa384e092bf1a7db
| * | | | | add the WAKE_LOCK perm to the DownloadProviderFred Quintana2014-02-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The DownloadService needs the WAKE_LOCK permission, which it normally gets as a side-affect of the MediaProvider being in the same shared UID. Since clockwork doesn't include the MediaProvider the uses-permission needs to be added to DownloadProvider. Change-Id: Ib3f58695e21e1cf7d841bc55093c26b631092b30
* | | | | | Add idle service to clean orphan downloads.Jeff Sharkey2014-02-066-89/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Periodically reconcile database against disk contents. This handles the case where a user/app deletes files directly from disk without updating the database, and the rare case where a database delete didn't make it to deleting the underlying file. Also cleans up any downloads belonging to a UID when removed. Bug: 12924143 Change-Id: I4899d09df7ef71f2625491ac01ceeafa8a2013ce