Home
last modified time | relevance | path

Searched refs:scenario (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/permission/src/android/permission/cts/
DNearbyDevicesRenouncePermissionTest.java195 private Result performScan(Scenario scenario) { in performScan() argument
197 Context context = createContext(scenario, getApplicationContext()); in performScan()
233 private Context createContext(Scenario scenario, Context context) throws Exception { in createContext() argument
234 if (scenario == Scenario.DEFAULT) { in createContext()
241 switch (scenario) { in createContext()
/cts/tests/app/shared/src/android/app/cts/
DNotificationTemplateTestBase.kt59 ActivityScenario.launch<NotificationHostActivity>(activityIntent).use { scenario -> in <lambda>() method
60 scenario.moveToState(Lifecycle.State.RESUMED) in <lambda>()
64 scenario.onActivity { activity -> in <lambda>()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextViewIntegrationTest.java154 ActivityScenario<TextViewActivity> scenario = rule.getScenario(); in smartLinkify() local
159 scenario.onActivity(activity -> { in smartLinkify()
212 ActivityScenario<TextViewActivity> scenario = rule.getScenario(); in smartSelectionInternal() local
216 scenario.onActivity(activity -> { in smartSelectionInternal()