/frameworks/base/core/java/android/content/res/ |
D | AssetFileDescriptor.java | 173 return new ParcelFileDescriptor.AutoCloseInputStream(mFd); in createInputStream() 175 return new AutoCloseInputStream(this); in createInputStream() 204 public static class AutoCloseInputStream class in AssetFileDescriptor 205 extends ParcelFileDescriptor.AutoCloseInputStream { 208 public AutoCloseInputStream(AssetFileDescriptor fd) throws IOException { in AutoCloseInputStream() method in AssetFileDescriptor.AutoCloseInputStream
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | FullRestoreEngineThread.java | 4 import android.os.ParcelFileDescriptor.AutoCloseInputStream; 22 mEngineStream = new AutoCloseInputStream(engineSocket); in FullRestoreEngineThread()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | PipeManagerTest.java | 85 try (final ParcelFileDescriptor.AutoCloseInputStream stream = in assertDescriptor() 86 new ParcelFileDescriptor.AutoCloseInputStream(descriptor)) { in assertDescriptor()
|
D | TestMtpManager.java | 166 try (final ParcelFileDescriptor.AutoCloseInputStream inputStream = in createDocument() 167 new ParcelFileDescriptor.AutoCloseInputStream(source)) { in createDocument()
|
D | MtpDocumentsProviderTest.java | 621 try (ParcelFileDescriptor.AutoCloseInputStream stream = in testOpenDocument_writing() 622 new ParcelFileDescriptor.AutoCloseInputStream(fd)) { in testOpenDocument_writing()
|
/frameworks/base/packages/MtpDocumentsProvider/perf_tests/src/com/android/mtp/ |
D | AppFusePerfTest.java | 54 try (final ParcelFileDescriptor.AutoCloseInputStream stream = in testReadWriteFile() 55 new ParcelFileDescriptor.AutoCloseInputStream(fd)) { in testReadWriteFile()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 32 import android.os.ParcelFileDescriptor.AutoCloseInputStream; 355 AutoCloseInputStream input = new ParcelFileDescriptor.AutoCloseInputStream(actual); in verifyFileContents() 394 AutoCloseInputStream input = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in verifyFileContents()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsRttTextHandlerTest.java | 99 new ParcelFileDescriptor.AutoCloseInputStream(fromTextHandler[0])); in setUp() 103 new ParcelFileDescriptor.AutoCloseInputStream(toTextHandler[1])); in setUp()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | ShellHelper.java | 52 try(FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd)) { in runShellCommandRaw()
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | ATraceRunner.java | 72 new InputStreamReader(new ParcelFileDescriptor.AutoCloseInputStream(fd))); in doInBackground()
|
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/ |
D | LocalOverlayManager.java | 66 try (InputStream in = new ParcelFileDescriptor.AutoCloseInputStream(pfd)) { in executeShellCommand()
|
/frameworks/base/media/java/android/media/midi/ |
D | MidiOutputPort.java | 106 mInputStream = new ParcelFileDescriptor.AutoCloseInputStream(new ParcelFileDescriptor(fd)); in MidiOutputPort()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageUtil.java | 84 InputStream fr = new ParcelFileDescriptor.AutoCloseInputStream(fd); in getFileFromFd()
|
D | InstallTask.java | 140 inputStream = new ParcelFileDescriptor.AutoCloseInputStream(mParcelFileDescriptor); in writeToOutputStreamFromAsset()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | SysuiTestCase.java | 100 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in runShellCommand()
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | DecodeTask.java | 25 import android.os.ParcelFileDescriptor.AutoCloseInputStream; 169 in = new AutoCloseInputStream(orientationFd); in decode()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | UpdateInstaller.java | 132 InputStream in = new ParcelFileDescriptor.AutoCloseInputStream( in copyToFile()
|
/frameworks/base/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/ |
D | BackgroundDexOptServiceIntegrationTests.java | 150 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in runShellCommand()
|
/frameworks/base/core/java/android/os/ |
D | ParcelFileDescriptor.java | 937 public static class AutoCloseInputStream extends FileInputStream { class in ParcelFileDescriptor 940 public AutoCloseInputStream(ParcelFileDescriptor pfd) { in AutoCloseInputStream() method in ParcelFileDescriptor.AutoCloseInputStream
|
D | DropBoxManager.java | 233 is = new ParcelFileDescriptor.AutoCloseInputStream(mFileDescriptor); in getInputStream()
|
D | IncidentManager.java | 333 return new ParcelFileDescriptor.AutoCloseInputStream(mFileDescriptor); in getInputStream()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 570 InputStream is = new ParcelFileDescriptor.AutoCloseInputStream(pfd); 714 InputStream stream = new ParcelFileDescriptor.AutoCloseInputStream(pfd); 1210 InputStream stream = new ParcelFileDescriptor.AutoCloseInputStream(pfd);
|
/frameworks/base/core/java/android/permission/ |
D | PermissionControllerService.java | 284 try (InputStream backup = new ParcelFileDescriptor.AutoCloseInputStream(pipe)) { in onBind()
|
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/ |
D | DynamicCodeLoggerIntegrationTests.java | 438 try (InputStream input = new ParcelFileDescriptor.AutoCloseInputStream(fd)) { in runCommand()
|
/frameworks/base/media/java/android/media/ |
D | RingtoneManager.java | 943 return new ParcelFileDescriptor.AutoCloseInputStream(player.openRingtone(uri)); in openRingtone()
|