Home
last modified time | relevance | path

Searched refs:deathRecipient (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DMbmsDownloadServiceBase.java300 DeathRecipient deathRecipient = new DeathRecipient() { in addStatusListener() local
308 mDownloadCallbackDeathRecipients.put(listener.asBinder(), deathRecipient); in addStatusListener() local
309 listener.asBinder().linkToDeath(deathRecipient, 0); in addStatusListener()
351 DeathRecipient deathRecipient = in removeStatusListener() local
353 if (deathRecipient == null) { in removeStatusListener()
357 listener.asBinder().unlinkToDeath(deathRecipient, 0); in removeStatusListener()
413 DeathRecipient deathRecipient = new DeathRecipient() { in addProgressListener() local
421 mDownloadCallbackDeathRecipients.put(listener.asBinder(), deathRecipient); in addProgressListener() local
422 listener.asBinder().linkToDeath(deathRecipient, 0); in addProgressListener()
464 DeathRecipient deathRecipient = in removeProgressListener() local
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DTaskFpsCallbackController.java51 final IBinder.DeathRecipient deathRecipient = () -> unregisterListener(callback); in registerListener() local
53 binder.linkToDeath(deathRecipient, 0); in registerListener()
54 mDeathRecipients.put(binder, deathRecipient); in registerListener()
DTrustedPresentationListenerController.java106 var deathRecipient = mUniqueListeners.computeIfAbsent(listenerBinder, in register() local
108 deathRecipient.addInstance(); in register()
113 var deathRecipient = mUniqueListeners.get(listenerBinder); in unregister() local
114 if (deathRecipient == null) { in unregister()
120 if (deathRecipient.removeInstance()) { in unregister()
DWindowContextListenerController.java237 final DeathRecipient deathRecipient = new DeathRecipient(); in WindowContextListenerImpl() local
239 deathRecipient.linkToDeath(); in WindowContextListenerImpl()
240 mDeathRecipient = deathRecipient; in WindowContextListenerImpl()
DWindowContainer.java443 DeathRecipient deathRecipient = mInsetsOwnerDeathRecipientMap.get(owner); in addLocalInsetsFrameProvider() local
444 if (deathRecipient == null) { in addLocalInsetsFrameProvider()
445 deathRecipient = new DeathRecipient(owner); in addLocalInsetsFrameProvider()
447 owner.linkToDeath(deathRecipient, 0); in addLocalInsetsFrameProvider()
452 mInsetsOwnerDeathRecipientMap.put(owner, deathRecipient); in addLocalInsetsFrameProvider()
455 deathRecipient.addSourceId(id); in addLocalInsetsFrameProvider()
522 final DeathRecipient deathRecipient = mInsetsOwnerDeathRecipientMap.get(owner); in removeLocalInsetsFrameProvider() local
523 if (deathRecipient == null) { in removeLocalInsetsFrameProvider()
526 deathRecipient.removeSourceId(id); in removeLocalInsetsFrameProvider()
527 if (!deathRecipient.hasSource()) { in removeLocalInsetsFrameProvider()
[all …]
/frameworks/base/services/core/java/com/android/server/inputmethod/
DClientController.java61 final IBinder.DeathRecipient deathRecipient = () -> { in addClient() local
79 clientInvoker.asBinder().linkToDeath(deathRecipient, 0 /* flags */); in addClient()
94 callerUid, callerPid, selfReportedDisplayId, deathRecipient); in addClient()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationConnectionWrapper.java54 void unlinkToDeath(@NonNull DeathRecipient deathRecipient) { in unlinkToDeath() argument
55 mConnection.asBinder().unlinkToDeath(deathRecipient, 0); in unlinkToDeath()
58 void linkToDeath(@NonNull DeathRecipient deathRecipient) throws RemoteException { in linkToDeath() argument
59 mConnection.asBinder().linkToDeath(deathRecipient, 0); in linkToDeath()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/nearby/
DNearbyMediaDevicesManager.kt54 newProvider.asBinder().linkToDeath(deathRecipient, /* flags= */ 0) in registerNearbyMediaDevicesProvider()
67 private val deathRecipient = object : IBinder.DeathRecipient { constant in com.android.systemui.media.nearby.NearbyMediaDevicesManager
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/nearby/
DNearbyMediaDevicesManagerTest.kt215 provider.deathRecipient!!.binderDied(provider) in providerBinderDied_isLogged()
223 var deathRecipient: IBinder.DeathRecipient? = null variable in com.android.systemui.media.nearby.NearbyMediaDevicesManagerTest.TestProvider
242 deathRecipient = recipient in linkToDeath()
/frameworks/base/core/java/android/view/
DRemoteAnimationDefinition.java135 public void linkToDeath(IBinder.DeathRecipient deathRecipient) { in linkToDeath() argument
139 .linkToDeath(deathRecipient, 0 /* flags */); in linkToDeath()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyService.java1784 Pair<DeathRecipient, Integer> deathRecipient = mDeathRecipients.get(listener); in addDeathRecipient() local
1785 if (deathRecipient == null) { in addDeathRecipient()
1786 deathRecipient = new Pair<>(new DeathRecipient(listener), 1); in addDeathRecipient()
1788 int newRefCount = deathRecipient.second + 1; in addDeathRecipient()
1789 deathRecipient = new Pair<>(deathRecipient.first, newRefCount); in addDeathRecipient()
1791 mDeathRecipients.put(listener, deathRecipient); in addDeathRecipient()
1795 Pair<DeathRecipient, Integer> deathRecipient = mDeathRecipients.get(listener); in removeDeathRecipient() local
1796 if (deathRecipient == null) { in removeDeathRecipient()
1799 int newRefCount = deathRecipient.second - 1; in removeDeathRecipient()
1802 deathRecipient.first.destroy(); in removeDeathRecipient()
[all …]
/frameworks/base/services/core/java/com/android/server/speech/
DSpeechRecognitionManagerServiceImpl.java138 IBinder.DeathRecipient deathRecipient = in createSessionLocked() local
143 clientToken.linkToDeath(deathRecipient, 0); in createSessionLocked()
188 clientToken.unlinkToDeath(deathRecipient, 0); in createSessionLocked()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java314 IBinder.DeathRecipient deathRecipient = new IBinder.DeathRecipient() { in addCallback() local
322 linkDeathRecipientLocked(callback, deathRecipient); in addCallback()
335 IBinder.DeathRecipient deathRecipient) { in linkDeathRecipientLocked() argument
338 token.linkToDeath(deathRecipient, 0); in linkDeathRecipientLocked()
339 mDeathEaters.put(token, deathRecipient); in linkDeathRecipientLocked()
347 IBinder.DeathRecipient deathRecipient = mDeathEaters.remove(token); in unlinkDeathRecipientLocked() local
348 if (deathRecipient != null) { in unlinkDeathRecipientLocked()
349 token.unlinkToDeath(deathRecipient, 0); in unlinkDeathRecipientLocked()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DBroadcastRadioServiceImpl.java101 BroadcastRadioDeathRecipient deathRecipient =
103 radioModule.getService().asBinder().linkToDeath(deathRecipient, moduleId);
/frameworks/base/services/smartspace/java/com/android/server/smartspace/
DSmartspacePerUserService.java343 @NonNull final IBinder.DeathRecipient deathRecipient) { in SmartspaceSessionInfo() argument
350 mDeathRecipient = deathRecipient; in SmartspaceSessionInfo()
/frameworks/base/services/searchui/java/com/android/server/searchui/
DSearchUiPerUserService.java351 @NonNull final IBinder.DeathRecipient deathRecipient) { in SearchSessionInfo() argument
358 mDeathRecipient = deathRecipient; in SearchSessionInfo()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionPerUserService.java421 @NonNull final IBinder.DeathRecipient deathRecipient) { in AppPredictionSessionInfo() argument
429 mDeathRecipient = deathRecipient; in AppPredictionSessionInfo()
/frameworks/base/core/jni/
Dandroid_os_HwRemoteBinder.cpp188 for (const sp<HwBinderDeathRecipient>& deathRecipient : mList) { in ~HwBinderDeathRecipientList() local
189 deathRecipient->warnIfStillLiveLocked(); in ~HwBinderDeathRecipientList()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DFakeSoundTriggerHal.java293 final DeathRecipient deathRecipient = mDeathRecipient; in FakeSoundTriggerHal()
296 deathRecipient.binderDied(FakeSoundTriggerHal.this.asBinder()); in FakeSoundTriggerHal()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DAccessNetworksManager.java205 AccessNetworksManagerDeathRecipient deathRecipient = in onServiceConnected() local
210 service.linkToDeath(deathRecipient, 0 /* flags */); in onServiceConnected()
/frameworks/base/tests/Input/src/com/android/server/input/
DBatteryControllerTests.kt297 val deathRecipient = ArgumentCaptor.forClass(IBinder.DeathRecipient::class.java) in testProcessDeathRemovesListener() constant
300 verify(listener.asBinder()).linkToDeath(deathRecipient.capture(), anyInt()) in testProcessDeathRemovesListener()
303 deathRecipient.value!!.binderDied(listener.asBinder()) in testProcessDeathRemovesListener()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DProxyManager.java202 IBinder.DeathRecipient deathRecipient = in registerProxy() local
210 client.asBinder().linkToDeath(deathRecipient, 0); in registerProxy()
DFlashNotificationsController.java690 IBinder token, IBinder.DeathRecipient deathRecipient) { in FlashNotification() argument
695 mDeathRecipient = deathRecipient; in FlashNotification()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DInputController.java585 InputDeviceDescriptor(long ptr, IBinder.DeathRecipient deathRecipient, @Type int type, in InputDeviceDescriptor() argument
588 mDeathRecipient = deathRecipient; in InputDeviceDescriptor()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java981 void setDeathRecipient(IBinder.DeathRecipient deathRecipient) { in setDeathRecipient() argument
982 mDeathRecipient = deathRecipient; in setDeathRecipient()

12