Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/os/
DHandlerThread.java76 if (!isAlive()) { in getLooper()
82 while (isAlive() && mLooper == null) { in getLooper()
/frameworks/base/core/tests/coretests/src/android/os/
DHandlerThreadTest.java47 assertFalse(th1.isAlive()); in testHandlerThread()
52 assertTrue(th1.isAlive()); in testHandlerThread()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCall.java37 public boolean isAlive() { in isAlive() method in Call.State
132 return !getState().isAlive(); in isIdle()
252 if (getState().isAlive()) {
DConnection.java458 isAlive() { in isAlive() method in Connection
459 return getState().isAlive(); in isAlive()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DUiAutomationShellWrapper.java25 if (mHandlerThread.isAlive()) { in connect()
62 if (!mHandlerThread.isAlive()) { in disconnect()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java221 && (!getForegroundCall().getState().isAlive() in canDial()
222 || !getBackgroundCall().getState().isAlive()); in canDial()
235 return (foregroundCallState.isAlive() || backgroundCallState.isAlive() in isInCall()
236 || ringingCallState.isAlive()); in isInCall()
DSipPhone.java106 if (mRingingCall.getState().isAlive()) { in takeIncomingCall()
113 if (mForegroundCall.getState().isAlive() in takeIncomingCall()
114 && mBackgroundCall.getState().isAlive()) { in takeIncomingCall()
127 boolean makeCallWait = mForegroundCall.getState().isAlive(); in takeIncomingCall()
230 if (mBackgroundCall.getState().isAlive()) mBackgroundCall.hold(); in switchHoldingAndActive()
231 if (mForegroundCall.getState().isAlive()) mForegroundCall.unhold(); in switchHoldingAndActive()
291 } else if (mForegroundCall.getState().isAlive()) { in sendDtmf()
366 return (mForegroundCall.getState().isAlive() in getMute()
520 if (mState.isAlive()) { in hangup()
959 if (!mState.isAlive()) return; in hangup()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java259 && (!getForegroundCall().getState().isAlive() in canDial()
260 || !getBackgroundCall().getState().isAlive()); in canDial()
273 return (foregroundCallState.isAlive() || backgroundCallState.isAlive() in isInCall()
274 || ringingCallState.isAlive()); in isInCall()
/frameworks/base/core/tests/coretests/src/android/view/
DRunQueueTest.java57 assertFalse("The view tree observer is still alive", activity.viewTreeObserver.isAlive()); in testTreeObserverKilled()
/frameworks/support/fragment/java/android/support/v4/app/
DOneShotPreDrawListener.java73 if (mViewTreeObserver.isAlive()) { in removeListener()
/frameworks/base/core/java/com/android/internal/view/
DOneShotPreDrawListener.java87 if (mViewTreeObserver.isAlive()) { in removeListener()
/frameworks/rs/support/java/src/android/support/v8/renderscript/
DBaseObj.java93 if(mRS.isAlive()) { in helpDestroy()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DStandardMenuPopup.java84 if (!mTreeObserver.isAlive()) mTreeObserver = v.getViewTreeObserver();
231 if (!mTreeObserver.isAlive()) mTreeObserver = mShownAnchorView.getViewTreeObserver(); in onDismiss()
/frameworks/base/core/java/com/android/internal/view/menu/
DStandardMenuPopup.java86 if (!mTreeObserver.isAlive()) mTreeObserver = v.getViewTreeObserver();
234 if (!mTreeObserver.isAlive()) mTreeObserver = mShownAnchorView.getViewTreeObserver(); in onDismiss()
/frameworks/base/rs/java/android/renderscript/
DBaseObj.java129 if(mRS.isAlive() && mID != 0) { in helpDestroy()
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/
DRSoVTestCore.java104 if (!activeTest.isAlive()) { in checkAndRunNextTest()
/frameworks/native/opengl/libs/EGL/
Degl_display.h82 inline bool isAlive() const { return isValid(); } in isAlive() function
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
DUsbAoapHostTestActivity.java85 if (mReaderThread.isAlive()) { // reader thread stuck in onDestroy()
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestDevice/src/com/android/hardware/usb/aoapdevicetest/
DUsbAoapDeviceTestActivity.java88 if (mReaderThread.isAlive()) { // reader thread stuck in onDestroy()
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
DRSTestCore.java119 if (!activeTest.isAlive()) { in checkAndRunNextTest()
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
DRSTestCore.java123 if (!activeTest.isAlive()) { in checkAndRunNextTest()
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooper.java263 if (mAutoDispatchThread.isAlive()) { in stopAutoDispatch()
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
DRSTestCore.java123 if (!activeTest.isAlive()) { in checkAndRunNextTest()
/frameworks/base/services/core/java/com/android/server/
DWatchdog.java316 if (isAlive()) { in addMonitor()
329 if (isAlive()) { in addThread()
/frameworks/base/services/core/java/com/android/server/wm/
DViewServer.java159 return mThread != null && mThread.isAlive(); in isRunning()

123