Home
last modified time | relevance | path

Searched refs:deathRecipientCaptor (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DSystemRequestObserverTest.kt131 val deathRecipientCaptor = argumentCaptor<IBinder.DeathRecipient>() in removes all votes from storage when binder dies() constant
132 verify(mockToken).linkToDeath(deathRecipientCaptor.capture(), eq(0)) in removes all votes from storage when binder dies()
134 deathRecipientCaptor.lastValue.binderDied(mockToken) in removes all votes from storage when binder dies()
198 val deathRecipientCaptor = argumentCaptor<IBinder.DeathRecipient>() in recalculates vote if one binder dies() constant
199 verify(mockOtherToken).linkToDeath(deathRecipientCaptor.capture(), eq(0)) in recalculates vote if one binder dies()
200 deathRecipientCaptor.lastValue.binderDied(mockOtherToken) in recalculates vote if one binder dies()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DAnnouncementAggregatorHidlTest.java74 ArgumentCaptor<IBinder.DeathRecipient> deathRecipientCaptor = in setUp() local
80 verify(mBinderMock).linkToDeath(deathRecipientCaptor.capture(), eq(0)); in setUp()
81 mDeathRecipient = deathRecipientCaptor.getValue(); in setUp()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DAnnouncementAggregatorTest.java73 ArgumentCaptor<IBinder.DeathRecipient> deathRecipientCaptor = in setUp() local
79 verify(mBinderMock).linkToDeath(deathRecipientCaptor.capture(), eq(0)); in setUp()
80 mDeathRecipient = deathRecipientCaptor.getValue(); in setUp()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiModeManagerServiceTest.java1137 ArgumentCaptor<IBinder.DeathRecipient> deathRecipientCaptor = ArgumentCaptor.forClass( in binderDeath_releasesProjection() local
1139 verify(mBinder, atLeastOnce()).linkToDeath(deathRecipientCaptor.capture(), anyInt()); in binderDeath_releasesProjection()
1142 deathRecipientCaptor.getAllValues().forEach(IBinder.DeathRecipient::binderDied); in binderDeath_releasesProjection()