Home
last modified time | relevance | path

Searched defs:outputStream (Results 1 – 25 of 63) sorted by relevance

123

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DFullBackupUtilsTest.java95 DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(mTemporaryFile)); in routeSocketDataToOutput_emptyInput_throwsEOFException() local
115 DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(mTemporaryFile)); in routeSocketDataToOutput_incompleteChunkSizeInput_throwsEOFException() local
135 DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(mTemporaryFile)); in routeSocketDataToOutput_validEmptyInput_doesNotWriteAnything() local
151 DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(mTemporaryFile)); in routeSocketDataToOutput_notEnoughData_throwsEOFException() local
173 DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(mTemporaryFile)); in routeSocketDataToOutput_oneSmallChunk_writesOutputCorrectly() local
193 DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(mTemporaryFile)); in routeSocketDataToOutput_oneLargeChunk_writesOutputCorrectly() local
216 DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(mTemporaryFile)); in routeSocketDataToOutput_twoSmallChunks_writesOutputCorrectly() local
241 DataOutputStream outputStream = new DataOutputStream(new FileOutputStream(mTemporaryFile)); in routeSocketDataToOutput_twoLargeChunks_writesOutputCorrectly() local
/frameworks/base/services/core/java/com/android/server/wm/
DLegacyTransitionTracer.java81 final ProtoOutputStream outputStream = new ProtoOutputStream(CHUNK_SIZE); in logSentTransition() local
112 final ProtoOutputStream outputStream = new ProtoOutputStream(CHUNK_SIZE); in logFinishedTransition() local
136 final ProtoOutputStream outputStream = new ProtoOutputStream(CHUNK_SIZE); in logAbortedTransition() local
157 final ProtoOutputStream outputStream = new ProtoOutputStream(CHUNK_SIZE); in logRemovingStartingWindow() local
173 private void dumpTransitionTargetsToProto(ProtoOutputStream outputStream, in dumpTransitionTargetsToProto()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/model/
DByteTrackedOutputStreamTest.java41 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testSuccessfulWriteAndValidateWrittenBytesCount_directFromByteArray() local
53 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testSuccessfulWriteAndValidateWrittenBytesCount_fromBitStream() local
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/
DBackupRestoreFileArchiverTest.kt64 val outputStream = ByteArrayOutputStream() in wrapBackupOutputStream() constant
105 val outputStream = ByteArrayOutputStream() in restoreEntity_onRestoreFinished_raiseException() constant
122 val outputStream = ByteArrayOutputStream() in restoreEntity_forwardCompatibility() constant
145 val outputStream = ByteArrayOutputStream() in restoreEntity() constant
214 val outputStream = ByteArrayOutputStream() in toBackupRestoreEntity_backup() constant
DBackupCodecTest.kt60 val outputStream = ByteArrayOutputStream() in encode_decode() constant
DSharedPreferencesStorageTest.kt110 val outputStream = ByteArrayOutputStream() in <lambda>() constant
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
DLocationTimeZoneManagerShellCommand.java243 DualDumpOutputStream outputStream; in runDumpControllerState() local
299 private static void writeControllerStates(DualDumpOutputStream outputStream, in writeControllerStates()
330 private static void writeProviderStates(DualDumpOutputStream outputStream, in writeProviderStates()
/frameworks/base/apct-tests/perftests/blobstore/src/com/android/perftests/blob/
DBlobStorePerfTests.java129 try (FileOutputStream outputStream = new FileOutputStream(file)) { in testDirectReads()
174 try (FileOutputStream outputStream = new FileOutputStream(file)) { in testDirectWrites()
192 try (FileOutputStream outputStream = new ParcelFileDescriptor in testBlobStoreWrites()
211 private void writeData(FileOutputStream outputStream, long sizeBytes) throws Exception { in writeData()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbMidiPacketConverter.java180 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in decode() local
238 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in encode() local
330 private void writeSingleByte(ByteArrayOutputStream outputStream, byte byteToWrite) { in writeSingleByte()
/frameworks/base/core/tests/utiltests/src/android/util/
DAtomicFileTest.java241 try (FileOutputStream outputStream = atomicFile.startWrite()) { in testAtomicFile()
308 try (FileOutputStream outputStream = new FileOutputStream(file)) { in writeBytes()
316 try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream()) { in readAllBytes()
/frameworks/base/services/core/java/com/android/server/integrity/serializer/
DRuleMetadataSerializer.java36 public static void serialize(RuleMetadata ruleMetadata, OutputStream outputStream) in serialize()
DRuleBinarySerializer.java148 Optional<Integer> formatVersion, ByteTrackedOutputStream outputStream) in serializeRuleFileMetadata()
158 Map<String, List<Rule>> rulesMap, ByteTrackedOutputStream outputStream) in serializeRuleList()
/frameworks/base/core/java/android/webkit/
DTracingController.java97 public abstract boolean stop(@Nullable OutputStream outputStream, in stop()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowFullBackup.java60 ObjectOutputStream outputStream = shadowBackupDataOutput.getOutputStream(); in backupToTar() local
/frameworks/base/services/core/java/com/android/server/integrity/model/
DByteTrackedOutputStream.java33 public ByteTrackedOutputStream(OutputStream outputStream) { in ByteTrackedOutputStream()
DBitOutputStream.java35 public BitOutputStream(OutputStream outputStream) { in BitOutputStream()
/frameworks/base/services/permission/java/com/android/server/permission/access/util/
DAtomicFileExtensions.kt54 FileOutputStream(reserveFile).use { outputStream -> in writeWithReserveCopy() method
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DInstallTask.java123 private boolean writeToOutputStreamFromAsset(OutputStream outputStream) { in writeToOutputStreamFromAsset()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DAllSensorStateController.java130 FileOutputStream outputStream = null; in persist() local
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/
DWallpaperManagerServiceTests.java530 try (FileOutputStream outputStream = new FileOutputStream(cropSystemWallpaperFile)) { in getWallpaperWithFeature_getCropped_returnsCropFile()
553 try (FileOutputStream outputStream = new FileOutputStream(originalSystemWallpaperFile)) { in getWallpaperWithFeature_notGetCropped_returnsOriginalFile()
/frameworks/native/libs/ui/tools/
Dlutgen.cpp142 ofstream outputStream(filename, ios::trunc); in main() local
/frameworks/hardware/interfaces/stats/aidl/vts/java/src/com/android/vts/istats/
DVendorAtomTests.java134 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in getVendorAtom() local
/frameworks/av/services/audioflinger/datapath/
DAudioHwDevice.cpp50 auto outputStream = new AudioStreamOut(this, flags); in openOutputStream() local
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3DeviceInjectionMethods.cpp238 sp<camera3::Camera3OutputStreamInterface> outputStream = in injectionConfigureStreams() local
/frameworks/base/drm/java/android/drm/
DDrmUtils.java68 FileOutputStream outputStream = null; in writeToFile() local

123