Home
last modified time | relevance | path

Searched refs:MediaProvider (Results 1 – 25 of 43) sorted by relevance

12

/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaService.java116 ((MediaProvider) cpc.getLocalContentProvider()).onLocaleChanged(); in onLocaleChanged()
123 ((MediaProvider) cpc.getLocalContentProvider()).onPackageOrphaned(packageName, uid); in onPackageOrphaned()
134 if (!((MediaProvider)cpc.getLocalContentProvider()).isVolumeAttached(mediaVolume)) { in onMediaMountedBroadcast()
188 final MediaProvider provider = ((MediaProvider) cpc.getLocalContentProvider()); in onScanVolume()
224 final MediaProvider provider = ((MediaProvider) cpc.getLocalContentProvider()); in onScanFile()
DMediaUpgradeReceiver.java70 MediaProvider mediaProvider = getMediaProvider(context); in tryMigratingDatabases()
95 private MediaProvider getMediaProvider(Context context) { in getMediaProvider()
99 return (MediaProvider) cpc.getLocalContentProvider(); in getMediaProvider()
DIdleService.java43 ((MediaProvider) cpc.getLocalContentProvider()).onIdleMaintenance(mSignal); in onStartJob()
56 ((MediaProvider) cpc.getLocalContentProvider()).onIdleMaintenanceStopped(); in onStopJob()
DMediaApplication.java130 final MediaProvider mediaProviderInstance = MediaProvider.getInstance(); in getAppContext()
/packages/providers/MediaProvider/src/com/android/providers/media/fuse/
DExternalStorageServiceImpl.java36 import com.android.providers.media.MediaProvider;
67 MediaProvider mediaProvider = getMediaProvider(); in onStartSession()
105 MediaProvider mediaProvider = getMediaProvider(); in onVolumeStateChanged()
176 private MediaProvider getMediaProvider() { in getMediaProvider()
179 return (MediaProvider) cpc.getLocalContentProvider(); in getMediaProvider()
DFuseDaemon.java26 import com.android.providers.media.MediaProvider;
43 private final MediaProvider mMediaProvider;
53 public FuseDaemon(@NonNull MediaProvider mediaProvider, in FuseDaemon()
332 private native long native_new(MediaProvider mediaProvider); in native_new()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java73 import com.android.providers.media.MediaProvider.FallbackException;
74 import com.android.providers.media.MediaProvider.VolumeArgumentException;
75 import com.android.providers.media.MediaProvider.VolumeNotFoundException;
210 ((MediaProvider) cpc.getLocalContentProvider()) in testLocale()
263 ((MediaProvider) cpc.getLocalContentProvider()) in testIdle()
626 MediaProvider.computeCommonPrefix(Arrays.asList( in testComputeCommonPrefix_Single()
633 MediaProvider.computeCommonPrefix(Arrays.asList( in testComputeCommonPrefix_Deeper()
642 MediaProvider.computeCommonPrefix(Arrays.asList( in testComputeCommonPrefix_Siblings()
650 MediaProvider.computeCommonPrefix(Arrays.asList( in testComputeCommonPrefix_Drastic()
815 final MediaProvider provider = new MediaProvider() { in testEnsureFileColumns_InvalidMimeType_targetSdkQ()
[all …]
DMediaProviderForFuseTest.java19 import static com.android.providers.media.MediaProvider.DIRECTORY_ACCESS_FOR_CREATE;
20 import static com.android.providers.media.MediaProvider.DIRECTORY_ACCESS_FOR_DELETE;
21 import static com.android.providers.media.MediaProvider.DIRECTORY_ACCESS_FOR_READ;
22 import static com.android.providers.media.MediaProvider.DIRECTORY_ACCESS_FOR_WRITE;
67 private static MediaProvider sMediaProvider;
83 sMediaProvider = (MediaProvider) sIsolatedResolver in setUp()
DDatabaseHelperTest.java95 MediaProvider.computeAudioKeyValues(values); in testFilterVolumeNames()
108 MediaProvider.computeAudioKeyValues(values); in testFilterVolumeNames()
121 MediaProvider.computeAudioKeyValues(values); in testFilterVolumeNames()
177 MediaProvider.computeAudioKeyValues(values); in testArtistsAndAlbumsIncludeOnlyMusic()
190 MediaProvider.computeAudioKeyValues(values); in testArtistsAndAlbumsIncludeOnlyMusic()
202 MediaProvider.computeAudioKeyValues(values); in testArtistsAndAlbumsIncludeOnlyMusic()
579 null, MediaProvider.MIGRATION_LISTENER, null, false, in DatabaseHelperR()
593 null, MediaProvider.MIGRATION_LISTENER, null, false, in DatabaseHelperS()
607 null, MediaProvider.MIGRATION_LISTENER, null, false, in DatabaseHelperT()
615 null, MediaProvider.MIGRATION_LISTENER, null, false, databaseBackupAndRecovery); in DatabaseHelperT()
[all …]
DIsolatedContext.java51 private final MediaProvider mMediaProvider;
100 private MediaProvider getMockedMediaProvider(boolean asFuseThread, in getMockedMediaProvider()
102 return new MediaProvider() { in getMockedMediaProvider()
DTranscodeHelperTest.java46 private final MediaProvider mDefaultMediaProvider = new MediaProvider() {
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPhotoPickerProvider.java44 import com.android.providers.media.MediaProvider;
56 private MediaProvider mMediaProvider;
156 private MediaProvider getMediaProvider() { in getMediaProvider()
159 return (MediaProvider) cpc.getLocalContentProvider(); in getMediaProvider()
/packages/providers/MediaProvider/pdf/framework/
DAndroid.bp47 "//packages/providers/MediaProvider:__subpackages__",
62 "//packages/providers/MediaProvider/pdf/tests",
79 "//packages/providers/MediaProvider/pdf:__subpackages__",
/packages/providers/MediaProvider/src/com/android/providers/media/stableuris/job/
DStableUriIdleMaintenanceService.java33 import com.android.providers.media.MediaProvider;
51 ((MediaProvider) cpc.getLocalContentProvider()).backupDatabases(mSignal); in onStartJob()
/packages/providers/MediaProvider/
Dlogging.sh7 adb shell setprop log.tag.MediaProvider VERBOSE
13 adb shell setprop log.tag.MediaProvider INFO
DAndroid.bp8 name: "MediaProvider",
108 // Used by MediaProvider and MediaProviderTests
152 src: ":MediaProvider",
Dtrace.sh2 -c $ANDROID_BUILD_TOP/packages/providers/MediaProvider/perfetto_config.pbtx \
Ddeploy.sh15 adb shell rm -rf /system/priv-app/MediaProvider
/packages/providers/MediaProvider/apex/framework/
DAndroid.bp53 "//packages/providers/MediaProvider:__subpackages__",
70 visibility: ["//packages/providers/MediaProvider/tests"],
/packages/providers/MediaProvider/apex/testing/
DAndroid.bp15 apps: ["MediaProvider"],
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DMediaProvider.java21 interface MediaProvider { interface
/packages/providers/MediaProvider/apex/
DAndroid.bp26 apps: ["MediaProvider"],
42 // MediaProvider CLI (cli/media_provider_cli_wrapper.sh)
/packages/providers/MediaProvider/apex/permissions/
DAndroid.bp18 default_visibility: ["//packages/providers/MediaProvider:__subpackages__"],
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/util/
DCrossProfileUtils.java29 import com.android.providers.media.MediaProvider;
/packages/providers/MediaProvider/cli/
DREADME.md1 `media_provider_cli_wrapper.sh` is a thin wrapper script that exposes MediaProvider CLI.

12