Home
last modified time | relevance | path

Searched refs:then (Results 1 – 25 of 440) sorted by relevance

12345678910>>...18

/frameworks/base/tests/FlickerTests/Notification/src/com/android/server/wm/flicker/notification/
DOpenAppTransition.kt53 .then() in appLayerBecomesVisible_coldStart()
55 .then() in appLayerBecomesVisible_coldStart()
57 .then() in appLayerBecomesVisible_coldStart()
59 .then() in appLayerBecomesVisible_coldStart()
67 .then() in appLayerBecomesVisible_warmStart()
69 .then() in appLayerBecomesVisible_warmStart()
71 .then() in appLayerBecomesVisible_warmStart()
88 .then() in appWindowBecomesVisible()
90 .then() in appWindowBecomesVisible()
98 .then() in appWindowBecomesVisible_warmStart()
[all …]
DOpenAppFromLockscreenNotificationWithOverlayAppTest.kt89 .then() in showWhenLockedAppWindowBecomesVisible()
91 .then() in showWhenLockedAppWindowBecomesVisible()
101 .then() in showWhenLockedAppLayerBecomesVisible()
103 .then() in showWhenLockedAppLayerBecomesVisible()
/frameworks/base/tests/FlickerTests/AppLaunch/src/com/android/server/wm/flicker/launch/common/
DOpenAppTransition.kt57 .then() in appLayerBecomesVisible_coldStart()
59 .then() in appLayerBecomesVisible_coldStart()
61 .then() in appLayerBecomesVisible_coldStart()
63 .then() in appLayerBecomesVisible_coldStart()
71 .then() in appLayerBecomesVisible_warmStart()
73 .then() in appLayerBecomesVisible_warmStart()
75 .then() in appLayerBecomesVisible_warmStart()
92 .then() in appWindowBecomesVisible()
94 .then() in appWindowBecomesVisible()
102 .then() in appWindowBecomesVisible_warmStart()
[all …]
/frameworks/base/tests/FlickerTests/QuickSwitch/src/com/android/server/wm/flicker/quickswitch/
DQuickSwitchBetweenTwoAppsBackTest.kt149 .then() in app1WindowBecomesAndStaysVisible()
151 .then() in app1WindowBecomesAndStaysVisible()
163 flicker.assertLayers { this.isInvisible(testApp1).then().isVisible(testApp1) } in app1LayerBecomesAndStaysVisible()
173 flicker.assertWm { this.isAppWindowVisible(testApp2).then().isAppWindowInvisible(testApp2) } in app2WindowBecomesAndStaysInvisible()
183 flicker.assertLayers { this.isVisible(testApp2).then().isInvisible(testApp2) } in app2LayerBecomesAndStaysInvisible()
196 .then() in app1WindowIsVisibleOnceApp2WindowIsInvisible()
199 .then() in app1WindowIsVisibleOnceApp2WindowIsInvisible()
201 .then() in app1WindowIsVisibleOnceApp2WindowIsInvisible()
216 .then() in app1LayerIsVisibleOnceApp2LayerIsInvisible()
218 .then() in app1LayerIsVisibleOnceApp2LayerIsInvisible()
[all …]
DQuickSwitchBetweenTwoAppsForwardTest.kt160 .then() in app2WindowBecomesAndStaysVisible()
162 .then() in app2WindowBecomesAndStaysVisible()
174 flicker.assertLayers { this.isInvisible(testApp2).then().isVisible(testApp2) } in app2LayerBecomesAndStaysVisible()
184 flicker.assertWm { this.isAppWindowVisible(testApp1).then().isAppWindowInvisible(testApp1) } in app1WindowBecomesAndStaysInvisible()
193 flicker.assertLayers { this.isVisible(testApp1).then().isInvisible(testApp1) } in app1LayerBecomesAndStaysInvisible()
206 .then() in app2WindowIsVisibleOnceApp1WindowIsInvisible()
208 .then() in app2WindowIsVisibleOnceApp1WindowIsInvisible()
210 .then() in app2WindowIsVisibleOnceApp1WindowIsInvisible()
225 .then() in app2LayerIsVisibleOnceApp1LayerIsInvisible()
227 .then() in app2LayerIsVisibleOnceApp1LayerIsInvisible()
[all …]
DQuickSwitchFromLauncherTest.kt174 flicker.assertWm { this.isAppWindowInvisible(testApp).then().isAppWindowVisible(testApp) } in appWindowBecomesAndStaysVisible()
184 flicker.assertLayers { this.isInvisible(testApp).then().isVisible(testApp) } in appLayerBecomesAndStaysVisible()
197 .then() in launcherWindowBecomesAndStaysInvisible()
212 .then() in launcherLayerBecomesAndStaysInvisible()
227 .then() in appWindowIsVisibleOnceLauncherWindowIsInvisible()
229 .then() in appWindowIsVisibleOnceLauncherWindowIsInvisible()
244 .then() in appLayerIsVisibleOnceLauncherLayerIsInvisible()
246 .then() in appLayerIsVisibleOnceLauncherLayerIsInvisible()
/frameworks/base/tests/FlickerTests/IME/src/com/android/server/wm/flicker/ime/common/
DCommonAssertions.kt26 this.isInvisible(ComponentNameMatcher.IME).then().isVisible(ComponentNameMatcher.IME) in LegacyFlickerTest()
32 this.isVisible(ComponentNameMatcher.IME).then().isInvisible(ComponentNameMatcher.IME) in LegacyFlickerTest()
40 .then() in imeWindowIsAlwaysVisible()
42 .then() in imeWindowIsAlwaysVisible()
53 .then() in LegacyFlickerTest()
61 .then() in LegacyFlickerTest()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/
DCommonAssertions.kt40 .then() in appPairsDividerBecomesVisible()
113 .then() in splitScreenDividerBecomesInvisible()
119 assertLayers { this.isInvisible(component).then().isVisible(component) } in layerBecomesVisible()
123 assertLayers { this.isVisible(component).then().isInvisible(component) } in LegacyFlickerTest()
141 .then() in LegacyFlickerTest()
143 .then() in LegacyFlickerTest()
156 .then() in splitAppLayerBoundsBecomesVisibleByDrag()
158 .then() in splitAppLayerBoundsBecomesVisibleByDrag()
176 .then() in splitAppLayerBoundsBecomesInvisible()
178 .then() in splitAppLayerBoundsBecomesInvisible()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/flicker/appcompat/src/com/android/wm/shell/flicker/appcompat/
DQuickSwitchLauncherToLetterboxAppTest.kt153 this.isAppWindowInvisible(letterboxApp).then().isAppWindowVisible(letterboxApp) in appWindowBecomesAndStaysVisible()
164 flicker.assertLayers { this.isInvisible(letterboxApp).then().isVisible(letterboxApp) } in appLayerBecomesAndStaysVisible()
177 .then() in launcherWindowBecomesAndStaysInvisible()
192 .then() in launcherLayerBecomesAndStaysInvisible()
207 .then() in appWindowIsVisibleOnceLauncherWindowIsInvisible()
209 .then() in appWindowIsVisibleOnceLauncherWindowIsInvisible()
224 .then() in appLayerIsVisibleOnceLauncherLayerIsInvisible()
226 .then() in appLayerIsVisibleOnceLauncherLayerIsInvisible()
241 .then() in appAndLetterboxLayersBothVisibleOnceLauncherIsInvisible()
243 .then() in appAndLetterboxLayersBothVisibleOnceLauncherIsInvisible()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DViewRootSync.kt17 fun synchronizeNextDraw(view: View, otherView: View, then: () -> Unit) { in synchronizeNextDraw()
27 then() in synchronizeNextDraw()
32 syncGroup.addSyncCompleteCallback(view.context.mainExecutor) { then() } in synchronizeNextDraw()
40 fun synchronizeNextDraw(view: View, otherView: View, then: Runnable) { in synchronizeNextDraw()
41 synchronizeNextDraw(view, otherView, then::run) in synchronizeNextDraw()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/open/
DOpenActivityEmbeddingPlaceholderSplitTest.kt65 .then() in mainActivityWindowBecomesInvisible()
76 .then() in mainActivityLayerBecomesInvisible()
90 .then() in placeholderSplitWindowsBecomeVisible()
95 .then() in placeholderSplitWindowsBecomeVisible()
100 .then() in placeholderSplitWindowsBecomeVisible()
105 .then() in placeholderSplitWindowsBecomeVisible()
117 .then() in placeholderSplitLayersBecomeVisible()
DOpenTrampolineActivityTest.kt107 .then() in secondaryActivityWindowLaunchedFromTrampoline()
112 .then() in secondaryActivityWindowLaunchedFromTrampoline()
123 .then() in secondaryActivityLayerLaunchedFromTrampoline()
138 .then() in mainActivityWindowGoesFromFullscreenToSplit()
143 .then() in mainActivityWindowGoesFromFullscreenToSplit()
180 .then() in mainActivityLayerGoesFromFullscreenToSplit()
185 .then() in mainActivityLayerGoesFromFullscreenToSplit()
DOpenThirdActivityOverSplitTest.kt117 .then() in thirdActivityWindowLaunchesIntoSplit()
120 .then() in thirdActivityWindowLaunchesIntoSplit()
135 .then() in thirdActivityLayerLaunchesIntoSplit()
138 .then() in thirdActivityLayerLaunchesIntoSplit()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/rtl/
DRTLStartSecondaryWithPlaceholderTest.kt72 .then() in assertWindowVisibilities()
77 .then() in assertWindowVisibilities()
82 .then() in assertWindowVisibilities()
87 .then() in assertWindowVisibilities()
101 .then() in assertLayerVisibilities()
106 .then() in assertLayerVisibilities()
111 .then() in assertLayerVisibilities()
116 .then() in assertLayerVisibilities()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
DDisplayStateRepositoryTest.kt97 whenever(display.getDisplayInfo(any())).then { in updatesCurrentRotation_whenDisplayStateChanges()
100 return@then true in updatesCurrentRotation_whenDisplayStateChanges()
106 whenever(display.getDisplayInfo(any())).then { in updatesCurrentRotation_whenDisplayStateChanges()
109 return@then true in updatesCurrentRotation_whenDisplayStateChanges()
122 whenever(display.getDisplayInfo(any())).then { in updatesCurrentSize_whenDisplayStateChanges()
127 return@then true in updatesCurrentSize_whenDisplayStateChanges()
132 whenever(display.getDisplayInfo(any())).then { in updatesCurrentSize_whenDisplayStateChanges()
137 return@then true in updatesCurrentSize_whenDisplayStateChanges()
/frameworks/native/libs/ftl/
Dfuture_test.cpp48 .then([](int x) { return static_cast<size_t>(x % 2); }) in TEST()
49 .then([&futures](size_t i) { return std::move(futures[i]); }); in TEST()
85 .then([](const char* str) { return std::string(str); }) in TEST()
86 .then([&](std::string str) { in TEST()
91 .then([&](ByteVector bytes) { in TEST()
96 .then([](ftl::Future<ByteVector> bytes) { return bytes; }) in TEST()
97 .then([](const ByteVector& bytes) { return std::string(bytes.begin(), bytes.end()); }) in TEST()
/frameworks/base/tests/FlickerTests/AppLaunch/src/com/android/server/wm/flicker/launch/
DTaskTransitionTest.kt133 .then() in transitionHasColorBackground()
136 .then() in transitionHasColorBackground()
146 .then() in transitionHasColorBackground()
150 .then() in transitionHasColorBackground()
172 .then() in newTaskOpensOnTopAndThenCloses()
174 .then() in newTaskOpensOnTopAndThenCloses()
176 .then() in newTaskOpensOnTopAndThenCloses()
178 .then() in newTaskOpensOnTopAndThenCloses()
DOverrideTaskTransitionTest.kt92 .then() in testSimpleActivityIsShownDirectly()
96 .then() in testSimpleActivityIsShownDirectly()
99 .then() in testSimpleActivityIsShownDirectly()
102 .then() in testSimpleActivityIsShownDirectly()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/external/
DFakeTileServiceManagerFacade.kt38 whenever(setBindRequested(any())).then { in <lambda>()
46 whenever(clearPendingBind()).then { in <lambda>()
50 whenever(hasPendingBind()).then { hasPendingBind } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationsQSContainerControllerTest.kt234 then( in testTaskbarVisibleInSplitShade()
245 then( in testTaskbarVisibleInSplitShade()
262 then( in testTaskbarNotVisibleInSplitShade()
272 then( in testTaskbarNotVisibleInSplitShade()
288 then( in testTaskbarNotVisibleInSplitShadeWithCutout()
298 then( in testTaskbarNotVisibleInSplitShadeWithCutout()
314 then(expectedContainerPadding = 0, expectedQsPadding = STABLE_INSET_BOTTOM) in testTaskbarVisibleInSinglePaneShade()
321 then( in testTaskbarVisibleInSinglePaneShade()
332 then(expectedContainerPadding = 0) in testTaskbarNotVisibleInSinglePaneShade()
339 then(expectedContainerPadding = CUTOUT_HEIGHT, expectedQsPadding = STABLE_INSET_BOTTOM) in testTaskbarNotVisibleInSinglePaneShade()
[all …]
DNotificationsQSContainerControllerLegacyTest.kt240 then( in testTaskbarVisibleInSplitShade()
251 then( in testTaskbarVisibleInSplitShade()
268 then( in testTaskbarNotVisibleInSplitShade()
278 then( in testTaskbarNotVisibleInSplitShade()
294 then( in testTaskbarNotVisibleInSplitShadeWithCutout()
304 then( in testTaskbarNotVisibleInSplitShadeWithCutout()
320 then(expectedContainerPadding = 0, expectedQsPadding = STABLE_INSET_BOTTOM) in testTaskbarVisibleInSinglePaneShade()
327 then( in testTaskbarVisibleInSinglePaneShade()
338 then(expectedContainerPadding = 0) in testTaskbarNotVisibleInSinglePaneShade()
345 then(expectedContainerPadding = CUTOUT_HEIGHT, expectedQsPadding = STABLE_INSET_BOTTOM) in testTaskbarNotVisibleInSinglePaneShade()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/common/
DEnterPipTransition.kt53 this.notContains(overlay).then().contains(overlay).then().notContains(overlay) in <lambda>()
97 .then() in <lambda>()
108 .then() in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/splitscreen/src/com/android/wm/shell/flicker/splitscreen/
DDragDividerToResize.kt65 .then() in splitScreenDividerKeepVisible()
67 .then() in splitScreenDividerKeepVisible()
77 .then() in secondaryAppLayerVisibilityChanges()
79 .then() in secondaryAppLayerVisibilityChanges()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/
DEnterPipOnUserLeaveHintTest.kt93 .then() in pipAppWindowVisibleChanges()
95 .then() in pipAppWindowVisibleChanges()
106 this.isVisible(pipApp).then().isInvisible(pipApp).then().isVisible(pipApp) in pipAppLayerVisibleChanges()
/frameworks/base/tests/FlickerTests/IME/src/com/android/server/wm/flicker/ime/
DShowImeOnAppStartWhenLaunchingAppFromQuickSwitchTest.kt94 .then() in entireScreenCovered()
96 .then() in entireScreenCovered()
98 .then() in entireScreenCovered()
100 .then() in entireScreenCovered()

12345678910>>...18