Home
last modified time | relevance | path

Searched refs:AutoCloseOutputStream (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/apct-tests/perftests/core/src/android/mtp_perf/
DAppFusePerfTest.java66 try (final ParcelFileDescriptor.AutoCloseOutputStream stream = in testReadWriteFile()
67 new ParcelFileDescriptor.AutoCloseOutputStream(fd)) { in testReadWriteFile()
/frameworks/base/core/java/android/content/res/
DAssetFileDescriptor.java200 return new ParcelFileDescriptor.AutoCloseOutputStream(mFd); in createOutputStream()
202 return new AutoCloseOutputStream(this); in createOutputStream()
636 public static class AutoCloseOutputStream class in AssetFileDescriptor
637 extends ParcelFileDescriptor.AutoCloseOutputStream {
640 public AutoCloseOutputStream(AssetFileDescriptor fd) throws IOException { in AutoCloseOutputStream() method in AssetFileDescriptor.AutoCloseOutputStream
/frameworks/base/services/core/java/com/android/server/wearable/
DWearableSensingSecureChannel.java26 import android.os.ParcelFileDescriptor.AutoCloseOutputStream;
148 mLocalOut = new AutoCloseOutputStream(localFd); in WearableSensingSecureChannel()
198 new AutoCloseOutputStream(mUnderlyingTransport)); in onAssociationCreated()
DWearableSensingShellCommand.java166 OutputStream os = new ParcelFileDescriptor.AutoCloseOutputStream(writePipe); in writeToDataStream()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DIconsContentProvider.java27 import android.os.ParcelFileDescriptor.AutoCloseOutputStream;
55 try (OutputStream out = new AutoCloseOutputStream(writeSide)) {
/frameworks/base/services/core/java/com/android/server/tracing/
DTracingServiceProxy.java39 import android.os.ParcelFileDescriptor.AutoCloseOutputStream;
200 try (AutoCloseOutputStream o = new AutoCloseOutputStream(pipe[1])) { in reportTrace()
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/
DSettingsAwareViewCapture.kt45 ParcelFileDescriptor.AutoCloseOutputStream(out).use { os -> dumpTo(os, context) } in <lambda>()
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/
DUtils.java66 try (FileOutputStream out = new ParcelFileDescriptor.AutoCloseOutputStream( in writeToSession()
83 try (FileOutputStream out = new ParcelFileDescriptor.AutoCloseOutputStream( in writeToSession()
/frameworks/base/services/coverage/java/com/android/server/coverage/
DCoverageService.java122 new ParcelFileDescriptor.AutoCloseOutputStream(fd))) { in onDump()
/frameworks/base/services/core/java/com/android/server/notification/
DPulledStats.java55 FileOutputStream fout = new ParcelFileDescriptor.AutoCloseOutputStream( in toParcelFileDescriptor()
/frameworks/base/core/java/com/android/internal/infra/
DRemoteStream.java153 return new ParcelFileDescriptor.AutoCloseOutputStream(fd);
/frameworks/base/core/java/android/os/
DIncidentManager.java451 new ParcelFileDescriptor.AutoCloseOutputStream(pfd));
455 new ParcelFileDescriptor.AutoCloseOutputStream(pfd));
DParcelFileDescriptor.java1088 public static class AutoCloseOutputStream extends FileOutputStream { class in ParcelFileDescriptor
1091 public AutoCloseOutputStream(ParcelFileDescriptor pfd) { in AutoCloseOutputStream() method in ParcelFileDescriptor.AutoCloseOutputStream
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsRttTextHandlerTest.java105 new ParcelFileDescriptor.AutoCloseOutputStream(toTextHandler[1])); in setUp()
/frameworks/base/services/companion/java/com/android/server/companion/transport/
DTransport.java99 mRemoteOut = new ParcelFileDescriptor.AutoCloseOutputStream(fd); in Transport()
/frameworks/base/apct-tests/perftests/blobstore/src/com/android/perftests/blob/
DBlobStorePerfTests.java193 .AutoCloseOutputStream(session.openWrite(0, sizeBytes))) { in testBlobStoreWrites()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/voiceinteraction/
DHotwordAudioStreamCopierTest.java239 OutputStream os = new ParcelFileDescriptor.AutoCloseOutputStream(writeFd)) { in verifyCopyBufferLength()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DHotwordAudioStreamCopier.java345 fos = new ParcelFileDescriptor.AutoCloseOutputStream(mAudioSink); in call()
DDetectorSession.java542 new ParcelFileDescriptor.AutoCloseOutputStream(serviceAudioSink)) { in handleExternalSourceHotwordDetectionLocked()
/frameworks/base/core/java/android/app/
DWallpaperManager.java2164 fos = new ParcelFileDescriptor.AutoCloseOutputStream(fd); in setResource()
2297 fos = new ParcelFileDescriptor.AutoCloseOutputStream(fd); in setBitmap()
2356 fos = new ParcelFileDescriptor.AutoCloseOutputStream(fd); in setBitmapWithCrops()
2487 fos = new ParcelFileDescriptor.AutoCloseOutputStream(fd); in setStream()
2557 fos = new ParcelFileDescriptor.AutoCloseOutputStream(fd); in setStreamWithCrops()
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/
DMusicRecognitionManagerPerUserService.java247 new ParcelFileDescriptor.AutoCloseOutputStream(audioSink)) { in streamAudio()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java1600 return new ParcelFileDescriptor.AutoCloseOutputStream( in openWrite()
1660 if (out instanceof ParcelFileDescriptor.AutoCloseOutputStream) { in fsync()
1662 Os.fsync(((ParcelFileDescriptor.AutoCloseOutputStream) out).getFD()); in fsync()
2197 return new ParcelFileDescriptor.AutoCloseOutputStream( in openWriteAppMetadata()
/frameworks/base/ravenwood/texts/
Dravenwood-annotation-allowed-classes.txt153 android.os.ParcelFileDescriptor$AutoCloseOutputStream
/frameworks/base/core/java/android/permission/
DPermissionControllerService.java524 try (OutputStream backup = new ParcelFileDescriptor.AutoCloseOutputStream(pipe)) { in onBind()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java710 FileOutputStream fout = new ParcelFileDescriptor.AutoCloseOutputStream(fds[1]);
779 FileOutputStream fout = new ParcelFileDescriptor.AutoCloseOutputStream(fds[1]);

12