summaryrefslogtreecommitdiffstats
path: root/src/com/android/providers/downloads/StorageManager.java
Commit message (Collapse)AuthorAgeFilesLines
* Reduce deletion logging.Jeff Sharkey2012-07-201-5/+6
| | | | | Bug: 6544953 Change-Id: I4157c67b9b9cddab4ade795c328a202f6a230f95
* Only delete spurious files belonging to us.Jeff Sharkey2012-04-241-9/+20
| | | | | | | | | When multiple users are active, this can accidentally delete files belonging to other users. Checking owner also helps us avoid deleting recover and lost+found. Bug: 6362988 Change-Id: Ifc165acc9a9b3ab253a4b6257f370836b98b3a74
* Avoid NPE when _DATA column is empty.Jeff Sharkey2012-04-201-1/+5
| | | | | Bug: 6371718 Change-Id: Id661210101b01daf8f5d46a318c32dbb9de9a4fb
* More slogging around download deletion.Jeff Sharkey2012-04-191-2/+3
| | | | | Bug: 6362988 Change-Id: Iab4b86cfcaa6aeed6466f88ff49eb935f96db495
* add more logging when download manager deletes filesDoug Zongker2011-10-181-6/+6
| | | | Change-Id: I4d402e28996887fc1dba89b2764575c91c2c523b
* Bugfix:5033349Dongwon Kang2011-07-201-4/+5
| | | | | | | | | - Checking download data dir instread of /cache. - Trying to remove stale files regardless of the low space thereshold. (Note: This bug happens when download dir size is 100mb and there is a file > 100mb in /cache.) Change-Id: Iacded74eaadb2aa7f0af8d1b7e0f922e81c7e07c
* Download provider change for DRM Forward Lock plugin:Gloria Wang2011-04-191-6/+0
| | | | | | | to convert .dm files to .fl files during downloading For bug 3188041 Change-Id: I882b851664432fba3e57dc25a6be827b48006e69
* bug:4081088 NPE in DownloadProviderVasu Nori2011-03-091-2/+8
| | | | Change-Id: I033ba6abeed55c5ac76142c7a2e4849b8e044680
* bug:3332449 downloadmanager deleting downloaded files sometimesVasu Nori2011-01-121-2/+9
| | | | | | | | | | | | | | | | removeSpuriousFiles() method in StorageManager.java is removing files because of it incorrectly thought a given file has NO entry in downloads db. more details: List<File> files; String filename; files.remove(filename) remove should be new File(filename) most probably this fix also addresses bug:3324673 Change-Id: I22c58398fe874fa81939b575c782b6700a2cac4e
* bug:3338089 NPE in downloadthreadVasu Nori2011-01-111-0/+7
| | | | Change-Id: I95b4c52598092e9f6ffa1713b36ac11d44e26279
* Revert "Merge "downloadmanager should use "files" dir - not "cache" dir to ↵Vasu Nori2011-01-071-8/+2
| | | | | | | store its files" into honeycomb" This reverts commit 7d96bafa59111d9ca735e5ef86dc0598f946b2be, reversing changes made to 2ce876d2d7000b0c3a1430c5f4932568090f5170.
* downloadmanager should use "files" dir - not "cache" dir to store its filesVasu Nori2011-01-071-2/+8
| | | | | | | | | | | | | data/data/com.android.providers.downlaods/cache is being used to store the downloaded files, when the user doesn't specify the destination path. but system seems to remove files from this dir EVEN when space is running low. bug:3324673 instead, let DownloadManager use data/data/com.android.providers.downlaods/files dir Downlaodmanager manages its space anyway. Change-Id: I2eb15570395a214477891f50f635fada0b466544
* bug:3286430 set quota on downloads data dirVasu Nori2010-12-231-0/+452
make sure the doanloads data dir size is limited by some quote - 100MB default and 200MB for SR. bug:3286430 tests are in Change-Id: I688f7e058511089bec7fa21e972e23780604d98a Change-Id: Iba7fab9fa91ea018f35e1c3ef5ec0e6b03cba650