Home
last modified time | relevance | path

Searched refs:writeBytes (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/os/
DMemoryFileTest.java55 newFile.writeBytes(testString, 0, 0, testString.length); in testPurge()
80 file.writeBytes(testString, 0, 2000, testString.length); in testRun()
129 file.writeBytes(testString, 0, 0, testString.length); in readIndexOutOfBoundsException()
174 file.writeBytes(testString, 0, 0, testString.length); in testReadEOF()
196 file.writeBytes(data, 0, 0, 128); in testCloseClose()
224 file.writeBytes(data, 0, 0, 128); in testCloseWrite()
236 file.writeBytes(data, 0, 0, 128); in testCloseAllowPurging()
254 file.writeBytes(testString, 0, 0, testString.length); in testCloseLeak()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/
DRawBackupWriterTest.java52 mWriter.writeBytes(TEST_BYTES); in writeBytes_writesToOutputStream()
67 mWriter.writeBytes(TEST_BYTES); in getBytesWritten_returnsTotalSum()
68 mWriter.writeBytes(TEST_BYTES); in getBytesWritten_returnsTotalSum()
DDiffScriptBackupWriterTest.java58 mBackupWriter.writeBytes(TEST_BYTES); in writeBytes_writesBytesToWriter()
75 mBackupWriter.writeBytes(TEST_BYTES); in getBytesWritten_returnsTotalSum()
76 mBackupWriter.writeBytes(TEST_BYTES); in getBytesWritten_returnsTotalSum()
DInlineLengthsEncryptedChunkEncoderTest.java67 .writeBytes( in writeChunkToWriter_writesLengthThenNonceThenData()
70 inOrder.verify(mMockBackupWriter).writeBytes(TEST_NONCE); in writeChunkToWriter_writesLengthThenNonceThenData()
71 inOrder.verify(mMockBackupWriter).writeBytes(TEST_DATA); in writeChunkToWriter_writesLengthThenNonceThenData()
DLengthlessEncryptedChunkEncoderTest.java65 inOrder.verify(mMockBackupWriter).writeBytes(TEST_NONCE); in writeChunkToWriter_writesNonceThenData()
66 inOrder.verify(mMockBackupWriter).writeBytes(TEST_DATA); in writeChunkToWriter_writesNonceThenData()
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/
DLengthlessEncryptedChunkEncoder.java37 writer.writeBytes(chunk.nonce()); in writeChunkToWriter()
38 writer.writeBytes(chunk.encryptedBytes()); in writeChunkToWriter()
DBackupWriter.java24 void writeBytes(byte[] bytes) throws IOException; in writeBytes() method
DRawBackupWriter.java33 public void writeBytes(byte[] bytes) throws IOException { in writeBytes() method in RawBackupWriter
DDiffScriptBackupWriter.java52 public void writeBytes(byte[] bytes) throws IOException { in writeBytes() method in DiffScriptBackupWriter
DInlineLengthsEncryptedChunkEncoder.java41 writer.writeBytes(toByteArray(length)); in writeChunkToWriter()
/frameworks/base/apct-tests/perftests/core/src/android/database/
DSQLiteDatabaseIoPerfTest.java144 private void sendResults(String testName, long writeBytes) { in sendResults() argument
145 Log.i(TAG, testName + " write_bytes: " + writeBytes); in sendResults()
147 status.putLong("write_bytes", writeBytes); in sendResults()
/frameworks/base/core/java/android/os/
DMemoryFile.java209 public void writeBytes(byte[] buffer, int srcOffset, int destOffset, int count) in writeBytes() method in MemoryFile
323 writeBytes(buffer, offset, mOffset, count); in write()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/
Dwriter_test.js117 writer.writeBytes(3, new Uint8Array([1, 2, 3]));
Dutils_test.js598 writer.writeBytes(1, [Math.floor(i)]);
611 writer.writeBytes(123456789, [Math.floor(i)]);
Dreader_test.js564 writer.writeBytes(len, bytes);
675 writer.writeBytes(4, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
837 writer.writeBytes(1, blob);
Dwriter.js326 this.writeBytes(field, /** @type {?Uint8Array} */(value));
709 jspb.BinaryWriter.prototype.writeBytes = function(field, value) { method in jspb.BinaryWriter
1130 this.writeBytes(field, value[i]);
Dencoder.js375 jspb.BinaryEncoder.prototype.writeBytes = function(bytes) { method in jspb.BinaryEncoder
/frameworks/base/obex/javax/obex/
DPrivateInputStream.java147 public synchronized void writeBytes(byte[] body, int start) { in writeBytes() method in PrivateInputStream
/frameworks/base/core/tests/BTtraffic/src/com/android/google/experimental/bttraffic/
DBTtraffic.java306 writeBytes(outputStream, bytes.length); in doSending()
321 private static void writeBytes(OutputStream outputStream, int value) throws IOException { in writeBytes() method in BTtraffic.SenderRunnable
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
DGenericSoundModelTest.java167 out.writeBytes("trig " + model.uuid.toString() + "\r\n"); in testTriggerGenericSoundModel()
243 out.writeBytes("trig " + modelInfo.model.uuid + "\r\n"); in testFuzzGenericSoundModel()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java300 public abstract void writeBytes(int fieldNumber, ByteString value) throws IOException; in writeBytes() method in CodedOutputStream
1205 public final void writeBytes(final int fieldNumber, final ByteString value) throws IOException { in writeBytes() method in CodedOutputStream.ArrayEncoder
1276 writeBytes(WireFormat.MESSAGE_SET_MESSAGE, value); in writeRawMessageSetExtension()
1569 public void writeBytes(final int fieldNumber, final ByteString value) throws IOException { in writeBytes() method in CodedOutputStream.NioEncoder
1616 writeBytes(WireFormat.MESSAGE_SET_MESSAGE, value); in writeRawMessageSetExtension()
2049 public void writeBytes(final int fieldNumber, final ByteString value) throws IOException { in writeBytes() method in CodedOutputStream.ByteOutputEncoder
2119 writeBytes(WireFormat.MESSAGE_SET_MESSAGE, value); in writeRawMessageSetExtension()
2352 public void writeBytes(final int fieldNumber, final ByteString value) throws IOException { in writeBytes() method in CodedOutputStream.OutputStreamEncoder
2422 writeBytes(WireFormat.MESSAGE_SET_MESSAGE, value); in writeRawMessageSetExtension()
DUnknownFieldSetLite.java165 output.writeBytes(fieldNumber, (ByteString) objects[i]); in writeTo()
/frameworks/base/core/tests/coretests/src/android/database/
DNewDatabasePerformanceTests.java104 Long writeBytes = getIoStats().get("write_bytes"); in tearDown() local
105 if (writeBytes != null && sInitialWriteBytes != null) { in tearDown()
106 long testWriteBytes = writeBytes - mSetupWriteBytes; in tearDown()
107 long totalWriteBytes = (writeBytes - sInitialWriteBytes); in tearDown()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBCodedOutputStream.h254 - (void)writeBytes:(int32_t)fieldNumber value:(NSData *)value;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/
DCodedOutputByteBufferNano.java171 public void writeBytes(final int fieldNumber, final byte[] value) in writeBytes() method in CodedOutputByteBufferNano
1175 writeBytes(number, bytesValue); in writeField()

12