/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | LongStatsCollector.java | 48 long[] buffer = new long[size]; in getStats() local 50 buffer[i] = mAllValues.get(i); in getStats() 53 Arrays.sort(buffer); in getStats() 56 median = (size % 2 == 0) ? (buffer[midPoint - 1] + buffer[midPoint]) / 2 : buffer[midPoint]; in getStats()
|
D | TimedStatement.java | 75 byte[] buffer = new byte[bytes]; in calibrateMethod() 77 rnd.nextBytes(buffer); in calibrateMethod() 80 acc += buffer[i]; in calibrateMethod() 82 buffer[0] = acc; in calibrateMethod() 83 stream.write(buffer); in calibrateMethod() 90 buffer = readBuffer; in calibrateMethod() 91 HashCode code1 = hashFunction.hashBytes(buffer); in calibrateMethod() 92 Arrays.sort(buffer); in calibrateMethod() 93 HashCode code2 = hashFunction.hashBytes(buffer); in calibrateMethod()
|
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | StreamUtil.java | 58 byte[] buffer = new byte[1024]; in readInputStream() 60 while ((length = inputStream.read(buffer)) != -1) { in readInputStream() 61 result.write(buffer, 0, length); in readInputStream()
|
D | ResultUploader.java | 64 byte[] buffer = new byte[1024]; in getBytes() 66 while ((count = input.read(buffer)) > 0) { in getBytes() 67 gzipOutput.write(buffer, 0, count); in getBytes()
|
D | ChecksumReporter.java | 354 byte [] buffer = new byte[bufferSize]; in calculateFileChecksum() 355 while ((cnt = inputStream.read(buffer)) != -1) { in calculateFileChecksum() 356 hashSum.update(buffer, 0, cnt); in calculateFileChecksum()
|
D | ReadElf.java | 635 byte[] buffer = new byte[512]; in isElf() 637 raFile.readFully(buffer, 0, EI_NIDENT); in isElf() 638 if (buffer[0] != ELFMAG[0] in isElf() 639 || buffer[1] != ELFMAG[1] in isElf() 640 || buffer[2] != ELFMAG[2] in isElf() 641 || buffer[3] != ELFMAG[3]) { in isElf()
|
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/javasound/ |
D | JavaAudioCapturerTests.java | 129 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/collectors-helper/utilities/src/com/android/helpers/ |
D | MetricUtility.java | 152 byte[] buffer = new byte[10]; in readStringFromFile() 154 while (stream.read(buffer) != -1) { in readStringFromFile() 155 builder.append(new String(buffer)); in readStringFromFile() 156 buffer = new byte[10]; in readStringFromFile()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/ |
D | ScreenRecorderTest.kt | 135 override fun read(buffer: ByteArray, offset: Int, readLength: Int): Int { in read() 142 buffer[(offset + i).toInt()] = bytes[(position + i).toInt()] in read() 212 buffer: ArrayList<Byte> in processSampleData() 222 buffer.add(auxBuffer[i]) in processSampleData()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | FilesystemUtil.java | 131 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/collector/trace_config/ |
D | trace_config.textproto | 17 # Enable periodic flushing of the trace buffer into the output file. 20 # Writes the userspace buffer into the file every 1s. 27 # trace data. The trace buffer sizing depends on the number of trace categories
|
/platform_testing/libraries/flicker/utils/test/trace_config/ |
D | trace_config.textproto | 17 # Enable periodic flushing of the trace buffer into the output file. 20 # Writes the userspace buffer into the file every 1s. 27 # trace data. The trace buffer sizing depends on the number of trace categories
|
/platform_testing/libraries/flicker/test/trace_config/ |
D | trace_config.textproto | 17 # Enable periodic flushing of the trace buffer into the output file. 20 # Writes the userspace buffer into the file every 1s. 27 # trace data. The trace buffer sizing depends on the number of trace categories
|
/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/grpc/ |
D | GrpcAudioCaptureStream.java | 260 byte[] buffer = new byte[len * BYTES_PER_SAMPLE_16BIT * getAudioFormat().getChannels()]; in read() 263 read += read(buffer, read, buffer.length - read); in read() 269 ByteBuffer.wrap(buffer) in read()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/ |
D | LayersTraceParser.kt | 243 private fun newActiveBuffer(buffer: Args?): ActiveBuffer { in <lambda>() 244 if (buffer == null) { in <lambda>() 248 buffer.getChild("width")?.getInt() ?: 0, in <lambda>() 249 buffer.getChild("height")?.getInt() ?: 0, in <lambda>() 250 buffer.getChild("stride")?.getInt() ?: 0, in <lambda>() 251 buffer.getChild("format")?.getInt() ?: 0 in <lambda>()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | OatDumpCollector.java | 111 byte[] buffer = new byte[1024]; in collectOatDumpAndMetrics() 114 while ((length = oatDumpInputStream.read(buffer)) > 0) { in collectOatDumpAndMetrics() 115 outputStream.write(buffer, 0, length); in collectOatDumpAndMetrics()
|
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/ |
D | ReadElfTest.java | 282 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/ |
D | StatsdListener.java | 569 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/libraries/collectors-helper/memory/src/com/android/helpers/ |
D | DumpsysMeminfoHelper.java | 278 byte[] buffer = new byte[32768]; in readInputStreamFully() 281 while ((count = is.read(buffer)) != -1) { in readInputStreamFully() 282 os.write(buffer, 0, count); in readInputStreamFully()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/ |
D | ScreenRecordingRunnable.kt | 185 val buffer = in writeMetadata() constant 201 muxer.writeSampleData(metadataTrackIndex, buffer, bufferInfo) in writeMetadata()
|
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/ |
D | AppLaunchTests.java | 340 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/sts-common-util/sts-sdk/package/gradle/wrapper/ |
D | gradle-wrapper.jar | ... .net.URL url
String userAgentValue
byte[] buffer
int numRead
int contentLength
long progressCounter
long numDownloaded
java. ... |
/platform_testing/libraries/device-collectors/src/test/platform/android/device/collectors/ |
D | StatsdListenerTest.java | 716 CodedOutputByteBufferNano buffer = CodedOutputByteBufferNano.newInstance(serialized); in serialize() local 717 message.writeTo(buffer); in serialize()
|