Home
last modified time | relevance | path

Searched refs:isBinderAlive (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/
DBinderCacheManagerTest.java61 when(mIBinder.isBinderAlive()).thenReturn(true); in testGetConnection()
63 when(mIBinder.isBinderAlive()).thenReturn(false); in testGetConnection()
73 when(mIBinder.isBinderAlive()).thenReturn(false); in testAddListenerAndDie()
90 when(mIBinder.isBinderAlive()).thenReturn(false); in testListenerNotCalledAfterRemoved()
100 when(mIBinder.isBinderAlive()).thenReturn(false); in testAddListenerAlreadyDead()
113 when(mIBinder.isBinderAlive()).thenReturn(true); in populateCacheCaptureDeathRecipent()
/frameworks/opt/net/ims/tests/src/com/android/ims/
DMmTelFeatureConnectionTest.java75 if (!mFeatureConnection.isBinderAlive()) { in unregisterCallback()
86 return mFeatureConnection.isBinderAlive() in isBinderReady()
103 when(mFeatureConnection.isBinderAlive()).thenReturn(true); in setUp()
216 when(mFeatureConnection.isBinderAlive()).thenReturn(false); in testCallbackAdapter_removeCallbackFailedAfterBinderIsNotAlive()
227 when(mFeatureConnection.isBinderAlive()).thenReturn(false); in testCallbackAdapter_addCallbackFailedAfterBinderIsNotReady()
233 when(mFeatureConnection.isBinderAlive()).thenReturn(true); in testCallbackAdapter_addCallbackFailedAfterBinderIsNotReady()
DFeatureConnectionTest.java114 when(mBinder.isBinderAlive()).thenReturn(true); in testServiceIsReady()
131 when(mBinder.isBinderAlive()).thenReturn(false); in testServiceIsNotReady()
141 when(mBinder.isBinderAlive()).thenReturn(true); in testServiceIsNotReady()
DImsFeatureBinderRepositoryTest.java75 when(mConnectionCallbackBinder.isBinderAlive()).thenReturn(true); in setUp()
76 when(mConnectionCallback2Binder.isBinderAlive()).thenReturn(true); in setUp()
185 when(mConnectionCallbackBinder.isBinderAlive()).thenReturn(false); in testListenNoUpdateForStaleListener()
/frameworks/opt/net/ims/src/java/com/android/ims/
DFeatureConnection.java165 return isBinderAlive() && getFeatureState() == ImsFeature.STATE_READY; in isBinderReady()
171 public boolean isBinderAlive() { in isBinderAlive() method in FeatureConnection
172 return mIsAvailable && mBinder != null && mBinder.isBinderAlive(); in isBinderAlive()
198 if (!isBinderAlive()) { in isCapable()
210 if (isBinderAlive() && mFeatureStateCached != null) { in getFeatureState()
DImsMultiEndpoint.java79 public boolean isBinderAlive() { in isBinderAlive() method in ImsMultiEndpoint
80 return mImsMultiendpoint.asBinder().isBinderAlive(); in isBinderAlive()
DImsEcbm.java72 public boolean isBinderAlive() { in isBinderAlive() method in ImsEcbm
73 return miEcbm.asBinder().isBinderAlive(); in isBinderAlive()
/frameworks/native/libs/binder/
DProcessInfoService.cpp42 if (IInterface::asBinder(pis)->isBinderAlive()) return err; in getProcessStatesImpl()
75 if (IInterface::asBinder(pis)->isBinderAlive()) return err; in getProcessStatesScoresImpl()
DPermissionController.cpp35 while (service == nullptr || !IInterface::asBinder(service)->isBinderAlive()) { in getService()
DActivityManager.cpp38 while (service == nullptr || !IInterface::asBinder(service)->isBinderAlive()) { in getService()
/frameworks/base/services/core/java/com/android/server/locksettings/
DResumeOnRebootServiceProvider.java140 if (mBinder == null || !mBinder.asBinder().isBinderAlive()) { in bindToService()
173 if (mBinder == null || !mBinder.asBinder().isBinderAlive()) { in wrapBlob()
193 if (mBinder == null || !mBinder.asBinder().isBinderAlive()) { in unwrap()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayAreaOrganizerController.java72 organizerBinder.isBinderAlive()) { in binderDied()
139 .isBinderAlive()) { in registerOrganizer()
296 if (!organizer.asBinder().isBinderAlive()) { in onDisplayAreaVanished()
/frameworks/base/core/java/android/os/
DIBinder.java222 public boolean isBinderAlive(); in isBinderAlive() method
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DPinnedSliceStateTest.java149 when(binder.isBinderAlive()).thenReturn(true); in testListenerDeath()
159 when(binder.isBinderAlive()).thenReturn(false); in testListenerDeath()
/frameworks/native/libs/binder/tests/unit_fuzzers/
DIBinderFuzzFunctions.h50 [](FuzzedDataProvider*, IBinder* ibinder) -> void { ibinder->isBinderAlive(); },
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsEcbmImplBase.java56 if (mListener != null && !mListener.asBinder().isBinderAlive()) {
DImsMultiEndpointImplBase.java59 if (mListener != null && !mListener.asBinder().isBinderAlive()) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScrollCaptureClient.java225 if (connection == null || !connection.asBinder().isBinderAlive()) {
332 if (mConnection == null || !mConnection.asBinder().isBinderAlive()) {
/frameworks/base/telephony/java/com/android/ims/
DImsConfig.java965 public boolean isBinderAlive() { in isBinderAlive() method in ImsConfig
966 return miConfig.asBinder().isBinderAlive(); in isBinderAlive()
/frameworks/native/libs/permission/android/permission/
DPermissionChecker.cpp47 while (service == nullptr || !IInterface::asBinder(service)->isBinderAlive()) { in getService()
/frameworks/base/telephony/java/android/telephony/
DBinderCacheManager.java115 return mConnection.asBinder().isBinderAlive(); in isAlive()
/frameworks/native/libs/binder/include/binder/
DIBinder.h103 virtual bool isBinderAlive() const = 0;
DBinder.h36 virtual bool isBinderAlive() const;
/frameworks/native/include/binder/
DIBinder.h103 virtual bool isBinderAlive() const = 0;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkRegistrationManager.java135 return (mINetworkService != null) && (mINetworkService.asBinder().isBinderAlive()); in isServiceConnected()
243 if (mINetworkService != null && mINetworkService.asBinder().isBinderAlive()) { in unbindService()

123