Home
last modified time | relevance | path

Searched refs:activityScenario (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppBtEnablingActivityTest.java106 ActivityScenario<BluetoothOppBtEnablingActivity> activityScenario = in onCreate_bluetoothEnableTimeout_finishAfterTimeout() local
109 activityScenario.onActivity( in onCreate_bluetoothEnableTimeout_finishAfterTimeout()
116 assertActivityState(activityScenario, DESTROYED); in onCreate_bluetoothEnableTimeout_finishAfterTimeout()
122 ActivityScenario<BluetoothOppBtEnablingActivity> activityScenario = in onKeyDown_cancelProgress() local
127 activityScenario.onActivity( in onKeyDown_cancelProgress()
144 ActivityScenario<BluetoothOppBtEnablingActivity> activityScenario = in onCreate_bluetoothAlreadyEnabled_finishImmediately() local
146 assertActivityState(activityScenario, DESTROYED); in onCreate_bluetoothAlreadyEnabled_finishImmediately()
152 ActivityScenario<BluetoothOppBtEnablingActivity> activityScenario = in broadcastReceiver_onReceive_finishImmediately() local
156 activityScenario.onActivity( in broadcastReceiver_onReceive_finishImmediately()
167 private void assertActivityState(ActivityScenario activityScenario, Lifecycle.State state) in assertActivityState() argument
[all …]
DBluetoothOppTransferActivityTest.java142 ActivityScenario<BluetoothOppTransferActivity> activityScenario = in onCreate_showSendOnGoingDialog() local
145 activityScenario.onActivity( in onCreate_showSendOnGoingDialog()
164 ActivityScenario<BluetoothOppTransferActivity> activityScenario = in onCreate_showSendCompleteSuccessDialog() local
167 activityScenario.onActivity( in onCreate_showSendCompleteSuccessDialog()
186 ActivityScenario<BluetoothOppTransferActivity> activityScenario = in onCreate_showSendCompleteFailDialog() local
189 activityScenario.onActivity( in onCreate_showSendCompleteFailDialog()
208 ActivityScenario<BluetoothOppTransferActivity> activityScenario = in onCreate_showReceiveOnGoingDialog() local
211 activityScenario.onActivity( in onCreate_showReceiveOnGoingDialog()
231 ActivityScenario<BluetoothOppTransferActivity> activityScenario = in onCreate_showReceiveCompleteSuccessDialog() local
234 activityScenario.onActivity( in onCreate_showReceiveCompleteSuccessDialog()
[all …]
DBluetoothOppLauncherActivityTest.java113 ActivityScenario<BluetoothOppLauncherActivity> activityScenario = in onCreate_withNoAction_returnImmediately() local
115 assertActivityState(activityScenario, Lifecycle.State.DESTROYED); in onCreate_withNoAction_returnImmediately()
121 ActivityScenario<BluetoothOppLauncherActivity> activityScenario = in onCreate_withActionSend_withoutMetadata_finishImmediately() local
123 assertActivityState(activityScenario, Lifecycle.State.DESTROYED); in onCreate_withActionSend_withoutMetadata_finishImmediately()
130 ActivityScenario<BluetoothOppLauncherActivity> activityScenario = in onCreate_withActionSendMultiple_withoutMetadata_finishImmediately() local
132 assertActivityState(activityScenario, Lifecycle.State.DESTROYED); in onCreate_withActionSendMultiple_withoutMetadata_finishImmediately()
216 private void assertActivityState(ActivityScenario activityScenario, Lifecycle.State state) in assertActivityState() argument
219 assertThat(activityScenario.getState()).isEqualTo(state); in assertActivityState()
DBluetoothOppBtEnableActivityTest.java80 ActivityScenario<BluetoothOppBtEnableActivity> activityScenario = in onCreate_clickOnEnable_launchEnablingActivity() local
82 activityScenario.onActivity( in onCreate_clickOnEnable_launchEnablingActivity()
DIncomingFileConfirmActivityTest.java169 ActivityScenario<BluetoothOppIncomingFileConfirmActivity> activityScenario = in onCreate_clickConfirmCancel_saveUSER_CONFIRMAMTION_DENIED() local
171 activityScenario.onActivity(activity -> {}); in onCreate_clickConfirmCancel_saveUSER_CONFIRMAMTION_DENIED()
/packages/apps/Settings/tests/componenttests/src/com/android/settings/wifi/dpp/
DWifiDppConfiguratorAuthActivityTest.java57 ActivityScenario<WifiDppConfiguratorAuthActivity> activityScenario = in launchActivity_sendAuthIntent() local
59 assertThat(activityScenario).isNotNull(); in launchActivity_sendAuthIntent()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DFitnessPermissionsFragmentTest.kt267 val activityScenario = launchFragment<FitnessPermissionsFragment>(bundleOf()) in <lambda>() constant
269 activityScenario.onActivity { activity: TestActivity -> in <lambda>()
299 val activityScenario = launchFragment<FitnessPermissionsFragment>(bundleOf()) in <lambda>() constant
301 activityScenario.onActivity { activity: TestActivity -> in <lambda>()
DMedicalPermissionsFragmentTest.kt280 val activityScenario = launchFragment<MedicalPermissionsFragment>(bundleOf()) in <lambda>() constant
282 activityScenario.onActivity { activity: TestActivity -> in <lambda>()
310 val activityScenario = launchFragment<MedicalPermissionsFragment>(bundleOf()) in <lambda>() constant
312 activityScenario.onActivity { activity: TestActivity -> in <lambda>()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DBasePermissionTest.kt128 var activityScenario: ActivityScenario<StartForFutureActivity>? = null in <lambda>() variable in android.permissionui.cts.BasePermissionTest
193 activityScenario?.close() in <lambda>()
436 activityScenario = in <lambda>()