/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerBaseTest.java | 19 import android.app.DownloadManager; 20 import android.app.DownloadManager.Query; 47 protected DownloadManager mDownloadManager = null; 140 if (DownloadManager.ACTION_DOWNLOAD_COMPLETE.equals(intent.getAction())) { in onReceive() 141 long id = intent.getExtras().getLong(DownloadManager.EXTRA_DOWNLOAD_ID); in onReceive() 235 mDownloadManager = (DownloadManager)mContext.getSystemService(Context.DOWNLOAD_SERVICE); in setUp() 271 DownloadManager.ACTION_DOWNLOAD_COMPLETE), null, listener.getHandler()); in registerDownloadsListener() 376 q.setFilterByStatus(DownloadManager.STATUS_SUCCESSFUL); in hasDownloadFinished() 442 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() 446 while (value != DownloadManager.STATUS_RUNNING && in waitForDownloadToStart() [all …]
|
D | DownloadManagerTestApp.java | 18 import android.app.DownloadManager; 19 import android.app.DownloadManager.Request; 192 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in verifyFileDownloadSucceeded()
|
/frameworks/base/core/java/android/provider/ |
D | Downloads.java | 19 import android.app.DownloadManager; 117 DownloadManager.ACTION_DOWNLOAD_COMPLETED; 130 DownloadManager.ACTION_NOTIFICATION_CLICKED; 559 return visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED || in isNotificationToBeDisplayed() 560 visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION; in isNotificationToBeDisplayed() 765 public static final int VISIBILITY_VISIBLE = DownloadManager.Request.VISIBILITY_VISIBLE; 772 DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED; 777 public static final int VISIBILITY_HIDDEN = DownloadManager.Request.VISIBILITY_HIDDEN;
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerFunctionalTest.java | 19 import android.app.DownloadManager.Query; 20 import android.app.DownloadManager.Request; 88 verifyInt(cursor, DownloadManager.COLUMN_REASON, error); in doErrorTest() 171 verifyInt(cursor, DownloadManager.COLUMN_STATUS, DownloadManager.STATUS_SUCCESSFUL); in testDownloadToExternal_fileExists() 276 doErrorTest(uri, DownloadManager.ERROR_TOO_MANY_REDIRECTS); in testErrorTooManyRedirects() 287 doErrorTest(uri, DownloadManager.ERROR_CANNOT_RESUME); in testErrorUnhandledHttpCode() 355 verifyString(cursor, DownloadManager.COLUMN_TITLE, title); in testSetTitle() 411 verifyInt(cursor, DownloadManager.COLUMN_STATUS, DownloadManager.STATUS_FAILED); in testServerDropConnection_body() 412 verifyInt(cursor, DownloadManager.COLUMN_REASON, in testServerDropConnection_body() 413 DownloadManager.ERROR_CANNOT_RESUME); in testServerDropConnection_body()
|
D | DownloadManagerBaseTest.java | 19 import android.app.DownloadManager.Query; 20 import android.app.DownloadManager.Request; 64 protected DownloadManager mDownloadManager = null; 137 if (intent.getAction().equalsIgnoreCase(DownloadManager.ACTION_DOWNLOAD_COMPLETE)) { in onReceive() 139 long id = intent.getExtras().getLong(DownloadManager.EXTRA_DOWNLOAD_ID); in onReceive() 147 DownloadManager dm = (DownloadManager)context.getSystemService( in onReceive() 154 DownloadManager.COLUMN_STATUS)); in onReceive() 240 mDownloadManager = (DownloadManager)mContext.getSystemService(Context.DOWNLOAD_SERVICE); in setUp() 474 DownloadManager.ACTION_DOWNLOAD_COMPLETE)); in registerNewMultipleDownloadsReceiver() 763 query.setFilterByStatus(DownloadManager.STATUS_PENDING | DownloadManager.STATUS_PAUSED in doWaitForDownloadsOrTimeout() [all …]
|
D | DownloadManagerStressTest.java | 19 import android.app.DownloadManager.Query; 20 import android.app.DownloadManager.Request; 102 DownloadManager.COLUMN_STATUS)); in testMultipleDownloads() 104 DownloadManager.COLUMN_URI)); in testMultipleDownloads() 108 assertEquals(errorString, DownloadManager.STATUS_SUCCESSFUL, status); in testMultipleDownloads()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 19 import android.app.DownloadManager; 20 import android.app.DownloadManager.Query; 21 import android.app.DownloadManager.Request; 66 private DownloadManager mDownloadManager; 100 new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE)); in initialize() 118 mDownloadManager = (DownloadManager)mContext.getSystemService(Context.DOWNLOAD_SERVICE); in initialize() 222 if (action.equals(DownloadManager.ACTION_DOWNLOAD_COMPLETE)) { in onReceive() 418 int columnIndex = c.getColumnIndex(DownloadManager.COLUMN_STATUS); in downloadSuccessful() 419 if (DownloadManager.STATUS_SUCCESSFUL == c.getInt(columnIndex)) { in downloadSuccessful()
|
/frameworks/base/core/java/android/app/ |
D | DownloadManager.java | 64 public class DownloadManager { class 1004 public DownloadManager(Context context) { in DownloadManager() method in DownloadManager 1118 if (DownloadManager.STATUS_SUCCESSFUL == status) { 1244 if (DownloadManager.STATUS_SUCCESSFUL != status) {
|
D | SystemServiceRegistry.java | 292 registerService(Context.DOWNLOAD_SERVICE, DownloadManager.class, in registerService() 293 new CachedServiceFetcher<DownloadManager>() { in registerService() 295 public DownloadManager createService(ContextImpl ctx) { in registerService() 296 return new DownloadManager(ctx); in registerService()
|
/frameworks/base/core/java/android/net/ |
D | TrafficStats.java | 21 import android.app.DownloadManager;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DefaultPermissionGrantPolicy.java | 21 import android.app.DownloadManager; 351 Intent downloadsUiIntent = new Intent(DownloadManager.ACTION_VIEW_DOWNLOADS); in grantDefaultSystemHandlerPermissions()
|
/frameworks/base/ |
D | compiled-classes-phone | 265 android.app.DownloadManager 266 android.app.DownloadManager$CursorTranslator 267 android.app.DownloadManager$Query
|
D | preloaded-classes | 437 android.app.DownloadManager
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 4035 public class DownloadManager { 4037 method public long enqueue(android.app.DownloadManager.Request); 4043 method public android.database.Cursor query(android.app.DownloadManager.Query); 4072 …tic final java.lang.String INTENT_EXTRAS_SORT_BY_SIZE = "android.app.DownloadManager.extra_sortByS… 4084 public static class DownloadManager.Query { 4085 ctor public DownloadManager.Query(); 4086 method public android.app.DownloadManager.Query setFilterById(long...); 4087 method public android.app.DownloadManager.Query setFilterByStatus(int); 4090 public static class DownloadManager.Request { 4091 ctor public DownloadManager.Request(android.net.Uri); [all …]
|
/frameworks/base/api/ |
D | current.txt | 4459 public class DownloadManager { 4462 method public long enqueue(android.app.DownloadManager.Request); 4468 method public android.database.Cursor query(android.app.DownloadManager.Query); 4497 …tic final java.lang.String INTENT_EXTRAS_SORT_BY_SIZE = "android.app.DownloadManager.extra_sortByS… 4509 public static class DownloadManager.Query { 4510 ctor public DownloadManager.Query(); 4511 method public android.app.DownloadManager.Query setFilterById(long...); 4512 method public android.app.DownloadManager.Query setFilterByStatus(int); 4515 public static class DownloadManager.Request { 4516 ctor public DownloadManager.Request(android.net.Uri); [all …]
|
D | system-current.txt | 4620 public class DownloadManager { 4623 method public long enqueue(android.app.DownloadManager.Request); 4629 method public android.database.Cursor query(android.app.DownloadManager.Query); 4659 …tic final java.lang.String INTENT_EXTRAS_SORT_BY_SIZE = "android.app.DownloadManager.extra_sortByS… 4671 public static class DownloadManager.Query { 4672 ctor public DownloadManager.Query(); 4673 method public android.app.DownloadManager.Query setFilterById(long...); 4674 method public android.app.DownloadManager.Query setFilterByStatus(int); 4677 public static class DownloadManager.Request { 4678 ctor public DownloadManager.Request(android.net.Uri); [all …]
|
/frameworks/base/services/ |
D | profile-classes | 160 Landroid/app/DownloadManager;
|