Home
last modified time | relevance | path

Searched refs:flicker (Results 1 – 25 of 360) sorted by relevance

12345678910>>...15

/platform_testing/libraries/flicker/src/android/tools/flicker/config/
DFlickerServiceConfig.kt17 package android.tools.flicker.config
19 import android.tools.flicker.config.appclose.AppClose
20 import android.tools.flicker.config.applaunch.AppLaunch
21 import android.tools.flicker.config.foldables.Foldables
22 import android.tools.flicker.config.gesturenav.GestureNav
23 import android.tools.flicker.config.ime.Ime
24 import android.tools.flicker.config.launcher.Launcher
25 import android.tools.flicker.config.lockscreen.Lockscreen
26 import android.tools.flicker.config.notification.Notification
27 import android.tools.flicker.config.others.Others
[all …]
DAssertionTemplates.kt17 package android.tools.flicker.config
19 import android.tools.flicker.AssertionInvocationGroup
20 import android.tools.flicker.assertors.assertions.AppLayerBecomesInvisible
21 import android.tools.flicker.assertors.assertions.AppLayerBecomesVisible
22 import android.tools.flicker.assertors.assertions.AppLayerCoversFullScreenAtEnd
23 import android.tools.flicker.assertors.assertions.AppLayerCoversFullScreenAtStart
24 import android.tools.flicker.assertors.assertions.AppLayerIsInvisibleAtEnd
25 import android.tools.flicker.assertors.assertions.AppLayerIsInvisibleAtStart
26 import android.tools.flicker.assertors.assertions.AppLayerIsVisibleAlways
27 import android.tools.flicker.assertors.assertions.AppLayerIsVisibleAtEnd
[all …]
/platform_testing/libraries/flicker/src/android/tools/flicker/datastore/
DDataStore.kt17 package android.tools.flicker.datastore
20 import android.tools.flicker.ScenarioInstance
21 import android.tools.flicker.assertions.ScenarioAssertion
39 android.tools.flicker.datastore.DataStore.cachedResults = mutableMapOf() in clear()
40 android.tools.flicker.datastore.DataStore.cachedFlickerServiceAssertions = mutableMapOf() in clear()
43 fun backup(): android.tools.flicker.datastore.DataStore.Backup { in backup()
44 return android.tools.flicker.datastore.DataStore.Backup( in backup()
45 android.tools.flicker.datastore.DataStore.cachedResults.toMutableMap(), in backup()
46 android.tools.flicker.datastore.DataStore.cachedFlickerServiceAssertions.toMutableMap() in backup()
50 fun restore(backup: android.tools.flicker.datastore.DataStore.Backup) { in restore()
[all …]
/platform_testing/libraries/flicker/src/android/tools/flicker/config/ime/
DImeInsetsHideAnimation.kt17 package android.tools.flicker.config.ime
19 import android.tools.flicker.AssertionInvocationGroup
20 import android.tools.flicker.assertors.assertions.LayerBecomesInvisible
21 import android.tools.flicker.assertors.assertions.NonAppWindowBecomesInvisible
22 import android.tools.flicker.config.AssertionTemplates
23 import android.tools.flicker.config.FlickerConfigEntry
24 import android.tools.flicker.config.ScenarioId
25 import android.tools.flicker.config.ime.Components.IME
26 import android.tools.flicker.extractors.TaggedCujTransitionMatcher
27 import android.tools.flicker.extractors.TaggedScenarioExtractorBuilder
DImeInsetsShowAnimation.kt17 package android.tools.flicker.config.ime
19 import android.tools.flicker.AssertionInvocationGroup
20 import android.tools.flicker.assertors.assertions.LayerBecomesVisible
21 import android.tools.flicker.assertors.assertions.NonAppWindowBecomesVisible
22 import android.tools.flicker.config.AssertionTemplates
23 import android.tools.flicker.config.FlickerConfigEntry
24 import android.tools.flicker.config.ScenarioId
25 import android.tools.flicker.config.ime.Components.IME
26 import android.tools.flicker.extractors.TaggedScenarioExtractorBuilder
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/
DAssertionTemplate.kt17 package android.tools.flicker.assertors
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.AssertionData
21 import android.tools.flicker.assertions.FlickerTest
22 import android.tools.flicker.assertions.ServiceFlickerTest
23 import android.tools.flicker.assertions.SubjectsParser
37 abstract fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) in qualifiedAssertionName()
40 val flicker = ServiceFlickerTest() in qualifiedAssertionName() constant
44 doEvaluate(scenarioInstance, flicker) in qualifiedAssertionName()
56 return flicker.assertions + mainBlockAssertions in qualifiedAssertionName()
/platform_testing/libraries/flicker/test/src/android/tools/integration/
DFullTestRun.kt23 import android.tools.flicker.AssertionInvocationGroup
24 import android.tools.flicker.FlickerConfig
25 import android.tools.flicker.ScenarioInstance
26 import android.tools.flicker.annotation.ExpectedScenarios
27 import android.tools.flicker.annotation.FlickerConfigProvider
28 import android.tools.flicker.assertions.FlickerTest
29 import android.tools.flicker.assertors.AssertionTemplate
30 import android.tools.flicker.config.FlickerConfig
31 import android.tools.flicker.config.FlickerConfigEntry
32 import android.tools.flicker.config.FlickerServiceConfig
[all …]
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DScreenLockedAtStart.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.AssertionTemplate
25 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
26 flicker.assertLayersStart { isEmpty() } in doEvaluate()
DVisibleWindowsShownMoreThanOneConsecutiveEntry.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.AssertionTemplate
29 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
30 flicker.assertWm { visibleWindowsShownMoreThanOneConsecutiveEntry() } in doEvaluate()
DVisibleLayersShownMoreThanOneConsecutiveEntry.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.AssertionTemplate
22 import android.tools.flicker.subject.layers.LayersTraceSubject.Companion.VISIBLE_FOR_MORE_THAN_ONE_…
33 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
34 flicker.assertLayers { in doEvaluate()
DAppWindowIsInvisibleAtEnd.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.ComponentTemplate
27 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
28 flicker.assertWmEnd { isAppWindowInvisible(component.build(scenarioInstance)) } in doEvaluate()
DAppLayerIsInvisibleAtStart.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.ComponentTemplate
27 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
28 flicker.assertLayersStart { isInvisible(component.build(scenarioInstance)) } in doEvaluate()
DAppWindowIsInvisibleAtStart.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.ComponentTemplate
26 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
27 flicker.assertWmStart { isAppWindowInvisible(component.build(scenarioInstance)) } in doEvaluate()
DAppWindowIsTopWindowAtStart.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.ComponentTemplate
26 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
27 flicker.assertWmStart { isAppWindowOnTop(component.build(scenarioInstance)) } in doEvaluate()
DAppWindowOnTopAtStart.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.ComponentTemplate
26 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
27 flicker.assertWmStart { isAppWindowOnTop(component.build(scenarioInstance)) } in doEvaluate()
DAppLayerIsVisibleAlways.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.ComponentTemplate
27 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
28 flicker.assertLayers { isVisible(component.build(scenarioInstance)) } in doEvaluate()
DAppLayerIsInvisibleAtEnd.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.ComponentTemplate
27 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
28 flicker.assertLayersEnd { isInvisible(component.build(scenarioInstance)) } in doEvaluate()
DLayerIsInvisibleAtEnd.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.ComponentTemplate
27 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
28 flicker.assertLayersEnd { isInvisible(component.build(scenarioInstance)) } in doEvaluate()
DAppWindowOnTopAtEnd.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.ComponentTemplate
26 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
27 flicker.assertWmEnd { isAppWindowOnTop(component.build(scenarioInstance)) } in doEvaluate()
DLayerIsInvisibleAtStart.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.ComponentTemplate
27 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
28 flicker.assertLayersStart { isInvisible(component.build(scenarioInstance)) } in doEvaluate()
DAppWindowIsVisibleAtStart.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.ComponentTemplate
26 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
27 flicker.assertWmStart { isAppWindowVisible(component.build(scenarioInstance)) } in doEvaluate()
DNonAppWindowIsVisibleAtStart.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.ComponentTemplate
27 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
28 flicker.assertWmStart { isNonAppWindowVisible(component.build(scenarioInstance)) } in doEvaluate()
DNonAppWindowIsInvisibleAlways.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.ComponentTemplate
27 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
28 flicker.assertWm { isNonAppWindowInvisible(component.build(scenarioInstance)) } in doEvaluate()
DLayerIsVisibleAtEnd.kt17 package android.tools.flicker.assertors.assertions
19 import android.tools.flicker.ScenarioInstance
20 import android.tools.flicker.assertions.FlickerTest
21 import android.tools.flicker.assertors.ComponentTemplate
27 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate()
28 flicker.assertLayersEnd { isVisible(component.build(scenarioInstance)) } in doEvaluate()
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/runner/
DTransitionRunner.kt17 package android.tools.flicker.legacy.runner
25 import android.tools.flicker.legacy.FlickerTestData
26 import android.tools.flicker.rules.ArtifactSaverRule
27 import android.tools.flicker.rules.ChangeDisplayOrientationRule
28 import android.tools.flicker.rules.LaunchAppRule
29 import android.tools.flicker.rules.RemoveAllTasksButHomeRule
44 private val resultWriter: ResultWriter = android.tools.flicker.datastore.CachedResultWriter()
47 fun execute(flicker: FlickerTestData, description: Description?): IResultData { in execute()
49 resultWriter.forScenario(scenario).withOutputDir(flicker.outputDir) in execute()
51 val ruleChain = buildTestRuleChain(flicker) in execute()
[all …]

12345678910>>...15