Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DLocalOnlyHotspotRequestInfoTest.java46 @Mock IBinder mAppBinder; field in LocalOnlyHotspotRequestInfoTest
72 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyBinderLinkToDeathIsCalled()
73 verify(mAppBinder).linkToDeath(eq(mLOHSRequestInfo), eq(0)); in verifyBinderLinkToDeathIsCalled()
81 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, null); in verifyNullCallbackChecked()
89 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, null, mCallback); in verifyNullMessengerChecked()
105 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyUnlinkDeathRecipientUnlinksFromBinder()
107 verify(mAppBinder).unlinkToDeath(eq(mLOHSRequestInfo), eq(0)); in verifyUnlinkDeathRecipientUnlinksFromBinder()
115 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyBinderDeathTriggersCallback()
125 doThrow(mRemoteException).when(mAppBinder) in verifyRemoteExceptionTriggersCallback()
127 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyRemoteExceptionTriggersCallback()
[all …]
DWifiTrafficPollerTest.java53 @Mock IBinder mAppBinder; field in WifiTrafficPollerTest
79 mAppBinder, mTrafficStateCallback, TEST_TRAFFIC_STATE_CALLBACK_IDENTIFIER); in testClientNotification()
94 mAppBinder, mTrafficStateCallback, TEST_TRAFFIC_STATE_CALLBACK_IDENTIFIER); in testRemoveClient()
96 verify(mAppBinder).unlinkToDeath(any(), anyInt()); in testRemoveClient()
111 mAppBinder, mTrafficStateCallback, TEST_TRAFFIC_STATE_CALLBACK_IDENTIFIER); in testRemoveClientWithWrongIdentifier()
129 mAppBinder, mTrafficStateCallback, TEST_TRAFFIC_STATE_CALLBACK_IDENTIFIER); in registersForBinderDeathOnAddClient()
130 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in registersForBinderDeathOnAddClient()
140 .when(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in addCallbackFailureOnLinkToDeath()
142 mAppBinder, mTrafficStateCallback, TEST_TRAFFIC_STATE_CALLBACK_IDENTIFIER); in addCallbackFailureOnLinkToDeath()
143 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in addCallbackFailureOnLinkToDeath()
DWifiServiceImplTest.java247 @Mock IBinder mAppBinder; field in WifiServiceImplTest
1541 int result = mWifiServiceImpl.startLocalOnlyHotspot(mAppMessenger, mAppBinder, in registerLOHSRequestFull()
1565 mWifiServiceImpl.startLocalOnlyHotspot(mAppMessenger, mAppBinder, TEST_PACKAGE_NAME); in testStartLocalOnlyHotspotThrowsSecurityExceptionWithoutCorrectPermission()
1577 mWifiServiceImpl.startLocalOnlyHotspot(mAppMessenger, mAppBinder, TEST_PACKAGE_NAME); in testStartLocalOnlyHotspotThrowsSecurityExceptionWithoutLocationPermission()
1587 mWifiServiceImpl.startLocalOnlyHotspot(mAppMessenger, mAppBinder, TEST_PACKAGE_NAME); in testStartLocalOnlyHotspotThrowsSecurityExceptionWithoutLocationEnabled()
1598 int result = mWifiServiceImpl.startLocalOnlyHotspot(mAppMessenger, mAppBinder, in testStartLocalOnlyHotspotFailsIfRequestorNotForegroundApp()
1611 int result = mWifiServiceImpl.startLocalOnlyHotspot(mAppMessenger, mAppBinder, in testStartLocalOnlyHotspotFailsIfInCryptDebounce()
1649 mAppMessenger, mAppBinder, TEST_PACKAGE_NAME); in testHotspotDoesNotStartWhenAlreadyTethering()
1663 mAppMessenger, mAppBinder, TEST_PACKAGE_NAME); in testHotspotDoesNotStartWhenTetheringDisallowed()
1675 mWifiServiceImpl.startLocalOnlyHotspot(mAppMessenger, mAppBinder, TEST_PACKAGE_NAME); in testStartLocalOnlyHotspotThrowsExceptionWhenCallerAlreadyRegistered()
[all …]
DWifiNetworkFactoryTest.java132 @Mock IBinder mAppBinder; field in WifiNetworkFactoryTest
667 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testHandleCallbackRegistrationAndUnregistration()
689 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testHandleCallbackRegistrationWithNoActiveRequest()
726 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch()
769 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch()
813 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchSuccessUsingLiteralBssidMatch()
857 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchSuccessUsingOuiPrefixBssidMatch()
902 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchWithMultipleBssidMatches()
949 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenSsidNotFound()
989 mWifiNetworkFactory.addCallback(mAppBinder, mNetworkRequestMatchCallback, in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenKeyMgmtDiffers()
[all …]
DWifiMetricsTest.java149 @Mock IBinder mAppBinder; field in WifiMetricsTest
3247 mWifiMetrics.addOnWifiUsabilityListener(mAppBinder, mOnWifiUsabilityStatsListener, in testClientNotification()
3285 mWifiMetrics.addOnWifiUsabilityListener(mAppBinder, mOnWifiUsabilityStatsListener, in testRemoveClient()
3288 verify(mAppBinder).unlinkToDeath(any(), anyInt()); in testRemoveClient()
3305 mWifiMetrics.addOnWifiUsabilityListener(mAppBinder, mOnWifiUsabilityStatsListener, in testAddsForBinderDeathOnAddClient()
3307 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in testAddsForBinderDeathOnAddClient()
3316 .when(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in testAddsListenerFailureOnLinkToDeath()
3317 mWifiMetrics.addOnWifiUsabilityListener(mAppBinder, mOnWifiUsabilityStatsListener, in testAddsListenerFailureOnLinkToDeath()
3319 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in testAddsListenerFailureOnLinkToDeath()
/frameworks/base/lowpan/tests/src/android/net/lowpan/
DLowpanInterfaceTest.java48 @Mock IBinder mAppBinder; field in LowpanInterfaceTest
DLowpanManagerTest.java50 @Mock IBinder mAppBinder; field in LowpanManagerTest
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java108 @Mock IBinder mAppBinder; field in WifiManagerTest