/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | ModernMediaScannerTest.java | 716 assertNotNull(mModern.scanFile(image, REASON_UNKNOWN)); in testScan_Nomedia_File() 721 assertNotNull(mModern.scanFile(image, REASON_UNKNOWN)); in testScan_Nomedia_File() 726 assertNotNull(mModern.scanFile(image, REASON_UNKNOWN)); in testScan_Nomedia_File() 733 assertThat(mModern.scanFile(image, REASON_UNKNOWN)).isNull(); in testScan_missingFile() 736 assertThat(mModern.scanFile(image, REASON_UNKNOWN)).isNull(); in testScan_missingFile() 748 assertNotNull(mModern.scanFile(image, REASON_UNKNOWN, thisPackageName)); in testScanFileAndUpdateOwnerPackageName() 794 mModern.scanFile(audio, REASON_UNKNOWN); in testScan_audio_empty_title() 813 mModern.scanFile(audio, REASON_UNKNOWN); in testScan_audio_recording() 833 final Uri uri = mModern.scanFile(file, REASON_UNKNOWN); in testScan_148316354() 853 mModern.scanFile(file, REASON_UNKNOWN); in testScan_audioMp4_notRescanIfUnchanged() [all …]
|
D | NullMediaScannerTest.java | 40 scanner.scanFile(new File("/dev/null"), MediaScanner.REASON_UNKNOWN); in testSimple() 41 scanner.scanFile(new File("/dev/null"), MediaScanner.REASON_UNKNOWN, in testSimple()
|
D | LegacyMediaScannerTest.java | 46 scanner.scanFile(new File("/dev/null"), MediaScanner.REASON_UNKNOWN); in testSimple() 51 scanner.scanFile(new File("/dev/null"), MediaScanner.REASON_UNKNOWN, in testSimple()
|
D | DrmTest.java | 207 final Uri flUri = MediaStore.scanFile(mContext.getContentResolver(), flPath); in doForwardLock()
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | LegacyMediaScanner.java | 47 public Uri scanFile(File file, int reason) { in scanFile() method in LegacyMediaScanner 52 public Uri scanFile(File file, int reason, @Nullable String ownerPackage) { in scanFile() method in LegacyMediaScanner
|
D | MediaScanner.java | 41 public Uri scanFile(File file, int reason); in scanFile() method 42 public Uri scanFile(File file, int reason, @Nullable String ownerPackage); in scanFile() method
|
D | NullMediaScanner.java | 54 public Uri scanFile(File file, int reason) { in scanFile() method in NullMediaScanner 60 public Uri scanFile(File file, int reason, @Nullable String ownerPackage) { in scanFile() method in NullMediaScanner
|
D | ModernMediaScanner.java | 256 public Uri scanFile(File file, int reason) { in scanFile() method in ModernMediaScanner 257 return scanFile(file, reason, /*ownerPackage*/ null); in scanFile() 261 public Uri scanFile(File file, int reason, @Nullable String ownerPackage) { in scanFile() method in ModernMediaScanner
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | IdleServiceTest.java | 104 final Uri uri = MediaStore.scanFile(resolver, file); in testPruneThumbnails() 149 final Uri uri = MediaStore.scanFile(resolver, file); in testExtendTrashedItemExpiresOverOneWeek() 187 final Uri uri = MediaStore.scanFile(resolver, file); in testDeleteExpiredTrashedItem()
|
D | MediaProviderTest.java | 267 final Uri uri = MediaStore.scanFile(sIsolatedResolver, file); in testCanonicalize() 347 final Uri uri = MediaStore.scanFile(sIsolatedResolver, file); in testActionLongFileNameItemHasTrimmedFileName() 1419 uris.add(MediaStore.scanFile(sIsolatedResolver, file)); in testRedactionForInvalidAndValidUris() 1451 uris.add(MediaStore.scanFile(sIsolatedResolver, file)); in testRedactionForFileExtension()
|
D | PermissionActivityTest.java | 278 final Uri uri = MediaStore.scanFile(context.getContentResolver(), file); in createIntent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
D | IngestService.java | 309 mScannerConnection.scanFile(path, null); in scanPath() 323 mScannerConnection.scanFile(path, null); in onMediaScannerConnected()
|
/packages/providers/MediaProvider/apex/framework/api/ |
D | system-current.txt | 6 …method @NonNull @WorkerThread public static android.net.Uri scanFile(@NonNull android.content.Cont…
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadScanner.java | 64 conn.scanFile(path, mimeType); in exec()
|
D | DownloadStorageProvider.java | 789 final Uri newUri = MediaStore.scanFile(getContext().getContentResolver(), in renameMediaStoreDownload() 796 MediaStore.scanFile(getContext().getContentResolver(), before); in renameMediaStoreDownload() 798 final Uri newUri = MediaStore.scanFile(getContext().getContentResolver(), after); in renameMediaStoreDownload()
|
D | Helpers.java | 507 return MediaStore.scanFile(ContentResolver.wrap(mediaProviderClient), file); in triggerMediaScan()
|
D | DownloadProvider.java | 858 final Uri mediaStoreUri = MediaStore.scanFile(getContext().getContentResolver(), in insert() 1696 MediaStore.scanFile(getContext().getContentResolver(), file); in delete()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarDebugActivity.java | 154 MediaScannerConnection.scanFile(CalendarDebugActivity.this, new String[] { in doInBackground()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaService.java | 215 return provider.scanFile(file, REASON_DEMAND); in onScanFile()
|
D | MediaProvider.java | 1274 public Uri scanFile(File file, int reason) { in scanFile() method in MediaProvider 1275 return scanFile(file, reason, null); in scanFile() 1278 public Uri scanFile(File file, int reason, String ownerPackage) { in scanFile() method in MediaProvider 1279 return mMediaScanner.scanFile(file, reason, ownerPackage); in scanFile() 1285 return scanFile(file, REASON_DEMAND); in scanFileAsMediaProvider() 5567 res.putParcelable(Intent.EXTRA_STREAM, scanFile(file, REASON_DEMAND));
|
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | LegacyProviderMigrationTest.java | 322 MediaStore.scanFile(context.getContentResolver(), in testLegacy_PlaylistMap() 335 MediaStore.scanFile(context.getContentResolver(), playlistFile); in testLegacy_PlaylistMap()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | VCardService.java | 78 mConnection.scanFile(mPath, null); in onMediaScannerConnected()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | BeamTransferManager.java | 440 MediaScannerConnection.scanFile(mContext, mPaths.toArray(arrayPaths), null, this); in processFiles()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppService.java | 1126 mConnection.scanFile(mInfo.mFilename, mInfo.mMimetype); in onMediaScannerConnected()
|
/packages/providers/MediaProvider/apex/framework/java/android/provider/ |
D | MediaStore.java | 4368 public static @NonNull Uri scanFile(@NonNull ContentResolver resolver, @NonNull File file) { in scanFile() method in MediaStore
|