/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/utils/ |
H A D | TraceBufferTest.java | 70 ProtoOutputStream toWrite = getDummy(1); in test_addItem() local 71 final int objectSize = toWrite.getRawSize(); in test_addItem() 77 mBuffer.add(toWrite); in test_addItem() 166 ProtoOutputStream toWrite = getDummy(1); in test_startResetsBuffer() local 170 mBuffer.add(toWrite); in test_startResetsBuffer() 178 ProtoOutputStream toWrite = new ProtoOutputStream(); in getDummy() local 179 toWrite.write(MAGIC_NUMBER, value); in getDummy() 180 toWrite.flush(); in getDummy() 182 return toWrite; in getDummy()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/ |
H A D | HibernationStateDiskStoreTest.java | 77 List<String> toWrite = new ArrayList<>(Arrays.asList("A", "B")); in testScheduleWriteHibernationStates_writesDataThatCanBeRead() local 80 mHibernationStateDiskStore.scheduleWriteHibernationStates(toWrite); in testScheduleWriteHibernationStates_writesDataThatCanBeRead() 85 for (int i = 0; i < toWrite.size(); i++) { in testScheduleWriteHibernationStates_writesDataThatCanBeRead() 86 assertEquals(toWrite.get(i), storedStrings.get(i)); in testScheduleWriteHibernationStates_writesDataThatCanBeRead() 97 List<String> toWrite = new ArrayList<>(Arrays.asList("A", "B")); in testScheduleWriteHibernationStates_laterWritesOverwritePrevious() local 98 mHibernationStateDiskStore.scheduleWriteHibernationStates(toWrite); in testScheduleWriteHibernationStates_laterWritesOverwritePrevious() 103 for (int i = 0; i < toWrite.size(); i++) { in testScheduleWriteHibernationStates_laterWritesOverwritePrevious() 104 assertEquals(toWrite.get(i), storedStrings.get(i)); in testScheduleWriteHibernationStates_laterWritesOverwritePrevious()
|
/aosp12/frameworks/base/services/core/java/com/android/server/display/ |
H A D | BrightnessTracker.java | 579 BrightnessChangeEvent[] toWrite = mEvents.toArray(); in writeEventsLocked() local 583 Slog.d(TAG, "Writing events " + toWrite.length); in writeEventsLocked() 586 for (int i = 0; i < toWrite.length; ++i) { in writeEventsLocked() 589 mEvents.append(toWrite[i]); in writeEventsLocked() 603 toWrite[i].colorTemperature); in writeEventsLocked() 605 toWrite[i].reduceBrightColors); in writeEventsLocked() 611 toWrite[i].lastBrightness); in writeEventsLocked() 615 toWrite[i].powerBrightnessFactor); in writeEventsLocked() 617 toWrite[i].isUserSetBrightness); in writeEventsLocked() 630 if (toWrite[i].colorValueBuckets != null in writeEventsLocked() [all …]
|
/aosp12/build/blueprint/parser/ |
H A D | modify.go | 101 toWrite := int64(patch.Start) - offset 102 written, err := io.Copy(out, io.NewSectionReader(in, offset, toWrite)) 106 offset += toWrite 107 if written != toWrite {
|
/aosp12/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/ |
H A D | Utils.java | 52 final int toWrite = (bytesWrittern + buffer.length <= lengthBytes) in copy() local 54 in.read(buffer, 0, toWrite); in copy() 55 out.write(buffer, 0, toWrite); in copy() 56 bytesWrittern += toWrite; in copy()
|
H A D | FakeBlobData.java | 249 final int toWrite = (bytesWritten + buffer.length <= fileSize) in writeRandomData() local 252 file.write(buffer, 0, toWrite); in writeRandomData() 253 bytesWritten += toWrite; in writeRandomData()
|
/aosp12/frameworks/native/libs/binder/tests/parcel_fuzzer/ |
H A D | random_parcel.cpp | 40 size_t toWrite = in fillRandomParcel() local 42 std::vector<uint8_t> data = provider.ConsumeBytes<uint8_t>(toWrite); in fillRandomParcel()
|
/aosp12/art/tools/dexfuzz/src/dexfuzz/listeners/ |
H A D | BisectionSearchListener.java | 57 private void writeToFile(String file, String toWrite) throws IOException { in writeToFile() argument 59 writer.write(toWrite); in writeToFile()
|
/aosp12/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 896 int toWrite = sampleCount; in threadLoop() local 900 while (--chances > 0 && (toWrite > 0 || toRead > 0)) { in threadLoop() 901 if (toWrite > 0) { in threadLoop() 903 buffer.frameCount = toWrite; in threadLoop() 907 int offset = sampleCount - toWrite; in threadLoop() 909 toWrite -= buffer.frameCount; in threadLoop()
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | LoggingPrintStreamTest.java | 174 String toWrite = a + "\n" + b + "\n" + c; in testWriteFlushesOnNewlines() local 175 out.write(toWrite.getBytes()); in testWriteFlushesOnNewlines()
|
/aosp12/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 685 off64_t toWrite = s.st_size; in write_tarfile() local 686 while (toWrite > 0) { in write_tarfile() 687 size_t toRead = toWrite; in write_tarfile() 698 ALOGE("EOF but expect %lld more bytes in [%s]", (long long) toWrite, in write_tarfile() 714 toWrite -= nRead; in write_tarfile()
|
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
H A D | LocalSocketTest.java | 247 byte[] toWrite = new byte[bufferSize * 2]; in testSetSoTimeout_writeTimeout() 248 clientSocket.getOutputStream().write(toWrite); in testSetSoTimeout_writeTimeout()
|
/aosp12/frameworks/av/media/libaudioclient/ |
H A D | AudioTrack.cpp | 2256 size_t toWrite = audioBuffer.size; in write() local 2257 memcpy(audioBuffer.i8, buffer, toWrite); in write() 2258 buffer = ((const char *) buffer) + toWrite; in write() 2259 userSize -= toWrite; in write() 2260 written += toWrite; in write()
|
/aosp12/packages/apps/Car/DebuggingRestrictionController/libs/ |
H A D | okhttp-3.12.1.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/proguard/
okhttp3/
... |
H A D | okio-1.15.0.jar | META-INF/
META-INF/MANIFEST.MF
okio/
okio/AsyncTimeout$Watchdog. ... |