Home
last modified time | relevance | path

Searched refs:isDestroyed (Results 1 – 25 of 107) sorted by relevance

12345

/aosp12/frameworks/base/core/java/android/print/
H A DPrinterDiscoverySession.java78 if (isDestroyed()) { in startPrinterDiscovery()
93 if (isDestroyed()) { in stopPrinterDiscovery()
108 if (isDestroyed()) { in startPrinterStateTracking()
120 if (isDestroyed()) { in stopPrinterStateTracking()
132 if (isDestroyed()) { in validatePrinters()
144 if (isDestroyed()) { in destroy()
151 if (isDestroyed()) { in getPrinters()
158 public final boolean isDestroyed() { in isDestroyed() method in PrinterDiscoverySession
199 if (isDestroyed()) { in handlePrintersAdded()
239 if (isDestroyed()) { in handlePrintersRemoved()
/aosp12/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/ui/
H A DAppPermissionFragmentTest.kt87 assertThat(managePermissionsActivity.activity.isDestroyed()).isTrue()
95 assertThat(managePermissionsActivity.activity.isDestroyed()).isTrue()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/security/
H A DCredentialStorageActivity.java242 || credentialStorage.isDestroyed()) { in doInBackground()
271 || credentialStorage.isDestroyed()) { in onPostExecute()
366 || credentialStorage.isDestroyed()) { in doInBackground()
388 || credentialStorage.isDestroyed()) { in onPostExecute()
/aosp12/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
H A DWfcActivationActivity.java106 if (!isFinishing() && !isDestroyed()) { in runOnUiThreadIfAlive()
114 if (!isFinishing() && !isDestroyed()) { in setResultAndFinish()
/aosp12/frameworks/base/core/java/android/app/
H A DVoiceInteractor.java1021 if (isDestroyed()) { in submitRequest()
1049 if (isDestroyed()) { in getActiveRequests()
1074 if (isDestroyed()) { in getActiveRequest()
1100 if (isDestroyed()) { in supportsCommands()
1117 public boolean isDestroyed() { in isDestroyed() method in VoiceInteractor
1132 if (isDestroyed()) { in registerOnDestroyedCallback()
1148 if (isDestroyed()) { in unregisterOnDestroyedCallback()
1159 if (isDestroyed()) { in notifyDirectActionsChanged()
H A DKeyguardManager.java643 if (callback != null && !activity.isDestroyed()) { in requestDismissKeyguard()
650 if (callback != null && !activity.isDestroyed()) { in requestDismissKeyguard()
657 if (callback != null && !activity.isDestroyed()) { in requestDismissKeyguard()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DStagingManagerTest.java225 assertThat(destroyedApkSession.isDestroyed()).isTrue(); in restoreSessions_handlesDestroyedAndNotReadySessions()
226 assertThat(destroyedApexSession.isDestroyed()).isTrue(); in restoreSessions_handlesDestroyedAndNotReadySessions()
227 assertThat(destroyedNonReadySession.isDestroyed()).isTrue(); in restoreSessions_handlesDestroyedAndNotReadySessions()
603 private void setDestroyed(boolean isDestroyed) { in setDestroyed() argument
604 mIsDestroyed = isDestroyed; in setDestroyed()
654 public boolean isDestroyed() { in isDestroyed() method in StagingManagerTest.FakeStagedSession
/aosp12/frameworks/base/core/java/android/view/translation/
H A DTranslator.java286 if (isDestroyed()) { in translate()
324 if (isDestroyed()) { in translate()
371 public boolean isDestroyed() { in isDestroyed() method in Translator
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
H A DTopLevelPickerActivity.java532 if (isDestroyed()) { in refreshCurrentWallpapers()
540 if (isDestroyed()) { in refreshCurrentWallpapers()
576 if (exploreIntent != null && !isDestroyed()) { in refreshCurrentWallpapers()
743 if (isDestroyed()) { in refreshDailyWallpaper()
931 if (isDestroyed()) { in setCustomPhotoWallpaper()
983 if (isDestroyed()) { in initializeWallpaperPositionOptionClickHandlers()
1017 if (isDestroyed()) { in initializeWallpaperPositionOptionClickHandlers()
1051 if (isDestroyed()) { in initializeWallpaperPositionOptionClickHandlers()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/base/
H A DPairedTask.java35 super(owner::isDestroyed); in PairedTask()
/aosp12/art/test/169-threadgroup-jni/src/
H A DMain.java29 if (!group.isDestroyed()) { in main()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
H A DWifiRequestToggleActivity.java57 if (!isFinishing() && !isDestroyed()) {
247 if (activity.isFinishing() || activity.isDestroyed()) { in onReceive()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
H A DImapElement.java86 protected boolean isDestroyed() { in isDestroyed() method in ImapElement
H A DImapTempFileLiteral.java101 if (!isDestroyed() && file.exists()) { in destroy()
/aosp12/packages/apps/Car/libs/car-qc-lib/tests/unit/src/com/android/car/qc/controller/
H A DRemoteQCControllerTest.java150 boolean isDestroyed = res.getBoolean(IS_DESTROYED_KEY, false); in onDestroy_callsProviderOnDestroy()
151 assertThat(isDestroyed).isTrue(); in onDestroy_callsProviderOnDestroy()
/aosp12/frameworks/base/core/java/android/view/textclassifier/
H A DTextClassificationSession.java137 public boolean isDestroyed() { in isDestroyed() method in TextClassificationSession
155 if (!isDestroyed()) { in checkDestroyedAndRun()
/aosp12/packages/apps/Car/libs/car-qc-lib/tests/unit/src/com/android/car/qc/provider/
H A DBaseQCProviderTest.java146 boolean isDestroyed = res.getBoolean(IS_DESTROYED_KEY, false); in callDestroy_isDestroyed()
147 assertThat(isDestroyed).isTrue(); in callDestroy_isDestroyed()
/aosp12/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneWindow.java465 if (cb != null && !isDestroyed()) { in setContentView()
496 if (cb != null && !isDestroyed()) { in setContentView()
514 if (cb != null && !isDestroyed()) { in addContentView()
623 if (isDestroyed()) { in preparePanel()
816 if (st.isOpen || isDestroyed()) { in openPanel()
1008 if (cb != null && !isDestroyed()) { in checkCloseActionMenu()
1275 if (cb != null && !isDestroyed()) { in onMenuItemSelected()
1294 if (cb != null && !isDestroyed()) { in reopenMenu()
2331 if (cb != null && !isDestroyed()) { in onOpenSubMenu()
3118 if (!isDestroyed()) {
[all …]
H A DDecorView.java398 if (!mWindow.isDestroyed()) { in dispatchKeyEvent()
428 handled = cb != null && !mWindow.isDestroyed() && mFeatureId < 0
455 return cb != null && !mWindow.isDestroyed() && mFeatureId < 0
462 return cb != null && !mWindow.isDestroyed() && mFeatureId < 0
469 return cb != null && !mWindow.isDestroyed() && mFeatureId < 0
641 if (cb != null && !mWindow.isDestroyed()) {
899 if (mWindow.getCallback() != null && !mWindow.isDestroyed()) {
1782 if (cb != null && !mWindow.isDestroyed() && mFeatureId < 0) { in onWindowFocusChanged()
1801 if (cb != null && !mWindow.isDestroyed() && mFeatureId < 0) { in onAttachedToWindow()
2383 if (mWindow.isDestroyed()) { in onWindowDragResizeStart()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/
H A DRequestToggleWiFiActivity.java63 if (!isFinishing() && !isDestroyed()) {
324 if (activity.isFinishing() || activity.isDestroyed()) { in onReceive()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
H A DGetRootDocumentTask.java50 super(activity::isDestroyed, timeout); in GetRootDocumentTask()
/aosp12/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
H A DFingerprintErrorDialog.java39 if (fragmentManager.isDestroyed()) { in showErrorDialog()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DStagingManager.java122 boolean isDestroyed(); in isDestroyed() method
722 || stagedSession.isDestroyed()) { in checkNonOverlappingWithStagedSessions()
788 if (!stagedSession.isCommitted() || stagedSession.isDestroyed() in getSessionIdByPackageName()
822 if (!session.isDestroyed()) { in abortCommittedSession()
884 if (session.isDestroyed()) { in handleNonReadyAndDestroyedSessions()
1170 if (session.isDestroyed() || session.isSessionFailed()) { in handleMessage()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DExtensionController.java47 void clearItem(boolean isDestroyed); in clearItem() argument
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
H A DFakeExtensionController.java108 public void clearItem(boolean isDestroyed) { in clearItem() argument

12345