Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/brightness/
DBrightnessDialogTest.kt136 assertThat(activityRule.activity.isFinishing()).isFalse() in testTimeout()
139 assertThat(activityRule.activity.isFinishing()).isTrue() in testTimeout()
155 assertThat(activityRule.activity.isFinishing()).isFalse() in testRestartTimeout()
163 assertThat(activityRule.activity.isFinishing()).isFalse() in testRestartTimeout()
166 assertThat(activityRule.activity.isFinishing()).isTrue() in testRestartTimeout()
180 assertThat(activityRule.activity.isFinishing()).isFalse() in testNoTimeoutIfNotStartedByBrightnessKey()
183 assertThat(activityRule.activity.isFinishing()).isFalse() in testNoTimeoutIfNotStartedByBrightnessKey()
194 assertThat(activityRule.activity.isFinishing()).isFalse() in <lambda>()
200 assertThat(activityRule.activity.isFinishing()).isTrue() in <lambda>()
219 override fun isFinishing(): Boolean { in isFinishing() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/sensorprivacy/
DSensorUseStartedActivityTest.kt31 assertThat(activity.isFinishing).isFalse() in <lambda>()
35 assertThat(activity.isFinishing).isFalse() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/
DCreateUserActivityTest.kt48 assertThat(activity.isFinishing).isFalse() in <lambda>()
52 assertThat(activity.isFinishing).isTrue() in <lambda>()
/frameworks/base/core/java/android/app/
DActivityGroup.java78 mLocalActivityManager.dispatchPause(isFinishing()); in onPause()
90 mLocalActivityManager.dispatchDestroy(isFinishing()); in onDestroy()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/
DAppClipsTrampolineActivityTest.java178 assertThat(mActivityRule.getActivity().isFinishing()).isTrue(); in queryService_returnedFailed_shouldFinishWithFailed()
192 assertThat(mActivityRule.getActivity().isFinishing()).isTrue(); in queryService_returnedWindowModeUnsupported_shouldFinishWithWindowModeUnsupported()
206 assertThat(mActivityRule.getActivity().isFinishing()).isTrue(); in queryService_returnedScreenshotBlocked_shouldFinishWithBlockedByAdmin()
227 assertThat(mActivityRule.getActivity().isFinishing()).isTrue(); in startAppClipsActivity_userCanceled_shouldReturnUserCanceled()
249 assertThat(mActivityRule.getActivity().isFinishing()).isTrue(); in startAppClipsActivity_shouldReturnSuccess()
DAppClipsActivityTest.java157 assertThat(mActivity.isFinishing()).isTrue(); in screenshotDisplayed_userConsented_screenshotExportedSuccessfully()
175 assertThat(mActivity.isFinishing()).isTrue(); in screenshotDisplayed_userDeclined()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityTest.kt114 assertFalse(activity.isFinishing) in onBackPressed_finishActivity()
118 assertFalse(activity.isFinishing) in onBackPressed_finishActivity()
/frameworks/base/packages/SettingsLib/AvatarPicker/src/
DAvatarPhotoController.java58 boolean isFinishing(); in isFinishing() method
188 if (!mAvatarUi.isFinishing()) { in copyAndCropPhoto()
333 public boolean isFinishing() { in isFinishing() method in AvatarPhotoController.AvatarUiImpl
334 return mActivity.isFinishing() || mActivity.isDestroyed(); in isFinishing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DLaunchConversationActivityTest.java196 assertThat(mActivity.isFinishing()).isTrue(); in testEntryClearsNotificationAndDoesNotOpenBubble()
222 assertThat(mActivity.isFinishing()).isTrue(); in testBubbleEntryOpensBubbleAndDoesNotClearNotification()
243 assertThat(mActivity.isFinishing()).isTrue(); in testQuietModeOpensQuietModeDialog()
267 assertThat(mActivity.isFinishing()).isTrue(); in testBubbleWithNoNotifOpensBubble()
/frameworks/base/services/tests/powerstatstests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
DTestActivity.java50 if (!isFinishing()) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/
DAppClipsTrampolineActivity.java159 if (isFinishing() && mKillAppClipsBroadcastIntent != null) { in onDestroy()
168 if (isFinishing()) { in handleAppClipsStatusCode()
245 if (isFinishing()) { in onReceiveResult()
DAppClipsActivity.java117 if (!isFinishing()) { in AppClipsActivity()
189 if (isFinishing() && mViewModel.getErrorLiveData().getValue() == null in onDestroy()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DDeleteStagedFileOnResult.java54 if (isFinishing()) { in onDestroy()
DAlertActivity.java58 if (!isFinishing()) { in dismiss()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DManageDialog.java106 if (!isFinishing()) { in onDestroy()
135 if (!isFinishing()) { in handleMessage()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskFragmentContainer.java261 && associatedActivity != null && !associatedActivity.isFinishing()) { in TaskFragmentContainer()
309 if (activity != null && !activity.isFinishing()) { in collectNonFinishingActivities()
331 if (activity != null && !activity.isFinishing()) { in collectNonFinishingActivities()
365 if (activity == null || activity.isFinishing()) { in isInIntermediateState()
704 if (!activity.isFinishing() in finishActivities()
732 if (activity == null || activity.isFinishing() in finishActivities()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DDraggableHandler.kt103 if (swipeTransition.isFinishing) { in onDrag()
273 if (delta == 0f || !isDrivingTransition || swipeTransition.isFinishing) return in onDrag()
353 if (!isDrivingTransition || swipeTransition.isFinishing) { in onStop()
626 var isFinishing = false variable
769 if (isFinishing) return requireNotNull(offsetAnimation).job in finish()
770 isFinishing = true in finish()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbPermissionActivity.java69 if (isFinishing()) { in onPause()
/frameworks/base/core/java/com/android/internal/app/
DAlertActivity.java70 if (!isFinishing()) { in dismiss()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DSelectPrinterActivity.java143 if (!isFinishing() && adapter.getCount() <= 0) { in onCreate()
150 if (!isFinishing()) { in onCreate()
262 if (!isFinishing() && AccessibilityManager.getInstance( in onCreateOptionsMenu()
360 if (isFinishing()) { in onDestroy()
467 if (!isFinishing()) { in onLoaderReset()
DAddPrinterActivity.java153 if (isFinishing()) { in onDestroy()
211 if (!isFinishing()) { in onLoaderReset()
255 if (!isFinishing()) { in onLoaderReset()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DCommonUtils.java98 if (!activity.isFinishing()) { in waitUntilActivityRemoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/view/
DShortcutHelperActivity.kt101 if (isFinishing) { in <lambda>()
/frameworks/base/core/java/android/service/dreams/
DDreamService.java1236 if (!activity.isFinishing()) { in finish()
1450 if (mActivity != null && !mActivity.isFinishing()) { in detach()
1771 if (!activity.isFinishing()) { in onActivityCreated()
1779 if (!activity.isFinishing()) { in onActivityCreated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DDetailDialog.kt198 (activityContext as? Activity)?.let { it.isFinishing || it.isDestroyed } in <lambda>()

123