Home
last modified time | relevance | path

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

/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/collectors-helper/utilities/src/com/android/helpers/
DMetricUtility.java93 return out.toByteArray(); in executeCommandBlocking()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/flicker/
DFlickerRuleBase.java261 byte[] wmTraceByteArray = Files.toByteArray(new File(finalTraceFilePath)); in getWindowManagerTrace()
283 byte[] layersTraceByteArray = Files.toByteArray(new File(finalTraceFilePath)); in getLayersTrace()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DStatsdHelper.java74 getStatsManager().addConfig(configId, toByteArray(config)); in addEventConfig()
128 getStatsManager().addConfig(configId, toByteArray(config)); in addGaugeConfig()
298 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.kt64 return ByteStreams.toByteArray(inputStream) in readTestFile()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/monitor/
DTraceMonitorTest.kt86 val trace = Files.toByteArray(testFile) in captureLayersTrace()
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/
DAudioTestHarnessGrpcServerTests.java164 assertArrayEquals(AudioTestHarnessTestImpl.MESSAGE, chunk.getData().toByteArray()); in assertServerRunningAsExpected()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DDumpsysMeminfoHelper.java193 return os.toByteArray(); in readInputStreamFully()
/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/libraries/device-collectors/src/main/java/android/device/collectors/
DBaseMetricListener.java286 return out.toByteArray(); in executeCommandBlocking()
/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/platform-collectors/src/android/device/collectors/
DStatsdListener.java531 return outputStream.toByteArray(); in readInputStream()