/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/apct-tests/perftests/core/src/android/mtp_perf/ |
D | AppFusePerfTest.java | 54 try (final ParcelFileDescriptor.AutoCloseInputStream stream = in testReadWriteFile() 55 new ParcelFileDescriptor.AutoCloseInputStream(fd)) { in testReadWriteFile()
|
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/ |
D | FakeBlobData.java | 188 try (FileInputStream in = new ParcelFileDescriptor.AutoCloseInputStream( in readFromSessionAndVerifyBytes() 211 try (FileInputStream in = new ParcelFileDescriptor.AutoCloseInputStream( in readFromSessionAndVerifyDigest() 221 try (FileInputStream in = new ParcelFileDescriptor.AutoCloseInputStream(pfd)) { in verifyBlob()
|
D | Utils.java | 62 try (FileInputStream in = new ParcelFileDescriptor.AutoCloseInputStream(input)) { in writeToSession() 72 try (FileInputStream in = new ParcelFileDescriptor.AutoCloseInputStream(input)) { in writeToSession()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | WindowPerfTestBase.java | 82 return new ParcelFileDescriptor.AutoCloseInputStream( in stopAsyncAtraceWithStream() 123 try (FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd)) { in executeShellCommand()
|
D | ShellHelper.java | 52 try(FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd)) { in runShellCommandRaw()
|
/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/tests/GamePerformance/src/android/gameperformance/ |
D | ATraceRunner.java | 72 new InputStreamReader(new ParcelFileDescriptor.AutoCloseInputStream(fd))); in doInBackground()
|
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/ |
D | AtraceUtils.java | 100 InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(pfDescriptor); in writeDataToBuf()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | NetworkWatchlistShellCommand.java | 77 try (InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(pfd)) { in runSetTestConfig()
|
/frameworks/base/apct-tests/perftests/blobstore/src/com/android/perftests/blob/ |
D | AtraceUtils.java | 112 InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(pfDescriptor); in writeDataToBuf()
|
/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/core/java/com/android/internal/infra/ |
D | RemoteStream.java | 102 return new ParcelFileDescriptor.AutoCloseInputStream(fd); in receiveBytes()
|
/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/ |
D | PlatformCompatCommandNotInstalledTest.kt | 136 return String(ParcelFileDescriptor.AutoCloseInputStream(fileDescriptor).use { in <lambda>()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | UpdateInstaller.java | 132 InputStream in = new ParcelFileDescriptor.AutoCloseInputStream( in copyToFile()
|
/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/tests/benchmarks/internal/src/com/android/internal/ |
D | LambdaPerfTest.java | 297 final ParcelFileDescriptor.AutoCloseInputStream stream = in shell() 298 new ParcelFileDescriptor.AutoCloseInputStream( in shell()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | SysuiTestCase.java | 162 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in runShellCommand()
|
/frameworks/base/packages/FusedLocation/test/src/com/android/location/fused/tests/ |
D | FusedLocationServiceTest.java | 212 try (FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd)) { in setMockLocation()
|
/frameworks/base/core/java/android/os/incremental/ |
D | V4Signature.java | 131 try (InputStream stream = new ParcelFileDescriptor.AutoCloseInputStream(pfd.dup())) { in readFrom()
|
/frameworks/base/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/ |
D | BackgroundDexOptServiceIntegrationTests.java | 151 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in runShellCommand()
|