Searched refs:scenario (Results 1 – 6 of 6) sorted by relevance
95 try (ActivityScenario<HandleConfigurationActivity> scenario = in testOnBufferTransformHintChangedListener() argument97 scenario.moveToState(Lifecycle.State.RESUMED); in testOnBufferTransformHintChangedListener()98 scenario.onActivity(activity -> { in testOnBufferTransformHintChangedListener()112 scenario.onActivity(activity -> Assert.assertEquals(transformHintResult[0], in testOnBufferTransformHintChangedListener()115 scenario.onActivity(activity -> { in testOnBufferTransformHintChangedListener()129 scenario.onActivity(activity -> Assert.assertEquals(transformHintResult[1], in testOnBufferTransformHintChangedListener()159 try (ActivityScenario<HandleConfigurationActivity> scenario = in testOnBufferTransformHintChangesFromLandToSea() argument161 scenario.moveToState(Lifecycle.State.RESUMED); in testOnBufferTransformHintChangesFromLandToSea()162 scenario.onActivity(activity -> { in testOnBufferTransformHintChangesFromLandToSea()180 scenario.onActivity(activity -> Assert.assertEquals(transformHintResult[0], in testOnBufferTransformHintChangesFromLandToSea()[all …]
120 private lateinit var scenario: ActivityScenario<SlipperyEnterBottomActivity> variable in FlagSlipperyTest137 scenario = rule.getScenario() in setup()149 scenario.onActivity { in tearDown()160 scenario.onActivity { in addWindow()177 scenario.onActivity { in addWindow()225 scenario.onActivity { in addEmbeddedHostWindow()251 scenario.onActivity { in addEmbeddedView()316 scenario.onActivity { in assertBottomWindowDoesNotReceiveSlipperyTouch()331 scenario.onActivity { activity -> run { in waitForWindowFocusOnBottomActivity()
195 private Result performScan(Scenario scenario) { in performScan() argument197 Context context = createContext(scenario, getApplicationContext()); in performScan()233 private Context createContext(Scenario scenario, Context context) throws Exception { in createContext() argument234 if (scenario == Scenario.DEFAULT) { in createContext()241 switch (scenario) { in createContext()
59 ActivityScenario.launch<NotificationHostActivity>(activityIntent).use { scenario -> in <lambda>() method60 scenario.moveToState(Lifecycle.State.RESUMED) in <lambda>()64 scenario.onActivity { activity -> in <lambda>()
154 ActivityScenario<TextViewActivity> scenario = rule.getScenario(); in smartLinkify() local159 scenario.onActivity(activity -> { in smartLinkify()212 ActivityScenario<TextViewActivity> scenario = rule.getScenario(); in smartSelectionInternal() local216 scenario.onActivity(activity -> { in smartSelectionInternal()
140 try (ActivityScenario<HostActivity> scenario = in embeddedWindowTriggersAnr() argument143 scenario.onActivity(activity -> latch[0] = activity.mEmbeddedViewAttachedLatch); in embeddedWindowTriggersAnr()