Home
last modified time | relevance | path

Searched refs:mediaProvider (Results 1 – 4 of 4) sorted by relevance

/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DVideoStore.java65 @NonNull MediaProvider mediaProvider) { in VideoStore() argument
69 + ", " + mediaProvider + ")"); in VideoStore()
72 mMediaProvider = mediaProvider; in VideoStore()
DAudioStore.java56 @NonNull MediaProvider mediaProvider) { in AudioStore() argument
60 + ", " + mediaProvider + ")"); in AudioStore()
63 mMediaProvider = mediaProvider; in AudioStore()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DReadWriteDraftMessageActionTest.java468 final ContentProvider mediaProvider = new MediaScratchFileProvider(); in setUp() local
471 mediaProvider.attachInfo(mContext, mediaProviderInfo); in setUp()
472 context.addContentProvider(MediaScratchFileProvider.AUTHORITY, mediaProvider); in setUp()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java959 private Uri updateMediaProvider(@NonNull ContentProviderClient mediaProvider, in updateMediaProvider() argument
962 Uri mediaStoreUri = getMediaStoreUri(mediaProvider, filePath); in updateMediaProvider()
966 mediaStoreUri = mediaProvider.insert( in updateMediaProvider()
974 if (mediaProvider.update(mediaStoreUri, mediaValues, null, null) != 1) { in updateMediaProvider()
986 private Uri getMediaStoreUri(@NonNull ContentProviderClient mediaProvider, in getMediaStoreUri() argument
990 try (Cursor cursor = mediaProvider.query(filesUri, in getMediaStoreUri()