Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/android/telephony/mbms/
DUriPathPair.java37 public UriPathPair(Uri fileUri, Uri contentUri) { in UriPathPair() argument
38 if (fileUri == null || !ContentResolver.SCHEME_FILE.equals(fileUri.getScheme())) { in UriPathPair()
45 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/av/media/module/libmediatranscoding/aidl/android/media/
DITranscodingClientCallback.aidl39 ParcelFileDescriptor openFileDescriptor(in @utf8InCpp String fileUri, in openFileDescriptor() argument
/frameworks/base/core/java/android/provider/
DFontsContract.java871 Uri fileUri; in getFontFromProvider() local
874 fileUri = ContentUris.withAppendedId(uri, id); in getFontFromProvider()
877 fileUri = ContentUris.withAppendedId(fileBaseUri, id); in getFontFromProvider()
890 result.add(new FontInfo(fileUri, ttcIndex, axes, weight, italic, resultCode)); in getFontFromProvider()
/frameworks/base/media/java/android/media/
DRingtoneManager.java986 public Uri addCustomExternalRingtone(@NonNull final Uri fileUri, final int type) in addCustomExternalRingtone() argument
993 final String mimeType = mContext.getContentResolver().getType(fileUri); in addCustomExternalRingtone()
1006 FileUtils.buildValidFatFilename(Utils.getFileDisplayNameFromUri(mContext, fileUri)), in addCustomExternalRingtone()
1010 try (final InputStream input = mContext.getContentResolver().openInputStream(fileUri); in addCustomExternalRingtone()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java741 final Uri fileUri = extras.getParcelable(DocumentsContract.EXTRA_URI); in call() local
745 final String path = fileUri.getPath(); in call()