/packages/apps/Gallery/src/com/android/camera/ |
D | Util.java | 294 ParcelFileDescriptor pfd, boolean useNative) { in makeBitmap() argument 299 return makeBitmap(minSideLength, maxNumOfPixels, null, null, pfd, in makeBitmap() 304 Uri uri, ContentResolver cr, ParcelFileDescriptor pfd, in makeBitmap() argument 307 if (pfd == null) pfd = makeInputStream(uri, cr); in makeBitmap() 308 if (pfd == null) return null; in makeBitmap() 311 FileDescriptor fd = pfd.getFileDescriptor(); in makeBitmap() 329 closeSilently(pfd); in makeBitmap()
|
/packages/services/BuiltInPrintService/src/com/android/bips/render/ |
D | PdfRenderService.java | 65 public int openDocument(ParcelFileDescriptor pfd) throws RemoteException { 66 if (!open(pfd)) { 113 private boolean open(ParcelFileDescriptor pfd) { 117 mRenderer = new PdfRenderer(pfd);
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UriUtil.java | 153 ParcelFileDescriptor pfd = null; in getContentSize() local 155 pfd = Factory.get().getApplicationContext() in getContentSize() 157 return Math.max(pfd.getStatSize(), 0); in getContentSize() 161 if (pfd != null) { in getContentSize() 163 pfd.close(); in getContentSize()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | CurrentWallpaperAssetVNLoader.java | 82 ParcelFileDescriptor pfd = mAsset.getWallpaperPfd(); in loadData() local 84 if (pfd == null) { in loadData() 90 callback.onDataReady(new AutoCloseInputStream(pfd)); in loadData()
|
D | CurrentWallpaperAssetVN.java | 57 ParcelFileDescriptor pfd = mWallpaperManagerCompat.getWallpaperFile(mWallpaperManagerFlag); in openInputStream() local 59 if (pfd == null) { in openInputStream() 65 return new AutoCloseInputStream(pfd); in openInputStream()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperRefresher.java | 243 ParcelFileDescriptor pfd = mWallpaperManagerCompat.getWallpaperFile( in getLockWallpaperBitmap() local 247 if (pfd != null) { in getLockWallpaperBitmap() 250 fileStream = new FileInputStream(pfd.getFileDescriptor()); in getLockWallpaperBitmap() 252 pfd.close(); in getLockWallpaperBitmap()
|
/packages/apps/TimeZoneUpdater/src/main/com/android/timezone/updater/ |
D | RulesCheckReceiver.java | 269 try (ParcelFileDescriptor pfd = inputFileDescriptor) { in copyDataToLocalFile() argument 278 InputStream fis = new FileInputStream(pfd.getFileDescriptor(), false /* isFdOwner */); in copyDataToLocalFile() 318 try (ParcelFileDescriptor pfd = distroFileDescriptor) { in handleInstall() argument 321 int requestStatus = mRulesManager.requestInstall(pfd, checkToken, callback); in handleInstall()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
D | DefaultLayoutProviderTest.java | 118 ParcelFileDescriptor pfd = mTargetContext.getContentResolver().openFileDescriptor( in writeLayout() local 121 try (OutputStreamWriter writer = new OutputStreamWriter(new AutoCloseOutputStream(pfd))) { in writeLayout()
|
/packages/services/BuiltInPrintService/src/com/android/bips/jni/ |
D | PdfRender.java | 112 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(new File(fileName), in openDocument() local 114 return mService.openDocument(pfd); in openDocument()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryProvider.java | 320 final ParcelFileDescriptor pfd = in openAssetFile() local 322 return new AssetFileDescriptor(pfd, 0, pfd.getStatSize()); in openAssetFile()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarBugreportManagerService.java | 263 ParcelFileDescriptor pfd, String remoteSocket, ICarBugreportCallback callback) { in copySocketToPfd() argument 273 new DataOutputStream(new ParcelFileDescriptor.AutoCloseOutputStream(pfd)) in copySocketToPfd()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | DialogFragmentTest.java | 309 ParcelFileDescriptor pfd = automation.executeShellCommand(cmd); in runShellCommand() local 312 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in runShellCommand()
|
D | StubProvider.java | 395 ParcelFileDescriptor pfd = ParcelFileDescriptor.open( in openTypedDocument() local 398 pfd = new ParcelFileDescriptor(pfd) { in openTypedDocument() 405 return new AssetFileDescriptor(pfd, 0, document.file.length()); in openTypedDocument()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Util.java | 535 ParcelFileDescriptor pfd = resolver.openFileDescriptor(uri, "r"); in isUriValid() local 536 if (pfd == null) { in isUriValid() 540 pfd.close(); in isUriValid()
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | DownloadService.java | 304 try (ParcelFileDescriptor pfd = getContentResolver().openFileDescriptor( in processDownload() argument 306 FileOutputStream fop = new FileOutputStream(pfd.getFileDescriptor())) { in processDownload()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | ModernMediaScannerTest.java | 322 try (ParcelFileDescriptor pfd = mIsolatedResolver.openFile(uri, "wt", null)) { in testScan_Common() argument 325 new FileOutputStream(pfd.getFileDescriptor())); in testScan_Common()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppUtility.java | 260 ParcelFileDescriptor pfd = null; in fileExists() local 262 pfd = resolver.openFileDescriptor(uri, readOnlyMode); in fileExists()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | CameraUtil.java | 696 ParcelFileDescriptor pfd = resolver.openFileDescriptor(uri, "r"); in isUriValid() local 697 if (pfd == null) { in isUriValid() 701 pfd.close(); in isUriValid()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | ProcStatsData.java | 346 ParcelFileDescriptor pfd = mProcessStats.getStatsOverTime(mDuration); in load() local 348 InputStream is = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in load()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcStatsData.java | 346 ParcelFileDescriptor pfd = mProcessStats.getStatsOverTime(mDuration); in load() local 348 InputStream is = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in load()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaDocumentsProvider.java | 1268 final ParcelFileDescriptor pfd = resolver.openFileDescriptor(fullUri, "r", signal); in openOrCreateImageThumbnailCleared() local 1279 return new AssetFileDescriptor(pfd, 0, AssetFileDescriptor.UNKNOWN_LENGTH, extras); in openOrCreateImageThumbnailCleared()
|
D | MediaProvider.java | 5421 final ParcelFileDescriptor pfd; in openFileAndEnforcePathPermissionsHelper() local 5423 pfd = RedactingFileDescriptor.open( in openFileAndEnforcePathPermissionsHelper() 5430 pfd = ParcelFileDescriptor.open(file, modeBits); in openFileAndEnforcePathPermissionsHelper() 5435 return ParcelFileDescriptor.fromPfd(pfd, BackgroundThread.getHandler(), listener); in openFileAndEnforcePathPermissionsHelper() 5437 return pfd; in openFileAndEnforcePathPermissionsHelper()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/ |
D | FakeTvProvider.java | 2416 private PipeMonitor(ParcelFileDescriptor pfd, long channelId, SqlParams params) { in PipeMonitor() argument 2417 mPfd = pfd; in PipeMonitor()
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | TvProvider.java | 2214 private PipeMonitor(ParcelFileDescriptor pfd, long channelId, SqlParams params) { in PipeMonitor() argument 2215 mPfd = pfd; in PipeMonitor()
|