/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/ |
D | WindowManagerStateSubject.kt | 60 val wmState: WindowManagerState, in <lambda>() constant in android.tools.flicker.subject.wm.WindowManagerStateSubject 64 override val timestamp = wmState.timestamp in <lambda>() 66 val subjects by lazy { wmState.windowStates.map { WindowStateSubject(reader, timestamp, it) } } in <lambda>() 69 get() = subjects.filter { wmState.appWindows.contains(it.windowState) } in <lambda>() 72 get() = subjects.filter { wmState.nonAppWindows.contains(it.windowState) } in <lambda>() 75 get() = subjects.filter { wmState.aboveAppWindows.contains(it.windowState) } in <lambda>() 78 get() = subjects.filter { wmState.belowAppWindows.contains(it.windowState) } in <lambda>() 81 get() = subjects.filter { wmState.visibleWindows.contains(it.windowState) } in <lambda>() 84 get() = subjects.filter { wmState.visibleAppWindows.contains(it.windowState) } in <lambda>() 89 assertion(this.wmState) in <lambda>() [all …]
|
D | WindowManagerTraceSubject.kt | 575 subject.wmState.windowStates in <lambda>() 595 subjects.filter { it.wmState.timestamp.elapsedNanos in startTime..endTime } in <lambda>() 605 subjects.first { it.wmState.timestamp.elapsedNanos == timestamp } in <lambda>()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/ |
D | WindowManagerStateHelperTest.kt | 73 var wmState: WindowManagerState = _wmState in <lambda>() variable 77 wmState = value.wmState in <lambda>() 148 fun getNavBarComponent(wmState: WindowManagerState) = in <lambda>() 149 if (wmState.isTablet || !ConditionsFactory.isPhoneNavBar()) ComponentNameMatcher.TASK_BAR in <lambda>() 163 val wmState = iterator.next() in <lambda>() constant 165 mutableListOf(ComponentNameMatcher.STATUS_BAR, getNavBarComponent(wmState)) in <lambda>() 166 if (wmState.isWindowSurfaceShown(ComponentNameMatcher.SPLASH_SCREEN)) { in <lambda>() 169 if (wmState.isWindowSurfaceShown(ComponentNameMatcher.SNAPSHOT)) { in <lambda>() 173 wmState.visibleWindows in <lambda>() 177 if (wmState.inputMethodWindowState?.isSurfaceShown == true) { in <lambda>() [all …]
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/ |
D | ConditionsFactory.kt | 46 fun getNavBarComponent(wmState: WindowManagerState): IComponentMatcher { in <lambda>() 48 if (wmState.isTablet || !isPhoneNavBar()) { in <lambda>() 73 val component = getNavBarComponent(it.wmState) in <lambda>() 74 it.wmState.isWindowSurfaceShown(component) in <lambda>() 83 val component = getNavBarComponent(it.wmState) in <lambda>() 90 val component = getNavBarComponent(it.wmState) in <lambda>() 103 it.wmState.isWindowSurfaceShown(ComponentNameMatcher.NAV_BAR) in <lambda>() 125 it.wmState.isWindowSurfaceShown(ComponentNameMatcher.TASK_BAR) in <lambda>() 147 it.wmState.isWindowSurfaceShown(ComponentNameMatcher.STATUS_BAR) in <lambda>() 162 Condition("isHomeActivityVisible") { it.wmState.isHomeActivityVisible } in <lambda>() [all …]
|
D | DeviceStateDump.kt | 27 override val wmState: WindowManagerState, constant in android.tools.traces.DeviceStateDump 29 ) : NullableDeviceStateDump(wmState, layerState)
|
D | NullableDeviceStateDump.kt | 28 open val wmState: WindowManagerState?, constant in android.tools.traces.NullableDeviceStateDump
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/ |
D | StatusBarLayerPositionAtStart.kt | 44 val wmState = in getExpectedStatusBarPosition() constant 48 wmState.getDisplay(PlatformConsts.DEFAULT_DISPLAY) ?: error("Display not found") in getExpectedStatusBarPosition()
|
D | StatusBarLayerPositionAtEnd.kt | 43 val wmState = in getExpectedStatusBarPosition() constant 47 wmState.getDisplay(PlatformConsts.DEFAULT_DISPLAY) ?: error("Display not found") in getExpectedStatusBarPosition()
|
D | HasAtMostOneWindowMatching.kt | 35 it.wmState.windowStates.count { window -> matcher.windowMatchesAnyOf(window) } in <lambda>()
|
D | AppWindowRemainInsideDisplayBounds.kt | 32 val display = entry.wmState.displays.minByOrNull { it.id }!! in <lambda>()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/ |
D | UtilsTest.kt | 58 Truth.assertThat(currState.wmState).isNotNull() in canFetchCurrentDeviceStateOnlyWm() 68 Truth.assertThat(currState.wmState).isNull() in canFetchCurrentDeviceStateOnlyLayers() 75 val wmArray = currState.wmState?.asTrace()?.entries ?: emptyList() in canParseCurrentDeviceState()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/ |
D | WindowManagerStateHelper.kt | 89 return this.currentState.wmState.windowStates.firstOrNull { in getWindow() 169 val wmState = internalState?.wmState in getWindowRegion() constant 172 if (wmState != null) { in getWindowRegion() 270 it.wmState.hasActivityState(componentMatcher, state) in getWindowRegion() 423 add("noAppWindowsOnTop") { it.wmState.topVisibleAppWindow == null } in getWindowRegion() 426 fun withKeyguardShowing() = add("withKeyguardShowing") { it.wmState.isKeyguardShowing } in getWindowRegion() 488 state.wmState.getMatchingVisibleWindowState( in shouldWaitForActivities() 497 } else if (!state.wmState.isActivityVisible(activityState.activityMatcher)) { in shouldWaitForActivities()
|
D | DeviceDumpParser.kt | 60 wmState = in <lambda>() 100 nullableDump.wmState ?: error("WMState dump missing"), in <lambda>()
|
/platform_testing/libraries/flicker/test/src/android/tools/integration/ |
D | NoErrorTest.kt | 64 it.wmState in <lambda>() 83 it.wmState in <lambda>()
|
D | FullLegacyTestRun.kt | 55 .wmState 68 setup { flicker.scenario.setIsTablet(wmHelper.currentState.wmState.isTablet) } in buildFlicker()
|
/platform_testing/libraries/flicker/appHelpers/src/android/tools/device/apphelpers/ |
D | StandardAppHelper.kt | 118 !it.wmState.containsActivity(componentMatcher) || in waitForActivityDestroyed() 119 it.wmState.hasActivityState(componentMatcher, PlatformConsts.STATE_DESTROYED) in waitForActivityDestroyed()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/rules/ |
D | ChangeDisplayOrientationRule.kt | 98 if (wmHelper.currentState.wmState.canRotate) { in setRotation()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/wm/ |
D | WindowManagerStateSubjectTest.kt | 241 val appWindowNames = firstEntry.wmState.appWindows.map { it.name } in canDetectAppWindowVisibilitySubject() 377 Truth.assertThat(entry.wmState.taskFragments.size).isEqualTo(2) in canDetectTaskFragment() 387 Truth.assertThat(entry.wmState.isHomeActivityVisible).isTrue() in canDetectIsHomeActivityVisibleTablet()
|
/platform_testing/libraries/flicker/utils/src/android/tools/helpers/ |
D | WindowUtils.kt | 52 return currState.wmState.getRotation(PlatformConsts.DEFAULT_DISPLAY)
|