Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 14 of 14) sorted by relevance

/platform_testing/libraries/tradefed-python-lib/tradefed_py/
Dtf_main.py32 verbosity=1, failfast=None, catchbreak=None, buffer=None, serial=None): argument
62 if self.buffer is None:
63 self.buffer = True
88 buffer=self.buffer,
Dtf_runner.py150 failfast=False, buffer=False, resultclass=None, serial=None, extra_options=None): argument
153 …unittest.TextTestRunner.__init__(self, stream, descriptions, verbosity, failfast, buffer, resultcl…
175 result.buffer = self.buffer
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DStreamUtil.java58 byte[] buffer = new byte[1024]; in readInputStream()
60 while ((length = inputStream.read(buffer)) != -1) { in readInputStream()
61 result.write(buffer, 0, length); in readInputStream()
DResultUploader.java64 byte[] buffer = new byte[1024]; in getBytes()
66 while ((count = input.read(buffer)) > 0) { in getBytes()
67 gzipOutput.write(buffer, 0, count); in getBytes()
DChecksumReporter.java354 byte [] buffer = new byte[bufferSize]; in calculateFileChecksum()
355 while ((cnt = inputStream.read(buffer)) != -1) { in calculateFileChecksum()
356 hashSum.update(buffer, 0, cnt); in calculateFileChecksum()
DReadElf.java633 byte[] buffer = new byte[512]; in isElf()
635 raFile.readFully(buffer, 0, EI_NIDENT); in isElf()
636 if (buffer[0] != ELFMAG[0] in isElf()
637 || buffer[1] != ELFMAG[1] in isElf()
638 || buffer[2] != ELFMAG[2] in isElf()
639 || buffer[3] != ELFMAG[3]) { in isElf()
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/javasound/
DJavaAudioCapturerTests.java129 byte[] buffer = (byte[]) invocation.getArgument(0); in attachOutput_attachesOutputSuccessfully_outputStream()
131 buffer[0] = expectedBytes[0]; in attachOutput_attachesOutputSuccessfully_outputStream()
132 buffer[1] = expectedBytes[1]; in attachOutput_attachesOutputSuccessfully_outputStream()
133 buffer[2] = expectedBytes[2]; in attachOutput_attachesOutputSuccessfully_outputStream()
134 buffer[3] = expectedBytes[3]; in attachOutput_attachesOutputSuccessfully_outputStream()
170 byte[] buffer = (byte[]) invocation.getArgument(0); in attachOutput_attachesOutputSuccessfully_file()
172 buffer[0] = expectedBytes[0]; in attachOutput_attachesOutputSuccessfully_file()
173 buffer[1] = expectedBytes[1]; in attachOutput_attachesOutputSuccessfully_file()
174 buffer[2] = expectedBytes[2]; in attachOutput_attachesOutputSuccessfully_file()
175 buffer[3] = expectedBytes[3]; in attachOutput_attachesOutputSuccessfully_file()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DFilesystemUtil.java131 byte[] buffer = new byte[4096]; in pipe()
136 out.write(buffer, 0, bytesRead); in pipe()
137 bytesRead = in.read(buffer); in pipe()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/
DBuffer.kt42 fun prettyPrint(buffer: Buffer): String = "w:${buffer.width}, h:${buffer.height}, " + in toString()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DDumpsysMeminfoHelper.java183 byte[] buffer = new byte[32768]; in readInputStreamFully()
186 while ((count = is.read(buffer)) != -1) { in readInputStreamFully()
187 os.write(buffer, 0, count); in readInputStreamFully()
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DReadElfTest.java282 byte[] buffer = new byte[4096]; in getResrouceFile()
284 while ((length = input.read(buffer)) > 0) { in getResrouceFile()
285 output.write(buffer, 0, length); in getResrouceFile()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DStatsdListener.java569 CodedOutputByteBufferNano buffer = CodedOutputByteBufferNano.newInstance(serialized); in serialize() local
570 message.writeTo(buffer); in serialize()
583 byte[] buffer = new byte[1024]; in readInputStream()
584 int size = in.read(buffer); in readInputStream()
586 outputStream.write(buffer, 0, size); in readInputStream()
587 size = in.read(buffer); in readInputStream()
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/
DAppLaunchTests.java340 byte[] buffer = new byte[BUFFER_SIZE]; in writeDataToByteStream()
342 while ((length = inputStream.read(buffer)) >= 0) { in writeDataToByteStream()
343 outputStream.write(buffer, 0, length); in writeDataToByteStream()
/platform_testing/libraries/device-collectors/src/test/platform/android/device/collectors/
DStatsdListenerTest.java716 CodedOutputByteBufferNano buffer = CodedOutputByteBufferNano.newInstance(serialized); in serialize() local
717 message.writeTo(buffer); in serialize()