Home
last modified time | relevance | path

Searched refs:newBuilder (Results 1 – 25 of 38) sorted by relevance

12

/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/
DPerfettoTraceMonitor.kt134 val config = DataSourceConfig.newBuilder().setName(VIEWCAPTURE_DATA_SOURCE).build() in enableViewCaptureTrace()
146 TraceConfig.newBuilder() in build()
149 TraceConfig.BufferConfig.newBuilder() in build()
161 TraceConfig.IncrementalStateConfig.newBuilder() in build()
170 return DataSourceConfig.newBuilder().setName(IME_DATA_SOURCE).build() in createImeDataSourceConfig()
176 return DataSourceConfig.newBuilder() in createLayersTraceDataSourceConfig()
179 SurfaceFlingerLayersConfig.newBuilder() in createLayersTraceDataSourceConfig()
190 return DataSourceConfig.newBuilder() in createLayersDumpDataSourceConfig()
193 SurfaceFlingerLayersConfig.newBuilder() in createLayersDumpDataSourceConfig()
202 return DataSourceConfig.newBuilder() in createTransactionsDataSourceConfig()
[all …]
DMonitorUtils.kt68 PerfettoTraceMonitor.newBuilder() in withSFTracing()
87 PerfettoTraceMonitor.newBuilder() in withTransactionsTracing()
107 PerfettoTraceMonitor.newBuilder().enableLayersTrace().enableTransactionsTrace().build(), in withTracing()
137 PerfettoTraceMonitor.newBuilder().enableLayersTrace().build().withTracing { in recordTraces()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DProfileTest.java54 Configuration.newBuilder()
57 Scenario.newBuilder()
62 Scenario.newBuilder()
67 Scenario.newBuilder()
75 Configuration.newBuilder()
78 Scenario.newBuilder()
82 .addScenarios(Scenario.newBuilder().setAt("00:02:00").setJourney("invalid"))
88 Configuration.newBuilder()
92 Scenario.newBuilder().setJourney(
98 Configuration.newBuilder()
[all …]
DScheduledScenarioRunnerTest.java94 Scenario.newBuilder() in testOverTimeTest_throwsTestTimedOutException()
136 Scenario.newBuilder() in testOverTimeTest_doesNotIdleBeforeTeardown()
160 Scenario.newBuilder() in testOverTimeTest_idlesAfterTeardownUntilNextScenario()
187 Scenario.newBuilder() in testRespectsAfterTestPolicy_stayInApp()
218 Scenario.newBuilder() in testRespectsAfterTestPolicy_exit()
245 Scenario.newBuilder() in testIgnoredScenario_doesIdle()
281 Scenario.newBuilder() in testLastScenarioDoesNotIdle()
331 Scenario.newBuilder().build(), in testTeardownLeewayOverride()
/platform_testing/tests/example/perf/src/android/test/example/helloworldperformance/
DHelloWorldPerformanceTest.java40 Metric.newBuilder() in testHelloWorld()
42 .setMeasurements(Measurements.newBuilder().setSingleString("10")) in testHelloWorld()
50 Metric.newBuilder() in testHalloWelt()
52 .setMeasurements(Measurements.newBuilder().setSingleString("20")) in testHalloWelt()
/platform_testing/host_runners/utils/tests/src/com/android/runner/utils/
DInstrumentationResultProtoParserTest.java759 Session.newBuilder().setSessionStatus(getSessionStatusProto(false, false)).build(); in buildNoTestResultsProtoFile()
774 Session.newBuilder() in buildSingleTestMetricSuccessProtoFile()
793 Session.newBuilder() in buildRunMetricSuccessProtoFile()
812 Session.newBuilder() in buildTestAndRunMetricSuccessProtoFile()
837 Session.newBuilder() in buildMultipleTestAndRunMetricSuccessProtoFile()
856 Session.newBuilder() in buildSingleTestFailureProtoFile()
880 Session.newBuilder() in buildOneTestPassOneTestFailProtoFile()
895 Session sessionProto = Session.newBuilder().addAllTestStatus(testStatusList).build(); in buildTestsIncompleteProtoFile()
914 Session sessionProto = Session.newBuilder().addAllTestStatus(testStatusList).build(); in buildPartialTestsIncompleteProtoFile()
931 Session sessionProto = Session.newBuilder().addAllTestStatus(testStatusList).build(); in buildOneTestNotStarted()
[all …]
/platform_testing/libraries/audio-test-harness/common/src/main/java/com/android/media/audiotestharness/common/
DDefaults.java37 AudioFormat.newBuilder()
52 AudioDevice.newBuilder()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/
DPerfettoTraceMonitorTest.kt46 PerfettoTraceMonitor.newBuilder().enableLayersTrace().enableTransactionsTrace().build() in <lambda>()
76 val traceData = PerfettoTraceMonitor.newBuilder().enableLayersDump().build().withTracing {} in <lambda>()
95 val traceMonitor = PerfettoTraceMonitor.newBuilder().enableTransitionsTrace().build() in <lambda>()
117 val traceMonitor = PerfettoTraceMonitor.newBuilder().enableImeTrace().build() in <lambda>()
163 val traceMonitor = PerfettoTraceMonitor.newBuilder().enableViewCaptureTrace().build() in <lambda>()
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/javasound/
DJavaAudioSystemServiceTests.java87 AudioDevice.newBuilder() in getDevices_returnsProperDevices_twoConfiguredDevices()
91 AudioDevice.newBuilder().setName("Mixer Two").build()); in getDevices_returnsProperDevices_twoConfiguredDevices()
129 AudioDevice audioDevice = AudioDevice.newBuilder().setName("Right").build(); in createCapturerFor_selectsProperMixerFromMultiple_forName()
153 AudioDevice.newBuilder().addCapabilities(AudioDevice.Capability.CAPTURE).build(); in createCapturerFor_selectsProperMixerFromMultiple_Capability()
173 AudioDevice.newBuilder().setName("Mixer").build(), Defaults.AUDIO_FORMAT); in createCapturerFor_opensTargetDataLineCorrectly()
/platform_testing/libraries/sts-common-util/host-side/tests/src/com/android/sts/common/util/
DTombstoneUtilsTest.java184 Tombstone.newBuilder() in testNullFaultAddress()
187 Signal.newBuilder().setName(TombstoneUtils.Signals.SIGSEGV).build()) in testNullFaultAddress()
203 Tombstone.newBuilder() in testAbortMessageInclude()
206 Signal.newBuilder().setName(TombstoneUtils.Signals.SIGABRT).build()) in testAbortMessageInclude()
234 Tombstone.newBuilder() in testAbortMessageExclude()
237 Signal.newBuilder().setName(TombstoneUtils.Signals.SIGABRT).build()) in testAbortMessageExclude()
265 Tombstone.newBuilder() in testAbortMessageExcludeCannotLink()
268 Signal.newBuilder().setName(TombstoneUtils.Signals.SIGABRT).build()) in testAbortMessageExcludeCannotLink()
282 Tombstone.newBuilder() in testAbortMessageExcludeCannotLink()
285 Signal.newBuilder().setName(TombstoneUtils.Signals.SIGABRT).build()) in testAbortMessageExcludeCannotLink()
[all …]
/platform_testing/libraries/audio-test-harness/client-lib/src/test/java/com/android/media/audiotestharness/client/grpc/
DAudioTestHarnessTestImpl.java43 AudioTestHarnessService.CaptureChunk.newBuilder() in capture()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/util/
DTombstoneParser.java175 Tombstone.Builder tombstoneBuilder = Tombstone.newBuilder(); in parseLogcat()
342 com.android.server.os.TombstoneProtos.Thread.newBuilder(); in parseTombstone()
360 FD.newBuilder() in parseTombstone()
384 com.android.server.os.TombstoneProtos.Thread.newBuilder(); in parseMainThread()
409 Signal.newBuilder() in parseMainThread()
464 Cause.Builder causeBuilder = Cause.newBuilder(); in parseMainThread()
478 MemoryError.Builder memoryErrorBuilder = MemoryError.newBuilder(); in parseMainThread()
479 HeapObject.Builder heapObjectBuilder = HeapObject.newBuilder(); in parseMainThread()
540 MemoryMapping.Builder memoryMappingBuilder = MemoryMapping.newBuilder(); in parseMainThread()
698 BacktraceFrame.newBuilder() in parseBacktrace()
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/view/
DViewFrameBuilderTest.kt48 private val TEST_NODE = ViewNode.newBuilder().setId("TEST").build()
/platform_testing/tests/automotive/health/boottime/src/android/boottime/postprocessor/
DBaseBootTimeTestLogPostProcessor.java91 MetricMeasurement.Measurements.newBuilder().setSingleString(stringValue); in buildTfMetrics()
93 MetricMeasurement.Metric.newBuilder().setMeasurements(measurement); in buildTfMetrics()
/platform_testing/libraries/flag-helpers/junit/test/src/android/platform/test/flag/junit/host/
DHostFlagsValueProviderTest.java51 .newBuilder()
54 .newBuilder()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/
DAlmostPerfectMatcher.kt75 ScreenshotResultProto.DiffResult.ComparisonStatistics.newBuilder() in <lambda>()
127 ScreenshotResultProto.DiffResult.ComparisonStatistics.newBuilder() in <lambda>()
DPixelPerfectMatcher.kt53 ScreenshotResultProto.DiffResult.ComparisonStatistics.newBuilder() in <lambda>()
DBitmapMatcher.kt90 ScreenshotResultProto.DiffResult.ComparisonStatistics.newBuilder() in <lambda>()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/report/
DScubaExportStrategy.kt58 ScreenshotResultProto.DiffResult.newBuilder() in reportResult()
61 ScreenshotResultProto.Metadata.newBuilder() in reportResult()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/
DScreenshotTestRuleTest.kt125 DiffResult.ComparisonStatistics.newBuilder() in goldenIdentifierResolver()
153 DiffResult.ComparisonStatistics.newBuilder() in goldenIdentifierResolver()
181 DiffResult.ComparisonStatistics.newBuilder() in goldenIdentifierResolver()
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/
DBatterystatsCollectorHostTest.java97 runData.addMetric(key, Metric.newBuilder().setMeasurements( in testBatteryStatsListener_perRun()
98 Measurements.newBuilder().setSingleString(metricFile.getAbsolutePath()) in testBatteryStatsListener_perRun()
/platform_testing/libraries/flag-helpers/junit/src_host/android/platform/test/flag/junit/host/
DHostFlagsValueProvider.java56 CACHED_DEVICE_FLAGS = CacheBuilder.newBuilder().build(cacheLoader);
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/service/
DCaptureChunkStreamObserverOutputStream.java133 AudioTestHarnessService.CaptureChunk.newBuilder().setData(chunkBytes).build(); in write()
/platform_testing/libraries/flicker/src/android/tools/flicker/
DUtils.kt48 val perfettoMonitorBuilder = PerfettoTraceMonitor.newBuilder() in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/
DUtils.kt110 PerfettoTraceMonitor.newBuilder().enableLayersDump().build().withTracing {} in getCurrentWindowManagerState()

12