Home
last modified time | relevance | path

Searched refs:ALL_DOWNLOADS_CONTENT_URI (Results 1 – 14 of 14) sorted by relevance

/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DHelpersTest.java191 when(downloadProvider.query(eq(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI), in testHandleRemovedUidEntries()
198 verify(downloadProvider).update(eq(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI), in testHandleRemovedUidEntries()
203 verify(downloadProvider).delete(eq(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI), in testHandleRemovedUidEntries()
218 when(downloadProvider.query(eq(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI), in testHandleRemovedUidEntries()
225 verify(downloadProvider).update(eq(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI), in testHandleRemovedUidEntries()
230 verify(downloadProvider).delete(eq(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI), in testHandleRemovedUidEntries()
DAbstractDownloadProviderFunctionalTest.java235 try (Cursor cursor = mResolver.query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, in assertDatabaseEmpty()
242 try (Cursor cursor = mResolver.query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, null, in assertDatabaseSecureAgainstBadSelection()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadIdleService.java118 final Cursor cursor = resolver.query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, in cleanStale()
129 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id), null, null); in cleanStale()
156 final Cursor cursor = resolver.query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, in cleanOrphans()
178 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id), null, null); in cleanOrphans()
DMediaScanTriggerJob.java19 import static android.provider.Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI;
76 try (Cursor cursor = downloadProvider.query(ALL_DOWNLOADS_CONTENT_URI, in onStartJob()
110 downloadProvider.update(ALL_DOWNLOADS_CONTENT_URI, in onStartJob()
DOpenHelper.java22 import static android.provider.Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI;
149 ContentUris.withAppendedId(ALL_DOWNLOADS_CONTENT_URI, id), in getRefererUri()
167 final Uri uri = ContentUris.withAppendedId(ALL_DOWNLOADS_CONTENT_URI, id); in getOriginatingUid()
DDownloadJobService.java19 import static android.provider.Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI;
47 getContentResolver().registerContentObserver(ALL_DOWNLOADS_CONTENT_URI, true, mObserver); in onCreate()
DDownloadReceiver.java123 try (Cursor cursor = resolver.query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, null, null, in handleBootCompleted()
186 final Uri uri = ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id); in hideNotification()
230 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, ids[0]); in sendNotificationClickedIntent()
DHelpers.java751 try (Cursor cursor = downloadProvider.query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, in handleRemovedUidEntries()
788 downloadProvider.update(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, values, in handleRemovedUidEntries()
794 downloadProvider.delete(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, in handleRemovedUidEntries()
DDownloadInfo.java205 ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, downloadId), in queryDownloadInfo()
393 return ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, mId); in getAllDownloadsUri()
DDownloadNotifier.java165 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, UpdateQuery.PROJECTION, in update()
264 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id); in updateWithLocked()
DDownloadScanner.java175 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, req.id); in onScanCompleted()
DDownloadProvider.java144 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI,
1942 final Uri uri = ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id);
1948 final Uri uri = ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id);
DDownloadStorageProvider.java1178 mResolver.notifyChange(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, null, false); in onEvent()
/packages/apps/Messaging/src/com/android/messaging/mmslib/
DDownloads.java96 public static final Uri ALL_DOWNLOADS_CONTENT_URI = field in Downloads.Impl