Home
last modified time | relevance | path

Searched refs:read (Results 1 – 22 of 22) sorted by relevance

/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/grpc/
DGrpcAudioCaptureStream.java42 public int read(byte[] b) throws IOException { in read() method in GrpcAudioCaptureStream
43 return super.read(b); in read()
47 public int read(byte[] b, int off, int len) throws IOException { in read() method in GrpcAudioCaptureStream
48 return super.read(b, off, len); in read()
82 public int read() throws IOException { in read() method in GrpcAudioCaptureStream
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DStreamUtil.java46 while ((size = inStream.read(buf)) != -1) { in copyStreams()
60 while ((length = inputStream.read(buffer)) != -1) { in readInputStream()
68 while (reader.read() >= 0) {} in drainAndClose()
DResultUploader.java66 while ((count = input.read(buffer)) > 0) { in getBytes()
DBusinessLogicFactory.java278 while ((irChar = ir.read()) != -1) { in readStream()
DReadElf.java572 public static ReadElf read(File file) throws IOException { in read() method in ReadElf
578 ReadElf elf = ReadElf.read(new File(arg)); in main()
1211 return mFile.read() & 0xff; in readByte()
DChecksumReporter.java355 while ((cnt = inputStream.read(buffer)) != -1) { in calculateFileChecksum()
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/javasound/
DJavaAudioCapturer.java203 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/
DMetricsAsserts.java39 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/collectors-helper/utilities/src/com/android/helpers/
DMetricUtility.java89 while ((length = is.read(buf)) >= 0) { in executeCommandBlocking()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/
DTraceMonitor.kt87 while (channel.read(buffer) != -1) { in calculateChecksum()
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/javasound/
DJavaAudioCapturerTests.java126 when(mTargetDataLine.read(any(), anyInt(), anyInt())) in attachOutput_attachesOutputSuccessfully_outputStream()
167 when(mTargetDataLine.read(any(), anyInt(), anyInt())) in attachOutput_attachesOutputSuccessfully_file()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/
DAndroid.bp30 * 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/
DFilesystemUtil.java137 bytesRead = in.read(buffer); in pipe()
/platform_testing/libraries/health/runners/longevity/platform/tests/
DAndroid.bp34 * directory in the package, which can then be read with asset manager.
/platform_testing/libraries/health/runners/longevity/platform/samples/
DAndroid.bp34 * directory in the package, which can then be read with asset manager.
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBatteryStatsListener.java190 while((bytes = is.read(buf)) != -1) { in dumpBatteryStats()
DBaseMetricListener.java283 while ((length = is.read(buf)) >= 0) { in executeCommandBlocking()
/platform_testing/tests/health/scenarios/tests/
DAndroid.bp34 * directory in the package, which can then be read with asset manager.
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DDumpsysMeminfoHelper.java186 while ((count = is.read(buffer)) != -1) { in readInputStreamFully()
/platform_testing/utils/wifistrengthscanner/src/com/android/test/util/wifistrengthscanner/
DWifiStrengthScannerInstrumentation.java176 while ((bytesRead = fis.read(buf)) != -1) { in executeCommand()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DStatsdListener.java526 int size = in.read(buffer); in readInputStream()
529 size = in.read(buffer); in readInputStream()
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/
DAppLaunchTests.java342 while ((length = inputStream.read(buffer)) >= 0) { in writeDataToByteStream()