Home
last modified time | relevance | path

Searched refs:scanFile (Results 1 – 15 of 15) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/
DRingtoneOverlayService.java90 final Uri uri = scanFile(dest); in copyResourceAndSetAsSound()
104 private Uri scanFile(@NonNull final File file) { in scanFile() method in RingtoneOverlayService
108 MediaScannerConnection.scanFile(this, new String[] { file.getAbsolutePath() }, null, in scanFile()
DMediaScannerService.java68 public void scanFile(String path, String mimeType) { in onBind() method in MediaScannerService
DMediaService.java164 return MediaScanner.instance(context).scanFile(file); in onScanFile()
DMediaProvider.java3275 MediaScanner.instance(getContext()).scanFile(new File(path).getParentFile()); in insertInternal()
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()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DModernMediaScannerTest.java387 assertNull(mModern.scanFile(image)); in testScan_Nomedia_File()
392 assertNotNull(mModern.scanFile(image)); in testScan_Nomedia_File()
393 assertNotNull(mModern.scanFile(image)); in testScan_Nomedia_File()
398 assertNull(mModern.scanFile(image)); in testScan_Nomedia_File()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestService.java309 mScannerConnection.scanFile(path, null); in scanPath()
323 mScannerConnection.scanFile(path, null); in onMediaScannerConnected()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DMediaScanner.java29 public Uri scanFile(File file); in scanFile() method
DLegacyMediaScanner.java54 public Uri scanFile(File file) { in scanFile() method in LegacyMediaScanner
DModernMediaScanner.java170 public Uri scanFile(File file) { in scanFile() method in ModernMediaScanner
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadScanner.java64 conn.scanFile(path, mimeType); in exec()
DDownloadProvider.java928 final Uri mediaStoreUri = MediaStore.scanFile(getContext(), in insert()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDebugActivity.java147 MediaScannerConnection.scanFile(CalendarDebugActivity.this, new String[] { in doInBackground()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DVCardService.java78 mConnection.scanFile(mPath, null); in onMediaScannerConnected()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamTransferManager.java439 MediaScannerConnection.scanFile(mContext, mPaths.toArray(arrayPaths), null, this); in processFiles()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppService.java1128 mConnection.scanFile(mInfo.mFilename, mInfo.mMimetype); in onMediaScannerConnected()