/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | UpdateHandler.java | 141 final long downloadId) { in writeMetadataDownloadId() argument 142 MetadataDbHelper.registerMetadataDownloadId(context, uri, downloadId); in writeMetadataDownloadId() 242 final long downloadId; in updateClientsWithMetadataUri() local 244 downloadId = manager.enqueue(metadataRequest); in updateClientsWithMetadataUri() 245 DebugLogUtils.l("Metadata download requested with id", downloadId); in updateClientsWithMetadataUri() 251 writeMetadataDownloadId(context, metadataUri, downloadId); in updateClientsWithMetadataUri() 253 Log.i(TAG, "updateClientsWithMetadataUri() : DownloadId = " + downloadId); in updateClientsWithMetadataUri() 326 final long downloadId; in registerDownloadRequest() local 328 downloadId = manager.enqueue(request); in registerDownloadRequest() 329 Log.i(TAG, "registerDownloadRequest() : DownloadId = " + downloadId); in registerDownloadRequest() [all …]
|
D | CompletedDownloadInfo.java | 28 public CompletedDownloadInfo(final String uri, final long downloadId, final int status) { in CompletedDownloadInfo() argument 30 mDownloadId = downloadId; in CompletedDownloadInfo()
|
D | MetadataDbHelper.java | 674 final long downloadId) { in getDownloadRecordsForDownloadId() argument 686 if (pendingId == downloadId) { in getDownloadRecordsForDownloadId() 690 getContentValuesByPendingId(getDb(context, clientId), downloadId); in getDownloadRecordsForDownloadId() 927 final long downloadId) { in registerMetadataDownloadId() argument 929 values.put(CLIENT_PENDINGID_COLUMN, downloadId); in registerMetadataDownloadId() 1058 final int version, final int status, final long downloadId) { in markEntryAs() argument 1061 if (NOT_A_DOWNLOAD_ID != downloadId) { in markEntryAs() 1062 values.put(MetadataDbHelper.PENDINGID_COLUMN, downloadId); in markEntryAs() 1117 final int version, final long downloadId) { in markEntryAsDownloading() argument 1118 markEntryAs(db, id, version, STATUS_DOWNLOADING, downloadId); in markEntryAsDownloading()
|
D | ActionBatch.java | 148 final long downloadId = UpdateHandler.registerDownloadRequest(manager, request, db, in execute() local 152 DebugLogUtils.l("Starting download of", uri, "with id", downloadId); in execute() 153 PrivateLog.log("Starting download of " + uri + ", id : " + downloadId); in execute()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | SystemBroadcastReceiver.java | 127 final long downloadId = c in removeOldDownloads() local 129 downloadManagerWrapper.remove(downloadId); in removeOldDownloads() 130 Log.i(TAG, "Removed the download with Id: " + downloadId); in removeOldDownloads()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractPublicApiTest.java | 50 private Download(long downloadId) { in Download() argument 51 this.mId = downloadId; in Download()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 148 public static void scheduleJob(Context context, long downloadId) { in scheduleJob() argument 150 DownloadInfo.queryDownloadInfo(context, downloadId)); in scheduleJob() 838 final long downloadId = cursor.getLong(0); in handleRemovedUidEntries() local 858 idsToOrphan.add(downloadId); in handleRemovedUidEntries() 860 idsToDelete.add(downloadId); in handleRemovedUidEntries()
|
D | DownloadInfo.java | 202 public static DownloadInfo queryDownloadInfo(Context context, long downloadId) { in queryDownloadInfo() argument 205 ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, downloadId), in queryDownloadInfo() argument
|
D | DownloadProvider.java | 1354 private void insertRequestHeaders(SQLiteDatabase db, long downloadId, ContentValues values) { in insertRequestHeaders() argument 1356 rowValues.put(Downloads.Impl.RequestHeaders.COLUMN_DOWNLOAD_ID, downloadId); in insertRequestHeaders() 1534 Long downloadId = null; in notifyContentChanged() local 1536 downloadId = Long.parseLong(getDownloadIdFromUri(uri)); in notifyContentChanged() 1539 if (downloadId != null) { in notifyContentChanged() 1540 uriToNotify = ContentUris.withAppendedId(uriToNotify, downloadId); in notifyContentChanged()
|
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
D | DownloadServiceTest.kt | 363 downloadId: Int, in makeDownloadCompleteCallback() 373 override fun onDownloadAborted(downloadId: Int, reason: Int) { in makeDownloadCompleteCallback()
|
D | CaptivePortalLoginActivityTest.java | 974 final int downloadId = 123; in testDirectlyOpen_successfullyDownload() local 990 a.mProgressCallback.onDownloadComplete(otherFile, mimeType, downloadId, false)); in testDirectlyOpen_successfullyDownload() 997 mockFile, mimeType, downloadId, true)); in testDirectlyOpen_successfullyDownload()
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 188 public void onDownloadComplete(Uri inputFile, String mimeType, int downloadId, 203 verifyDownloadIdAndMaybeHideSpinner(downloadId); 207 public void onDownloadAborted(int downloadId, int reason) { 213 verifyDownloadIdAndMaybeHideSpinner(downloadId);
|
D | DownloadService.java | 270 void onDownloadComplete(@NonNull Uri inputFile, @NonNull String mimeType, int downloadId, in onDownloadComplete() argument 273 void onDownloadAborted(int downloadId, @AbortedReason int reason); in onDownloadAborted() argument
|