Searched refs:fileUri (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppLauncherActivity.java | 139 final Uri fileUri = creatFileForSharedContent( in onCreate() local 141 if (fileUri != null) { in onCreate() 145 sendFileInfo(type, fileUri.toString(), false /* isHandover */, in onCreate() 286 Uri fileUri = null; in creatFileForSharedContent() local 347 fileUri = Uri.fromFile(new File(context.getFilesDir(), fileName)); in creatFileForSharedContent() 348 if (fileUri != null) { in creatFileForSharedContent() 350 Log.d(TAG, "Created one file for shared content: " + fileUri.toString()); in creatFileForSharedContent() 370 return fileUri; in creatFileForSharedContent()
|
D | BluetoothOppManager.java | 459 Uri fileUri = mUris.get(i); in insertMultipleShare() local 461 values.put(BluetoothShare.URI, fileUri.toString()); in insertMultipleShare() 463 fileUri = BluetoothOppUtility.originalUri(fileUri); in insertMultipleShare() 464 String contentType = contentResolver.getType(fileUri); in insertMultipleShare() 466 Log.v(TAG, "Got mimetype: " + contentType + " Got uri: " + fileUri); in insertMultipleShare()
|
D | BluetoothOppUtility.java | 255 public static boolean isRecognizedFileType(Context context, Uri fileUri, String mimetype) { in isRecognizedFileType() argument 259 Log.d(TAG, "RecognizedFileType() fileUri: " + fileUri + " mimetype: " + mimetype); in isRecognizedFileType() 263 mimetypeIntent.setDataAndTypeAndNormalize(fileUri, mimetype); in isRecognizedFileType()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | UpdatePickResultTask.java | 49 Uri fileUri = mPickResult.getFileUri(); in doInBackground() local 50 if (fileUri != null) { in doInBackground() 52 Metrics.sanitizeMime(mContext.getContentResolver().getType(fileUri))); in doInBackground() 55 mPickCountRecord.increasePickCountRecord(mContext, fileUri)); in doInBackground()
|
D | PickResult.java | 186 public void setFileUri(Uri fileUri) { in setFileUri() argument 187 this.mFileUri = fileUri; in setFileUri()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
D | Rfc822Output.java | 256 final Uri fileUri = Uri.parse(attachment.getContentUri()); in writeOneAttachment() local 257 inStream = context.getContentResolver().openInputStream(fileUri); in writeOneAttachment()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 1071 final String fileUri = values.getAsString(Downloads.Impl.COLUMN_FILE_NAME_HINT); in ensureDefaultColumns() local 1072 file = new File(getFileUri(fileUri).getPath()); in ensureDefaultColumns() 1101 String fileUri = values.getAsString(Downloads.Impl.COLUMN_FILE_NAME_HINT); in checkFileUriDestination() local 1102 if (fileUri == null) { in checkFileUriDestination() 1106 final Uri uri = getFileUri(fileUri); in checkFileUriDestination()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | SaveImage.java | 675 boolean fileUri = isFileUri(sourceUri); in linkNewFileToUri() 677 if (fileUri || oldSelectedFile == null || !deleteOriginal) { in linkNewFileToUri()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | Utility.java | 677 final Uri fileUri = Uri.parse(contentUri); 680 context.getContentResolver().openInputStream(fileUri);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 4210 final Uri fileUri; in call() local 4213 fileUri = Uri.fromFile(queryForDataFile(mediaUri, null)); in call() 4223 extras.putParcelable(DocumentsContract.EXTRA_URI, fileUri); in call() 4234 final Uri fileUri; in call() local 4239 fileUri = res.getParcelable(DocumentsContract.EXTRA_URI); in call() 4248 queryForMediaUri(new File(fileUri.getPath()), null)); in call()
|