Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/os/
DMemoryFileTest.java54 newFile.writeBytes(testString, 0, 0, testString.length); in testPurge()
79 file.writeBytes(testString, 0, 2000, testString.length); in testRun()
128 file.writeBytes(testString, 0, 0, testString.length); in readIndexOutOfBoundsException()
173 file.writeBytes(testString, 0, 0, testString.length); in testReadEOF()
195 file.writeBytes(data, 0, 0, 128); in testCloseClose()
223 file.writeBytes(data, 0, 0, 128); in testCloseWrite()
235 file.writeBytes(data, 0, 0, 128); in testCloseAllowPurging()
253 file.writeBytes(testString, 0, 0, testString.length); in testCloseLeak()
/frameworks/support/core/ktx/src/main/java/androidx/core/util/
DAtomicFile.kt50 fun AtomicFile.writeBytes(array: ByteArray) { in writeBytes() method
62 writeBytes(text.toByteArray(charset)) in writeText()
/frameworks/base/apct-tests/perftests/core/src/android/database/
DSQLiteDatabaseIoPerfTest.java143 private void sendResults(String testName, long writeBytes) { in sendResults() argument
144 Log.i(TAG, testName + " write_bytes: " + writeBytes); in sendResults()
146 status.putLong("write_bytes", writeBytes); in sendResults()
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/util/
DAtomicFileTest.kt65 @Test fun writeBytes() { in writeBytes() method in androidx.core.util.AtomicFileTest
66 file.writeBytes(byteArrayOf(0, 1, 2)) in writeBytes()
/frameworks/base/core/java/android/os/
DMemoryFile.java205 public void writeBytes(byte[] buffer, int srcOffset, int destOffset, int count) in writeBytes() method in MemoryFile
317 writeBytes(buffer, offset, mOffset, count); in write()
DParcelFileDescriptor.java539 file.writeBytes(data, 0, 0, data.length); in fromData()
/frameworks/base/obex/javax/obex/
DPrivateInputStream.java147 public synchronized void writeBytes(byte[] body, int start) { in writeBytes() method in PrivateInputStream
DClientSession.java569 privateInput.writeBytes(body, 1); in sendRequest()
DServerOperation.java273 mPrivateInput.writeBytes(body, 1); in handleObexPacket()
/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/support/core/ktx/src/androidTest/java/androidx/core/graphics/drawable/
DIconTest.kt68 context.assets.open("red.png").use { cacheFile.writeBytes(it.readBytes()) } in fromUri()
/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/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java815 pos = writeBytes(result, pos, value); in extractRelevantValues()
939 private int writeBytes(byte[] out, int pos, byte[] value) { in writeBytes() method in SettingsBackupAgent
/frameworks/base/services/core/java/com/android/server/
DGraphicsStatsService.java422 mProcessBuffer.writeBytes(ZERO_DATA, 0, 0, ASHMEM_SIZE); in ActiveBuffer()
/frameworks/rs/rsov/driver/
DrsovScript.cpp71 void writeBytes(const char *filename, const char *bytes, size_t size) { in writeBytes() function
107 writeBytes(bcFileName.c_str(), bitcode, bitcodeSize); in compileBitcode()
/frameworks/base/core/java/android/util/proto/
DProtoOutputStream.java1898 public void writeBytes(long fieldId, byte[] val) { in writeBytes() method in ProtoOutputStream
/frameworks/support/core/ktx/api/
D0.1.txt504 …method @RequiresApi(17) public static final void writeBytes(android.util.AtomicFile, byte[] array);
Dcurrent.txt462 method @RequiresApi(17) public static void writeBytes(android.util.AtomicFile, byte[] array);
D0.2.txt543 method @RequiresApi(17) public static void writeBytes(android.util.AtomicFile, byte[] array);
/frameworks/base/api/
Dtest-current.txt1126 method public deprecated void writeBytes(long, byte[]);
Dcurrent.txt32655 method public void writeBytes(byte[], int, int, int) throws java.io.IOException;
54968 method public abstract void writeBytes(java.lang.String) throws java.io.IOException;
54986 method public final void writeBytes(java.lang.String) throws java.io.IOException;
55319 method public void writeBytes(java.lang.String) throws java.io.IOException;
55625 method public final void writeBytes(java.lang.String) throws java.io.IOException;
63380 method public abstract void writeBytes(byte[]) throws java.sql.SQLException;
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21869 method public void writeBytes(byte[], int, int, int) throws java.io.IOException;
39825 method public abstract void writeBytes(java.lang.String) throws java.io.IOException;
39841 method public final void writeBytes(java.lang.String) throws java.io.IOException;
40172 method public void writeBytes(java.lang.String) throws java.io.IOException;
40461 method public final void writeBytes(java.lang.String) throws java.io.IOException;
46774 method public abstract void writeBytes(byte[]) throws java.sql.SQLException;
/frameworks/base/config/
Dhiddenapi-public-dex.txt31284 Landroid/os/MemoryFile;->writeBytes([BIII)V
47160 Landroid/util/proto/ProtoOutputStream;->writeBytes(J[B)V
56899 Ljava/io/DataOutput;->writeBytes(Ljava/lang/String;)V
56916 Ljava/io/DataOutputStream;->writeBytes(Ljava/lang/String;)V
57247 Ljava/io/ObjectOutputStream;->writeBytes(Ljava/lang/String;)V
57531 Ljava/io/RandomAccessFile;->writeBytes(Ljava/lang/String;)V
64322 Ljava/sql/SQLOutput;->writeBytes([B)V

12