Searched refs:deathRecipientCaptor (Results 1 – 4 of 4) sorted by relevance
131 val deathRecipientCaptor = argumentCaptor<IBinder.DeathRecipient>() in removes all votes from storage when binder dies() constant132 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() constant199 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()
74 ArgumentCaptor<IBinder.DeathRecipient> deathRecipientCaptor = in setUp() local80 verify(mBinderMock).linkToDeath(deathRecipientCaptor.capture(), eq(0)); in setUp()81 mDeathRecipient = deathRecipientCaptor.getValue(); in setUp()
73 ArgumentCaptor<IBinder.DeathRecipient> deathRecipientCaptor = in setUp() local79 verify(mBinderMock).linkToDeath(deathRecipientCaptor.capture(), eq(0)); in setUp()80 mDeathRecipient = deathRecipientCaptor.getValue(); in setUp()
1137 ArgumentCaptor<IBinder.DeathRecipient> deathRecipientCaptor = ArgumentCaptor.forClass( in binderDeath_releasesProjection() local1139 verify(mBinder, atLeastOnce()).linkToDeath(deathRecipientCaptor.capture(), anyInt()); in binderDeath_releasesProjection()1142 deathRecipientCaptor.getAllValues().forEach(IBinder.DeathRecipient::binderDied); in binderDeath_releasesProjection()