Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DLegacyMediaScanner.java27 public class LegacyMediaScanner implements MediaScanner {
45 try (android.media.MediaScanner scanner = in scanDirectory()
46 new android.media.MediaScanner(mContext, volumeName)) { in scanDirectory()
59 try (android.media.MediaScanner scanner = in scanFile()
60 new android.media.MediaScanner(mContext, volumeName)) { in scanFile()
DMediaScanner.java26 public interface MediaScanner { interface
32 public static MediaScanner instance(Context context) { in instance()
DModernMediaScanner.java116 public class ModernMediaScanner implements MediaScanner {
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DMediaScannerTest.java100 private MediaScanner mLegacy;
101 private MediaScanner mModern;
180 private void testSpeed(MediaScanner scanner) throws IOException { in testSpeed()
193 private static void scanDirectory(MediaScanner scanner, File dir, String tag) { in scanDirectory()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaService.java44 import com.android.providers.media.scan.MediaScanner;
150 MediaScanner.instance(context).scanDirectory(dir); in onScanVolume()
164 return MediaScanner.instance(context).scanFile(file); in onScanFile()
DMediaProvider.java141 import com.android.providers.media.scan.MediaScanner;
2664 !android.media.MediaScanner.isNoMediaPath(path)) { in insertFile()
3275 MediaScanner.instance(getContext()).scanFile(new File(path).getParentFile()); in insertInternal()
3927 android.media.MediaScanner.SCANNED_BUILD_PREFS_NAME, in deleteInternal()
3930 editor.putString(android.media.MediaScanner.LAST_INTERNAL_SCAN_FINGERPRINT, in deleteInternal()
4181 MediaScanner.instance(getContext()).scanFile(file)); in call()
4837 MediaScanner.instance(getContext()).scanFile(new File(newPath)); in updateInternal()
4842 MediaScanner.instance(getContext()).scanFile(new File(newPath).getParentFile()); in updateInternal()
5040 MediaScanner.instance(getContext()).scanFile(new File(c.getString(0))); in updateInternal()
5411 MediaScanner.instance(getContext()).scanFile(file); in openFileAndEnforcePathPermissionsHelper()
[all …]