/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/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() 468 DownloadManager.ACTION_DOWNLOAD_COMPLETE)); in registerNewMultipleDownloadsReceiver() 757 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/java/android/provider/ |
D | Downloads.java | 19 import android.app.DownloadManager; 557 return visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED || in isNotificationToBeDisplayed() 558 visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION; in isNotificationToBeDisplayed() 763 public static final int VISIBILITY_VISIBLE = DownloadManager.Request.VISIBILITY_VISIBLE; 770 DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED; 775 public static final int VISIBILITY_HIDDEN = DownloadManager.Request.VISIBILITY_HIDDEN;
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
D | FilesActivityUiTest.java | 22 import android.app.DownloadManager; 23 import android.app.DownloadManager.Request; 194 DownloadManager dm = (DownloadManager) context.getSystemService( in testDownload_Queued() 206 DownloadManager dm = (DownloadManager) context.getSystemService( in testDownload_RetryUnsuccessful()
|
/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/docs/html-intl/intl/zh-cn/preview/ |
D | behavior-changes.jd | 220 {@link android.app.DownloadManager} 不再按文件名分享私人存储的文件。 222 android.app.DownloadManager#COLUMN_LOCAL_FILENAME} 时可能出现无法访问的路径。 223 面向 Android N 或更高版本的应用在尝试访问 {@link android.app.DownloadManager#COLUMN_LOCAL_FILENAME} 时会触发 {@link ja… 228 android.app.DownloadManager.Request#setDestinationInExternalFilesDir 229 DownloadManager.Request.setDestinationInExternalFilesDir()} 或 {@link 230 android.app.DownloadManager.Request#setDestinationInExternalPublicDir 231 …DownloadManager.Request.setDestinationInExternalPublicDir()} 将下载位置设置为公共位置的旧版应用仍可以访问 {@link android… 237 访问由 {@link android.app.DownloadManager} 公开的文件的首选方式是使用 {@link android.content.ContentResolver#openFi…
|
/frameworks/base/docs/html-intl/intl/ko/preview/ |
D | behavior-changes.jd | 220 {@link android.app.DownloadManager}는 비공개로 222 android.app.DownloadManager#COLUMN_LOCAL_FILENAME}에 액세스할 때 224 대상으로 하는 앱은 {@link android.app.DownloadManager#COLUMN_LOCAL_FILENAME}에 액세스할 때 {@link java.lang.Secur… 229 android.app.DownloadManager.Request#setDestinationInExternalFilesDir 230 DownloadManager.Request.setDestinationInExternalFilesDir()} 또는 232 android.app.DownloadManager.Request#setDestinationInExternalPublicDir 233 DownloadManager.Request.setDestinationInExternalPublicDir()} 236 {@link android.app.DownloadManager#COLUMN_LOCAL_FILENAME}에 있는 경로에 여전히 액세스할 수 있지만, 이 237 메서드는 부득이한 경우가 아니라면 사용하지 않는 것이 좋습니다. {@link android.app.DownloadManager}에 의해 노출되는 파일에
|
/frameworks/base/docs/html-intl/intl/ja/preview/ |
D | behavior-changes.jd | 220 {@link android.app.DownloadManager} では、ファイル名でプライベートに保存されたファイルを共有することはできなくなりました。 222 android.app.DownloadManager#COLUMN_LOCAL_FILENAME} にアクセスした場合、このパスにアクセスできないことがあります。 223 Android N 以降向けのアプリが、{@link android.app.DownloadManager#COLUMN_LOCAL_FILENAME} にアクセスしようとすると、{@link j… 228 android.app.DownloadManager.Request#setDestinationInExternalFilesDir 229 DownloadManager.Request.setDestinationInExternalFilesDir()} や {@link 230 android.app.DownloadManager.Request#setDestinationInExternalPublicDir 231 …DownloadManager.Request.setDestinationInExternalPublicDir()} を使用してパブリックな場所に設定する以前のアプリは、{@link andr… 237 {@link android.app.DownloadManager} で公開されているファイルへのアクセスには、{@link android.content.ContentResolver#ope…
|
/frameworks/base/docs/html-intl/intl/in/preview/ |
D | behavior-changes.jd | 220 {@link android.app.DownloadManager} tidak bisa lagi berbagi 223 android.app.DownloadManager#COLUMN_LOCAL_FILENAME}. Aplikasi yang menargetkan 226 {@link android.app.DownloadManager#COLUMN_LOCAL_FILENAME}. 230 android.app.DownloadManager.Request#setDestinationInExternalFilesDir 231 DownloadManager.Request.setDestinationInExternalFilesDir()} atau 233 android.app.DownloadManager.Request#setDestinationInExternalPublicDir 234 DownloadManager.Request.setDestinationInExternalPublicDir()} 236 {@link android.app.DownloadManager#COLUMN_LOCAL_FILENAME}, akan tetapi, 238 yang diekspos oleh {@link android.app.DownloadManager} adalah menggunakan
|
/frameworks/base/core/java/android/app/ |
D | DownloadManager.java | 65 public class DownloadManager { class 977 public DownloadManager(Context context) { in DownloadManager() method in DownloadManager 1091 if (DownloadManager.STATUS_SUCCESSFUL == status) { 1217 if (DownloadManager.STATUS_SUCCESSFUL != status) {
|
D | SystemServiceRegistry.java | 257 registerService(Context.DOWNLOAD_SERVICE, DownloadManager.class, in registerService() 258 new CachedServiceFetcher<DownloadManager>() { in registerService() 260 public DownloadManager createService(ContextImpl ctx) { in registerService() 261 return new DownloadManager(ctx); in registerService()
|
/frameworks/base/docs/html-intl/intl/es/preview/ |
D | behavior-changes.jd | 220 El {@link android.app.DownloadManager} ya no puede compartir archivos 223 android.app.DownloadManager#COLUMN_LOCAL_FILENAME}. Las aplicaciones orientadas a 226 {@link android.app.DownloadManager#COLUMN_LOCAL_FILENAME}. 230 android.app.DownloadManager.Request#setDestinationInExternalFilesDir 231 DownloadManager.Request.setDestinationInExternalFilesDir()} o 233 android.app.DownloadManager.Request#setDestinationInExternalPublicDir 234 DownloadManager.Request.setDestinationInExternalPublicDir()} 236 {@link android.app.DownloadManager#COLUMN_LOCAL_FILENAME}; sin embargo, se desaconseja 238 expuesto por el{@link android.app.DownloadManager} consiste en utilizar
|
/frameworks/base/docs/html-intl/intl/pt-br/preview/ |
D | behavior-changes.jd | 220 O {@link android.app.DownloadManager} não consegue mais compartilhar 223 android.app.DownloadManager#COLUMN_LOCAL_FILENAME}. Aplicativos direcionados para o 226 {@link android.app.DownloadManager#COLUMN_LOCAL_FILENAME}. 230 android.app.DownloadManager.Request#setDestinationInExternalFilesDir 231 DownloadManager.Request.setDestinationInExternalFilesDir()} ou 233 android.app.DownloadManager.Request#setDestinationInExternalPublicDir 234 DownloadManager.Request.setDestinationInExternalPublicDir()} 236 {@link android.app.DownloadManager#COLUMN_LOCAL_FILENAME}, no entanto, este 238 exposto pelo {@link android.app.DownloadManager} é o uso do
|
/frameworks/base/docs/html/preview/ |
D | behavior-changes.jd | 231 The {@link android.app.DownloadManager} can no longer share privately 234 android.app.DownloadManager#COLUMN_LOCAL_FILENAME}. Apps targeting 237 {@link android.app.DownloadManager#COLUMN_LOCAL_FILENAME}. 241 android.app.DownloadManager.Request#setDestinationInExternalFilesDir 242 DownloadManager.Request.setDestinationInExternalFilesDir()} or 244 android.app.DownloadManager.Request#setDestinationInExternalPublicDir 245 DownloadManager.Request.setDestinationInExternalPublicDir()} 247 {@link android.app.DownloadManager#COLUMN_LOCAL_FILENAME}, however, this 249 exposed by the {@link android.app.DownloadManager} is using
|
/frameworks/base/core/java/android/net/ |
D | TrafficStats.java | 20 import android.app.DownloadManager;
|
/frameworks/base/docs/html/about/versions/ |
D | android-2.3.jd | 233 <p>The platform includes a new {@link android.app.DownloadManager} system service 235 downloaded to a particular destination file. The <code>DownloadManager</code> 240 <li>Applications can obtain an instance of the {@link android.app.DownloadManager} 245 android.app.DownloadManager#ACTION_NOTIFICATION_CLICKED}, to appropriately 248 <li>The {@link android.app.DownloadManager.Request} class lets an 255 android.app.DownloadManager.Request#setDestinationUri(Uri)}).</li> 256 <li>The {@link android.app.DownloadManager.Query} class provides methods that let
|
D | android-3.1.jd | 602 android.app.DownloadManager.Request#VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION} 604 android.app.DownloadManager.Request#setNotificationVisibility(int) 608 android.app.DownloadManager#addCompletedDownload(java.lang.String, 618 android.app.DownloadManager#INTENT_EXTRAS_SORT_BY_SIZE} to an {@link 619 android.app.DownloadManager#ACTION_VIEW_DOWNLOADS} intent.</li>
|
/frameworks/base/docs/html/training/volley/ |
D | index.jd | 63 alternative like {@link android.app.DownloadManager}.</p>
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DefaultPermissionGrantPolicy.java | 20 import android.app.DownloadManager; 286 Intent downloadsUiIntent = new Intent(DownloadManager.ACTION_VIEW_DOWNLOADS); in grantDefaultSystemHandlerPermissions()
|
/frameworks/base/docs/html/training/scheduling/ |
D | wakelock.jd | 94 {@link android.app.DownloadManager}.</li>
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | application-element.jd | 456 stacks, {@link android.app.DownloadManager}, {@link android.media.MediaPlayer}) will refuse the
|
/frameworks/base/ |
D | compiled-classes-phone | 258 android.app.DownloadManager 259 android.app.DownloadManager$CursorTranslator 260 android.app.DownloadManager$Query 261 android.app.DownloadManager$Request
|