Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/fuse/
DExternalStorageServiceImpl.java63 MediaProvider mediaProvider = getMediaProvider(); in onStartSession() local
73 FuseDaemon daemon = new FuseDaemon(mediaProvider, this, deviceFd, sessionId, in onStartSession()
85 MediaProvider mediaProvider = getMediaProvider(); in onVolumeStateChanged() local
90 mediaProvider.attachVolume(volume, /* validate */ false); in onVolumeStateChanged()
91 MediaService.queueVolumeScan(mediaProvider.getContext(), volume, REASON_MOUNTED); in onVolumeStateChanged()
97 mediaProvider.detachVolume(MediaVolume.fromStorageVolume(vol)); in onVolumeStateChanged()
104 mediaProvider.updateVolumes(); in onVolumeStateChanged()
DFuseDaemon.java47 public FuseDaemon(@NonNull MediaProvider mediaProvider, in FuseDaemon() argument
50 mMediaProvider = Objects.requireNonNull(mediaProvider); in FuseDaemon()
180 private native long native_new(MediaProvider mediaProvider); in native_new() argument
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DVideoStore.java66 @NonNull MediaProvider mediaProvider) { in VideoStore() argument
70 + ", " + mediaProvider + ")"); in VideoStore()
73 mMediaProvider = mediaProvider; in VideoStore()
DAudioStore.java55 @NonNull MediaProvider mediaProvider) { in AudioStore() argument
59 + ", " + mediaProvider + ")"); in AudioStore()
62 mMediaProvider = mediaProvider; in AudioStore()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DReadWriteDraftMessageActionTest.java467 final ContentProvider mediaProvider = new MediaScratchFileProvider(); in setUp() local
470 mediaProvider.attachInfo(mContext, mediaProviderInfo); in setUp()
471 context.addContentProvider(MediaScratchFileProvider.AUTHORITY, mediaProvider); in setUp()
/packages/providers/MediaProvider/jni/
DFuseDaemon.h33 FuseDaemon(JNIEnv* env, jobject mediaProvider);
DFuseDaemon.cpp2031 FuseDaemon::FuseDaemon(JNIEnv* env, jobject mediaProvider) : mp(env, mediaProvider), in FuseDaemon() argument
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java924 Uri updateMediaProvider(@NonNull ContentProviderClient mediaProvider, in updateMediaProvider() argument
927 Uri mediaStoreUri = getMediaStoreUri(mediaProvider, filePath); in updateMediaProvider()
931 mediaStoreUri = mediaProvider.insert( in updateMediaProvider()
939 if (mediaProvider.update(mediaStoreUri, mediaValues, null, null) != 1) { in updateMediaProvider()
958 private Uri getMediaStoreUri(@NonNull ContentProviderClient mediaProvider, in getMediaStoreUri() argument
962 try (Cursor cursor = mediaProvider.query(filesUri, in getMediaStoreUri()
/packages/providers/MediaProvider/src/com/android/providers/media/
DTranscodeHelperImpl.java262 public TranscodeHelperImpl(Context context, MediaProvider mediaProvider) { in TranscodeHelperImpl() argument
267 mMediaProvider = mediaProvider; in TranscodeHelperImpl()