/frameworks/base/telephony/java/android/telephony/mbms/vendor/ |
D | MbmsDownloadServiceBase.java | 300 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/ |
D | TaskFpsCallbackController.java | 51 final IBinder.DeathRecipient deathRecipient = () -> unregisterListener(callback); in registerListener() local 53 binder.linkToDeath(deathRecipient, 0); in registerListener() 54 mDeathRecipients.put(binder, deathRecipient); in registerListener()
|
D | TrustedPresentationListenerController.java | 106 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()
|
D | WindowContextListenerController.java | 237 final DeathRecipient deathRecipient = new DeathRecipient(); in WindowContextListenerImpl() local 239 deathRecipient.linkToDeath(); in WindowContextListenerImpl() 240 mDeathRecipient = deathRecipient; in WindowContextListenerImpl()
|
D | WindowContainer.java | 443 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/ |
D | ClientController.java | 61 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/ |
D | MagnificationConnectionWrapper.java | 54 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/ |
D | NearbyMediaDevicesManager.kt | 54 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/ |
D | NearbyMediaDevicesManagerTest.kt | 215 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/ |
D | RemoteAnimationDefinition.java | 135 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/ |
D | SensorPrivacyService.java | 1784 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/ |
D | SpeechRecognitionManagerServiceImpl.java | 138 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/ |
D | MediaProjectionManagerService.java | 314 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/ |
D | BroadcastRadioServiceImpl.java | 101 BroadcastRadioDeathRecipient deathRecipient = 103 radioModule.getService().asBinder().linkToDeath(deathRecipient, moduleId);
|
/frameworks/base/services/smartspace/java/com/android/server/smartspace/ |
D | SmartspacePerUserService.java | 343 @NonNull final IBinder.DeathRecipient deathRecipient) { in SmartspaceSessionInfo() argument 350 mDeathRecipient = deathRecipient; in SmartspaceSessionInfo()
|
/frameworks/base/services/searchui/java/com/android/server/searchui/ |
D | SearchUiPerUserService.java | 351 @NonNull final IBinder.DeathRecipient deathRecipient) { in SearchSessionInfo() argument 358 mDeathRecipient = deathRecipient; in SearchSessionInfo()
|
/frameworks/base/services/appprediction/java/com/android/server/appprediction/ |
D | AppPredictionPerUserService.java | 421 @NonNull final IBinder.DeathRecipient deathRecipient) { in AppPredictionSessionInfo() argument 429 mDeathRecipient = deathRecipient; in AppPredictionSessionInfo()
|
/frameworks/base/core/jni/ |
D | android_os_HwRemoteBinder.cpp | 188 for (const sp<HwBinderDeathRecipient>& deathRecipient : mList) { in ~HwBinderDeathRecipientList() local 189 deathRecipient->warnIfStillLiveLocked(); in ~HwBinderDeathRecipientList()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | FakeSoundTriggerHal.java | 293 final DeathRecipient deathRecipient = mDeathRecipient; in FakeSoundTriggerHal() 296 deathRecipient.binderDied(FakeSoundTriggerHal.this.asBinder()); in FakeSoundTriggerHal()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | AccessNetworksManager.java | 205 AccessNetworksManagerDeathRecipient deathRecipient = in onServiceConnected() local 210 service.linkToDeath(deathRecipient, 0 /* flags */); in onServiceConnected()
|
/frameworks/base/tests/Input/src/com/android/server/input/ |
D | BatteryControllerTests.kt | 297 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/ |
D | ProxyManager.java | 202 IBinder.DeathRecipient deathRecipient = in registerProxy() local 210 client.asBinder().linkToDeath(deathRecipient, 0); in registerProxy()
|
D | FlashNotificationsController.java | 690 IBinder token, IBinder.DeathRecipient deathRecipient) { in FlashNotification() argument 695 mDeathRecipient = deathRecipient; in FlashNotification()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | InputController.java | 585 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/ |
D | ProcessRecord.java | 981 void setDeathRecipient(IBinder.DeathRecipient deathRecipient) { in setDeathRecipient() argument 982 mDeathRecipient = deathRecipient; in setDeathRecipient()
|