Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DMemoryFileTest.java71 newFile.writeBytes(testString, 0, 0, testString.length); in testPurge()
97 file.writeBytes(testString, 0, 2000, testString.length); in testRun()
147 file.writeBytes(testString, 0, 0, testString.length); in readIndexOutOfBoundsException()
197 file.writeBytes(testString, 0, 0, testString.length); in testReadEOF()
220 file.writeBytes(data, 0, 0, 128); in testCloseClose()
250 file.writeBytes(data, 0, 0, 128); in testCloseWrite()
263 file.writeBytes(data, 0, 0, 128); in testCloseAllowPurging()
282 file.writeBytes(testString, 0, 0, testString.length); in testCloseLeak()
/frameworks/base/core/java/android/os/incremental/
DV4Signature.java239 writeBytes(buffer, hashingInfo.salt); in getSignedData()
240 writeBytes(buffer, hashingInfo.rawRootHash); in getSignedData()
241 writeBytes(buffer, signingInfo.apkDigest); in getSignedData()
242 writeBytes(buffer, signingInfo.certificate); in getSignedData()
243 writeBytes(buffer, signingInfo.additionalData); in getSignedData()
273 writeBytes(stream, this.hashingInfo); in writeTo()
274 writeBytes(stream, this.signingInfos); in writeTo()
334 private static void writeBytes(OutputStream stream, byte[] bytes) throws IOException { in writeBytes() method in V4Signature
343 private static void writeBytes(ByteBuffer buffer, byte[] bytes) { in writeBytes() method in V4Signature
/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/tests/utiltests/src/android/util/
DAtomicFileTest.java222 writeBytes(mBaseFile, BASE_BYTES); in testAtomicFile()
225 writeBytes(mNewFile, EXISTING_NEW_BYTES); in testAtomicFile()
228 writeBytes(mLegacyBackupFile, LEGACY_BACKUP_BYTES); in testAtomicFile()
307 private static void writeBytes(@NonNull File file, @NonNull byte[] bytes) throws IOException { in writeBytes() method in AtomicFileTest
/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()
DParcelFileDescriptor.java662 file.writeBytes(data, 0, 0, data.length); in fromData()
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DTrafficRecorder.h55 void writeBytes(Bytes bytes);
137 void TrafficRecorder<Time, Bytes>::writeBytes(Bytes bytes) { in writeBytes() function
/frameworks/base/services/companion/java/com/android/server/companion/securechannel/
DKeyStoreUtils.java77 buffer.writeBytes(certificate.getEncoded()); in getEncodedCertificateChain()
/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/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DTamperedUpdatedSystemPackageTest.kt165 it.writeBytes("tamper") in detectApkTamperingAtBoot()
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DFastDataOutput.java258 public void writeBytes(String s) throws IOException { in writeBytes() method in FastDataOutput
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java1181 pos = writeBytes(result, pos, value); in extractRelevantValues()
1532 writeBytes(sizeAndString, INTEGER_BYTE_COUNT, stringBytes); in toByteArray()
1568 private static int writeBytes(byte[] out, int pos, byte[] value) { in writeBytes() method in SettingsBackupAgent
/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp659 mTrafficRec->writeBytes(buffer->size() + in send()
/frameworks/base/core/java/android/util/proto/
DProtoOutputStream.java1897 public void writeBytes(long fieldId, @Nullable byte[] val) { in writeBytes() method in ProtoOutputStream
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/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/
Dboot-image-profile.txt23764 HSPLjava/io/ObjectOutputStream$BlockDataOutputStream;->writeBytes(Ljava/lang/String;)V
24034 HSPLjava/io/RandomAccessFile;->writeBytes([BII)V
31660 HSPLsun/nio/cs/StreamEncoder;->writeBytes()V
/frameworks/base/core/api/
Dcurrent.txt33264 method public void writeBytes(byte[], int, int, int) throws java.io.IOException;