/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/grpc/ |
D | GrpcAudioCaptureStream.java | 135 public int read(byte[] b) throws IOException { in read() method in GrpcAudioCaptureStream 141 return mInputStream.read(b); in read() 159 public int read(byte[] b, int off, int len) throws IOException { in read() method in GrpcAudioCaptureStream 165 return mInputStream.read(b, off, len); in read() 222 public int read() throws IOException { in read() method in GrpcAudioCaptureStream 228 return mInputStream.read(); in read() 235 public int read(short[] samples, int offset, int len) throws IOException { in read() method in GrpcAudioCaptureStream 261 int read = 0; in read() local 263 read += read(buffer, read, buffer.length - read); in read() 264 } while (read % (BYTES_PER_SAMPLE_16BIT * getAudioFormat().getChannels()) != 0); in read() [all …]
|
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | StreamUtil.java | 46 while ((size = inStream.read(buf)) != -1) { in copyStreams() 60 while ((length = inputStream.read(buffer)) != -1) { in readInputStream() 68 while (reader.read() >= 0) {} in drainAndClose()
|
D | ResultUploader.java | 66 while ((count = input.read(buffer)) > 0) { in getBytes()
|
/platform_testing/libraries/audio-test-harness/client-lib/src/test/java/com/android/media/audiotestharness/client/grpc/ |
D | GrpcAudioCaptureStreamTests.java | 152 int numBytesRead = grpcAudioCaptureStream.read(readBytes); 165 grpcAudioCaptureStream.read(); 176 grpcAudioCaptureStream.read(new byte[AudioTestHarnessTestImpl.MESSAGE.length]); 187 grpcAudioCaptureStream.read( 196 grpcAudioCaptureStream.read(new byte[AudioTestHarnessTestImpl.MESSAGE.length]); 211 grpcAudioCaptureStream.read(actual, /* offset= */ 0, /* max= */ actual.length); 221 grpcAudioCaptureStream.read(/* samples= */ new short[4], /* offset= */ -25, /* max= */ 1); 228 grpcAudioCaptureStream.read(/* samples= */ new short[4], /* offset= */ 25, /* max= */ 1); 235 grpcAudioCaptureStream.read(/* samples= */ new short[4], /* offset= */ 0, /* max= */ -24); 242 grpcAudioCaptureStream.read(/* samples= */ new short[4], /* offset= */ 0, /* max= */ 24); [all …]
|
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/javasound/ |
D | JavaAudioCapturer.java | 203 int read; in run() local 211 read = in run() 212 mTargetDataLine.read( in run() 215 String.format("Successfully read %d bytes from mTargetDataLine", read)); in run() 223 output.write(mAudioBuffer, 0, read); in run()
|
/platform_testing/libraries/metrics-helper/src/android/support/test/metricshelper/ |
D | MetricsAsserts.java | 39 reader.read(0); in assertHasActionLog() 57 reader.read(0); in assertHasVisibilityLog() 76 reader.read(0); in findMatchingLogs() 101 reader.read(0); in assertHasLog()
|
/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/core/ |
D | AudioCaptureStream.java | 44 public abstract int read(short[] samples, int offset, int len) throws IOException; in read() method in AudioCaptureStream
|
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/ |
D | RootcanalUtils.java | 375 assertEquals(READ_FAIL_MSG, 1, in.read(typeBuf, 0, 1)); in readHciPacket() 386 assertEquals(READ_FAIL_MSG, 3, in.read(hdrBuf, 0, 3)); in readHciPacket() 392 assertEquals(READ_FAIL_MSG, 4, in.read(hdrBuf, 0, 4)); in readHciPacket() 398 assertEquals(READ_FAIL_MSG, 2, in.read(hdrBuf, 0, 2)); in readHciPacket() 404 assertEquals(READ_FAIL_MSG, 4, in.read(hdrBuf, 0, 4)); in readHciPacket() 415 assertEquals(READ_FAIL_MSG, dataLength, in.read(data, 0, dataLength)); in readHciPacket() 491 in.read(sizeBuf.array(), 0, Integer.BYTES); in readTestChannel() 495 in.read(buf, 0, size); in readTestChannel()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/ |
D | ArtifactBuilder.kt | 117 var count: Int = it.read(data, 0, BUFFER_SIZE) in <lambda>() 120 count = it.read(data, 0, BUFFER_SIZE) in <lambda>()
|
D | FileArtifact.kt | 121 var size = it.read(tmpBuffer, 0, BUFFER_SIZE) in readBytes() 124 size = it.read(tmpBuffer, 0, BUFFER_SIZE) in readBytes()
|
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/ |
D | MetricUtility.java | 132 while ((length = is.read(buf)) >= 0) { in executeCommandBlocking() 154 while (stream.read(buffer) != -1) { 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() method in android.tools.monitors.ScreenRecorderTest.ScreenRecorderSeekableInputReader 216 val actualLength = inputReader.read(auxBuffer, 0, requestLength.toInt()) in processSampleData()
|
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/ |
D | ReadElfTest.java | 111 ReadElf elf = ReadElf.read(targetFile); in checkReadElf() 284 while ((length = input.read(buffer)) > 0) { in getResrouceFile()
|
/platform_testing/libraries/motion/golden_updater/ |
D | watch_local_tests.py | 204 message = json.loads(self.rfile.read(length)) 243 self.wfile.write(f.read()) 407 golden.checksum = hashlib.md5(open(local_file, "rb").read()).hexdigest() 420 open(local_actual_image, "rb").read()
|
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/javasound/ |
D | JavaAudioCapturerTests.java | 126 when(mTargetDataLine.read(any(), anyInt(), anyInt())) in attachOutput_attachesOutputSuccessfully_outputStream() 167 when(mTargetDataLine.read(any(), anyInt(), anyInt())) in attachOutput_attachesOutputSuccessfully_file()
|
/platform_testing/libraries/audio-test-harness/instrumentation/src/com/android/media/audiotestharness/instrumentation/ |
D | AudioTestHarnessCaptureTest.java | 91 audioCaptureStream.read( in testPlayAudioFile_outputsAudio()
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/ |
D | Android.bp | 31 * assets/statsd-configs/ directory in the package, which can then be read with asset manager
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | FilesystemUtil.java | 137 bytesRead = in.read(buffer); in pipe()
|
/platform_testing/tools/automotive/proxy/ |
D | proxy.cpp | 67 int readBytes = read(src_fd, buf, BUFFER_SIZE); in transferBytes()
|
/platform_testing/libraries/health/runners/longevity/platform/samples/ |
D | Android.bp | 35 * directory in the package, which can then be read with asset manager.
|
/platform_testing/libraries/health/runners/longevity/platform/tests/ |
D | Android.bp | 35 * directory in the package, which can then be read with asset manager.
|
/platform_testing/host_runners/utils/src/com/android/runner/utils/ |
D | InstrumentationResultProtoParser.java | 91 fis.read(bytesArray); in processProtoFile()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | OatDumpCollector.java | 114 while ((length = oatDumpInputStream.read(buffer)) > 0) { in collectOatDumpAndMetrics()
|
D | BatteryStatsListener.java | 190 while((bytes = is.read(buf)) != -1) { in dumpBatteryStats()
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | TimedStatement.java | 89 input.read(readBuffer); in calibrateMethod()
|