Home
last modified time | relevance | path

Searched refs:build (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/platform_testing/libraries/flicker/utils/test/src/android/tools/io/
DArtifactBuilderTest.kt34 val artifact = createDefaultArtifactBuilder(status).build() in buildArtifactAndFileExists()
43 val artifact = createDefaultArtifactBuilder(status).build() in buildArtifactWithStatus()
52 val artifact = createDefaultArtifactBuilder(RunStatus.RUN_FAILED).build() in buildArtifactWithScenario()
63 createDefaultArtifactBuilder(RunStatus.RUN_FAILED, outputDir = expectedDir).build() in buildArtifactWithOutputDir()
73 createDefaultArtifactBuilder(RunStatus.RUN_FAILED, files = expectedFiles).build() in buildArtifactWithFiles()
82 val artifact1 = builder.build() in buildArtifactAvoidDuplicate()
83 val artifact2 = builder.build() in buildArtifactAvoidDuplicate()
96 val artifact1 = builder.build() in buildTwoArtifactsThatAreDifferentWithSameStatus()
97 val artifact2 = builder.build() in buildTwoArtifactsThatAreDifferentWithSameStatus()
104 val artifact1 = createDefaultArtifactBuilder(RunStatus.RUN_FAILED).build() in buildTwoArtifactsThatAreDifferent()
[all …]
DArtifactTest.kt29 val artifact1 = createDefaultArtifactBuilder(RunStatus.RUN_FAILED, outputDir).build() in equalityTestSameFile()
31 val artifact2 = createDefaultArtifactBuilder(RunStatus.RUN_FAILED, outputDir).build() in equalityTestSameFile()
38 val artifact1 = createDefaultArtifactBuilder(RunStatus.RUN_FAILED, outputDir).build() in equalityTestDifferentFile()
39 val artifact2 = createDefaultArtifactBuilder(RunStatus.RUN_FAILED, outputDir).build() in equalityTestDifferentFile()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/
DComponentTemplate.kt24 val build: (scenarioInstance: ScenarioInstance) -> IComponentMatcher constant in android.tools.flicker.assertors.ComponentTemplate
27 return other is ComponentTemplate && name == other.name && build == other.build in equals()
31 return name.hashCode() * 39 + build.hashCode() in hashCode()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/res/testApp/MyApplication/
D.gitignore10 /build/*
11 !/build/intermediates/
13 /build/intermediates/*
14 !/build/intermediates/javac/
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DPipWindowBecomesInvisible.kt33 it.isPinned(component.build(scenarioInstance)) in doEvaluate()
34 .isAppWindowVisible(component.build(scenarioInstance)) in doEvaluate()
38 it.isNotPinned(component.build(scenarioInstance)) in doEvaluate()
39 .isAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate()
DAppLayerBecomesVisible.kt35 isInvisible(component.build(scenarioInstance)) in doEvaluate()
41 .isVisible(component.build(scenarioInstance), isOptional = true) in doEvaluate()
47 .or(component.build(scenarioInstance)) in doEvaluate()
DAppWindowBecomesVisible.kt35 isAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate()
41 .isAppWindowVisible(component.build(scenarioInstance), isOptional = true) in doEvaluate()
47 .or(component.build(scenarioInstance)) in doEvaluate()
DLayerBecomesVisible.kt31 isInvisible(component.build(scenarioInstance)) in doEvaluate()
33 .isVisible(component.build(scenarioInstance)) in doEvaluate()
DLayerBecomesInvisible.kt31 isVisible(component.build(scenarioInstance)) in doEvaluate()
33 .isInvisible(component.build(scenarioInstance)) in doEvaluate()
DWindowMovesToTop.kt29 isAppWindowNotOnTop(component.build(scenarioInstance)) in doEvaluate()
31 .isAppWindowOnTop(component.build(scenarioInstance)) in doEvaluate()
DAppLayerBecomesInvisible.kt32 isVisible(component.build(scenarioInstance)) in doEvaluate()
34 .isInvisible(component.build(scenarioInstance)) in doEvaluate()
DNonAppWindowBecomesVisible.kt32 isNonAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate()
34 .isAppWindowVisible(component.build(scenarioInstance)) in doEvaluate()
DWindowMovesOutOfTop.kt29 isAppWindowOnTop(component.build(scenarioInstance)) in doEvaluate()
31 .isAppWindowNotOnTop(component.build(scenarioInstance)) in doEvaluate()
DAppWindowBecomesInvisible.kt32 isAppWindowVisible(component.build(scenarioInstance)) in doEvaluate()
34 .isAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate()
DNonAppWindowBecomesInvisible.kt32 isNonAppWindowVisible(component.build(scenarioInstance)) in doEvaluate()
34 .isNonAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate()
DAppWindowBecomesPinned.kt29 invoke("appWindowIsNotPinned") { it.isNotPinned(component.build(scenarioInstance)) } in doEvaluate()
31 .invoke("appWindowIsPinned") { it.isPinned(component.build(scenarioInstance)) } in doEvaluate()
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/view/
DViewFrameBuilderTest.kt28 val frame = ViewFrameBuilder().forSystemUptime(1).fromRootNode(TEST_NODE).build() in canCreateViewFrame()
39 ViewFrameBuilder().fromRootNode(TEST_NODE).build() in failCreateFieldFrameWithoutTimestamp()
44 ViewFrameBuilder().forSystemUptime(1).build() in failCreateFieldFrameWithoutNode()
48 private val TEST_NODE = ViewNode.newBuilder().setId("TEST").build()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DMockLayerTraceBuilderTest.kt35 .build() in containerLayerIsInvisible()
47 .build() in childrenLayerInheritsParentBounds()
59 .build() in canAddChildLayer()
70 .build() in canSetLayerVisibility()
81 .build() in invisibleLayerHasNoVisibleBounds()
DMockWindowManagerTraceBuilder.kt32 fun build(): WindowManagerTrace { in <lambda>() method in android.tools.utils.MockWindowManagerTraceBuilder
37 val entries = entries.map { it.build() } in <lambda>()
DMockLayersTraceBuilder.kt32 fun build(): LayersTrace { in <lambda>() method
37 val entries = entries.map { it.build() } in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/
DPerfettoTraceMonitor.kt134 val config = DataSourceConfig.newBuilder().setName(VIEWCAPTURE_DATA_SOURCE).build() in enableViewCaptureTrace()
144 fun build(): PerfettoTraceMonitor { in build() method
151 .build() in build()
166 return PerfettoTraceMonitor(config = configBuilder.build()) in build()
170 return DataSourceConfig.newBuilder().setName(IME_DATA_SOURCE).build() in createImeDataSourceConfig()
182 .build() in createLayersTraceDataSourceConfig()
184 .build() in createLayersTraceDataSourceConfig()
196 .build() in createLayersDumpDataSourceConfig()
198 .build() in createLayersDumpDataSourceConfig()
207 .build() in createTransactionsDataSourceConfig()
[all …]
DMonitorUtils.kt70 .build() in withSFTracing()
89 .build() in withTransactionsTracing()
107 PerfettoTraceMonitor.newBuilder().enableLayersTrace().enableTransactionsTrace().build(), in withTracing()
114 .forScenario(ScenarioBuilder().forClass(tmpFile.name).build()) in withTracing()
137 PerfettoTraceMonitor.newBuilder().enableLayersTrace().build().withTracing { in recordTraces()
/platform_testing/host_runners/utils/tests/src/com/android/runner/utils/
DInstrumentationResultProtoParserTest.java759 Session.newBuilder().setSessionStatus(getSessionStatusProto(false, false)).build(); in buildNoTestResultsProtoFile()
777 .build(); in buildSingleTestMetricSuccessProtoFile()
796 .build(); in buildRunMetricSuccessProtoFile()
815 .build(); in buildTestAndRunMetricSuccessProtoFile()
840 .build(); in buildMultipleTestAndRunMetricSuccessProtoFile()
859 .build(); in buildSingleTestFailureProtoFile()
883 .build(); 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/server/src/test/java/com/android/media/audiotestharness/server/javasound/
DJavaAudioCapturerFactoryTests.java58 mJavaAudioCapturerFactory.build( in build_returnsNonNullForValidParameters()
66 mJavaAudioCapturerFactory.build( in build_throwsNullPointerException_nullAudioDevice()
74 mJavaAudioCapturerFactory.build( in build_throwsNullPointerException_nullAudioFormat()
82 mJavaAudioCapturerFactory.build( in build_throwsNullPointerException_nullTargetDataLine()
91 mJavaAudioCapturerFactory.build( in build_throwsIllegalArgumentException_closedTargetDataLine()
DJavaAudioSystemServiceTests.java90 .build(), in getDevices_returnsProperDevices_twoConfiguredDevices()
91 AudioDevice.newBuilder().setName("Mixer Two").build()); in getDevices_returnsProperDevices_twoConfiguredDevices()
108 .build( in createCapturerFor_buildsAudioCapturerWithFactoryCorrectly()
129 AudioDevice audioDevice = AudioDevice.newBuilder().setName("Right").build(); in createCapturerFor_selectsProperMixerFromMultiple_forName()
134 .build(audioDevice, AudioFormat.getDefaultInstance(), mTargetDataLine); in createCapturerFor_selectsProperMixerFromMultiple_forName()
153 AudioDevice.newBuilder().addCapabilities(AudioDevice.Capability.CAPTURE).build(); in createCapturerFor_selectsProperMixerFromMultiple_Capability()
158 .build(audioDevice, AudioFormat.getDefaultInstance(), mTargetDataLine); in createCapturerFor_selectsProperMixerFromMultiple_Capability()
173 AudioDevice.newBuilder().setName("Mixer").build(), Defaults.AUDIO_FORMAT); in createCapturerFor_opensTargetDataLineCorrectly()

12345678910>>...12