/frameworks/base/core/java/android/os/incremental/ |
D | V4Signature.java | 174 writeBytes(buffer, hashingInfo.salt); in getSigningData() 175 writeBytes(buffer, hashingInfo.rawRootHash); in getSigningData() 176 writeBytes(buffer, signingInfo.apkDigest); in getSigningData() 177 writeBytes(buffer, signingInfo.certificate); in getSigningData() 178 writeBytes(buffer, signingInfo.additionalData); in getSigningData() 201 writeBytes(stream, this.hashingInfo); in writeTo() 202 writeBytes(stream, this.signingInfo); in writeTo() 258 private static void writeBytes(OutputStream stream, byte[] bytes) throws IOException { in writeBytes() method in V4Signature 267 private static void writeBytes(ByteBuffer buffer, byte[] bytes) { in writeBytes() method in V4Signature
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | MemoryFileTest.java | 55 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/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/ |
D | RawBackupWriterTest.java | 52 mWriter.writeBytes(TEST_BYTES); in writeBytes_writesToOutputStream() 67 mWriter.writeBytes(TEST_BYTES); in getBytesWritten_returnsTotalSum() 68 mWriter.writeBytes(TEST_BYTES); in getBytesWritten_returnsTotalSum()
|
D | DiffScriptBackupWriterTest.java | 58 mBackupWriter.writeBytes(TEST_BYTES); in writeBytes_writesBytesToWriter() 75 mBackupWriter.writeBytes(TEST_BYTES); in getBytesWritten_returnsTotalSum() 76 mBackupWriter.writeBytes(TEST_BYTES); in getBytesWritten_returnsTotalSum()
|
D | InlineLengthsEncryptedChunkEncoderTest.java | 67 .writeBytes( in writeChunkToWriter_writesLengthThenNonceThenData() 70 inOrder.verify(mMockBackupWriter).writeBytes(TEST_NONCE); in writeChunkToWriter_writesLengthThenNonceThenData() 71 inOrder.verify(mMockBackupWriter).writeBytes(TEST_DATA); in writeChunkToWriter_writesLengthThenNonceThenData()
|
D | LengthlessEncryptedChunkEncoderTest.java | 65 inOrder.verify(mMockBackupWriter).writeBytes(TEST_NONCE); in writeChunkToWriter_writesNonceThenData() 66 inOrder.verify(mMockBackupWriter).writeBytes(TEST_DATA); in writeChunkToWriter_writesNonceThenData()
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/ |
D | LengthlessEncryptedChunkEncoder.java | 38 writer.writeBytes(chunk.nonce()); in writeChunkToWriter() 39 writer.writeBytes(chunk.encryptedBytes()); in writeChunkToWriter()
|
D | BackupWriter.java | 24 void writeBytes(byte[] bytes) throws IOException; in writeBytes() method
|
D | RawBackupWriter.java | 33 public void writeBytes(byte[] bytes) throws IOException { in writeBytes() method in RawBackupWriter
|
D | DiffScriptBackupWriter.java | 52 public void writeBytes(byte[] bytes) throws IOException { in writeBytes() method in DiffScriptBackupWriter
|
D | InlineLengthsEncryptedChunkEncoder.java | 42 writer.writeBytes(toByteArray(length)); in writeChunkToWriter()
|
D | BackupFileBuilder.java | 180 mBackupWriter.writeBytes(ChunksMetadataProto.ChunksMetadata.toByteArray(metadata)); in finish() 181 mBackupWriter.writeBytes(toByteArray(startOfMetadata)); in finish()
|
/frameworks/base/apct-tests/perftests/core/src/android/database/ |
D | SQLiteDatabaseIoPerfTest.java | 144 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/tests/utiltests/src/android/util/ |
D | AtomicFileTest.java | 209 writeBytes(mBaseFile, BASE_BYTES); in testAtomicFile() 212 writeBytes(mNewFile, EXISTING_NEW_BYTES); in testAtomicFile() 215 writeBytes(mLegacyBackupFile, LEGACY_BACKUP_BYTES); in testAtomicFile() 260 private static void writeBytes(@NonNull File file, @NonNull byte[] bytes) throws IOException { in writeBytes() method in AtomicFileTest
|
/frameworks/base/core/java/android/os/ |
D | MemoryFile.java | 209 public void writeBytes(byte[] buffer, int srcOffset, int destOffset, int count) in writeBytes() method in MemoryFile 323 writeBytes(buffer, offset, mOffset, count); in write()
|
D | ParcelFileDescriptor.java | 615 file.writeBytes(data, 0, 0, data.length); in fromData()
|
/frameworks/base/obex/javax/obex/ |
D | PrivateInputStream.java | 147 public synchronized void writeBytes(byte[] body, int start) { in writeBytes() method in PrivateInputStream
|
D | ClientSession.java | 569 privateInput.writeBytes(body, 1); in sendRequest()
|
D | ServerOperation.java | 273 mPrivateInput.writeBytes(body, 1); in handleObexPacket()
|
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/ |
D | GenericSoundModelTest.java | 166 out.writeBytes("trig " + model.getUuid().toString() + "\r\n"); in testTriggerGenericSoundModel() 243 out.writeBytes("trig " + modelInfo.model.getUuid() + "\r\n"); in testFuzzGenericSoundModel()
|
/frameworks/base/core/tests/BTtraffic/src/com/android/google/experimental/bttraffic/ |
D | BTtraffic.java | 306 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/core/tests/coretests/src/android/database/ |
D | NewDatabasePerformanceTests.java | 104 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/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 1024 pos = writeBytes(result, pos, value); in extractRelevantValues() 1265 writeBytes(sizeAndString, INTEGER_BYTE_COUNT, stringBytes); in toByteArray() 1301 private static int writeBytes(byte[] out, int pos, byte[] value) { in writeBytes() method in SettingsBackupAgent
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | InstallationAsyncTask.java | 483 memoryFile.writeBytes(bytes, 0, 0, numBytesRead); in installImage()
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoOutputStream.java | 1896 public void writeBytes(long fieldId, @Nullable byte[] val) { in writeBytes() method in ProtoOutputStream
|