Home
last modified time | relevance | path

Searched refs:toByteArray (Results 1 – 21 of 21) sorted by relevance

/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DMetricsXmlSerializerTest.java60 assertEquals(HEADER.length(), mByteArrayOutputStream.toByteArray().length); in testSerialize_null()
68 assertEquals(HEADER.length(), mByteArrayOutputStream.toByteArray().length); in testSerialize_noData()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DResultUploader.java70 return byteOutput.toByteArray(); in getBytes()
DMultipartForm.java147 return byteOutput.toByteArray(); in getContentBody()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/service/
DErrorParserTest.kt49 private val traceBytes = trace.toByteArray()
DTagParserTest.kt50 private val traceBytes = trace.toByteArray()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/errors/
DExtensions.kt45 val errorTraceBytes = proto.toByteArray() in ErrorTrace()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/tags/
DExtensions.kt42 val tagTraceBytes = proto.toByteArray() in writeToFile()
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/
DMetricUtility.java133 return out.toByteArray(); in executeCommandBlocking()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/monitor/
DTraceMonitorTest.kt87 val trace = Files.toByteArray(testFile) in captureTrace()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DStatsdHelper.java76 getStatsManager().addConfig(configId, toByteArray(config)); in addEventConfig()
130 getStatsManager().addConfig(configId, toByteArray(config)); in addGaugeConfig()
373 private static byte[] toByteArray(StatsdConfigProto.StatsdConfig config) throws IOException { in toByteArray() method in StatsdHelper
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DUtils.kt80 return ByteStreams.toByteArray(inputStream) in readTestFile()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DThemeHelper.java83 byteArray = outStream.toByteArray(); in setWallpaper()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DDumpsysMeminfoHelper.java193 return os.toByteArray(); in readInputStreamFully()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DScreenshotTestRule.kt284 it.write(resultProto.build().toString().toByteArray()) in reportResult()
290 it.write(resultProto.build().toByteArray()) in reportResult()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DRootcanalUtils.java418 return ret.toByteArray(); in readHciPacket()
483 rootcanalTestChannel.getOutputStream().write(msg.toByteArray()); in sendTestChannelCommand()
/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/grpc/
DGrpcAudioCaptureStream.java301 mPipedOutputStream.write(value.getData().toByteArray()); in onNext()
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/javasound/
DJavaAudioCapturerTests.java156 assertArrayEquals(expectedBytes, byteArrayOutputStream.toByteArray()); in attachOutput_attachesOutputSuccessfully_outputStream()
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/
DCaptureChunkStreamObserverOutputStreamTests.java362 writtenBytes.add(value.getData().toByteArray()); in createStreamObserverThatWritesTo()
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/
DAppLaunchTests.java223 fileOutputStream.write(stopStream.toByteArray()); in testAppLaunchPerformance()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBaseMetricListener.java336 return out.toByteArray(); in executeCommandBlocking()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DStatsdListener.java589 return outputStream.toByteArray(); in readInputStream()