Home
last modified time | relevance | path

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

/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()
DDownloadJobService.java19 import static android.provider.Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI;
47 getContentResolver().registerContentObserver(ALL_DOWNLOADS_CONTENT_URI, true, mObserver); in onCreate()
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()
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()
DDownloadScanner.java175 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, req.id); in onScanCompleted()
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()
DHelpers.java834 try (Cursor cursor = downloadProvider.query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, in handleRemovedUidEntries()
871 downloadProvider.update(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, values, in handleRemovedUidEntries()
877 downloadProvider.delete(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, in handleRemovedUidEntries()
DDownloadNotifier.java174 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, UpdateQuery.PROJECTION, in update()
277 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id); in updateWithLocked()
DDownloadProvider.java144 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI,
1896 final Uri uri = ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id);
1902 final Uri uri = ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id);
DDownloadStorageProvider.java1164 mResolver.notifyChange(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, null, false); in onEvent()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DHelpersTest.java572 when(downloadProvider.query(eq(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI), in testHandleRemovedUidEntries()
579 verify(downloadProvider).update(eq(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI), in testHandleRemovedUidEntries()
584 verify(downloadProvider).delete(eq(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI), in testHandleRemovedUidEntries()
599 when(downloadProvider.query(eq(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI), in testHandleRemovedUidEntries()
606 verify(downloadProvider).update(eq(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI), in testHandleRemovedUidEntries()
611 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/apps/Messaging/src/com/android/messaging/mmslib/
DDownloads.java96 public static final Uri ALL_DOWNLOADS_CONTENT_URI = field in Downloads.Impl