Home
last modified time | relevance | path

Searched refs:mUsageCallbackBinder (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsObserversTest.java120 @Mock private IBinder mUsageCallbackBinder; field in NetworkStatsObserversTest
140 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()
DNetworkStatsServiceTest.java267 private @Mock IBinder mUsageCallbackBinder; field in NetworkStatsServiceTest
467 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()