Home
last modified time | relevance | path

Searched refs:readBytes (Results 1 – 16 of 16) sorted by relevance

/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/
DResultReader.kt71 override fun readBytes(traceType: TraceType, tag: String): ByteArray? = in <lambda>() method
72 artifact.readBytes(ResultArtifactDescriptor(traceType, tag)) in <lambda>()
84 val traceData = artifact.readBytes(descriptor) in <lambda>()
98 artifact.readBytes(descriptor)?.let { in <lambda>()
129 artifact.readBytes(descriptor)?.let { in <lambda>()
162 val traceData = artifact.readBytes(descriptor) in <lambda>()
185 val traceData = artifact.readBytes(ResultArtifactDescriptor(TraceType.TRANSACTION)) in <lambda>()
231 val traceData = artifact.readBytes(ResultArtifactDescriptor(TraceType.PERFETTO)) in <lambda>()
247 val traceData = artifact.readBytes(ResultArtifactDescriptor(TraceType.PERFETTO)) in <lambda>()
259 artifact.readBytes(ResultArtifactDescriptor(TraceType.LEGACY_WM_TRANSITION)) in <lambda>()
[all …]
DFileArtifact.kt109 override fun readBytes(descriptor: ResultArtifactDescriptor): ByteArray? { in readBytes() method
/platform_testing/libraries/flicker/test/src/android/tools/
DUtils.kt57 TraceProcessorSession.loadPerfettoTrace(scenarioTraces.perfetto.readBytes()) { session -> in <lambda>()
65 wmTrace = WindowManagerTraceParser().parse(scenarioTraces.wmTrace.readBytes()), in <lambda>()
70 scenarioTraces.wmTransitions.readBytes(), in <lambda>()
71 scenarioTraces.shellTransitions.readBytes() in <lambda>()
74 eventLog = EventLogParser().parse(scenarioTraces.eventLog.readBytes()), in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/io/
DArtifact.kt28 fun readBytes(descriptor: ResultArtifactDescriptor): ByteArray? method
DReader.kt72 fun readBytes(traceType: TraceType, tag: String = Tag.ALL): ByteArray? method
/platform_testing/tools/automotive/proxy/
Dproxy.cpp67 int readBytes = read(src_fd, buf, BUFFER_SIZE); in transferBytes() local
68 if (readBytes <= 0) { in transferBytes()
71 int writtenBytes = write(dst_fd, buf, readBytes); in transferBytes()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DTestArtifact.kt38 override fun readBytes(descriptor: ResultArtifactDescriptor): ByteArray? = null in traceCount() method
DParsedTracesReader.kt82 override fun readBytes(traceType: TraceType, tag: String): ByteArray? { in readLayersDump() method in android.tools.utils.ParsedTracesReader
/platform_testing/libraries/flicker/utils/src/android/tools/traces/
DUtils.kt53 return inputStream.readBytes() in executeShellCommand()
77 return inputStream.readBytes() in doBinderDump()
/platform_testing/libraries/audio-test-harness/client-lib/src/test/java/com/android/media/audiotestharness/client/grpc/
DGrpcAudioCaptureStreamTests.java150 byte[] readBytes = new byte[AudioTestHarnessTestImpl.MESSAGE.length];
152 int numBytesRead = grpcAudioCaptureStream.read(readBytes);
155 assertArrayEquals(AudioTestHarnessTestImpl.MESSAGE, readBytes);
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DFontsUtils.kt44 val oldContents = File(arscPath).readBytes() in createAndApplyResourcesProvider()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/
DTraceMonitor.kt111 val bytes = reader.readBytes(traceType, tag) ?: error("Missing trace $traceType") in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/view/
DViewTraceMonitorTest.kt73 reader.readBytes(traceMonitor.traceType, tag) in captureTrace()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/
DTraceMonitorTest.kt98 reader.readBytes(traceMonitor.traceType, tag) in captureTrace()
DScreenRecorderTest.kt74 reader.readBytes(TraceType.SCREEN_RECORDING) ?: error("Screen recording not found") in videoIsRecorded()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DInputDeviceRule.kt140 writeCommand(it.readBytes()) in <lambda>()