/frameworks/av/media/libmediaplayerservice/ |
D | DeathNotifier.cpp | 88 mDeathRecipient{new DeathRecipient(notify)} { 89 service->linkToDeath(mDeathRecipient); 94 mDeathRecipient{new DeathRecipient(notify)} { 95 service->linkToDeath(mDeathRecipient, 0); 100 mDeathRecipient{new DeathRecipient(notify)} { 101 mDeathRecipient->initNdk(); 104 mDeathRecipient->mCookieKey = sCookieKeyCounter++; 105 sCookies[mDeathRecipient->mCookieKey] = mDeathRecipient; 109 mDeathRecipient->getNdkRecipient(), 110 reinterpret_cast<void*>(mDeathRecipient->mCookieKey)); [all …]
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | SchedulingPolicyService.java | 44 private final IBinder.DeathRecipient mDeathRecipient = new IBinder.DeathRecipient() { field in SchedulingPolicyService 67 synchronized (mDeathRecipient) { in SchedulingPolicyService() 136 synchronized (mDeathRecipient) { in requestCpusetBoost() 156 mClient.unlinkToDeath(mDeathRecipient, 0); in enableCpusetBoost() 164 client.linkToDeath(mDeathRecipient, 0); in enableCpusetBoost() 177 client.unlinkToDeath(mDeathRecipient, 0); in enableCpusetBoost() 191 mClient.unlinkToDeath(mDeathRecipient, 0); in disableCpusetBoost()
|
/frameworks/av/services/audiopolicy/service/ |
D | BinderProxy.h | 45 : mServiceName(serviceName), mDeathRecipient(new DeathRecipient(this)) {} in BinderProxy() 51 binder->unlinkToDeath(mDeathRecipient); in ~BinderProxy() 65 binder->linkToDeath(mDeathRecipient); in waitServiceOrDie() 75 sp<IBinder::DeathRecipient> mDeathRecipient; variable
|
D | CaptureStateNotifier.cpp | 26 : mDeathRecipient(new DeathRecipient(this)), mActive( in CaptureStateNotifier() 41 status_t status = binder->linkToDeath(mDeathRecipient); in RegisterListener()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowContextListenerController.java | 134 if (listener.mDeathRecipient != null) { in unregisterWindowContainerListener() 135 listener.mDeathRecipient.unlinkToDeath(); in unregisterWindowContainerListener() 221 private DeathRecipient mDeathRecipient; field in WindowContextListenerController.WindowContextListenerImpl 240 mDeathRecipient = deathRecipient; in WindowContextListenerImpl() 275 if (mDeathRecipient == null) { in register() 303 if (mDeathRecipient == null) { in dispatchWindowContextInfoChange() 340 if (mDeathRecipient == null) { in onRemoved() 358 mDeathRecipient.unlinkToDeath(); in onRemoved() 373 mDeathRecipient = null; in binderDied()
|
D | ShellRoot.java | 48 private final IBinder.DeathRecipient mDeathRecipient; field in ShellRoot 58 mDeathRecipient = () -> mDisplayContent.removeShellRoot(shellRootLayer); in ShellRoot() 60 client.asBinder().linkToDeath(mDeathRecipient, 0); in ShellRoot() 97 mClient.asBinder().unlinkToDeath(mDeathRecipient, 0); in clear()
|
/frameworks/av/services/camera/libcameraservice/aidl/ |
D | DeathPipe.cpp | 25 mDeathRecipient = ::ndk::ScopedAIBinder_DeathRecipient( in DeathPipe() 28 AIBinder_DeathRecipient_setOnUnlinked(mDeathRecipient.get(), in DeathPipe() 47 mDeathRecipient.get(), in linkToDeath() 71 mDeathRecipient.get(), in unlinkToDeath()
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | SystemRequestObserver.java | 39 private final IBinder.DeathRecipient mDeathRecipient = new IBinder.DeathRecipient() { field in SystemRequestObserver 47 who.unlinkToDeath(mDeathRecipient, 0); 86 token.linkToDeath(mDeathRecipient, 0); in addSystemRequestedVote() 104 token.unlinkToDeath(mDeathRecipient, 0); in removeSystemRequestedVote()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | AWakeLock.cpp | 37 mDeathRecipient(new PMDeathRecipient(this)){} in AWakeLock() 42 binder->unlinkToDeath(mDeathRecipient); in ~AWakeLock() 58 binder->linkToDeath(mDeathRecipient); in acquire()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GbaManager.java | 72 private GbaDeathRecipient mDeathRecipient; field in GbaManager 182 mDeathRecipient = new GbaDeathRecipient(name); in onServiceConnected() 184 mDeathRecipient.linkToDeath(service); in onServiceConnected() 187 mDeathRecipient.binderDied(); in onServiceConnected() 333 mDeathRecipient.binderDied(); in processRequests() 398 if (mDeathRecipient != null) { in unbindService() 399 mDeathRecipient.unlinkToDeath(); in unbindService() 405 mDeathRecipient = null; in unbindService()
|
/frameworks/av/media/libaudiohal/impl/ |
D | AidlUtils.cpp | 38 : mDeathRecipient(AIBinder_DeathRecipient_new(OnBinderDied)) {} in HalDeathHandler() 41 binder_status_t status = AIBinder_linkToDeath(binder, mDeathRecipient.get(), nullptr); in registerHandler()
|
/frameworks/base/telephony/java/android/telephony/ims/stub/ |
D | SipTransportImplBase.java | 54 private final IBinder.DeathRecipient mDeathRecipient = new IBinder.DeathRecipient() { field in SipTransportImplBase 188 w.getStateCallbackBinder().asBinder().linkToDeath(mDeathRecipient, 0); in linkDeathRecipient() 191 mDeathRecipient.binderDied(w.getStateCallbackBinder().asBinder()); in linkDeathRecipient() 197 w.getStateCallbackBinder().asBinder().unlinkToDeath(mDeathRecipient, 0); in unlinkDeathRecipient()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
D | AnnouncementAggregatorHidlTest.java | 59 private IBinder.DeathRecipient mDeathRecipient; field in AnnouncementAggregatorHidlTest 81 mDeathRecipient = deathRecipientCaptor.getValue(); in setUp() 166 verify(mBinderMock).unlinkToDeath(mDeathRecipient, 0); in close_withOneModuleWatcher_invokesCloseHandle() 189 verify(mBinderMock).unlinkToDeath(mDeathRecipient, 0); in close_twice_invokesCloseHandleOnce() 196 mDeathRecipient.binderDied(); in binderDied_forDeathRecipient_invokesCloseHandle()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
D | AnnouncementAggregatorTest.java | 58 private IBinder.DeathRecipient mDeathRecipient; field in AnnouncementAggregatorTest 80 mDeathRecipient = deathRecipientCaptor.getValue(); in setUp() 164 verify(mBinderMock).unlinkToDeath(mDeathRecipient, 0); in close_withOneModuleWatcher_invokesCloseHandle() 187 verify(mBinderMock).unlinkToDeath(mDeathRecipient, 0); in close_twice_invokesCloseHandleOnce() 194 mDeathRecipient.binderDied(); in binderDied_forDeathRecipient_invokesCloseHandle()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | AnnouncementAggregator.java | 40 private final IBinder.DeathRecipient mDeathRecipient = new DeathRecipient(); field in AnnouncementAggregator 52 listener.asBinder().linkToDeath(mDeathRecipient, 0); in AnnouncementAggregator() 130 mListener.asBinder().unlinkToDeath(mDeathRecipient, 0); in close()
|
/frameworks/base/core/java/android/hardware/camera2/extension/ |
D | CameraExtensionService.java | 78 private IBinder.DeathRecipient mDeathRecipient = new IBinder.DeathRecipient() { field in CameraExtensionService 126 mInitializeCb.asBinder().linkToDeath(mDeathRecipient, 0); in initializeSession() 150 mInitializeCb.asBinder().unlinkToDeath(mDeathRecipient, 0); in releaseSession()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | FeatureConnection.java | 83 mBinder.linkToDeath(mDeathRecipient, 0); in setBinder() 92 protected final IBinder.DeathRecipient mDeathRecipient = () -> { field in FeatureConnection 113 mBinder.unlinkToDeath(mDeathRecipient, 0); in onRemovedOrDied()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/ |
D | Tuner.java | 48 private final IBinder.DeathRecipient mDeathRecipient; field in Tuner 62 mDeathRecipient = this::close; in Tuner() 64 mClientCallback.asBinder().linkToDeath(mDeathRecipient, 0); in Tuner() 106 mClientCallback.asBinder().unlinkToDeath(mDeathRecipient, 0); in close()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/ |
D | AnnouncementAggregator.java | 47 private final IBinder.DeathRecipient mDeathRecipient = new DeathRecipient(); field in AnnouncementAggregator 62 listener.asBinder().linkToDeath(mDeathRecipient, /* flags= */ 0); in AnnouncementAggregator() 176 mListener.asBinder().unlinkToDeath(mDeathRecipient, /* flags= */ 0); in close()
|
/frameworks/av/drm/libmediadrm/ |
D | DrmSessionManager.cpp | 98 mDeathRecipient(::ndk::ScopedAIBinder_DeathRecipient( in DrmSessionManager() 101 AIBinder_DeathRecipient_setOnUnlinked(mDeathRecipient.get(), BinderUnlinkedCallback); in DrmSessionManager() 106 AIBinder_unlinkToDeath(mService->asBinder().get(), mDeathRecipient.get(), this); in ~DrmSessionManager() 139 AIBinder_linkToDeath(mService->asBinder().get(), mDeathRecipient.get(), context); in getResourceManagerService_l()
|
/frameworks/av/services/mediaresourcemanager/ |
D | ResourceManagerServiceUtils.h | 71 AIBinder_linkToDeath(mClient->asBinder().get(), mDeathRecipient.get(), mCookie); in link() 77 AIBinder_unlinkToDeath(mClient->asBinder().get(), mDeathRecipient.get(), mCookie); in unlink() 87 ::ndk::ScopedAIBinder_DeathRecipient mDeathRecipient;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | MockMagnificationConnection.java | 55 private IBinder.DeathRecipient mDeathRecipient; field in MockMagnificationConnection 83 mDeathRecipient = invocation.getArgument(0); in MockMagnificationConnection() 166 return mDeathRecipient; in getDeathRecipient()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | PinnedSliceState.java | 57 private final DeathRecipient mDeathRecipient = this::handleRecheckListeners; field in PinnedSliceState 127 token.linkToDeath(mDeathRecipient, 0); in pin() 137 token.unlinkToDeath(mDeathRecipient, 0); in unpin()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | FakeSoundTriggerHal.java | 95 private IBinder.DeathRecipient mDeathRecipient; field in FakeSoundTriggerHal 292 if (mDeathRecipient != null) { in FakeSoundTriggerHal() 293 final DeathRecipient deathRecipient = mDeathRecipient; in FakeSoundTriggerHal() 359 if (mDeathRecipient != null) { in linkToDeath() 362 mDeathRecipient = recipient; in linkToDeath() 370 if (mDeathRecipient != recipient) { in unlinkToDeath() 373 mDeathRecipient = null; in unlinkToDeath()
|
/frameworks/base/services/smartspace/java/com/android/server/smartspace/ |
D | SmartspacePerUserService.java | 331 final IBinder.DeathRecipient mDeathRecipient; field in SmartspacePerUserService.SmartspaceSessionInfo 350 mDeathRecipient = deathRecipient; in SmartspaceSessionInfo() 371 mToken.linkToDeath(mDeathRecipient, 0); in linkToDeath() 388 mToken.unlinkToDeath(mDeathRecipient, 0); in destroy()
|