Home
last modified time | relevance | path

Searched refs:mAppBinder (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DTwtManagerTest.java93 private IBinder mAppBinder; field in TwtManagerTest
223 when(iTwtCallback.asBinder()).thenReturn(mAppBinder); in testOuiBlockListing()
236 when(iTwtCallback.asBinder()).thenReturn(mAppBinder); in testSetupTwtSession()
238 InOrder inOrderBinder = inOrder(mAppBinder); in testSetupTwtSession()
250 inOrderBinder.verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in testSetupTwtSession()
253 inOrderBinder.verify(mAppBinder).unlinkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in testSetupTwtSession()
262 inOrderBinder.verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in testSetupTwtSession()
293 when(iTwtCallback.asBinder()).thenReturn(mAppBinder); in testTeardownTwtSession()
295 InOrder inOrderBinder = inOrder(mAppBinder); in testTeardownTwtSession()
309 inOrderBinder.verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in testTeardownTwtSession()
[all …]
DWifiScoreReportTest.java126 @Mock IBinder mAppBinder; field in WifiScoreReportTest
455 mWifiScoreReport.setWifiConnectedNetworkScorer(mAppBinder, mWifiConnectedNetworkScorer, in testExternalScorerWhileLingering_sendLingeringScore()
635 mWifiScoreReport.setWifiConnectedNetworkScorer(mAppBinder, mWifiConnectedNetworkScorer,
986 mWifiScoreReport.setWifiConnectedNetworkScorer(mAppBinder, mWifiConnectedNetworkScorer,
998 mWifiScoreReport.setWifiConnectedNetworkScorer(mAppBinder, mWifiConnectedNetworkScorer,
1002 verify(mAppBinder).unlinkToDeath(any(), anyInt());
1014 mWifiScoreReport.setWifiConnectedNetworkScorer(mAppBinder, mWifiConnectedNetworkScorer,
1017 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt());
1026 .when(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt());
1027 mWifiScoreReport.setWifiConnectedNetworkScorer(mAppBinder, mWifiConnectedNetworkScorer,
[all …]
DLocalOnlyHotspotRequestInfoTest.java49 @Mock IBinder mAppBinder; field in LocalOnlyHotspotRequestInfoTest
62 when(mCallback.asBinder()).thenReturn(mAppBinder); in setUp()
74 verify(mAppBinder).linkToDeath(eq(mLOHSRequestInfo), eq(0)); in verifyBinderLinkToDeathIsCalled()
103 verify(mAppBinder).unlinkToDeath(eq(mLOHSRequestInfo), eq(0)); in verifyUnlinkDeathRecipientUnlinksFromBinder()
123 doThrow(mRemoteException).when(mAppBinder) in verifyRemoteExceptionTriggersCallback()
DWifiTrafficPollerTest.java57 @Mock IBinder mAppBinder; field in WifiTrafficPollerTest
85 when(mTrafficStateCallback.asBinder()).thenReturn(mAppBinder); in setUp()
151 verify(mAppBinder).unlinkToDeath(any(), anyInt()); in testRemoveClient()
183 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in registersForBinderDeathOnAddClient()
193 .when(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in addCallbackFailureOnLinkToDeath()
195 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in addCallbackFailureOnLinkToDeath()
DWifiNetworkFactoryTest.java173 @Mock IBinder mAppBinder; field in WifiNetworkFactoryTest
277 when(mNetworkRequestMatchCallback.asBinder()).thenReturn(mAppBinder); in setUp()
2950 when(mNetworkRequestMatchCallback.asBinder()).thenReturn(mAppBinder); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchApprovedNForgot()
2993 when(mNetworkRequestMatchCallback.asBinder()).thenReturn(mAppBinder); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchNotApprovedForOpenNetwork()
3034 when(mNetworkRequestMatchCallback.asBinder()).thenReturn(mAppBinder); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchNotApprovedForOpenNetwork()
3087 when(mNetworkRequestMatchCallback.asBinder()).thenReturn(mAppBinder); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchApproved()
3153 when(mNetworkRequestMatchCallback.asBinder()).thenReturn(mAppBinder); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchAfterApprovalsRemove()
3197 when(mNetworkRequestMatchCallback.asBinder()).thenReturn(mAppBinder); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchAfterClear()
3583 when(mNetworkRequestMatchCallback.asBinder()).thenReturn(mAppBinder); in testShareConnectedNetworkWithoutCarModePriority()
3651 when(mNetworkRequestMatchCallback.asBinder()).thenReturn(mAppBinder); in testShareConnectedNetworkWithCarModePriority()
[all …]
DWifiServiceImplTest.java424 @Mock IBinder mAppBinder; field in WifiServiceImplTest
673 when(mClientSoftApCallback.asBinder()).thenReturn(mAppBinder); in setUp()
675 when(mIOnWifiDriverCountryCodeChangedListener.asBinder()).thenReturn(mAppBinder); in setUp()
1674 when(mCoexCallback.asBinder()).thenReturn(mAppBinder); in testRegisterUnregisterSubsystemRestartCallback()
2132 when(mCoexCallback.asBinder()).thenReturn(mAppBinder); in testRegisterUnregisterCoexCallback()
4160 .when(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in registerSoftApCallbackFailureOnLinkToDeath()
4231 when(mClientSoftApCallback.asBinder()).thenReturn(mAppBinder); in correctCallbackIsCalledAfterAddingTwoCallbacksAndRemovingOne()
4272 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in registersForBinderDeathOnRegisterSoftApCallback()
4283 verify(mAppBinder).linkToDeath(drCaptor.capture(), anyInt()); in unregistersSoftApCallbackOnBinderDied()
7836 mWifiServiceImpl.startDppAsConfiguratorInitiator(mAppBinder, TEST_PACKAGE_NAME, DPP_URI, in testStartDppAsConfiguratorInitiatorWithoutPermissions()
[all …]
DWifiMetricsTest.java205 @Mock IBinder mAppBinder; field in WifiMetricsTest
253 when(mOnWifiUsabilityStatsListener.asBinder()).thenReturn(mAppBinder); in setUp()
4872 verify(mAppBinder).unlinkToDeath(any(), anyInt()); in testRemoveClient()
4890 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in testAddsForBinderDeathOnAddClient()
4899 .when(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in testAddsListenerFailureOnLinkToDeath()
4901 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in testAddsListenerFailureOnLinkToDeath()