Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/res/
DAssetFileDescriptor.java188 return new ParcelFileDescriptor.AutoCloseOutputStream(mFd); in createOutputStream()
190 return new AutoCloseOutputStream(this); in createOutputStream()
291 public static class AutoCloseOutputStream class in AssetFileDescriptor
292 extends ParcelFileDescriptor.AutoCloseOutputStream {
295 public AutoCloseOutputStream(AssetFileDescriptor fd) throws IOException { in AutoCloseOutputStream() method in AssetFileDescriptor.AutoCloseOutputStream
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockOptionsProvider.java26 import android.os.ParcelFileDescriptor.AutoCloseOutputStream;
176 try (AutoCloseOutputStream os = new AutoCloseOutputStream(output)) { in writeDataToPipe()
/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/services/core/java/com/android/server/textclassifier/
DIconsContentProvider.java27 import android.os.ParcelFileDescriptor.AutoCloseOutputStream;
55 try (OutputStream out = new AutoCloseOutputStream(writeSide)) {
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/
DUtils.java63 try (FileOutputStream out = new ParcelFileDescriptor.AutoCloseOutputStream( in writeToSession()
80 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.java437 new ParcelFileDescriptor.AutoCloseOutputStream(pfd));
441 new ParcelFileDescriptor.AutoCloseOutputStream(pfd));
DParcelFileDescriptor.java1036 public static class AutoCloseOutputStream extends FileOutputStream { class in ParcelFileDescriptor
1039 public AutoCloseOutputStream(ParcelFileDescriptor pfd) { in AutoCloseOutputStream() method in ParcelFileDescriptor.AutoCloseOutputStream
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsRttTextHandlerTest.java101 new ParcelFileDescriptor.AutoCloseOutputStream(toTextHandler[1])); in setUp()
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/
DMusicRecognitionManagerPerUserService.java247 new ParcelFileDescriptor.AutoCloseOutputStream(audioSink)) { in streamAudio()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DWMShell.java373 PrintWriter pw = new PrintWriter(new ParcelFileDescriptor.AutoCloseOutputStream(outFd)); in handleWindowManagerLoggingCommand()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java1026 return new ParcelFileDescriptor.AutoCloseOutputStream( in openWrite()
1086 if (out instanceof ParcelFileDescriptor.AutoCloseOutputStream) { in fsync()
1088 Os.fsync(((ParcelFileDescriptor.AutoCloseOutputStream) out).getFD()); in fsync()
/frameworks/base/core/java/android/app/
DWallpaperManager.java1407 fos = new ParcelFileDescriptor.AutoCloseOutputStream(fd); in setResource()
1534 fos = new ParcelFileDescriptor.AutoCloseOutputStream(fd); in setBitmap()
1659 fos = new ParcelFileDescriptor.AutoCloseOutputStream(fd); in setStream()
/frameworks/base/core/java/android/permission/
DPermissionControllerService.java414 try (OutputStream backup = new ParcelFileDescriptor.AutoCloseOutputStream(pipe)) { in onBind()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java692 FileOutputStream fout = new ParcelFileDescriptor.AutoCloseOutputStream(fds[1]);
760 FileOutputStream fout = new ParcelFileDescriptor.AutoCloseOutputStream(fds[1]);
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DHotwordDetectionConnection.java687 new ParcelFileDescriptor.AutoCloseOutputStream(serviceAudioSink)) { in handleExternalSourceHotwordDetection()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java1323 new ParcelFileDescriptor.AutoCloseOutputStream(
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureManagerService.java1109 new ParcelFileDescriptor.AutoCloseOutputStream(sourceOut)) { in accept()
/frameworks/base/telecomm/java/android/telecom/
DCall.java2532 new ParcelFileDescriptor.AutoCloseOutputStream( in internalUpdate()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java4508 OutputStream output = new ParcelFileDescriptor.AutoCloseOutputStream(writeFd); in uploadCallComposerPicture()
/frameworks/base/core/java/android/view/
DViewRootImpl.java9756 clientStream = new ParcelFileDescriptor.AutoCloseOutputStream(out); in executeCommand()
/frameworks/base/boot/
Dpreloaded-classes5590 android.os.ParcelFileDescriptor$AutoCloseOutputStream
/frameworks/base/config/
Dpreloaded-classes5588 android.os.ParcelFileDescriptor$AutoCloseOutputStream

12