| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I2031a68f02f7e5fcd8702b1184e01c381cdc40fe
|
|
|
|
|
|
|
|
| |
the filename does not have a file extension but there are one or more dots in the parent directory names.
e.g. /mnt/sdcard/Android/data/com.google.android.youtube/files/file
Change-Id: I5aad1625a9f36135e947c0f929ee740fc66eb0d3
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
bug:3272589
in HC, when using public API, if the downloaded file is in downloads data
dir, wrong intent action is set when the user clicks on download-complete
notification.
fix this by sending the correct intent action if the download is
in downloads data dir or any other location specified by the app.
Change-Id: I72621be5f1d6a5caecb8ec85634b351e08b66c31
|
|/
|
|
| |
Change-Id: Ie8148af67507bdc1d12307ce0d957343d2a28af0
|
|
|
|
| |
Change-Id: I61c6020017a300076ab2a5901ab87eabb1e0d0b7
|
|
|
|
|
|
|
|
|
|
| |
bug:3264401
still to do:
make sure only N bytes are taken up by downloads dir
N = a value specific to each device.
default = 100MB.
Change-Id: I2a49f4b3831d3a8d7be13b5fd46d85d56e831e38
|
|\
| |
| |
| | |
* commit 'bf04a04e2022673c08617ad9dbb2522da2e87a8e':
|
| |\
| | |
| | |
| | | |
* commit 'ee39528f004afeb45883e32daf3fbd5a698b8a05':
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: I6a6553f8e89f576cf21ee0fb0cba62479f96f2b3
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
one big change in this CL is addition of a new feature to MockWebServer.
It can now play a long response to the Downloading thread to keep it busy
while something - such as cancel/remove - can be done to that Download Request.
Also, added changes to FakeSystemFacade to start threads in normal fashion
instead of queuing them up and later running just their run() methods.
the following tests should work now
packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DownloadManagerFunctionalTest.java
PublicApiFunctionalTest.java
ThreadingTest.java
PublicApiAccessTest.java
DownloadProviderPermissionsTest.java
the following are flaky. they need to be split up into smaller tests.
frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerIntegrationTest.java
DownloadManagerStressTest.java
Change-Id: Ia0b11963f92e8f8365f701761dcbce467be3ee9b
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '79595ec955da98510746ff2fa0ea47dc3d874012':
Don't filter by UID for apps with ACCESS_ALL_DOWNLOADS
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '5ad8a55c2a74f855fd4530e98147059206b7b2b0':
Don't filter by UID for apps with ACCESS_ALL_DOWNLOADS
|
| | |\ \ \
| | | | |/
| | | |/|
| | | | | |
Change-Id: I38873b898f431d1815ead588807a00068a7e802c
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Old platform behavior of DownloadProvider would allow anyone with
special access to access all the downloads. New behavior is to return
/my_downloads/ on an .insert() call. For things that aren't using the
new API where DownloadInfo.getAllDownloadsUri() is accessible, make any
application with ACCESS_ALL_DOWNLOADS permission bypass the calling UID
check for /my_downloads/
Bug: 3242328
Change-Id: I4d7dae75c528d2803d594c5d79d19865ef37ed30
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
I115b3ba6cfe0262269dbbc4c336b9e1d63c618e4
* commit 'bf7c06b57a99bd9be0c8edc20b05f5eadbe02030':
downloads broken by Change-Id: I115b3ba6cfe0262269dbbc4c336b9e1d63c618e4
|
| |\ \ \ \
| | | |_|/
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | | |
I115b3ba6cfe0262269dbbc4c336b9e1d63c618e4
* commit '5bbe15ed66d72dcab0ef133b9d237bba28cd6d98':
downloads broken by Change-Id: I115b3ba6cfe0262269dbbc4c336b9e1d63c618e4
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
big typo in that CL broke the downloading functionality.
Change-Id: If7dc0f86ea7a3c4394603416ca0fc33847f10fa7
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
need this CL from GB. without it, downloads are badly broken in master.
Change-Id: I82ebc467f877bed50e373c437481ad19e14635bf
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
in the database, sometimes _data column in downloads is set to null
and sometimes to empty string. this is inconsistent
and causes bugs such as bug:3144642
aThis bug is caused by line# 793 in DownloadThread.
state.mFileName is null sometimes and empty string sometimes - because
the correspodning field is set inconsistentlt in downloads.db
_data column.
Change-Id: Ifea1544737023008eff44aef9acd976902a0c143
|
|\ \ \ \ \ \
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
GB MR and real fix in HC" into gingerbread
* commit '084c3dc34ed9e6ae9ddc471819de0d6d55021dfd':
(GB MR) bug:3144642 temporary small fix in GB MR and real fix in HC
|
| |\ \ \ \ \
| | | |/ / /
| | |/| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
real fix in HC" into gingerbread
* commit '26f86843f48b3d7878837a1a9f93865b3eba0aee':
(GB MR) bug:3144642 temporary small fix in GB MR and real fix in HC
|
| | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
into gingerbread
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Real fix is in Change-Id: Ifea1544737023008eff44aef9acd976902a0c143
In the database, sometimes _data column in downloads is set to null
and sometimes to empty string. this is inconsistent
and causes bugs such as bug:3144642.
This bug is caused by line# 793 in DownloadThread.
state.mFileName is null sometimes and empty string sometimes - because
the correspodning field is set inconsistentlt in downloads.db
_data column.
in GB MR, apply a bandaid because real fix could be too risky for
GB.
Change-Id: I115b3ba6cfe0262269dbbc4c336b9e1d63c618e4
|
| |_|_|/ / /
|/| | | | |
| | | | | |
| | | | | | |
Change-Id: Ib1e73afe5daa389177da8f3614761364ae6bcc26
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
NOT MERGE" into gingerbread
* commit '5ec5682406244769bc4fb552e2e47757194e55e0':
Import revised translations. DO NOT MERGE
|
| |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '6ae8b6efc5ce136b95c062268f12624b85332b6d':
Import revised translations. DO NOT MERGE
|
| | |\ \ \ \
| | | |/ / /
| | |/| | | |
|
| | | | |/
| | | |/|
| | | | |
| | | | |
| | | | |
| | | | | |
Bug 3245452
Change-Id: Ie2e81528c7a16dce5350f5d6845c8b4c0da15f96
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
ACCESS_ALL_DOWNLOADS
* commit '5c29cce0bac00a7a32cd92210825a789e140cf94':
Don't filter by UID for apps with ACCESS_ALL_DOWNLOADS
|
| |\| | |
| | |_|/
| |/| |
| | | |
| | | | |
* commit 'e1823c84698006aa26a8c5dcfa5c4034858dfbe3':
Don't filter by UID for apps with ACCESS_ALL_DOWNLOADS
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Old platform behavior of DownloadProvider would allow anyone with
special access to access all the downloads. New behavior is to return
/my_downloads/ on an .insert() call. For things that aren't using the
new API where DownloadInfo.getAllDownloadsUri() is accessible, make any
application with ACCESS_ALL_DOWNLOADS permission bypass the calling UID
check for /my_downloads/
Bug: 3242328
Change-Id: I536fde4525dd74066879f7c7da7fa609ff344645
|
| | |
| | |
| | |
| | | |
Change-Id: I0d541c99b413ba8124abe307b81fe35fdf0fe610
|
| | |
| | |
| | |
| | | |
Change-Id: I1837f21d4369070e4ba167f8cab45f6df1daa037
|
| | |
| | |
| | |
| | |
| | |
| | | |
fixes this bug bug:3169457 also
Change-Id: I0f60333361c5c399c64faa2d497038530064bef0
|
| | |
| | |
| | |
| | | |
Change-Id: I8940778292d0a9166cfcfb92d37ea568b8f6ceef
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
bug:3175143
let downloadservice do the cleanup from all dataases and
also let it handle removal of the file from the sdcard.
Change-Id: I12eb8458223228109f1340552009d400b070bf54
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
useful for debugging for bugs like bug:3187299
without this error message, one doesn't know WHY downloads
fail.
to prevent PII info in database,
there is a STOPSHIP comment around storage of this error
message in database.
Change-Id: I612e383aef8483b68b772f70dff722a5daea2ef5
|
| | |
| | |
| | |
| | | |
Change-Id: Ic0c8d1b205c495bbcaccf3141abcbc1d14e6ea42
|
| | |
| | |
| | |
| | |
| | | |
bug:3176990
Change-Id: I182331cbd63b6524a18d19e4d8567210886f8c16
|
| | |
| | |
| | |
| | | |
Change-Id: I96f0b51295611b67735c1b726bcd46bbeaa90613
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1. if an application designates a downloaded file to be mediascanner
scannable or not, store that fact in database.
2. use the above to determine whether a file shoudl be mediascanned or not
in DownloadService
3. implement code to return mimetype for the new Uri "/public_downloads"
introduced in CL: I1f5dd734e394db0056579a3a0c26862fee27981e
Change-Id: I5c062ad6d1b58306044cee49ff3827e908d27fd9
|
| | |
| | |
| | |
| | |
| | | |
bug:3162073
Change-Id: I13b80fedd7658c8574f33b43b74b5aa28a2895bc
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
receiving application needs to know WHAT items the clicks occurred on -
not just the fact that *something* was clicked on.
this is duplicating the behavior as it exists today in the non-public API.
depends on Change-Id: Ibe53ccd9934c73175459e42e3d417eee69ae6735
Change-Id: I924f85bd5faf443ac5648839b68390ec4de1f677
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
if a download fails for some reason, then filename could be null.
move Helpers.deleteFile() code into private method in DownloadService
Change-Id: Ifb12a84b6185e19c70d62392e102950c07f56a01
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
bug:3132790
this mimics the behavior that exists today (in non-public API)
Change-Id: I722b3bc23fe8c9b0bf66a088c5f6a3130be2129f
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I0560d6ae179ababe74f53d3b937b8c53b674451b
|
|\ \ \ \
| |/ / /
|/| | | |
|