/packages/modules/DnsResolver/ |
D | ResolverEventReporter.cpp | 127 static AIBinder_DeathRecipient* deathRecipient = nullptr; in addListenerImplLocked() local 128 if (deathRecipient == nullptr) { in addListenerImplLocked() 134 deathRecipient = AIBinder_DeathRecipient_new([](void* cookie) { in addListenerImplLocked() 147 binder_status_t status = AIBinder_linkToDeath(binder, deathRecipient, cookie); in addListenerImplLocked() 178 static AIBinder_DeathRecipient* deathRecipient = nullptr; in addUnsolEventListenerImplLocked() local 179 if (deathRecipient == nullptr) { in addUnsolEventListenerImplLocked() 185 deathRecipient = AIBinder_DeathRecipient_new([](void* cookie) { in addUnsolEventListenerImplLocked() 198 binder_status_t status = AIBinder_linkToDeath(binder, deathRecipient, cookie); in addUnsolEventListenerImplLocked()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/ |
D | PeriodicScanManager.java | 67 public SyncDeathRecipient deathRecipient; field in PeriodicScanManager.SyncTransferInfo 84 public SyncDeathRecipient deathRecipient; field in PeriodicScanManager.SyncInfo 93 SyncDeathRecipient deathRecipient, in SyncInfo() argument 100 this.deathRecipient = deathRecipient; in SyncInfo() 169 e.getValue().deathRecipient, in findAllSync() 207 e.getValue().deathRecipient, in onSyncStarted() 225 binder.unlinkToDeath(e.getValue().deathRecipient, 0); in onSyncStarted() 278 SyncDeathRecipient deathRecipient = new SyncDeathRecipient(callback); in startSync() local 281 binder.linkToDeath(deathRecipient, 0); in startSync() 310 deathRecipient, in startSync() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/ |
D | AudioControlWrapperV1Test.java | 213 AudioControlWrapper.AudioControlDeathRecipient deathRecipient = in linkToDeath_succeeds() local 216 mAudioControlWrapperV1.linkToDeath(deathRecipient); in linkToDeath_succeeds() 224 AudioControlWrapper.AudioControlDeathRecipient deathRecipient = in linkToDeath_throws() local 228 () -> mAudioControlWrapperV1.linkToDeath(deathRecipient)); in linkToDeath_throws() 237 AudioControlWrapper.AudioControlDeathRecipient deathRecipient = in unlinkToDeath_succeeds() local 239 mAudioControlWrapperV1.linkToDeath(deathRecipient); in unlinkToDeath_succeeds() 249 AudioControlWrapper.AudioControlDeathRecipient deathRecipient = in unlinkToDeath_throws() local 251 mAudioControlWrapperV1.linkToDeath(deathRecipient); in unlinkToDeath_throws()
|
D | AudioControlWrapperV2Test.java | 259 AudioControlWrapper.AudioControlDeathRecipient deathRecipient = in linkToDeath_succeeds() local 262 mAudioControlWrapperV2.linkToDeath(deathRecipient); in linkToDeath_succeeds() 270 AudioControlWrapper.AudioControlDeathRecipient deathRecipient = in linkToDeath_throws() local 274 () -> mAudioControlWrapperV2.linkToDeath(deathRecipient)); in linkToDeath_throws() 283 AudioControlWrapper.AudioControlDeathRecipient deathRecipient = in unlinkToDeath_succeeds() local 285 mAudioControlWrapperV2.linkToDeath(deathRecipient); in unlinkToDeath_succeeds() 295 AudioControlWrapper.AudioControlDeathRecipient deathRecipient = in unlinkToDeath_throws() local 297 mAudioControlWrapperV2.linkToDeath(deathRecipient); in unlinkToDeath_throws()
|
D | AudioControlWrapperAidlTest.java | 504 IBinder.DeathRecipient deathRecipient = captor.getValue(); in binderDied_fetchesNewBinder() local 506 deathRecipient.binderDied(); in binderDied_fetchesNewBinder() 517 IBinder.DeathRecipient deathRecipient = captor.getValue(); in binderDied_relinksToDeath() local 519 deathRecipient.binderDied(); in binderDied_relinksToDeath() 531 IBinder.DeathRecipient deathRecipient = captor.getValue(); in binderDied_callsDeathRecipient() local 533 deathRecipient.binderDied(); in binderDied_callsDeathRecipient()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarTestService.java | 103 TokenDeathRecipient deathRecipient = new TokenDeathRecipient(token); in stopCarService() local 104 mTokens.put(token, deathRecipient); in stopCarService() 105 token.linkToDeath(deathRecipient, 0); in stopCarService() 255 DeathRecipient deathRecipient = mTokens.remove(token); in releaseToken() local 256 if (deathRecipient != null) { in releaseToken() 257 token.unlinkToDeath(deathRecipient, 0); in releaseToken()
|
D | CarProjectionService.java | 1045 client.token.unlinkToDeath(client.deathRecipient, 0); in unregisterWirelessClients() 1055 token.unlinkToDeath(client.deathRecipient, 0); in unregisterWirelessClientLocked() 1140 public @Nullable DeathRecipient deathRecipient; field in CarProjectionService.WirelessClient 1164 + ", deathRecipient=" + deathRecipient + "}"; in toString() 1175 mClient.deathRecipient = this; in WirelessClientDeathRecipient() 1194 ProjectionReceiverClient(DeathRecipient deathRecipient) { in ProjectionReceiverClient() argument 1195 mDeathRecipient = deathRecipient; in ProjectionReceiverClient()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/ |
D | AdvertiseManager.java | 95 public AdvertisingSetDeathRecipient deathRecipient; field in AdvertiseManager.AdvertiserInfo 100 AdvertisingSetDeathRecipient deathRecipient, in AdvertiserInfo() argument 103 this.deathRecipient = deathRecipient; in AdvertiserInfo() 162 new AdvertiserInfo(advertiserId, entry.getValue().deathRecipient, callback)); in onAdvertisingSetStarted() 167 binder.unlinkToDeath(entry.getValue().deathRecipient, 0); in onAdvertisingSetStarted() 245 AdvertisingSetDeathRecipient deathRecipient = in startAdvertisingSet() local 249 binder.linkToDeath(deathRecipient, 0); in startAdvertisingSet() 263 mAdvertisers.put(binder, new AdvertiserInfo(cbId, deathRecipient, callback)); in startAdvertisingSet() 291 binder.unlinkToDeath(deathRecipient, 0); in startAdvertisingSet() 335 binder.unlinkToDeath(adv.deathRecipient, 0); in stopAdvertisingSet()
|
D | ContextMap.java | 144 public void linkToDeath(IBinder.DeathRecipient deathRecipient) { in linkToDeath() argument 151 binder.linkToDeath(deathRecipient, 0); in linkToDeath() 152 mDeathRecipient = deathRecipient; in linkToDeath()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/managers/ |
D | DiscoveryProviderManagerLegacy.java | 245 ScanListenerDeathRecipient deathRecipient = (listener != null) in registerScanListener() local 248 if (listenerBinder != null && deathRecipient != null) { in registerScanListener() 250 listenerBinder.linkToDeath(deathRecipient, 0); in registerScanListener() 264 new ScanListenerRecord(scanRequest, listener, callerIdentity, deathRecipient); in registerScanListener() 301 ScanListenerDeathRecipient deathRecipient = removedRecord.getDeathRecipient(); in unregisterScanListener() local 302 if (listenerBinder != null && deathRecipient != null) { in unregisterScanListener() 460 CallerIdentity callerIdentity, ScanListenerDeathRecipient deathRecipient) { in ScanListenerRecord() argument 464 mDeathRecipient = deathRecipient; in ScanListenerRecord()
|
D | BroadcastProviderManager.java | 107 BroadcastListenerDeathRecipient deathRecipient = in startBroadcast() local 110 listener.asBinder().linkToDeath(deathRecipient, 0); in startBroadcast() 114 deathRecipient.binderDied(); in startBroadcast() 117 mDeathRecipient = deathRecipient; in startBroadcast()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | ThreadNetworkControllerService.java | 1341 final IBinder.DeathRecipient deathRecipient; 1343 CallbackMetadata(IBinder.DeathRecipient deathRecipient) { 1345 this.deathRecipient = deathRecipient; 1389 IBinder.DeathRecipient deathRecipient = 1391 CallbackMetadata callbackMetadata = new CallbackMetadata(deathRecipient); 1394 callback.asBinder().linkToDeath(deathRecipient, 0); 1412 callback.asBinder().unlinkToDeath(mStateCallbacks.remove(callback).deathRecipient, 0); 1422 IBinder.DeathRecipient deathRecipient = 1424 CallbackMetadata callbackMetadata = new CallbackMetadata(deathRecipient); 1427 callback.asBinder().linkToDeath(deathRecipient, 0); [all …]
|
/packages/services/Car/service/src/com/android/car/am/ |
D | CarActivityService.java | 222 IBinder.DeathRecipient deathRecipient = new IBinder.DeathRecipient() { in registerTaskMonitor() local 230 token.linkToDeath(deathRecipient, /* flags= */ 0); in registerTaskMonitor() 236 mMonitorTokens.put(token, deathRecipient); in registerTaskMonitor() 261 IBinder.DeathRecipient deathRecipient = mMonitorTokens.remove(token); in cleanUpMonitorToken() local 262 if (deathRecipient != null) { in cleanUpMonitorToken() 263 token.unlinkToDeath(deathRecipient, /* flags= */ 0); in cleanUpMonitorToken()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | WifiHal.java | 184 public void initialize(WifiHal.DeathRecipient deathRecipient) { in initialize() argument 186 mWifiHal.initialize(deathRecipient); in initialize()
|
D | IWifiHal.java | 57 void initialize(WifiHal.DeathRecipient deathRecipient); in initialize() argument
|
D | WifiHalAidlImpl.java | 239 public void initialize(WifiHal.DeathRecipient deathRecipient) { in initialize() argument 264 mFrameworkDeathRecipient = deathRecipient; in initialize()
|
D | WifiHalHidlImpl.java | 166 public void initialize(WifiHal.DeathRecipient deathRecipient) { in initialize() argument 169 mFrameworkDeathRecipient = deathRecipient; in initialize()
|
/packages/services/Car/service/src/com/android/car/vms/ |
D | VmsBrokerService.java | 151 IBinder.DeathRecipient deathRecipient; in registerClient() local 153 deathRecipient = () -> unregisterClient(clientToken, in registerClient() 155 callback.asBinder().linkToDeath(deathRecipient, 0); in registerClient() 164 legacyClient, deathRecipient)); in registerClient()
|
D | VmsClientInfo.java | 67 IBinder.DeathRecipient deathRecipient) { in VmsClientInfo() argument 72 mDeathRecipient = deathRecipient; in VmsClientInfo()
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
D | SdkSandboxManagerServiceUnitTest.java | 734 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in testRequestSurfacePackageFailedAfterAppDied() local 742 .linkToDeath(deathRecipient.capture(), ArgumentMatchers.eq(0)); in testRequestSurfacePackageFailedAfterAppDied() 745 deathRecipient.getValue().binderDied(); in testRequestSurfacePackageFailedAfterAppDied() 940 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = ArgumentCaptor in testSdkSandboxServiceUnbindingWhenAppDied() local 943 .linkToDeath(deathRecipient.capture(), Mockito.eq(0)); in testSdkSandboxServiceUnbindingWhenAppDied() 946 deathRecipient.getValue().binderDied(); in testSdkSandboxServiceUnbindingWhenAppDied() 1732 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in testRemoveAppOwnedSdkSandboxInterfacesOnAppDeath() local 1735 Mockito.verify(iBinder).linkToDeath(deathRecipient.capture(), ArgumentMatchers.eq(0)); in testRemoveAppOwnedSdkSandboxInterfacesOnAppDeath() 1738 deathRecipient.getValue().binderDied(); in testRemoveAppOwnedSdkSandboxInterfacesOnAppDeath() 1752 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in testUnloadSdkNotCalledOnAppDeath() local [all …]
|
/packages/services/Car/service/src/com/android/car/audio/hal/ |
D | AudioControlWrapperV1.java | 172 public void linkToDeath(@Nullable AudioControlDeathRecipient deathRecipient) { in linkToDeath() argument 175 mDeathRecipient = deathRecipient; in linkToDeath()
|
D | AudioControlWrapperV2.java | 181 public void linkToDeath(@Nullable AudioControlDeathRecipient deathRecipient) { in linkToDeath() argument 184 mDeathRecipient = deathRecipient; in linkToDeath()
|
D | AudioControlWrapper.java | 159 void linkToDeath(@Nullable AudioControlDeathRecipient deathRecipient); in linkToDeath() argument
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLockManagerTest.java | 164 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in acquireWifiLockSuccessful() local 172 inOrder.verify(binder).linkToDeath(deathRecipient.capture(), eq(0)); in acquireWifiLockSuccessful() 191 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in releaseWifiLockSuccessful() local 196 inOrder.verify(binder).unlinkToDeath(deathRecipient.capture(), eq(0)); in releaseWifiLockSuccessful() 201 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in releaseWifiLockSuccessful_noBatteryStats() local 206 inOrder.verify(binder).unlinkToDeath(deathRecipient.capture(), eq(0)); in releaseWifiLockSuccessful_noBatteryStats() 210 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = in releaseLowLatencyWifiLockSuccessful() local 215 inOrder.verify(binder).unlinkToDeath(deathRecipient.capture(), eq(0)); in releaseLowLatencyWifiLockSuccessful()
|
/packages/services/Car/service/jni/evs/ |
D | EvsServiceContext.cpp | 207 auto deathRecipient = ::AIBinder_DeathRecipient_new(EvsServiceContext::onEvsServiceBinderDied); in initialize() local 210 deathRecipient, this)); in initialize()
|