Searched refs:mUsageCallbackBinder (Results 1 – 2 of 2) sorted by relevance
120 @Mock private IBinder mUsageCallbackBinder; field in NetworkStatsObserversTest140 mUsageCallback = new TestableUsageCallback(mUsageCallbackBinder); in setUp()266 Mockito.verify(mUsageCallbackBinder).linkToDeath(any(IBinder.DeathRecipient.class), in testUnregister_knownRequest_releasesCaller()272 Mockito.verify(mUsageCallbackBinder).unlinkToDeath(any(IBinder.DeathRecipient.class), in testUnregister_knownRequest_releasesCaller()286 Mockito.verify(mUsageCallbackBinder) in testUnregister_knownRequest_invalidUid_doesNotUnregister()291 Mockito.verifyZeroInteractions(mUsageCallbackBinder); in testUnregister_knownRequest_invalidUid_doesNotUnregister()
267 private @Mock IBinder mUsageCallbackBinder; field in NetworkStatsServiceTest467 mUsageCallback = new TestableUsageCallback(mUsageCallbackBinder); in setUp()1743 verify(mUsageCallbackBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in testRegisterUsageCallback()1777 doReturn(true).when(mUsageCallbackBinder) in testRegisterUsageCallback()1787 verify(mUsageCallbackBinder).unlinkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in testRegisterUsageCallback()