Home
last modified time | relevance | path

Searched refs:WindowManagerStateSubject (Results 1 – 10 of 10) sorted by relevance

/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/
DWindowManagerStateSubject.kt59 class WindowManagerStateSubject( in <lambda>() class
63 ) : FlickerSubject(), IWindowManagerSubject<WindowManagerStateSubject, RegionSubject> { in <lambda>()
87 operator fun invoke(assertion: (WindowManagerState) -> Unit): WindowManagerStateSubject = in <lambda>()
93 override fun isEmpty(): WindowManagerStateSubject = apply { in <lambda>()
98 override fun isNotEmpty(): WindowManagerStateSubject = apply { in <lambda>()
131 ): WindowManagerStateSubject = apply { in <lambda>()
143 ): WindowManagerStateSubject = apply { in <lambda>()
156 ): WindowManagerStateSubject = apply { in <lambda>()
199 ): WindowManagerStateSubject = apply { in <lambda>()
209 override fun isAppWindowOnTop(componentMatcher: IComponentMatcher): WindowManagerStateSubject = in <lambda>()
[all …]
DWindowManagerTraceSubject.kt58 FlickerTraceSubject<WindowManagerStateSubject>(), in <lambda>()
62 trace.entries.map { WindowManagerStateSubject(it, reader, this) } in <lambda>()
589 assertion: (WindowManagerStateSubject) -> Unit in <lambda>()
604 fun getEntryByElapsedTimestamp(timestamp: Long): WindowManagerStateSubject = in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/
DAssertionStateDataFactoryTest.kt22 import android.tools.flicker.subject.wm.WindowManagerStateSubject
32 get() = AssertionStateDataFactory(WindowManagerStateSubject::class)
42 WindowManagerStateSubject::class, in checkBuildsStartAssertion()
61 WindowManagerStateSubject::class, in checkBuildsEndAssertion()
80 WindowManagerStateSubject::class, in checkBuildsTagAssertion()
DAssertionDataFactoryTest.kt22 import android.tools.flicker.subject.wm.WindowManagerStateSubject
30 AssertionDataFactory(WindowManagerStateSubject::class, WindowManagerTraceSubject::class)
DTestSubjectsParser.kt22 import android.tools.flicker.subject.wm.WindowManagerStateSubject
39 public override fun doGetWmStateSubject(tag: String): WindowManagerStateSubject? =
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DFlickerTest.kt23 import android.tools.flicker.subject.wm.WindowManagerStateSubject
33 fun assertWmStart(assertion: WindowManagerStateSubject.() -> Unit)
40 fun assertWmEnd(assertion: WindowManagerStateSubject.() -> Unit)
54 fun assertWmTag(tag: String, assertion: WindowManagerStateSubject.() -> Unit)
DSubjectsParser.kt24 import android.tools.flicker.subject.wm.WindowManagerStateSubject
50 expectedSubjectClass == WindowManagerStateSubject::class -> getWmStateSubject(tag) in getSubjectOfType()
75 private fun getWmStateSubject(tag: String): WindowManagerStateSubject? = in getWmStateSubject()
78 protected open fun doGetWmStateSubject(tag: String): WindowManagerStateSubject? { in getWmStateSubject()
84 WindowManagerStateSubject(trace.entries.first(), resultReader) in getWmStateSubject()
DAssertionFactory.kt26 import android.tools.flicker.subject.wm.WindowManagerStateSubject
33 AssertionDataFactory(WindowManagerStateSubject::class, WindowManagerTraceSubject::class)
43 fun createWmStartAssertion(assertion: WindowManagerStateSubject.() -> Unit): AssertionData = in createWmStartAssertion()
53 fun createWmEndAssertion(assertion: WindowManagerStateSubject.() -> Unit): AssertionData = in createWmEndAssertion()
77 assertion: WindowManagerStateSubject.() -> Unit in createWmTagAssertion()
DBaseFlickerTest.kt23 import android.tools.flicker.subject.wm.WindowManagerStateSubject
33 override fun assertWmStart(assertion: WindowManagerStateSubject.() -> Unit) { in doProcess()
40 override fun assertWmEnd(assertion: WindowManagerStateSubject.() -> Unit) { in assertWmEnd()
54 override fun assertWmTag(tag: String, assertion: WindowManagerStateSubject.() -> Unit) { in assertWmTag()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/wm/
DWindowManagerStateSubjectTest.kt349 WindowManagerStateSubject(noWindowsState).isAppWindowOnTop(mockComponent) in canHandleNoSubjects()