Home
last modified time | relevance | path

Searched refs:downloadId (Results 1 – 8 of 8) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DUpdateHandler.java147 final long downloadId) { in writeMetadataDownloadId() argument
148 MetadataDbHelper.registerMetadataDownloadId(context, uri, downloadId); in writeMetadataDownloadId()
248 final long downloadId; in updateClientsWithMetadataUri() local
250 downloadId = manager.enqueue(metadataRequest); in updateClientsWithMetadataUri()
251 DebugLogUtils.l("Metadata download requested with id", downloadId); in updateClientsWithMetadataUri()
257 writeMetadataDownloadId(context, metadataUri, downloadId); in updateClientsWithMetadataUri()
259 Log.i(TAG, "updateClientsWithMetadataUri() : DownloadId = " + downloadId); in updateClientsWithMetadataUri()
332 final long downloadId; in registerDownloadRequest() local
334 downloadId = manager.enqueue(request); in registerDownloadRequest()
335 Log.i(TAG, "registerDownloadRequest() : DownloadId = " + downloadId); in registerDownloadRequest()
[all …]
DMetadataDbHelper.java674 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()
DCompletedDownloadInfo.java28 public CompletedDownloadInfo(final String uri, final long downloadId, final int status) { in CompletedDownloadInfo() argument
30 mDownloadId = downloadId; in CompletedDownloadInfo()
DActionBatch.java148 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/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDownloadPackageTask.java130 long downloadId = in createDownloadReceiver() local
137 onDownloadSuccess(downloadId, location); in createDownloadReceiver()
159 private void onDownloadSuccess(long downloadId, String location) {
162 if (downloadId == infoToMatch.mDownloadId) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSystemBroadcastReceiver.java127 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/src/com/android/providers/downloads/
DDownloadProvider.java987 private void insertRequestHeaders(SQLiteDatabase db, long downloadId, ContentValues values) { in insertRequestHeaders() argument
989 rowValues.put(Downloads.Impl.RequestHeaders.COLUMN_DOWNLOAD_ID, downloadId); in insertRequestHeaders()
1140 Long downloadId = null; in notifyContentChanged() local
1142 downloadId = Long.parseLong(getDownloadIdFromUri(uri)); in notifyContentChanged()
1145 if (downloadId != null) { in notifyContentChanged()
1146 uriToNotify = ContentUris.withAppendedId(uriToNotify, downloadId); in notifyContentChanged()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractPublicApiTest.java47 private Download(long downloadId) { in Download() argument
48 this.mId = downloadId; in Download()