/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/ |
D | MetricsXmlSerializerTest.java | 60 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/ |
D | ResultUploader.java | 70 return byteOutput.toByteArray(); in getBytes()
|
D | MultipartForm.java | 151 return byteOutput.toByteArray(); in getContentBody()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/events/ |
D | EventLogMonitor.kt | 53 it.write("${EventLog.MAGIC_NUMBER}\n".toByteArray()) in doStop()
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/report/ |
D | ScubaExportStrategy.kt | 94 it.write(resultProto.build().toString().toByteArray()) in reportResult() 101 it.write(resultProto.build().toByteArray()) in reportResult()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/ |
D | ScreenRecorderTest.kt | 159 return videoTrack.toByteArray() in getVideoTrack() 163 return metadataTrack.toByteArray() in getMetadataTrack()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/ |
D | ScreenRecordingRunnable.kt | 179 WINSCOPE_MAGIC_STRING.toByteArray().size + in writeMetadata() 188 .put(WINSCOPE_MAGIC_STRING.toByteArray()) in writeMetadata()
|
D | PerfettoTraceMonitor.kt | 51 configFile.writeBytes(config.toByteArray()) in doStart()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/events/ |
D | EventLogMonitorTest.kt | 48 Truth.assertThat(traceData.size).isAtLeast(MAGIC_NUMBER.toByteArray().size) in getMonitor() 49 Truth.assertThat(traceData.slice(0 until MAGIC_NUMBER.toByteArray().size)) in getMonitor() 50 .isEqualTo(MAGIC_NUMBER.toByteArray().asList()) in getMonitor()
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | StatsdHelper.java | 77 getStatsManager().addConfig(configId, toByteArray(config)); in addEventConfig() 135 getStatsManager().addConfig(configId, toByteArray(config)); in addGaugeConfig() 412 private static byte[] toByteArray(StatsdConfigProto.StatsdConfig config) throws IOException { in toByteArray() method in StatsdHelper
|
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/ |
D | MetricUtility.java | 136 return out.toByteArray(); in executeCommandBlocking()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/ |
D | FileArtifact.kt | 138 return if (foundFile) outByteArray.toByteArray() else null in readBytes()
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
D | ThemeHelper.java | 83 byteArray = outStream.toByteArray(); in setWallpaper()
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | InputDeviceRule.kt | 178 writeCommand(command.toByteArray()) in <lambda>()
|
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/ |
D | RootcanalUtils.java | 418 return ret.toByteArray(); in readHciPacket() 483 rootcanalTestChannel.getOutputStream().write(msg.toByteArray()); in sendTestChannelCommand()
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
D | LayoutLibTestCallback.java | 158 parser.setInput(new ByteArrayInputStream(byteOutputStream.toByteArray()), null); in createXmlParserForFile()
|
/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/grpc/ |
D | GrpcAudioCaptureStream.java | 301 mPipedOutputStream.write(value.getData().toByteArray()); in onNext()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/ |
D | Utils.kt | 179 return ByteStreams.toByteArray(inputStream) in readAsset()
|
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/javasound/ |
D | JavaAudioCapturerTests.java | 156 assertArrayEquals(expectedBytes, byteArrayOutputStream.toByteArray()); in attachOutput_attachesOutputSuccessfully_outputStream()
|
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/ |
D | DumpsysMeminfoHelper.java | 288 return os.toByteArray(); in readInputStreamFully()
|
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/ |
D | CaptureChunkStreamObserverOutputStreamTests.java | 362 writtenBytes.add(value.getData().toByteArray()); in createStreamObserverThatWritesTo()
|
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/ |
D | AppLaunchTests.java | 223 fileOutputStream.write(stopStream.toByteArray()); in testAppLaunchPerformance()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | BaseMetricListener.java | 344 return out.toByteArray(); in executeCommandBlocking()
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/ |
D | StatsdListener.java | 589 return outputStream.toByteArray(); in readInputStream()
|