Home
last modified time | relevance | path

Searched refs:isAlive (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/core/java/android/os/
DHandlerThread.java71 if (!isAlive()) { in getLooper()
77 while (isAlive() && mLooper == null) { in getLooper()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCall.java32 public boolean isAlive() { in isAlive() method in Call.State
112 return !getState().isAlive(); in isIdle()
247 if (getState().isAlive()) {
DConnection.java193 isAlive() { in isAlive() method in Connection
194 return getState().isAlive(); in isAlive()
/frameworks/base/core/tests/coretests/src/android/os/
DHandlerThreadTest.java47 assertFalse(th1.isAlive()); in testHandlerThread()
52 assertTrue(th1.isAlive()); in testHandlerThread()
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
DSipPhoneBase.java216 && (!getForegroundCall().getState().isAlive() in canDial()
217 || !getBackgroundCall().getState().isAlive()); in canDial()
230 return (foregroundCallState.isAlive() || backgroundCallState.isAlive() in isInCall()
231 || ringingCallState.isAlive()); in isInCall()
DSipPhone.java97 if (ringingCall.getState().isAlive()) return false; in canTake()
101 if (foregroundCall.getState().isAlive() in canTake()
102 && backgroundCall.getState().isAlive()) { in canTake()
112 boolean makeCallWait = foregroundCall.getState().isAlive(); in canTake()
192 if (backgroundCall.getState().isAlive()) backgroundCall.hold(); in switchHoldingAndActive()
193 if (foregroundCall.getState().isAlive()) foregroundCall.unhold(); in switchHoldingAndActive()
246 } else if (foregroundCall.getState().isAlive()) { in sendDtmf()
313 return (foregroundCall.getState().isAlive() in getMute()
411 if (state.isAlive()) { in hangup()
815 if (!mState.isAlive()) return; in hangup()
/frameworks/base/core/tests/coretests/src/android/view/
DRunQueueTest.java57 assertFalse("The view tree observer is still alive", activity.viewTreeObserver.isAlive()); in testTreeObserverKilled()
/frameworks/base/graphics/java/android/renderscript/
DBaseObj.java115 if(mID != 0 && mRS.isAlive()) { in finalize()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopupHelper.java142 if (!mTreeObserver.isAlive()) mTreeObserver = mAnchorView.getViewTreeObserver(); in onDismiss()
213 if (!mTreeObserver.isAlive()) mTreeObserver = v.getViewTreeObserver(); in onViewDetachedFromWindow()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaCallTracker.java361 && (!foregroundCall.getState().isAlive() in canDial()
363 || !backgroundCall.getState().isAlive()); in canDial()
379 !foregroundCall.getState().isAlive(), in canDial()
381 !backgroundCall.getState().isAlive())); in canDial()
DCDMAPhone.java407 return (foregroundCallState.isAlive() || backgroundCallState.isAlive() || ringingCallState in isInCall()
408 .isAlive()); in isInCall()
/frameworks/base/tests/RenderScriptTests/tests_v11/src/com/android/rs/test/
DRSTestCore.java119 if (!activeTest.isAlive()) { in checkAndRunNextTest()
/frameworks/native/opengl/libs/EGL/
Degl_display.h97 inline bool isAlive() const { return isValid(); } in isAlive() function
/frameworks/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/
DRSTestCore.java123 if (!activeTest.isAlive()) { in checkAndRunNextTest()
/frameworks/base/services/java/com/android/server/wm/
DViewServer.java156 return mThread != null && mThread.isAlive(); in isRunning()
/frameworks/base/core/java/android/widget/
DActivityChooserView.java366 if (viewTreeObserver.isAlive()) { in dismissPopup()
400 if (viewTreeObserver.isAlive()) { in onDetachedFromWindow()
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
DRSTestCore.java140 if (!activeTest.isAlive()) { in checkAndRunNextTest()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCameraStressTest.java102 if (mLooperThread.isAlive()) { in tearDown()
/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java341 public boolean isAlive(); in isAlive() method
DViewTreeObserver.java603 public boolean isAlive() { in isAlive() method in ViewTreeObserver
/frameworks/testing/uiautomator/utils/uiautomatorviewer/src/com/android/uiautomator/actions/
DScreenshotAction.java281 if (t.isAlive()) { in run()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmCallTracker.java322 && (!foregroundCall.getState().isAlive() in canDial()
323 || !backgroundCall.getState().isAlive()); in canDial()
DGSMPhone.java692 return (foregroundCallState.isAlive() || in isInCall()
693 backgroundCallState.isAlive() || in isInCall()
694 ringingCallState.isAlive()); in isInCall()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsHorizontalScrollView.java159 if (observer.isAlive()) { in update()
/frameworks/base/services/java/com/android/server/
DWatchdog.java219 if (isAlive()) { in addMonitor()

12