Home
last modified time | relevance | path

Searched refs:MediaScanner (Results 1 – 13 of 13) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/util/
DMetrics.java30 import static com.android.providers.media.scan.MediaScanner.REASON_DEMAND;
31 import static com.android.providers.media.scan.MediaScanner.REASON_IDLE;
32 import static com.android.providers.media.scan.MediaScanner.REASON_MOUNTED;
33 import static com.android.providers.media.scan.MediaScanner.REASON_UNKNOWN;
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DMediaScannerTest.java21 import static com.android.providers.media.scan.MediaScanner.REASON_UNKNOWN;
59 private MediaScanner mLegacy;
60 private MediaScanner mModern;
143 private void testSpeed(MediaScanner scanner) throws IOException { in testSpeed()
157 private static void scanDirectory(MediaScanner scanner, File dir, String tag) { in scanDirectory()
DLegacyMediaScannerTest.java42 scanner.scanDirectory(new File("/dev/null"), MediaScanner.REASON_UNKNOWN); in testSimple()
47 scanner.scanFile(new File("/dev/null"), MediaScanner.REASON_UNKNOWN); in testSimple()
DModernMediaScannerTest.java19 import static com.android.providers.media.scan.MediaScanner.REASON_UNKNOWN;
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DMetricsTest.java23 import com.android.providers.media.scan.MediaScanner;
39 Metrics.logScan(volumeName, MediaScanner.REASON_UNKNOWN, 42, 42, 42, 42, 42); in testSimple()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaDocumentsProviderTest.java20 import static com.android.providers.media.scan.MediaScanner.REASON_UNKNOWN;
42 import com.android.providers.media.scan.MediaScanner;
287 final MediaScanner scanner = new ModernMediaScanner(context); in stageTestMedia()
DResolvePlaylistTest.java19 import static com.android.providers.media.scan.MediaScanner.REASON_UNKNOWN;
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaService.java19 import static com.android.providers.media.scan.MediaScanner.REASON_DEMAND;
20 import static com.android.providers.media.scan.MediaScanner.REASON_MOUNTED;
DMediaProvider.java129 import static com.android.providers.media.scan.MediaScanner.REASON_DEMAND;
130 import static com.android.providers.media.scan.MediaScanner.REASON_IDLE;
300 import com.android.providers.media.scan.MediaScanner;
301 import com.android.providers.media.scan.MediaScanner.ScanReason;
11261 private MediaScanner mMediaScanner;
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DLegacyMediaScanner.java27 public class LegacyMediaScanner implements MediaScanner {
DMediaScanner.java37 public interface MediaScanner { interface
DModernMediaScanner.java153 public class ModernMediaScanner implements MediaScanner {
/packages/providers/MediaProvider/src/com/android/providers/media/fuse/
DExternalStorageServiceImpl.java19 import static com.android.providers.media.scan.MediaScanner.REASON_MOUNTED;