Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java22 import static com.android.providers.media.MediaProvider.ensureFileColumns;
23 import static com.android.providers.media.MediaProvider.extractPathOwnerPackageName;
24 import static com.android.providers.media.MediaProvider.maybeBalance;
25 import static com.android.providers.media.MediaProvider.recoverAbusiveGroupBy;
52 import com.android.providers.media.MediaProvider.VolumeArgumentException;
120 MediaProvider.computeCommonPrefix(Arrays.asList( in testComputeCommonPrefix_Single()
127 MediaProvider.computeCommonPrefix(Arrays.asList( in testComputeCommonPrefix_Deeper()
136 MediaProvider.computeCommonPrefix(Arrays.asList( in testComputeCommonPrefix_Siblings()
144 MediaProvider.computeCommonPrefix(Arrays.asList( in testComputeCommonPrefix_Drastic()
512 assertEquals("()", MediaProvider.bindList()); in testBindList()
[all …]
DDatabaseHelperTest.java19 import static com.android.providers.media.MediaProvider.makePristineSchema;
35 import com.android.providers.media.MediaProvider.DatabaseHelper;
65 assertEquals(getContext().getApplicationInfo().versionCode, MediaProvider.VERSION_Q); in testVersionCode()
289 super(context, name, MediaProvider.VERSION_O, false, false, null); in DatabaseHelperO()
300 super(context, name, MediaProvider.VERSION_P, false, false, null); in DatabaseHelperP()
311 super(context, name, MediaProvider.VERSION_Q, false, false, null); in DatabaseHelperQ()
DIdleServiceTest.java82 ((MediaProvider) cpc.getLocalContentProvider()) in testPruneThumbnails()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaUpgradeReceiver.java52 int dbVersion = MediaProvider.getDatabaseVersion(context); in onReceive()
64 if (MediaProvider.isMediaDatabaseName(file)) { in onReceive()
69 MediaProvider.DatabaseHelper helper = new MediaProvider.DatabaseHelper( in onReceive()
70 context, file, MediaProvider.isInternalMediaDatabaseName(file), in onReceive()
DMediaService.java23 import static com.android.providers.media.MediaProvider.TAG;
112 ((MediaProvider) cpc.getLocalContentProvider()).onLocaleChanged(); in onLocaleChanged()
119 ((MediaProvider) cpc.getLocalContentProvider()).onPackageOrphaned(packageName); in onPackageOrphaned()
137 ((MediaProvider) cpc.getLocalContentProvider()).attachVolume(volumeName); in onScanVolume()
DIdleService.java43 ((MediaProvider) cpc.getLocalContentProvider()).onIdleMaintenance(mSignal); in onStartJob()
DMediaScannerService.java20 import static com.android.providers.media.MediaProvider.TAG;
DPermissionActivity.java19 import static com.android.providers.media.MediaProvider.TAG;
DMediaProvider.java182 public class MediaProvider extends ContentProvider { class
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DModernMediaScannerTest.java48 import com.android.providers.media.MediaProvider;
234 Assume.assumeTrue(MediaProvider.ENABLE_MODERN_SCANNER); in testPlaylistM3u()
240 Assume.assumeTrue(MediaProvider.ENABLE_MODERN_SCANNER); in testPlaylistPls()
246 Assume.assumeTrue(MediaProvider.ENABLE_MODERN_SCANNER); in testPlaylistWpl()
301 Assume.assumeTrue(MediaProvider.ENABLE_MODERN_SCANNER); in testScan_Common()
351 Assume.assumeTrue(MediaProvider.ENABLE_MODERN_SCANNER); in testScan_Nomedia_Dir()
379 Assume.assumeTrue(MediaProvider.ENABLE_MODERN_SCANNER); in testScan_Nomedia_File()
DMediaScannerTest.java40 import com.android.providers.media.MediaProvider;
65 private final MediaProvider mProvider;
77 mProvider = new MediaProvider(); in IsolatedContext()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DMediaScanner.java22 import com.android.providers.media.MediaProvider;
33 if (MediaProvider.ENABLE_MODERN_SCANNER) { in instance()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DVideoStore.java54 private final MediaProvider mMediaProvider;
65 @NonNull MediaProvider mediaProvider) { in VideoStore()
DMediaProvider.java21 interface MediaProvider { interface
DAudioStore.java44 private final MediaProvider mMediaProvider;
56 @NonNull MediaProvider mediaProvider) { in AudioStore()
DMediaDb.java40 public class MediaDb implements MediaProvider {
/packages/providers/MediaProvider/
DAndroid.bp2 name: "MediaProvider",
/packages/providers/MediaProvider/tests/
DAndroid.bp24 instrumentation_for: "MediaProvider",