/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/windowmanager/ |
D | WindowManagerTraceSubject.kt | 105 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 …]
|
D | WindowManagerStateSubject.kt | 158 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/ |
D | WindowManagerConditionsFactory.kt | 110 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/ |
D | BatteryUsageStatsHelper.java | 84 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/ |
D | LayerTraceEntrySubject.kt | 145 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 …]
|
D | LayersTraceSubject.kt | 125 .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/ |
D | StandardAppHelper.kt | 46 @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/ |
D | UiBenchJankTestsHelper.java | 111 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/ |
D | WindowManagerStateHelper.kt | 106 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/ |
D | BatteryUsageStatsHelperTest.java | 120 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/ |
D | WindowMovesToTop.kt | 33 wmSubject.isAppWindowNotOnTop(component) in doEvaluate() 35 .isAppWindowOnTop(component) in doEvaluate()
|
D | LayerBecomesVisible.kt | 33 layerSubject.isInvisible(component) in doEvaluate() 35 .isVisible(component) in doEvaluate()
|
D | WindowMovesOutOfTop.kt | 33 wmSubject.isAppWindowOnTop(component) in doEvaluate() 35 .isAppWindowNotOnTop(component) in doEvaluate()
|
D | NonAppWindowBecomesVisible.kt | 34 wmSubject.isNonAppWindowInvisible(component) in doEvaluate() 36 .isAppWindowVisible(component) in doEvaluate()
|
D | NonAppWindowBecomesInvisible.kt | 34 wmSubject.isNonAppWindowVisible(component) in doEvaluate() 36 .isNonAppWindowInvisible(component) in doEvaluate()
|
D | LayerBecomesInvisible.kt | 33 layerSubject.isVisible(component) in doEvaluate() 35 .isInvisible(component) in doEvaluate()
|
D | ComponentBaseTest.kt | 26 protected val component = FlickerComponentName.unflattenFromString(windowName) constant
|
D | NonAppWindowIsVisibleAtEnd.kt | 33 wmSubject.last().isNonAppWindowVisible(component) in doEvaluate()
|
D | LayerIsInvisibleAtEnd.kt | 33 layerSubject.last().isInvisible(component) in doEvaluate()
|
D | NonAppWindowIsInvisibleAlways.kt | 33 wmSubject.isNonAppWindowInvisible(component).forAllEntries() in doEvaluate()
|
D | LayerIsInvisibleAtStart.kt | 33 layerSubject.first().isInvisible(component) in doEvaluate()
|
D | LayerIsVisibleAlways.kt | 33 layerSubject.isVisible(component).forAllEntries() in doEvaluate()
|
D | NonAppWindowIsVisibleAtStart.kt | 33 wmSubject.first().isNonAppWindowVisible(component) in doEvaluate()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/rules/ |
D | LaunchAppRule.kt | 43 component: FlickerComponentName, 47 ): this(StandardAppHelper(instrumentation, appName, component), instrumentation, wmHelper)
|
/platform_testing/libraries/sts-common-util/ |
D | OWNERS | 2 # Bug component: 195645
|