/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/ |
D | WindowBecomesPinned.kt | 27 class WindowBecomesPinned(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.WindowBecomesPinned 28 AssertionTemplateWithComponent(component) { 31 val component = component.build(scenarioInstance) in doEvaluate() constant 32 flicker.assertWm { isNotPinned(component).then().isPinned(component) } in doEvaluate()
|
D | PipWindowBecomesInvisible.kt | 27 class PipWindowBecomesInvisible(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.PipWindowBecomesInvisible 28 AssertionTemplateWithComponent(component) { 33 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()
|
D | AppLayerBecomesVisible.kt | 22 import android.tools.traces.component.ComponentNameMatcher 28 class AppLayerBecomesVisible(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.AppLayerBecomesVisible 29 AssertionTemplateWithComponent(component) { 35 isInvisible(component.build(scenarioInstance)) in doEvaluate() 41 .isVisible(component.build(scenarioInstance), isOptional = true) in doEvaluate() 47 .or(component.build(scenarioInstance)) in doEvaluate()
|
D | AppWindowBecomesVisible.kt | 22 import android.tools.traces.component.ComponentNameMatcher 28 class AppWindowBecomesVisible(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.AppWindowBecomesVisible 29 AssertionTemplateWithComponent(component) { 35 isAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate() 41 .isAppWindowVisible(component.build(scenarioInstance), isOptional = true) in doEvaluate() 47 .or(component.build(scenarioInstance)) in doEvaluate()
|
D | RotationLayerAppearsAndVanishes.kt | 22 import android.tools.traces.component.ComponentNameMatcher 28 class RotationLayerAppearsAndVanishes(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.RotationLayerAppearsAndVanishes 29 AssertionTemplateWithComponent(component) { 33 isVisible(component.build(scenarioInstance)) in doEvaluate() 37 .isVisible(component.build(scenarioInstance)) in doEvaluate()
|
D | LayerBecomesVisible.kt | 26 class LayerBecomesVisible(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.LayerBecomesVisible 27 AssertionTemplateWithComponent(component) { 31 isInvisible(component.build(scenarioInstance)) in doEvaluate() 33 .isVisible(component.build(scenarioInstance)) in doEvaluate()
|
D | LayerBecomesInvisible.kt | 26 class LayerBecomesInvisible(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.LayerBecomesInvisible 27 AssertionTemplateWithComponent(component) { 31 isVisible(component.build(scenarioInstance)) in doEvaluate() 33 .isInvisible(component.build(scenarioInstance)) in doEvaluate()
|
D | WindowMovesToTop.kt | 24 open class WindowMovesToTop(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.WindowMovesToTop 25 AssertionTemplateWithComponent(component) { 29 isAppWindowNotOnTop(component.build(scenarioInstance)) in doEvaluate() 31 .isAppWindowOnTop(component.build(scenarioInstance)) in doEvaluate()
|
D | AppLayerBecomesInvisible.kt | 27 class AppLayerBecomesInvisible(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.AppLayerBecomesInvisible 28 AssertionTemplateWithComponent(component) { 32 isVisible(component.build(scenarioInstance)) in doEvaluate() 34 .isInvisible(component.build(scenarioInstance)) in doEvaluate()
|
D | NonAppWindowBecomesVisible.kt | 27 class NonAppWindowBecomesVisible(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.NonAppWindowBecomesVisible 28 AssertionTemplateWithComponent(component) { 32 isNonAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate() 34 .isAppWindowVisible(component.build(scenarioInstance)) in doEvaluate()
|
D | WindowMovesOutOfTop.kt | 24 open class WindowMovesOutOfTop(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.WindowMovesOutOfTop 25 AssertionTemplateWithComponent(component) { 29 isAppWindowOnTop(component.build(scenarioInstance)) in doEvaluate() 31 .isAppWindowNotOnTop(component.build(scenarioInstance)) in doEvaluate()
|
D | AppWindowBecomesInvisible.kt | 27 class AppWindowBecomesInvisible(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.AppWindowBecomesInvisible 28 AssertionTemplateWithComponent(component) { 32 isAppWindowVisible(component.build(scenarioInstance)) in doEvaluate() 34 .isAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate()
|
D | NonAppWindowBecomesInvisible.kt | 27 open class NonAppWindowBecomesInvisible(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.NonAppWindowBecomesInvisible 28 AssertionTemplateWithComponent(component) { 32 isNonAppWindowVisible(component.build(scenarioInstance)) in doEvaluate() 34 .isNonAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate()
|
D | AppLayerReplacesLauncher.kt | 22 import android.tools.traces.component.ComponentNameMatcher 33 class AppLayerReplacesLauncher(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.AppLayerReplacesLauncher 34 AssertionTemplateWithComponent(component) { 40 .isVisible(component.build(scenarioInstance)) in doEvaluate()
|
D | LauncherReplacesAppLayer.kt | 22 import android.tools.traces.component.ComponentNameMatcher 32 class LauncherReplacesAppLayer(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.LauncherReplacesAppLayer 33 AssertionTemplateWithComponent(component) { 37 isVisible(component.build(scenarioInstance)) in doEvaluate()
|
D | AppWindowReplacesLauncherAsTopWindow.kt | 22 import android.tools.traces.component.ComponentNameMatcher 28 class AppWindowReplacesLauncherAsTopWindow(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.AppWindowReplacesLauncherAsTopWindow 29 AssertionTemplateWithComponent(component) { 35 .isAppWindowOnTop(component.build(scenarioInstance)) in doEvaluate()
|
D | LauncherWindowReplacesAppAsTopWindow.kt | 22 import android.tools.traces.component.ComponentNameMatcher 28 class LauncherWindowReplacesAppAsTopWindow(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.LauncherWindowReplacesAppAsTopWindow 29 AssertionTemplateWithComponent(component) { 32 isAppWindowOnTop(component.build(scenarioInstance)) in doEvaluate()
|
D | AppWindowBecomesPinned.kt | 24 class AppWindowBecomesPinned(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.AppWindowBecomesPinned 25 AssertionTemplateWithComponent(component) { 29 invoke("appWindowIsNotPinned") { it.isNotPinned(component.build(scenarioInstance)) } in doEvaluate() 31 .invoke("appWindowIsPinned") { it.isPinned(component.build(scenarioInstance)) } in doEvaluate()
|
D | AppLayerIsVisibleAtEnd.kt | 22 import android.tools.traces.component.ComponentNameMatcher 25 class AppLayerIsVisibleAtEnd(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.AppLayerIsVisibleAtEnd 26 AssertionTemplateWithComponent(component) { 34 .or(component.build(scenarioInstance)) in doEvaluate()
|
D | AppLayerCoversFullScreenAtStart.kt | 22 import android.tools.traces.component.ComponentNameMatcher 24 class AppLayerCoversFullScreenAtStart(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.AppLayerCoversFullScreenAtStart 25 AssertionTemplateWithComponent(component) { 31 visibleRegion(component.build(scenarioInstance).or(ComponentNameMatcher.LETTERBOX)) in doEvaluate()
|
D | AppLayerCoversFullScreenAtEnd.kt | 22 import android.tools.traces.component.ComponentNameMatcher 24 class AppLayerCoversFullScreenAtEnd(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.AppLayerCoversFullScreenAtEnd 25 AssertionTemplateWithComponent(component) { 32 visibleRegion(component.build(scenarioInstance).or(ComponentNameMatcher.LETTERBOX)) in doEvaluate()
|
D | AppWindowBecomesTopWindow.kt | 22 import android.tools.traces.component.ComponentNameMatcher 28 class AppWindowBecomesTopWindow(private val component: ComponentTemplate) : constant in android.tools.flicker.assertors.assertions.AppWindowBecomesTopWindow 29 AssertionTemplateWithComponent(component) { 32 val testApp = component.build(scenarioInstance) in doEvaluate()
|
D | SplitAppLayerBoundsBecomesVisible.kt | 26 import android.tools.traces.component.IComponentMatcher 29 private val component: ComponentTemplate, constant in android.tools.flicker.assertors.assertions.SplitAppLayerBoundsBecomesVisible 31 ) : AssertionTemplateWithComponent(component) { 34 val app = component.build(scenarioInstance) in doEvaluate() 63 component: IComponentMatcher, in splitAppLayerBoundsSnapToDivider() 70 component, in splitAppLayerBoundsSnapToDivider() 79 component: IComponentMatcher, in LayerTraceEntrySubject() 92 visibleRegion(component) in LayerTraceEntrySubject()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/ |
D | ComponentNameMatcher.kt | 17 package android.tools.traces.component 24 class ComponentNameMatcher(var component: ComponentName) : IComponentNameMatcher { variable in android.tools.traces.component.ComponentNameMatcher 26 get() = component.packageName 28 get() = component.className 29 override fun toActivityName(): String = component.toActivityName() in toActivityName() 30 override fun toWindowName(): String = component.toWindowName() in toActivityName() 31 override fun toLayerName(): String = component.toLayerName() in toActivityName() 66 override fun toActivityIdentifier(): String = component.toActivityName() in toActivityIdentifier() 69 override fun toWindowIdentifier(): String = component.toWindowName() in toActivityIdentifier() 72 override fun toLayerIdentifier(): String = component.toLayerName() in toActivityIdentifier() [all …]
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | BatteryUsageStatsHelper.java | 111 .filter(cm -> cm.component == componentModel.component) in batteryUsageStatsFromBucket() 115 comparableModelComponents.add(componentModel.component); in batteryUsageStatsFromBucket() 120 + componentName(componentModel.component) in batteryUsageStatsFromBucket() 136 totalConsumptionByComponentMetricKey(usage.component), in batteryUsageStatsFromBucket() 139 totalDurationByComponentMetricKey(usage.component), in batteryUsageStatsFromBucket() 141 if (comparableModelComponents.contains(usage.component)) { in batteryUsageStatsFromBucket() 144 PowerComponentModel.MEASURED_ENERGY, usage.component), in batteryUsageStatsFromBucket() 159 if (comparableModelComponents.contains(usage.component)) { in batteryUsageStatsFromBucket() 162 PowerComponentModel.POWER_PROFILE, usage.component), in batteryUsageStatsFromBucket() 186 packageNamesForMetrics, componentPerUid.component), in batteryUsageStatsFromBucket() [all …]
|