Home
last modified time | relevance | path

Searched defs:scenario (Results 1 – 25 of 58) sorted by relevance

123

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/network/
DSatelliteWarningDialogActivityTest.kt49 val scenario = launchDialogActivity(TYPE_IS_WIFI) in <lambda>() constant
64 val scenario = launchDialogActivity(TYPE_IS_BLUETOOTH) in <lambda>() constant
79 val scenario = launchDialogActivity(TYPE_IS_UNKNOWN) in <lambda>() constant
87 val scenario = launchDialogActivity(TYPE_IS_WIFI) in <lambda>() constant
96 val scenario = launchDialogActivity(TYPE_IS_WIFI) in <lambda>() constant
109 val scenario = launchDialogActivity(TYPE_IS_AIRPLANE_MODE) in <lambda>() constant
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/
DDataUsageListTest.kt70 val scenario = launchFragment<TestDataUsageList>(initialState = Lifecycle.State.CREATED) in launchFragment_withoutArguments_finish() constant
89 val scenario = launchFragment<TestDataUsageList>( in launchFragment_isGuestUser_finish() constant
106 val scenario = launchFragment<TestDataUsageList>( in launchFragment_withArguments_getTemplateFromArgument() constant
125 val scenario = launchFragment<TestDataUsageList>(initialState = Lifecycle.State.CREATED) in launchFragment_withIntent_getTemplateFromIntent() constant
144 val scenario = launchFragment<TestDataUsageList>(initialState = Lifecycle.State.CREATED) in warning_wifiAndHasSim_displayNonCarrierWarning() constant
162 val scenario = launchFragment<TestDataUsageList>(initialState = Lifecycle.State.CREATED) in warning_wifiAndNoSim_noWarning() constant
176 val scenario = launchFragment<TestDataUsageList>(initialState = Lifecycle.State.CREATED) in warning_mobile_operatorWarning() constant
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/
DAllEntriesFragmentTest.kt93 val scenario = in <lambda>() constant
107 val scenario = in <lambda>() constant
121 val scenario = in <lambda>() constant
135 val scenario = in <lambda>() constant
149 val scenario = in <lambda>() constant
166 val scenario = in <lambda>() constant
181 val scenario = in <lambda>() constant
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DPermissionsActivityTest.kt167 val scenario = in <lambda>() constant
183 val scenario = launchActivityForResult<PermissionsActivity>(unsupportedAppIntent) in <lambda>() constant
193 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
221 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
253 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
286 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
298 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
310 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
417 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
445 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
[all …]
DMockedPermissionsActivityTest.kt175 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
234 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
263 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
294 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
339 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
399 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
478 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
556 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
602 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
639 val scenario = launchActivityForResult<PermissionsActivity>(startActivityIntent) in <lambda>() constant
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/route/
DRouteRequestActivityTest.kt175 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>() constant
194 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>() constant
219 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>() constant
244 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>() constant
356 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>() constant
392 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>() constant
413 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>() constant
436 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>() constant
474 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>() constant
518 val scenario = launchActivityForResult<RouteRequestActivity>(startActivityIntent) in <lambda>() constant
/packages/apps/Nfc/tests/instrumentation/src/com/android/nfc/cardemulation/
DAppChooserActivityTest.java79 ActivityScenario<AppChooserActivity> scenario in testNoFailedComponentAndNoAlternatives() local
89 ActivityScenario<AppChooserActivity> scenario in testExistingFailedComponentAndNoAlternatives() local
107 ActivityScenario<AppChooserActivity> scenario in testNonPayment() local
124 ActivityScenario<AppChooserActivity> scenario in testExistingFailedComponentAndExistingAlternatives() local
151 ActivityScenario<AppChooserActivity> scenario in testNoFailedComponentAndExistingAlternatives() local
DTapAgainDialogTest.java56 ActivityScenario<TapAgainDialog> scenario = ActivityScenario.launch(getStartIntent()); in testOnCreate() local
79 ActivityScenario<TapAgainDialog> scenario = ActivityScenario.launch(getStartIntent()); in testOnDestroy() local
87 ActivityScenario<TapAgainDialog> scenario = ActivityScenario.launch(getStartIntent()); in testOnStop() local
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/
DOrientationUtils.java32 ActivityScenario<T> scenario) { in setLandscapeOrientation()
37 ActivityScenario<T> scenario) { in setPortraitOrientation()
42 ActivityScenario<T> scenario, in changeOrientation()
DUiEventLoggerTestUtils.java38 ActivityScenario<T> scenario, UiEventLogger.UiEventEnum event, int uid, in verifyLogWithInstanceId()
59 ActivityScenario<T> scenario, UiEventLogger.UiEventEnum event, in verifyLogWithInstanceIdAndPosition()
DNoItemsTest.java58 try (ActivityScenario<PhotoPickerTestActivity> scenario = ActivityScenario.launch( in testNoItems_Simple()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/
DSettingsManageAppPermissionsFragmentTest.kt169 val scenario = in <lambda>() constant
192 val scenario = in <lambda>() constant
211 val scenario = in <lambda>() constant
238 val scenario = in <lambda>() constant
276 val scenario = in <lambda>() constant
306 val scenario = in <lambda>() constant
335 val scenario = in <lambda>() constant
494 val scenario = in <lambda>() constant
544 val scenario = in <lambda>() constant
DSettingsActivityTest.kt127 launch<SettingsActivity>(intent).use { scenario -> in <lambda>() method
145 launch<SettingsActivity>(intent).use { scenario -> in <lambda>() method
162 launch<SettingsActivity>(intent).use { scenario -> in <lambda>() method
171 launch<SettingsActivity>(intent).use { scenario -> in <lambda>() method
DSettingsManagePermissionFragmentTest.kt209 val scenario = launchFragment<SettingsManagePermissionFragment>(Bundle()) in whenMigrationInProgress_showsMigrationInProgressDialog() constant
253 val scenario = launchFragment<SettingsManagePermissionFragment>(Bundle()) in whenRestoreInProgress_showsRestoreInProgressDialog() constant
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/
DAdditionalAccessFragmentTest.kt116 val scenario = in <lambda>() constant
187 val scenario = in <lambda>() constant
228 val scenario = in <lambda>() constant
266 val scenario = in <lambda>() constant
307 val scenario = in <lambda>() constant
348 val scenario = in <lambda>() constant
404 val scenario = in <lambda>() constant
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppLauncherActivityTest.java156 ActivityScenario<BluetoothOppLauncherActivity> scenario = ActivityScenario.launch(mIntent); in launchDevicePicker_bluetoothNotEnabled_launchEnableActivity() local
169 ActivityScenario<BluetoothOppLauncherActivity> scenario = ActivityScenario.launch(mIntent); in launchDevicePicker_bluetoothEnabled_launchActivity() local
181 ActivityScenario<BluetoothOppLauncherActivity> scenario = ActivityScenario.launch(mIntent); in createFileForSharedContent_returnFile() local
204 ActivityScenario<BluetoothOppLauncherActivity> scenario = ActivityScenario.launch(mIntent); in sendFileInfo_finishImmediately() local
DIncomingFileConfirmActivityTest.java233 ActivityScenario<BluetoothOppIncomingFileConfirmActivity> scenario = in onTimeout_broadcastUserConfirmationTimeoutAction_sendDismissTimeoutDialogMessage() local
248 ActivityScenario<BluetoothOppIncomingFileConfirmActivity> scenario = in onKeyDown() local
/packages/apps/Settings/tests/componenttests/src/com/android/settings/biometrics/
DBiometricEnrollActivityTest.java121 try (ActivityScenario<BiometricEnrollActivity> scenario = in launchWithoutPin_setsPin()
137 try (ActivityScenario<BiometricEnrollActivity> scenario = in launchWithPin_confirmsPin()
157 try (ActivityScenario<BiometricEnrollActivity> scenario = in launchWithPinAndPwHandle_confirmsPin()
173 try (ActivityScenario<BiometricEnrollActivity> scenario = in launchWithStrongBiometricAllowed_doNotEnrollWeak()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/alldata/
DAllDataFragmentTest.kt92 val scenario = launchFragment<AllDataFragment>() in <lambda>() constant
160 val scenario = launchFragment<AllDataFragment>() in <lambda>() constant
221 val scenario = launchFragment<AllDataFragment>() in <lambda>() constant
254 val scenario = launchFragment<AllDataFragment>() in <lambda>() constant
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DConnectedAppFragmentTest.kt155 val scenario = in <lambda>() constant
182 val scenario = in <lambda>() constant
211 val scenario = in <lambda>() constant
242 val scenario = in <lambda>() constant
285 val scenario = in <lambda>() constant
315 val scenario = in <lambda>() constant
/packages/modules/AdServices/adservices/libraries/health/runners/concurrent-longevity/adservices/src/android/adservices/test/longevity/concurrent/
DScheduledScenarioRunner.java72 public ScheduledScenarioRunner(Scenario scenario, long timeout, boolean shouldIdle) in ScheduledScenarioRunner()
77 ScheduledScenarioRunner(Scenario scenario, long timeout, boolean shouldIdle, Bundle arguments) in ScheduledScenarioRunner()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/navigation/
DTrampolineActivityTest.kt167 val scenario = launchActivityForResult<TrampolineActivity>(createStartIntent()) in startingActivity_healthConnectNotAvailable_finishesActivity() constant
175 val scenario = launchActivityForResult<TrampolineActivity>(createStartIntent("no_action")) in startingActivity_noAction_finishesActivity() constant
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DNearbyDevicesRenouncePermissionTest.java227 private Result performScan(Scenario scenario) { in performScan()
269 private Context createContext(Scenario scenario, Context context) throws Exception { in createContext()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/migration/
DModuleUpdateRequiredFragmentTest.kt86 val scenario = launchFragment<ModuleUpdateRequiredFragment>(Bundle()) in <lambda>() constant
DMigrationPausedFragmentTest.kt73 val scenario = launchFragment<MigrationPausedFragment>(Bundle()) in <lambda>() constant

123