/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; 121 DownloadManager.ACTION_DOWNLOAD_COMPLETED; 134 DownloadManager.ACTION_NOTIFICATION_CLICKED; 604 return visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED || in isNotificationToBeDisplayed() 605 visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION; in isNotificationToBeDisplayed() 811 public static final int VISIBILITY_VISIBLE = DownloadManager.Request.VISIBILITY_VISIBLE; 818 DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED; 823 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; 90 verifyInt(cursor, DownloadManager.COLUMN_REASON, error); in doErrorTest() 173 verifyInt(cursor, DownloadManager.COLUMN_STATUS, DownloadManager.STATUS_SUCCESSFUL); in testDownloadToExternal_fileExists() 278 doErrorTest(uri, DownloadManager.ERROR_TOO_MANY_REDIRECTS); in testErrorTooManyRedirects() 289 doErrorTest(uri, DownloadManager.ERROR_CANNOT_RESUME); in testErrorUnhandledHttpCode() 357 verifyString(cursor, DownloadManager.COLUMN_TITLE, title); in testSetTitle() 413 verifyInt(cursor, DownloadManager.COLUMN_STATUS, DownloadManager.STATUS_FAILED); in testServerDropConnection_body() 414 verifyInt(cursor, DownloadManager.COLUMN_REASON, in testServerDropConnection_body() 415 DownloadManager.ERROR_CANNOT_RESUME); in testServerDropConnection_body()
|
D | DownloadManagerBaseTest.java | 19 import android.app.DownloadManager.Query; 20 import android.app.DownloadManager.Request; 65 protected DownloadManager mDownloadManager = null; 136 if (intent.getAction().equalsIgnoreCase(DownloadManager.ACTION_DOWNLOAD_COMPLETE)) { in onReceive() 138 long id = intent.getExtras().getLong(DownloadManager.EXTRA_DOWNLOAD_ID); in onReceive() 146 DownloadManager dm = (DownloadManager)context.getSystemService( in onReceive() 153 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; 103 DownloadManager.COLUMN_STATUS)); in testMultipleDownloads() 105 DownloadManager.COLUMN_URI)); in testMultipleDownloads() 109 assertEquals(errorString, DownloadManager.STATUS_SUCCESSFUL, status); in testMultipleDownloads()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierKeyDownloadManager.java | 25 import android.app.DownloadManager; 117 public final DownloadManager mDownloadManager; 126 filter.addAction(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in CarrierKeyDownloadManager() 130 mDownloadManager = (DownloadManager) mContext.getSystemService(Context.DOWNLOAD_SERVICE); in CarrierKeyDownloadManager() 153 } else if (action.equals(DownloadManager.ACTION_DOWNLOAD_COMPLETE)) { 156 intent.getLongExtra(DownloadManager.EXTRA_DOWNLOAD_ID, 0))); 337 DownloadManager.Query query = new DownloadManager.Query(); in onDownloadComplete() 346 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in onDownloadComplete() 347 if (DownloadManager.STATUS_SUCCESSFUL == cursor.getInt(columnIndex)) { in onDownloadComplete() 531 DownloadManager.Request request = new DownloadManager.Request(Uri.parse(mURL)); in downloadKey() [all …]
|
/frameworks/base/core/java/android/app/ |
D | DownloadManager.java | 69 public class DownloadManager { class 349 DownloadManager.COLUMN_ID, 350 DownloadManager.COLUMN_LOCAL_FILENAME, 351 DownloadManager.COLUMN_MEDIAPROVIDER_URI, 352 DownloadManager.COLUMN_DESTINATION, 353 DownloadManager.COLUMN_TITLE, 354 DownloadManager.COLUMN_DESCRIPTION, 355 DownloadManager.COLUMN_URI, 356 DownloadManager.COLUMN_STATUS, 357 DownloadManager.COLUMN_FILE_NAME_HINT, [all …]
|
D | SystemServiceRegistry.java | 428 registerService(Context.DOWNLOAD_SERVICE, DownloadManager.class, in registerService() 429 new CachedServiceFetcher<DownloadManager>() { in registerService() 431 public DownloadManager createService(ContextImpl ctx) { in registerService() 432 return new DownloadManager(ctx); in registerService()
|
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierKeyDownloadMgrTest.java | 30 import android.app.DownloadManager; 255 Intent mIntent = new Intent(DownloadManager.ACTION_DOWNLOAD_COMPLETE); in testDownloadComplete()
|
D | ContextFixture.java | 33 import android.app.DownloadManager; 586 private final DownloadManager mDownloadManager = mock(DownloadManager.class);
|
/frameworks/base/core/java/android/net/ |
D | TrafficStats.java | 23 import android.app.DownloadManager;
|
/frameworks/base/api/ |
D | lint-baseline.txt | 551 RequiresPermission: android.app.DownloadManager.Request#setDestinationInExternalPublicDir(String, S… 553 RequiresPermission: android.app.DownloadManager.Request#setDestinationUri(android.net.Uri): 555 RequiresPermission: android.app.DownloadManager.Request#setNotificationVisibility(int): 557 RequiresPermission: android.app.DownloadManager.Request#setShowRunningNotification(boolean):
|
D | current.txt | 4621 public class DownloadManager { 4624 method public long enqueue(android.app.DownloadManager.Request); 4630 method public android.database.Cursor query(android.app.DownloadManager.Query); 4659 …field public static final String INTENT_EXTRAS_SORT_BY_SIZE = "android.app.DownloadManager.extra_s… 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 …]
|
D | test-current.txt | 321 public class DownloadManager {
|
D | system-current.txt | 501 public class DownloadManager {
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | DefaultPermissionGrantPolicy.java | 26 import android.app.DownloadManager; 481 DownloadManager.ACTION_VIEW_DOWNLOADS, userId), in grantDefaultSystemHandlerPermissions()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 4775 Landroid/app/DownloadManager$CursorTranslator;-><init>(Landroid/database/Cursor;Landroid/net/Uri;Z)V 4776 Landroid/app/DownloadManager$CursorTranslator;->getErrorCode(I)J 4777 Landroid/app/DownloadManager$CursorTranslator;->getLocalUri()Ljava/lang/String; 4778 Landroid/app/DownloadManager$CursorTranslator;->getPausedReason(I)J 4779 Landroid/app/DownloadManager$CursorTranslator;->getReason(I)J 4780 Landroid/app/DownloadManager$CursorTranslator;->mAccessFilename:Z 4781 Landroid/app/DownloadManager$CursorTranslator;->mBaseUri:Landroid/net/Uri; 4782 Landroid/app/DownloadManager$CursorTranslator;->translateStatus(I)I 4783 Landroid/app/DownloadManager$Query;->joinStrings(Ljava/lang/String;Ljava/lang/Iterable;)Ljava/lang/… 4784 Landroid/app/DownloadManager$Query;->mFilterString:Ljava/lang/String; [all …]
|
D | preloaded-classes | 207 android.app.DownloadManager
|
D | boot-image-profile.txt | 1311 HSPLandroid/app/DownloadManager;-><init>(Landroid/content/Context;)V 2225 …pp/SystemServiceRegistry$20;->createService(Landroid/app/ContextImpl;)Landroid/app/DownloadManager; 32253 Landroid/app/DownloadManager; 40871 HSPLandroid/app/DownloadManager;->query(Landroid/app/DownloadManager$Query;)Landroid/database/Curso… 40872 HSPLandroid/app/DownloadManager;->query(Landroid/app/DownloadManager$Query;[Ljava/lang/String;)Land…
|
/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/non-updatable-api/ |
D | current.txt | 4621 public class DownloadManager { 4624 method public long enqueue(android.app.DownloadManager.Request); 4630 method public android.database.Cursor query(android.app.DownloadManager.Query); 4659 …field public static final String INTENT_EXTRAS_SORT_BY_SIZE = "android.app.DownloadManager.extra_s… 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 …]
|
D | system-current.txt | 501 public class DownloadManager {
|