Home
last modified time | relevance | path

Searched refs:fileUri (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/telephony/java/android/telephony/mbms/
DUriPathPair.java39 public UriPathPair(Uri fileUri, Uri contentUri) { in UriPathPair() argument
40 if (fileUri == null || !ContentResolver.SCHEME_FILE.equals(fileUri.getScheme())) { in UriPathPair()
47 mFilePathUri = fileUri; in UriPathPair()
DMbmsDownloadReceiver.java359 Uri fileUri = Uri.fromFile(tempFile); in generateFreshTempFiles() local
364 result.add(new UriPathPair(fileUri, contentUri)); in generateFreshTempFiles()
394 for (Uri fileUri : pausedFiles) { in generateUrisForPausedFiles()
395 if (!verifyTempFilePath(context, serviceId, fileUri)) { in generateUrisForPausedFiles()
396 Log.w(LOG_TAG, "Supplied file " + fileUri + " is not a valid temp file to resume"); in generateUrisForPausedFiles()
400 File tempFile = new File(fileUri.getSchemeSpecificPart()); in generateUrisForPausedFiles()
402 Log.w(LOG_TAG, "Supplied file " + fileUri + " does not exist."); in generateUrisForPausedFiles()
411 result.add(new UriPathPair(fileUri, contentUri)); in generateUrisForPausedFiles()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DMediaStoreSaver.java70 final Uri fileUri = Uri.fromFile(file); in MediaStorageScan() local
74 context.sendBroadcast(new Intent("android.hardware.action.NEW_PICTURE", fileUri)); in MediaStorageScan()
78 context.sendBroadcast(new Intent("com.android.camera.NEW_PICTURE", fileUri)); in MediaStorageScan()
82 intent.setData(fileUri); in MediaStorageScan()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DMediaStoreSaver.java77 final Uri fileUri = Uri.fromFile(file); in MediaStorageScan() local
80 context.sendBroadcast(new Intent("android.hardware.action.NEW_PICTURE", fileUri)); in MediaStorageScan()
83 context.sendBroadcast(new Intent("com.android.camera.NEW_PICTURE", fileUri)); in MediaStorageScan()
86 intent.setData(fileUri); in MediaStorageScan()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DMediaStoreSaver.java77 final Uri fileUri = Uri.fromFile(file); in MediaStorageScan() local
80 context.sendBroadcast(new Intent("android.hardware.action.NEW_PICTURE", fileUri)); in MediaStorageScan()
83 context.sendBroadcast(new Intent("com.android.camera.NEW_PICTURE", fileUri)); in MediaStorageScan()
86 intent.setData(fileUri); in MediaStorageScan()
/frameworks/base/media/java/android/media/
DRingtoneManager.java882 public Uri addCustomExternalRingtone(@NonNull final Uri fileUri, final int type) in addCustomExternalRingtone() argument
889 final String mimeType = mContext.getContentResolver().getType(fileUri); in addCustomExternalRingtone()
902 FileUtils.buildValidFatFilename(Utils.getFileDisplayNameFromUri(mContext, fileUri)), in addCustomExternalRingtone()
906 try (final InputStream input = mContext.getContentResolver().openInputStream(fileUri); in addCustomExternalRingtone()
/frameworks/base/core/java/android/provider/
DFontsContract.java840 Uri fileUri; in getFontFromProvider() local
843 fileUri = ContentUris.withAppendedId(uri, id); in getFontFromProvider()
846 fileUri = ContentUris.withAppendedId(fileBaseUri, id); in getFontFromProvider()
859 result.add(new FontInfo(fileUri, ttcIndex, axes, weight, italic, resultCode)); in getFontFromProvider()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java618 final Uri fileUri = extras.getParcelable(DocumentsContract.EXTRA_URI); in call() local
622 final String path = fileUri.getPath(); in call()