Home
last modified time | relevance | path

Searched refs:mDeathRecipientCaptor (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiHalAidlImplTest.java55 private ArgumentCaptor<IBinder.DeathRecipient> mDeathRecipientCaptor = field in WifiHalAidlImplTest
84 verify(mServiceBinderMock).linkToDeath(mDeathRecipientCaptor.capture(), anyInt()); in executeAndValidateInitializationSequence()
117 mDeathRecipientCaptor.getValue().binderDied(); in testWifiDeathAndRestart()
DWifiHalHidlImplTest.java66 private ArgumentCaptor<IHwBinder.DeathRecipient> mDeathRecipientCaptor = field in WifiHalHidlImplTest
145 mDeathRecipientCaptor.getValue().serviceDied(0); in testWifiDeathAndRegistration()
166 verify(mIWifiMock).linkToDeath(mDeathRecipientCaptor.capture(), anyLong()); in executeAndValidateInitializationSequence()
/packages/services/Car/tests/carservice_unit_test/src/android/car/watchdoglib/
DCarWatchdogDaemonHelperTest.java80 private ArgumentCaptor<IBinder.DeathRecipient> mDeathRecipientCaptor; field in CarWatchdogDaemonHelperTest
355 verify(mBinder, timeout(MAX_WAIT_TIME_MS)).linkToDeath(mDeathRecipientCaptor.capture(), in testWatchdogDaemonRestart()
359 mCarWatchdogDaemonBinderDeathRecipient = mDeathRecipientCaptor.getValue(); in testWatchdogDaemonRestart()
367 verify(mBinder, atLeastOnce()).linkToDeath(mDeathRecipientCaptor.capture(), anyInt()); in captureAndVerifyRegistrationWithDaemon()
368 mCarWatchdogDaemonBinderDeathRecipient = mDeathRecipientCaptor.getValue(); in captureAndVerifyRegistrationWithDaemon()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/managers/
DBluetoothFinderManagerTest.java54 private ArgumentCaptor<DeathRecipient> mDeathRecipientCaptor = field in BluetoothFinderManagerTest
183 verify(mServiceBinderMock).linkToDeath(mDeathRecipientCaptor.capture(), anyInt()); in testDeathRecipient()
184 mDeathRecipientCaptor.getValue().binderDied(); in testDeathRecipient()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/
DCarActivityServiceTaskMonitorUnitTest.java99 ArgumentCaptor<IBinder.DeathRecipient> mDeathRecipientCaptor; field in CarActivityServiceTaskMonitorUnitTest
240 verify(mToken).linkToDeath(mDeathRecipientCaptor.capture(), anyInt()); in testDeathRecipientIsSet()
248 verify(mToken).linkToDeath(mDeathRecipientCaptor.capture(), anyInt()); in testBinderDied_cleansUpDeathRecipient()
249 mDeathRecipientCaptor.getValue().binderDied(); in testBinderDied_cleansUpDeathRecipient()
252 verify(mToken).unlinkToDeath(eq(mDeathRecipientCaptor.getValue()), anyInt()); in testBinderDied_cleansUpDeathRecipient()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DApplicationQosPolicyRequestHandlerTest.java82 @Captor ArgumentCaptor<IBinder.DeathRecipient> mDeathRecipientCaptor = field in ApplicationQosPolicyRequestHandlerTest
613 verify(mBinder).linkToDeath(mDeathRecipientCaptor.capture(), anyInt()); in testBinderDeathRecipient()
614 mDeathRecipientCaptor.getValue().binderDied(mBinder); in testBinderDeathRecipient()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/evs/
DCarEvsServiceUnitTest.java179 @Captor private ArgumentCaptor<IBinder.DeathRecipient> mDeathRecipientCaptor; field in CarEvsServiceUnitTest
1117 verify(spiedCallback, atLeastOnce()).linkToDeath(mDeathRecipientCaptor.capture(), anyInt()); in testHandleStreamCallbackCrash()
1118 IBinder.DeathRecipient binderDeathRecipient = mDeathRecipientCaptor.getValue(); in testHandleStreamCallbackCrash()
1136 verify(spiedCallback, atLeastOnce()).linkToDeath(mDeathRecipientCaptor.capture(), anyInt()); in testHandleStreamCallbackCrashAndRequestActivity()
1137 IBinder.DeathRecipient binderDeathRecipient = mDeathRecipientCaptor.getValue(); in testHandleStreamCallbackCrashAndRequestActivity()
1155 verify(spiedListener, atLeastOnce()).linkToDeath(mDeathRecipientCaptor.capture(), anyInt()); in testStatusListenerCrash()
1156 IBinder.DeathRecipient binderDeathRecipient = mDeathRecipientCaptor.getValue(); in testStatusListenerCrash()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java131 private ArgumentCaptor<IBinder.DeathRecipient> mDeathRecipientCaptor = ArgumentCaptor field in RttServiceImplTest
637 verify(mockIbinder, times(numIter)).linkToDeath(mDeathRecipientCaptor.capture(), anyInt()); in testBinderDeathOfRangingApp()
648 mDeathRecipientCaptor.getAllValues().get(0).binderDied(); in testBinderDeathOfRangingApp()
712 verify(mockIbinder).linkToDeath(mDeathRecipientCaptor.capture(), anyInt()); in testBinderDeathWithWorkSource()
717 mDeathRecipientCaptor.getValue().binderDied(); in testBinderDeathWithWorkSource()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPropertyHalServiceTest.java123 private ArgumentCaptor<IBinder.DeathRecipient> mDeathRecipientCaptor; field in PropertyHalServiceTest
2387 verify(mSetAsyncPropertyResultBinder).linkToDeath(mDeathRecipientCaptor.capture(), in testOnBinderDied()
2395 mDeathRecipientCaptor.getValue().binderDied(); in testOnBinderDied()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalHidlImplTest.java176 private ArgumentCaptor<IHwBinder.DeathRecipient> mDeathRecipientCaptor = field in SupplicantP2pIfaceHalHidlImplTest