/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/tests/BlobStoreTestUtils/src/com/android/utils/blob/ |
D | DummyBlobData.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 | 61 try (FileInputStream in = new ParcelFileDescriptor.AutoCloseInputStream(input)) { in writeToSession()
|
/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/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/core/tests/overlaytests/device/src/com/android/overlaytest/ |
D | LocalOverlayManager.java | 66 try (InputStream in = new ParcelFileDescriptor.AutoCloseInputStream(pfd)) { in executeShellCommand()
|
/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/apct-tests/perftests/blobstore/src/com/android/perftests/blob/ |
D | AtraceUtils.java | 112 InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(pfDescriptor); in writeDataToBuf()
|
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/ |
D | InternalWindowOperationPerfTest.java | 113 final InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in stopAsyncAtrace()
|
D | WindowManagerPerfTestBase.java | 108 try (FileInputStream fis = 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/core/java/com/android/internal/infra/ |
D | RemoteStream.java | 102 return new ParcelFileDescriptor.AutoCloseInputStream(fd); in receiveBytes()
|
/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/packages/SystemUI/tests/src/com/android/systemui/ |
D | SysuiTestCase.java | 152 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in runShellCommand()
|
/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/incremental/ |
D | V4Signature.java | 129 try (InputStream stream = new ParcelFileDescriptor.AutoCloseInputStream(pfd.dup())) { in readFrom()
|
/frameworks/base/packages/FusedLocation/test/src/com/android/location/fused/tests/ |
D | FusedLocationServiceTest.java | 258 try (FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd)) { in setMockLocation()
|
/frameworks/base/core/java/android/os/ |
D | ParcelFileDescriptor.java | 967 public static class AutoCloseInputStream extends FileInputStream { class in ParcelFileDescriptor 970 public AutoCloseInputStream(ParcelFileDescriptor pfd) { in AutoCloseInputStream() method in ParcelFileDescriptor.AutoCloseInputStream
|
D | DropBoxManager.java | 233 is = new ParcelFileDescriptor.AutoCloseInputStream(mFileDescriptor); in getInputStream()
|