/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppLauncherActivity.java | 136 final Uri fileUri = creatFileForSharedContent( in onCreate() local 138 if (fileUri != null) { in onCreate() 142 sendFileInfo(type, fileUri.toString(), false /* isHandover */, in onCreate() 282 Uri fileUri = null; in creatFileForSharedContent() local 343 fileUri = Uri.fromFile(new File(context.getFilesDir(), fileName)); in creatFileForSharedContent() 344 if (fileUri != null) { in creatFileForSharedContent() 346 Log.d(TAG, "Created one file for shared content: " + fileUri.toString()); in creatFileForSharedContent() 366 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 | 274 public static boolean isRecognizedFileType(Context context, Uri fileUri, String mimetype) { in isRecognizedFileType() argument 278 Log.d(TAG, "RecognizedFileType() fileUri: " + fileUri + " mimetype: " + mimetype); in isRecognizedFileType() 282 mimetypeIntent.setDataAndTypeAndNormalize(fileUri, mimetype); in isRecognizedFileType()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | UpdatePickResultTask.java | 50 Uri fileUri = mPickResult.getFileUri(); in doInBackground() local 51 if (fileUri != null) { in doInBackground() 53 Metrics.sanitizeMime(mContext.getContentResolver().getType(fileUri))); in doInBackground() 56 mPickCountRecord.increasePickCountRecord(mContext, fileUri)); in doInBackground()
|
D | PickResult.java | 187 public void setFileUri(Uri fileUri) { in setFileUri() argument 188 this.mFileUri = fileUri; in setFileUri()
|
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/ |
D | FileUploadActivity.java | 197 Uri fileUri = data.getData(); in onActivityResult() local 198 String fileName = getFileName(fileUri); in onActivityResult() 201 mFile = uriToFile(fileUri); in onActivityResult()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | DrmTest.java | 208 final Uri fileUri = MediaStore.Files.getContentUri(MediaStore.getVolumeName(flUri), in doForwardLock() local 210 try (Cursor c = mContext.getContentResolver().query(fileUri, null, null, null)) { in doForwardLock()
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 418 final Uri fileUri = data.getData(); in onActivityResult() local 419 if (fileUri == null) { in onActivityResult() 425 mNetwork, mUserAgent, pendingRequest.mUrl, pendingRequest.mFilename, fileUri); in onActivityResult()
|
/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/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 1018 final String fileUri = values.getAsString(Downloads.Impl.COLUMN_FILE_NAME_HINT); in ensureDefaultColumns() local 1019 file = new File(getFileUri(fileUri).getPath()); in ensureDefaultColumns() 1048 String fileUri = values.getAsString(Downloads.Impl.COLUMN_FILE_NAME_HINT); in checkFileUriDestination() local 1049 if (fileUri == null) { in checkFileUriDestination() 1053 final Uri uri = getFileUri(fileUri); in checkFileUriDestination()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 672 Uri fileUri = MediaStore.Files.getContentUri(volumeName, id); 673 updateQuotaTypeForUri(fileUri, mediaType); 687 final Uri fileUri = MediaStore.Files.getContentUri(volumeName, oldId); 695 updateQuotaTypeForUri(fileUri, newMediaType); 705 invalidateThumbnails(fileUri); 5630 final Uri fileUri; 5633 fileUri = Uri.fromFile(queryForDataFile(mediaUri, null)); 5643 extras.putParcelable(MediaStore.EXTRA_URI, fileUri); 5668 final Uri fileUri = clientRes.getParcelable(MediaStore.EXTRA_URI); 5670 final Uri mediaStoreUri = fileUri.getAuthority().equals(MediaStore.AUTHORITY) ? [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | ModernMediaScanner.java | 957 final Uri fileUri = MediaStore.Files.getContentUri(mVolumeName, mFirstId); in getFirstResult() 958 try (Cursor c = mResolver.query(fileUri, in getFirstResult() 977 return fileUri; in getFirstResult()
|