Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/print/
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()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSessionVerifier.java542 if (stagedSession.isDestroyed() || stagedSession.isInTerminalState()) { in checkRebootlessApex()
572 if (stagedSession.isDestroyed() || stagedSession.isInTerminalState()) { in checkActiveSessions()
592 if (session.isDestroyed() || session.isInTerminalState()) { in checkRollbacks()
596 if (stagedSession.isDestroyed() || stagedSession.isInTerminalState()) { in checkRollbacks()
633 if (parent.isDestroyed() || parent.isInTerminalState()) { in checkOverlaps()
643 if (stagedSession.isDestroyed() || stagedSession.isInTerminalState() in checkOverlaps()
DStagingManager.java112 boolean isDestroyed(); in isDestroyed() method
534 if (!session.isDestroyed()) { in abortCommittedSession()
599 if (session.isDestroyed()) { in handleNonReadyAndDestroyedSessions()
827 if (!session.isSessionReady() || session.isDestroyed()) { in getStagedApexInfos()
859 if (!session.isSessionReady() || session.isDestroyed() in getStagedApexModuleNames()
877 if (!session.isSessionReady() || session.isDestroyed() in getStagedApexInfo()
DPackageInstallerService.java417 } else if (!root.isDestroyed()) { in freeStageDirs()
1069 result = (session != null && !(session.isStaged() && session.isDestroyed()))
1083 if (session.isStaged() && !session.isDestroyed()) {
1104 && !(session.isStaged() && session.isDestroyed())) {
1684 if (mOkToSendBroadcasts && !session.isDestroyed() && session.isStaged()) {
1709 boolean shouldRemove = !session.isStaged() || session.isDestroyed()
1772 && !root.isDestroyed()) {
/frameworks/base/core/java/android/view/translation/
DTranslator.java283 if (isDestroyed()) { in translate()
321 if (isDestroyed()) { in translate()
368 public boolean isDestroyed() { in isDestroyed() method in Translator
DUiTranslationController.java121 if (mActivity.isDestroyed()) { in updateUiTranslationState()
348 if (mActivity.isDestroyed()) { in onVirtualViewTranslationCompleted()
400 if (mActivity.isDestroyed()) { in onTranslationCompleted()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageSessionVerifierTest.java84 when(session2.isDestroyed()).thenReturn(true); in checkRollbacks()
119 when(session4.isDestroyed()).thenReturn(true); in checkOverlaps()
DStagingManagerTest.java218 assertThat(destroyedApkSession.isDestroyed()).isTrue(); in restoreSessions_handlesDestroyedAndNotReadySessions()
219 assertThat(destroyedApexSession.isDestroyed()).isTrue(); in restoreSessions_handlesDestroyedAndNotReadySessions()
220 assertThat(destroyedNonReadySession.isDestroyed()).isTrue(); in restoreSessions_handlesDestroyedAndNotReadySessions()
808 private void setDestroyed(boolean isDestroyed) { in setDestroyed() argument
809 mIsDestroyed = isDestroyed; in setDestroyed()
859 public boolean isDestroyed() { in isDestroyed() method in StagingManagerTest.FakeStagedSession
/frameworks/base/core/java/android/app/
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()
DKeyguardManager.java704 if (callback != null && !activity.isDestroyed()) { in requestDismissKeyguard()
711 if (callback != null && !activity.isDestroyed()) { in requestDismissKeyguard()
718 if (callback != null && !activity.isDestroyed()) { in requestDismissKeyguard()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
DKeyguardPreviewRenderer.kt84 private var isDestroyed = false variable
148 isDestroyed = true in destroy()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassificationSession.java137 public boolean isDestroyed() { in isDestroyed() method in TextClassificationSession
155 if (!isDestroyed()) { in checkDestroyedAndRun()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionController.java47 void clearItem(boolean isDestroyed); in clearItem() argument
DExtensionControllerImpl.java181 public void clearItem(boolean isDestroyed) { in clearItem() argument
182 if (isDestroyed && mItem != null) { in clearItem()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeExtensionController.java108 public void clearItem(boolean isDestroyed) { in clearItem() argument
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java480 if (cb != null && !isDestroyed()) { in setContentView()
511 if (cb != null && !isDestroyed()) { in setContentView()
529 if (cb != null && !isDestroyed()) { in addContentView()
638 if (isDestroyed()) { in preparePanel()
831 if (st.isOpen || isDestroyed()) { in openPanel()
1029 if (cb != null && !isDestroyed()) { in checkCloseActionMenu()
1136 if (!isDestroyed() && preparePanel(st, event)) { in onKeyUpPanel()
1296 if (cb != null && !isDestroyed()) { in onMenuItemSelected()
1315 if (cb != null && !isDestroyed()) { in reopenMenu()
1336 if (st != null && cb != null && !isDestroyed()) { in reopenMenu()
[all …]
DDecorView.java400 if (!mWindow.isDestroyed()) { in dispatchKeyEvent()
430 handled = cb != null && !mWindow.isDestroyed() && mFeatureId < 0
457 return cb != null && !mWindow.isDestroyed() && mFeatureId < 0
464 return cb != null && !mWindow.isDestroyed() && mFeatureId < 0
471 return cb != null && !mWindow.isDestroyed() && mFeatureId < 0
643 if (cb != null && !mWindow.isDestroyed()) {
901 if (mWindow.getCallback() != null && !mWindow.isDestroyed()) {
934 if (mode != null && mWindow.getCallback() != null && !mWindow.isDestroyed()) {
1792 if (cb != null && !mWindow.isDestroyed() && mFeatureId < 0) { in onWindowFocusChanged()
1811 if (cb != null && !mWindow.isDestroyed() && mFeatureId < 0) { in onAttachedToWindow()
[all …]
/frameworks/base/services/systemcaptions/java/com/android/server/systemcaptions/
DRemoteSystemCaptionsManagerService.java106 boolean isDestroyed() { in isDestroyed() method in RemoteSystemCaptionsManagerService
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityLeakTests.java62 if (!activity.isDestroyed()) { in tearDown()
/frameworks/base/graphics/java/android/graphics/
DGraphicBuffer.java235 public boolean isDestroyed() { in isDestroyed() method in GraphicBuffer
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseFragmentPagerAdapter.java141 if (mCurTransaction != null && !mFragmentManager.isDestroyed()) { in finishUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/
DCreateUserActivity.java169 if (!isFinishing() && !isDestroyed()) { in finishIfNeeded()
/frameworks/base/core/java/android/printservice/
DPrinterDiscoverySession.java479 public final boolean isDestroyed() { in isDestroyed() method in PrinterDiscoverySession
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlActionCoordinatorImpl.kt84 (activityContext as? Activity)?.let { it.isFinishing || it.isDestroyed } in <lambda>()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java309 if (isFinishing() || isDestroyed()) { in onCreate()
365 if (isFinishing() || isDestroyed() || in onPrinterRegistryReady()
1077 if (isFinishing() || isDestroyed()) { in ensureProgressUiShown()
1089 if (isFinishing() || isDestroyed()) { in ensurePreviewUiShown()
1100 if (isFinishing() || isDestroyed()) { in ensureErrorUiShown()
1482 if (!(isFinishing() || isDestroyed())) { in onLoaderReset()
2089 if (mPrintedDocument.isDestroyed()) { in canUpdateDocument()

123