Home
last modified time | relevance | path

Searched refs:scanFile (Results 1 – 16 of 16) 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.java3274 MediaScanner.instance(getContext()).scanFile(new File(path).getParentFile()); in insertInternal()
4168 MediaScanner.instance(getContext()).scanFile(file)); in call()
4821 MediaScanner.instance(getContext()).scanFile(new File(newPath)); in updateInternal()
4826 MediaScanner.instance(getContext()).scanFile(new File(newPath).getParentFile()); in updateInternal()
5024 MediaScanner.instance(getContext()).scanFile(new File(c.getString(0))); in updateInternal()
5395 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.java55 public Uri scanFile(File file) { in scanFile() method in LegacyMediaScanner
DModernMediaScanner.java172 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.java912 MediaStore.scanFile(getContext(), in insert()
1578 MediaStore.scanFile(getContext(), new File(info.mFileName)); in update()
/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/Email/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java429 MediaScannerConnection.scanFile(context, new String[] {absolutePath}, in saveAttachment()
/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.java1130 mConnection.scanFile(mInfo.mFilename, mInfo.mMimetype); in onMediaScannerConnected()