Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/servicestests/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/support/slices/view/src/androidTest/java/androidx/slice/
DSliceXmlTest.java59 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testThrowForAction() local
69 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testThrowForRemoteInput() local
79 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testThrowForImage() local
89 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testNoThrowForAction() local
99 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testNoThrowForRemoteInput() local
109 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testNoThrowForImage() local
137 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testSerialization() local
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java434 final ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in serializeWifiConfigurationForBackup() local
446 final ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in serializeWifiConfigurationForConfigStore() local
515 final ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in serializeDeserializeIpConfiguration() local
535 final ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in serializeNetworkSelectionStatus() local
566 final ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in serializeWifiEnterpriseConfig() local
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DIpConfigStoreTest.java52 DataOutputStream outputStream = new DataOutputStream(byteStream); in backwardCompatibility2to3() local
131 DataOutputStream outputStream = new DataOutputStream(byteStream); in write() local
/frameworks/base/services/core/java/com/android/server/
DPersistentDataBlockService.java242 DataOutputStream outputStream; in computeAndWriteDigestLocked() local
309 DataOutputStream outputStream; in formatPartitionLocked() local
335 FileOutputStream outputStream; in doSetOemUnlockEnabledLocked() local
/frameworks/base/core/tests/BTtraffic/src/com/android/google/experimental/bttraffic/
DBTtraffic.java216 private void doListening(InputStream inputStream, OutputStream outputStream) in doListening()
298 private void doSending(OutputStream outputStream) throws IOException { in doSending()
321 private static void writeBytes(OutputStream outputStream, int value) throws IOException { in writeBytes()
/frameworks/base/core/java/android/webkit/
DTracingController.java90 public abstract boolean stop(@Nullable OutputStream outputStream, in stop()
/frameworks/av/services/audioflinger/
DAudioHwDevice.cpp44 AudioStreamOut *outputStream = new AudioStreamOut(this, flags); in openOutputStream() local
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DDeletedEphemeralSsidsStoreDataTest.java70 final ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in serializeData() local
DSsidSetStoreDataTest.java80 final ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in serializeData() local
DWakeupConfigStoreDataTest.java73 final ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in serializeData() local
DNetworkListStoreDataTest.java206 final ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in serializeData() local
/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/
DChannelLogoUtils.java129 try (OutputStream outputStream = context.getContentResolver().openOutputStream(localUri)) { in storeChannelLogo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java189 final ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in serializeAndDeserializePasspointConfiguration() local
DPasspointConfigStoreDataTest.java209 final ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in serializeData() local
/frameworks/native/libs/ui/tools/
Dlutgen.cpp142 ofstream outputStream(filename, ios::trunc); in main() local
/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/data/
DVideoProvider.java135 FileOutputStream outputStream = new FileOutputStream(file); in makeIcon() local
/frameworks/base/drm/java/android/drm/
DDrmUtils.java66 FileOutputStream outputStream = null; in writeToFile() local
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/
DWorkTypeConverters.java260 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in contentUriTriggersToByteArray() local
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializer.java73 public static void serialize(KeyChainSnapshot keyChainSnapshot, OutputStream outputStream) in serialize()
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/
DSliceRenderer.java184 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in serAndUnSer() local
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbRestoreEngine.java110 FileOutputStream outputStream = null; in sortKeyValueData() local
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordCrypto.java82 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in encrypt() local
/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp116 AAudioStream *outputStream, in MyDataCallbackProc()
335 AAudioStream *outputStream = nullptr; in main() local
/frameworks/support/heifwriter/src/androidTest/java/androidx/heifwriter/
DHeifWriterTest.java96 FileOutputStream outputStream = null; in setUp() local
401 FileOutputStream outputStream = null; in doTest() local

123