Home
last modified time | relevance | path

Searched refs:isFinishing (Results 1 – 25 of 106) sorted by relevance

12345

/packages/apps/TV/tests/robotests/src/com/android/tv/
DSetupPassthroughActivityTest.java120 assertThat(activity.isFinishing()).isTrue(); in create_emptyIntent()
130 assertThat(activity.isFinishing()).isTrue(); in create_noInputs()
143 assertThat(activity.isFinishing()).isTrue(); in create_inputNotFound()
158 assertThat(activity.isFinishing()).isFalse(); in create_validInput()
182 assertThat(activity.isFinishing()).isFalse(); in create_trustedCallingPackage()
204 assertThat(activity.isFinishing()).isTrue(); in create_nonTrustedCallingPackage()
213 assertThat(activity.isFinishing()).isTrue(); in onActivityResult_canceled()
227 assertThat(activity.isFinishing()).isFalse(); in onActivityResult_ok()
230 assertThat(activity.isFinishing()).isTrue(); in onActivityResult_ok()
252 assertThat(activity.isFinishing()).isFalse(); in onActivityResult_3rdPartyEpg_ok()
[all …]
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
DImageCaptureIntentTest.java63 assertTrue(getActivity().isFinishing()); in testNoExtraOutput()
87 assertTrue(getActivity().isFinishing()); in testExtraOutput()
116 assertTrue(getActivity().isFinishing()); in testRetake()
132 assertTrue(getActivity().isFinishing()); in testCancel()
144 assertTrue(getActivity().isFinishing()); in testSnapshotCancel()
DVideoCaptureIntentTest.java137 assertTrue(getActivity().isFinishing()); in testCancel()
149 assertTrue(getActivity().isFinishing()); in testRecordCancel()
229 assertTrue(activity.isFinishing());
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/
DWifiDppConfiguratorActivityTest.java64 assertThat(mActivityRule.getActivity().isFinishing()).isEqualTo(false); in launchActivity_qrCodeScanner_shouldNotAutoFinish()
77 assertThat(mActivityRule.getActivity().isFinishing()).isEqualTo(false); in launchActivity_qrCodeGenerator_shouldNotAutoFinish()
87 assertThat(mActivityRule.getActivity().isFinishing()).isEqualTo(false); in launchActivity_chooseSavedWifiNetwork_shouldNotAutoFinish()
192 assertThat(mActivityRule.getActivity().isFinishing()).isEqualTo(true); in launchScanner_onNavigateUp_shouldFinish()
210 assertThat(mActivityRule.getActivity().isFinishing()).isEqualTo(true); in launchGenerator_onNavigateUp_shouldFinish()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockGenericTest.java91 assertThat(mActivity.isFinishing()).isTrue(); in onCreate_deviceNotProvisioned_shouldFinishActivity()
209 assertThat(mActivity.isFinishing()).isFalse(); in onActivityResult_requestcode0_shouldNotFinish()
220 assertThat(mActivity.isFinishing()).isTrue(); in onActivityResult_requestcode101_shouldFinish()
230 assertThat(mActivity.isFinishing()).isTrue(); in onActivityResult_requestcode102_shouldFinish()
241 assertThat(mActivity.isFinishing()).isTrue(); in onActivityResult_requestcode103_shouldFinish()
252 assertThat(mActivity.isFinishing()).isTrue(); in onActivityResult_requestcode104_shouldFinish()
DSetupChooseLockGenericTest.java65 assertThat(shadowActivity.isFinishing()).isTrue(); in setupChooseLockGenericPasswordComplexityExtraWithoutPermission()
79 assertThat(shadowActivity.isFinishing()).isFalse(); in setupChooseLockGenericPasswordComplexityExtraWithPermission()
/packages/apps/Camera2/tests/src/com/android/camera/functional/
DImageCaptureIntentTest.java58 assertTrue(getActivity().isFinishing()); in testNoExtraOutput()
82 assertTrue(getActivity().isFinishing()); in testExtraOutput()
108 assertTrue(getActivity().isFinishing()); in testCancel()
120 assertTrue(getActivity().isFinishing()); in testSnapshotCancel()
DVideoCaptureIntentTest.java114 assertTrue(getActivity().isFinishing()); in testCancel()
126 assertTrue(getActivity().isFinishing()); in testRecordCancel()
206 assertTrue(activity.isFinishing());
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DCredentialStorageActivity.java79 if (isFinishing()) { in onResume()
228 if (credentialStorage == null || credentialStorage.isFinishing() in doInBackground()
256 if (credentialStorage == null || credentialStorage.isFinishing() in onPostExecute()
350 if (credentialStorage == null || credentialStorage.isFinishing() in doInBackground()
372 if (credentialStorage == null || credentialStorage.isFinishing() in onPostExecute()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DChooseAccountPreferenceControllerTest.java103 assertThat(mActivity.isFinishing()).isTrue(); in handlePreferenceTreeClick_isProviderPreference_shouldFinishFragment()
127 assertThat(mActivity.isFinishing()).isTrue(); in updateAuthDescriptions_oneProvider_shouldNotAddPreference()
152 assertThat(mActivity.isFinishing()).isTrue(); in updateAuthDescriptions_oneAdminDisabledProvider_shouldNotAddPreference()
174 assertThat(mActivity.isFinishing()).isTrue(); in updateAuthDescriptions_noProvider_shouldNotAddPreference()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollFinishTest.java68 assertFalse(mActivityRule.getActivity().isFinishing()); in clickAddAnother_shouldLaunchEnrolling()
85 assertTrue(mActivityRule.getActivity().isFinishing()); in clickAddAnother_shouldPropagateResults()
91 assertTrue(mActivityRule.getActivity().isFinishing()); in clickNext_shouldFinish()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java374 assertTrue(mActivityRule.getActivity().isFinishing()); in testErrorNoFactoryReset()
442 assertFalse(mActivityRule.getActivity().isFinishing()); in testCancelProfileOwner()
459 assertTrue(mActivityRule.getActivity().isFinishing()); in testCancelProfileOwner()
530 assertFalse(mActivityRule.getActivity().isFinishing()); in testCancelDeviceOwner()
561 assertTrue(mActivityRule.getActivity().isFinishing()); in testSuccess()
595 assertTrue(mActivityRule.getActivity().isFinishing()); in testSuccess_Nfc()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DKeyboardLayoutPickerControllerTest.java102 assertThat(activity.isFinishing()).isTrue(); in testLifecycle_onStart_NoInputDevice_shouldFinish()
153 assertThat(activity.isFinishing()).isTrue(); in testOnDeviceRemove_getSameDevice_shouldFinish()
173 assertThat(activity.isFinishing()).isFalse(); in testOnDeviceRemove_getDifferentDevice_shouldNotFinish()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DAddTrustedDeviceActivityTest.java141 assertThat(mActivityController.get().isFinishing()).isTrue(); in onStart_has_activated_handle_finish()
193 assertThat(mActivity.isFinishing()).isTrue(); in onBluetoothDeviceDisconnected_finish()
226 assertThat(mActivity.isFinishing()).isTrue(); in onStart_onEscrowTokenActiveStateChanged_activated_finish()
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamNotificationActivity.java84 if (!isFinishing()) {
214 if (!isFinishing()) { in onPause()
384 if (!dismissed && getActivity() != null && !getActivity().isFinishing()) { in onDismiss()
477 if (!dismissed && getActivity() != null && !getActivity().isFinishing()) {
/packages/apps/Bluetooth/src/com/android/bluetooth/
DAlertActivity.java57 if (!isFinishing()) { in onDismiss()
64 if (!isFinishing()) { in onCancel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilitySettingsForSetupWizardActivityTest.java69 assertThat(activity.isFinishing()).isTrue(); in onCreate_hasFontSizeComponent_shouldGoToFontSizePreferenceDirectly()
84 assertThat(activity.isFinishing()).isFalse(); in onCreate_noFontSizeComponent_shouldNotFinishCurrentActivity()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DTetherProvisioningActivityTest.java113 assertFalse(activity.isFinishing()); in testOnCreate_startActivityForResult()
122 assertTrue(activity.isFinishing()); in testOnCreate_startActivityForResult()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DForgetDeviceDialogFragmentTest.java89 assertThat(mActivity.isFinishing()).isFalse(); in cancelDialog()
98 assertThat(mActivity.isFinishing()).isTrue(); in confirmDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiRequestToggleActivity.java58 if (!isFinishing() && !isDestroyed()) {
257 if (activity.isFinishing() || activity.isDestroyed()) { in onReceive()
/packages/services/Car/service/src/com/android/car/pm/
DActivityBlockingActivity.java238 if (isFinishing()) { in handleCloseApplication()
250 if (isFinishing()) { in handleRestartingTask()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DRequestToggleWiFiActivity.java58 if (!isFinishing() && !isDestroyed()) {
304 if (activity.isFinishing() || activity.isDestroyed()) { in onReceive()
/packages/apps/Settings/src/com/android/settings/wifi/
DRequestToggleWiFiActivity.java58 if (!isFinishing() && !isDestroyed()) {
304 if (activity.isFinishing() || activity.isDestroyed()) { in onReceive()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DSetupFingerprintEnrollIntroductionTest.java97 assertThat(mController.get().isFinishing()).named("Is finishing").isTrue(); in testKeyguardNotSecure_shouldFinishWithSetupSkipDialogResultSkip()
116 assertThat(mController.get().isFinishing()).named("Is finishing").isTrue(); in testKeyguardSecure_shouldFinishWithFingerprintResultSkip()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DNfcImportVCardActivity.java245 if (isFinishing()) { in onImportFinished()
260 if (isFinishing()) { in onImportFailed()

12345