Home
last modified time | relevance | path

Searched refs:component (Results 1 – 25 of 34) sorted by relevance

12

/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/windowmanager/
DWindowManagerTraceSubject.kt105 component: FlickerComponentName, in <lambda>()
109 it.notContains(component) in <lambda>()
122 component: FlickerComponentName, in <lambda>()
126 it.containsAboveAppWindow(component) in <lambda>()
127 .isNonAppWindowVisible(component) in <lambda>()
140 component: FlickerComponentName, in <lambda>()
144 it.containsAboveAppWindow(component) in <lambda>()
145 .isNonAppWindowInvisible(component) in <lambda>()
158 component: FlickerComponentName, in <lambda>()
162 it.containsBelowAppWindow(component) in <lambda>()
[all …]
DWindowManagerStateSubject.kt158 fun containsAboveAppWindow(component: FlickerComponentName): WindowManagerStateSubject = apply { in <lambda>()
159 contains(aboveAppWindows, component) in <lambda>()
168 fun containsBelowAppWindow(component: FlickerComponentName): WindowManagerStateSubject = apply { in <lambda>()
169 contains(belowAppWindows, component) in <lambda>()
208 fun containsNonAppWindow(component: FlickerComponentName): WindowManagerStateSubject = apply { in <lambda>()
209 contains(nonAppWindows, component) in <lambda>()
217 fun isAppWindowOnTop(component: FlickerComponentName): WindowManagerStateSubject = apply { in <lambda>()
218 val windowName = component.toWindowName() in <lambda>()
230 Fact.fact("Not on top", component.toWindowName()), in <lambda>()
241 fun isAppWindowNotOnTop(component: FlickerComponentName): WindowManagerStateSubject = apply { in <lambda>()
[all …]
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/
DWindowManagerConditionsFactory.kt110 component: FlickerComponentName in <lambda>()
113 it.wmState.containsActivity(component.toActivityName()) in <lambda>()
117 component: FlickerComponentName in <lambda>()
120 it.wmState.containsWindow(component.toWindowName()) in <lambda>()
131 component: FlickerComponentName in <lambda>()
133 isWindowSurfaceShown(component.toWindowName()) in <lambda>()
136 component: FlickerComponentName in <lambda>()
139 it.wmState.isActivityVisible(component.toActivityName()) in <lambda>()
165 component: FlickerComponentName, in <lambda>()
169 containsActivity(component), in <lambda>()
[all …]
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DBatteryUsageStatsHelper.java84 totalConsumptionByComponentMetricKey(usage.component), in batteryUsageStatsFromBucket()
87 totalDurationByComponentMetricKey(usage.component), in batteryUsageStatsFromBucket()
115 packageNamesForMetrics, componentPerUid.component), in batteryUsageStatsFromBucket()
119 packageNamesForMetrics, componentPerUid.component), in batteryUsageStatsFromBucket()
146 private String attributedConsumptionMetricKey(String packages, int component) { in attributedConsumptionMetricKey() argument
147 return String.format("power-consumed-by-%s-on-%s-dC", packages, componentName(component)); in attributedConsumptionMetricKey()
150 private String totalConsumptionByComponentMetricKey(int component) { in totalConsumptionByComponentMetricKey() argument
151 return String.format("power-consumed-total-on-%s-dC", componentName(component)); in totalConsumptionByComponentMetricKey()
154 private String attributedDurationMetricKey(String packages, int component) { in attributedDurationMetricKey() argument
155 return String.format("duration-by-%s-on-%s-ms", packages, componentName(component)); in attributedDurationMetricKey()
[all …]
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/layers/
DLayerTraceEntrySubject.kt145 fun contains(component: FlickerComponentName): LayerTraceEntrySubject = apply { in <lambda>()
146 val layerName = component.toLayerName() in <lambda>()
159 fun notContains(component: FlickerComponentName): LayerTraceEntrySubject = apply { in <lambda>()
160 val layerName = component.toLayerName() in <lambda>()
171 fun isVisible(component: FlickerComponentName): LayerTraceEntrySubject = apply { in <lambda>()
172 contains(component) in <lambda>()
175 val layerName = component.toLayerName() in <lambda>()
209 fun isInvisible(component: FlickerComponentName): LayerTraceEntrySubject = apply { in <lambda>()
211 isVisible(component) in <lambda>()
218 val layerName = component.toLayerName() in <lambda>()
[all …]
DLayersTraceSubject.kt125 .filter { ignoreLayers.none { component -> component.toLayerName() in it.name } } in <lambda>() method
140 component: FlickerComponentName, in <lambda>()
145 it.notContains(component) in <lambda>()
158 component: FlickerComponentName, in <lambda>()
162 it.contains(component) } in <lambda>()
173 component: FlickerComponentName, in <lambda>()
177 it.isVisible(component) } in <lambda>()
188 component: FlickerComponentName, in <lambda>()
193 it.isInvisible(component) in <lambda>()
205 component: FlickerComponentName, in <lambda>()
[all …]
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/helpers/
DStandardAppHelper.kt46 @JvmField val component: FlickerComponentName, constant
72 component.packageName in getAppSelector()
78 launcherStrategy.launch(appName, component.packageName) in open()
83 return component.packageName in getPackage()
91 intent.component = ComponentName(component.packageName, component.className) in getOpenAppIntent()
106 activityManager?.forceStopPackage(component.packageName) in exit()
125 val activityName = component.toActivityName() in waitForActivityDestroyed()
196 component in launchViaIntent()
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
DUiBenchJankTestsHelper.java111 UiObject2 component = mDevice.wait(Until.findObject( in openTextInList() local
113 while (component == null && count < 5) { in openTextInList()
115 component = mDevice.wait(Until.findObject( in openTextInList()
119 while (component == null && count < 10) { in openTextInList()
121 component = mDevice.wait(Until.findObject( in openTextInList()
125 Assert.assertNotNull(itemName + ": isn't found", component); in openTextInList()
126 component.clickAndWait(Until.newWindow(), LONG_TIMEOUT); in openTextInList()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/windowmanager/
DWindowManagerStateHelper.kt106 fun waitForFullScreenApp(component: FlickerComponentName) = in waitForValidState()
108 waitFor(isAppFullScreen(component), snapshotGoneCondition)) { in waitForValidState()
155 fun waitForVisibleWindow(component: FlickerComponentName) = require( in waitForNavBarStatusBarVisible()
157 WindowManagerConditionsFactory.isWindowVisible(component), in waitForNavBarStatusBarVisible()
162 fun waitForActivityRemoved(component: FlickerComponentName) = require( in waitForActivityRemoved()
164 WindowManagerConditionsFactory.containsActivity(component).negate(), in waitForActivityRemoved()
165 WindowManagerConditionsFactory.containsWindow(component).negate(), in waitForActivityRemoved()
174 fun waitForWindowSurfaceDisappeared(component: FlickerComponentName) = require( in waitForAppTransitionIdle()
176 WindowManagerConditionsFactory.isWindowSurfaceShown(component).negate(), in waitForAppTransitionIdle()
181 fun waitForSurfaceAppeared(component: FlickerComponentName) = require( in waitForSurfaceAppeared()
[all …]
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DBatteryUsageStatsHelperTest.java120 String component = "cpu"; in testTotalConsumptionIsSumOfPerPackageConsumption() local
122 Pattern total = Pattern.compile(String.format("power-consumed-total.*%s.*", component)); in testTotalConsumptionIsSumOfPerPackageConsumption()
123 Pattern partial = Pattern.compile(String.format("power.*by.*-on-%s.*", component)); in testTotalConsumptionIsSumOfPerPackageConsumption()
146 String component = "cpu"; in testTotalDurationIsSumOfPerPackageDurations() local
148 Pattern total = Pattern.compile(String.format("duration-total.*%s.*", component)); in testTotalDurationIsSumOfPerPackageDurations()
149 Pattern partial = Pattern.compile(String.format("duration.*by.*-on-%s.*", component)); in testTotalDurationIsSumOfPerPackageDurations()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/service/assertors/common/
DWindowMovesToTop.kt33 wmSubject.isAppWindowNotOnTop(component) in doEvaluate()
35 .isAppWindowOnTop(component) in doEvaluate()
DLayerBecomesVisible.kt33 layerSubject.isInvisible(component) in doEvaluate()
35 .isVisible(component) in doEvaluate()
DWindowMovesOutOfTop.kt33 wmSubject.isAppWindowOnTop(component) in doEvaluate()
35 .isAppWindowNotOnTop(component) in doEvaluate()
DNonAppWindowBecomesVisible.kt34 wmSubject.isNonAppWindowInvisible(component) in doEvaluate()
36 .isAppWindowVisible(component) in doEvaluate()
DNonAppWindowBecomesInvisible.kt34 wmSubject.isNonAppWindowVisible(component) in doEvaluate()
36 .isNonAppWindowInvisible(component) in doEvaluate()
DLayerBecomesInvisible.kt33 layerSubject.isVisible(component) in doEvaluate()
35 .isInvisible(component) in doEvaluate()
DComponentBaseTest.kt26 protected val component = FlickerComponentName.unflattenFromString(windowName) constant
DNonAppWindowIsVisibleAtEnd.kt33 wmSubject.last().isNonAppWindowVisible(component) in doEvaluate()
DLayerIsInvisibleAtEnd.kt33 layerSubject.last().isInvisible(component) in doEvaluate()
DNonAppWindowIsInvisibleAlways.kt33 wmSubject.isNonAppWindowInvisible(component).forAllEntries() in doEvaluate()
DLayerIsInvisibleAtStart.kt33 layerSubject.first().isInvisible(component) in doEvaluate()
DLayerIsVisibleAlways.kt33 layerSubject.isVisible(component).forAllEntries() in doEvaluate()
DNonAppWindowIsVisibleAtStart.kt33 wmSubject.first().isNonAppWindowVisible(component) in doEvaluate()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/rules/
DLaunchAppRule.kt43 component: FlickerComponentName,
47 ): this(StandardAppHelper(instrumentation, appName, component), instrumentation, wmHelper)
/platform_testing/libraries/sts-common-util/
DOWNERS2 # Bug component: 195645

12