/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/async/ |
D | CircularByteBufferTest.java | 35 public void writeBytes() { in writeBytes() method in CircularByteBufferTest 44 buffer.writeBytes(writeBuffer, 0, writeBuffer.length); in writeBytes() 114 accessor.writeBytes(buffer, writeBuffer, 1, writeLen); in doTestReadWrite() 167 buffer.writeBytes(dataBuffer, 0, dataBuffer.length - 2); in readBytes_overflow() 185 buffer.writeBytes(dataBuffer, 0, dataBuffer.length); in writeBytes_overflow() 188 buffer.writeBytes(dataBuffer, 0, dataBuffer.length); in writeBytes_overflow() 229 void writeBytes(CircularByteBuffer buffer, byte[] src, int pos, int len) { in writeBytes() method in CircularByteBufferTest.BufferAccessor 244 buffer.writeBytes(src, pos, len); in writeBytes()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/audio/ |
D | WavWriter.java | 66 stream.writeBytes("RIFF"); in writeFileHeader() 70 stream.writeBytes("WAVE"); in writeFileHeader() 72 stream.writeBytes("fmt "); in writeFileHeader() 92 stream.writeBytes("data"); in writeFileHeader()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/system/development/audio/ |
D | WavWriter.java | 66 stream.writeBytes("RIFF"); in writeFileHeader() 70 stream.writeBytes("WAVE"); in writeFileHeader() 72 stream.writeBytes("fmt "); in writeFileHeader() 92 stream.writeBytes("data"); in writeFileHeader()
|
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/storage/block/write/ |
D | BlockFileWriter.java | 116 bos.writeBytes(new byte[10]); // Reserved in writeHeaderAndAppendTempFile() 157 outputStream.writeBytes(buffer, 0, bytesRead); in copyAll() 172 outputStream.writeBytes(buffer, 0, byteCount); in copyAll()
|
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsPacketWriter.java | 142 public void writeBytes(byte[] data) throws IOException { in writeBytes() method in MdnsPacketWriter 157 writeBytes(utf8); in writeString() 163 writeBytes(bytes); in writeTextEntry()
|
D | MdnsKeyRecord.java | 75 writer.writeBytes(rData); in writeData()
|
D | MdnsInetAddressRecord.java | 126 writer.writeBytes(buf); in writeData()
|
D | MdnsNsecRecord.java | 144 writer.writeBytes(bytes); in writeTypeBlock()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/signature/ |
D | ThreadUnsafeByteArrayOutputStreamTest.java | 50 mOutputStream.writeBytes(data); in testWriteBytes() 71 mOutputStream.writeBytes(data); in testGetBytesReturnsCopy()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/watchdog/ |
D | CarWatchdogTestFragment.java | 397 int writeBytes = Math.toIntExact(Math.min(totalFreeMemory, remainingBytes)); in writeToFos() local 399 fos.write(new byte[writeBytes]); in writeToFos() 404 Log.e(TAG, "I/O exception while writing " + writeBytes + " to disk", e); in writeToFos() 407 totalBytesWritten += writeBytes; in writeToFos() 408 remainingBytes -= writeBytes; in writeToFos() 409 if (writeBytes > 0 && remainingBytes > 0) { in writeToFos()
|
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/storage/io/write/ |
D | TypedOutputStream.java | 92 public void writeBytes(byte[] bytes) throws IOException { in writeBytes() method in TypedOutputStream 99 public void writeBytes(byte[] bytes, int off, int len) throws IOException { in writeBytes() method in TypedOutputStream
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/async/ |
D | BufferedFile.java | 223 mOutboundBuffer.writeBytes(data1, pos1, len1); in enqueueOutboundData() 226 mOutboundBuffer.writeBytes(buffer2, pos2, len2); in enqueueOutboundData()
|
D | CircularByteBuffer.java | 144 public void writeBytes(byte[] buffer, int pos, int len) { in writeBytes() method in CircularByteBuffer
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
D | TestToPhoneFileCopier.kt | 38 dstFile.writeBytes( in getDst()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/wear/ |
D | NetPacketHelpersTest.java | 43 buffer.writeBytes(data, 0, data.length); in decodeNetworkUnsignedInt16()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/signature/ |
D | ThreadUnsafeByteArrayOutputStream.java | 59 public void writeBytes(byte[] bytes) { in writeBytes() method in ThreadUnsafeByteArrayOutputStream
|
D | SignedContextualAdsHashUtil.java | 222 mByteArrayStream.writeBytes(value.getBytes(StandardCharsets.UTF_8)); in writeString()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/rule/ |
D | BackAndRestoreRule.kt | 62 file.writeBytes( in uploadDatabase()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | ProfileData.java | 157 mOut.writeBytes(String.format("0x%x %s\n", entry.getValue(), entry.getKey())); in writeAllSymbols()
|
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/block/read/ |
D | BlockDataTest.java | 88 typedOutputStream.writeBytes(bytes); in typedRandomAccess()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/async/ |
D | FakeOsAccess.java | 216 file.writeQueue.writeBytes(buffer, pos, writeCount); in write() 271 dst.readQueue.writeBytes(mTmpBuffer, 0, allowedCopyCount); in copyFileBuffers()
|
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/io/ |
D | TypedStreamsTest.java | 57 tos.writeBytes(new byte[] { 0x11, 0x22, 0x00, 0x7F, -0x80 }); in writeReadOk()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/touch/ |
D | InjectMotionTestFragment.java | 210 mOutStreamForShell.writeBytes(sb.toString()); in injectMotionByShell()
|
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/ |
D | ActiveOperationalDatasetTest.java | 100 os.writeBytes(value); in removeTlv()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsResponseDecoderTests.java | 615 writer.writeBytes(record); in makeResponsePacket()
|