Home
last modified time | relevance | path

Searched refs:mWifiConnectivityManager (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java122 mWifiConnectivityManager = createConnectivityManager(); in setUp()
127 mWifiConnectivityManager.setTrustedConnectionAllowed(true); in setUp()
128 mWifiConnectivityManager.setWifiEnabled(true); in setUp()
182 private WifiConnectivityManager mWifiConnectivityManager; field in WifiConnectivityManagerTest
420 mWifiConnectivityManager.handleConnectionStateChanged( in setWifiStateConnected()
434 mWifiConnectivityManager.handleScreenStateChanged(true); in enterWifiDisconnectedStateWhenScreenOn()
437 mWifiConnectivityManager.handleConnectionStateChanged( in enterWifiDisconnectedStateWhenScreenOn()
454 mWifiConnectivityManager.handleScreenStateChanged(true); in enterWifiConnectedStateWhenScreenOn()
458 mWifiConnectivityManager.handleConnectionStateChanged( in enterWifiConnectedStateWhenScreenOn()
475 mWifiConnectivityManager.handleConnectionStateChanged( in turnScreenOnWhenWifiInDisconnectedState()
[all …]
DUntrustedWifiNetworkFactoryTest.java39 @Mock WifiConnectivityManager mWifiConnectivityManager; field in UntrustedWifiNetworkFactoryTest
61 mNetworkCapabilities, mWifiConnectivityManager); in setUp()
85 verify(mWifiConnectivityManager).setUntrustedConnectionAllowed(true); in testHandleNetworkRequest()
90 verifyNoMoreInteractions(mWifiConnectivityManager); in testHandleNetworkRequest()
105 verify(mWifiConnectivityManager).setUntrustedConnectionAllowed(true); in testHandleNetworkRelease()
109 verify(mWifiConnectivityManager).setUntrustedConnectionAllowed(false); in testHandleNetworkRelease()
DWifiNetworkFactoryTest.java128 @Mock WifiConnectivityManager mWifiConnectivityManager; field in WifiNetworkFactoryTest
200 mClock, mWifiInjector, mWifiConnectivityManager, in setUp()
246 verify(mWifiConnectivityManager).setTrustedConnectionAllowed(true); in testHandleNetworkRequestWithNoSpecifier()
251 verifyNoMoreInteractions(mWifiConnectivityManager); in testHandleNetworkRequestWithNoSpecifier()
265 verify(mWifiConnectivityManager).setTrustedConnectionAllowed(true); in testHandleNetworkReleaseWithNoSpecifier()
269 verify(mWifiConnectivityManager).setTrustedConnectionAllowed(false); in testHandleNetworkReleaseWithNoSpecifier()
607 verify(mWifiConnectivityManager).setSpecificNetworkRequestInProgress(false); in testHandleNetworkReleaseWithSpecifier()
1063 verify(mWifiConnectivityManager).setSpecificNetworkRequestInProgress(false); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest()
1071 verifyNoMoreInteractions(mClientModeImpl, mWifiConnectivityManager); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest()
1095 verifyNoMoreInteractions(mClientModeImpl, mWifiConnectivityManager, mWifiConfigManager); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest()
[all …]
DConnectionFailureNotifierTest.java61 @Mock private WifiConnectivityManager mWifiConnectivityManager; field in ConnectionFailureNotifierTest
87 mFrameworkFacade, mWifiConfigManager, mWifiConnectivityManager, in setUp()
151 verify(mWifiConnectivityManager).forceConnectivityScan(any()); in testConnectionFailureSendRandomizationSettingsNotification()
DClientModeImplTest.java389 @Mock WifiConnectivityManager mWifiConnectivityManager; field in ClientModeImplTest
454 .thenReturn(mWifiConnectivityManager); in setUp()
917 verify(mWifiConnectivityManager).setUserConnectChoice(eq(config.networkId)); in validateSuccessfulConnectSequence()
918 verify(mWifiConnectivityManager).prepareForForcedConnection(eq(config.networkId)); in validateSuccessfulConnectSequence()
926 verify(mWifiConnectivityManager).setUserConnectChoice(eq(config.networkId)); in validateFailureConnectSequence()
927 verify(mWifiConnectivityManager).prepareForForcedConnection(eq(config.networkId)); in validateFailureConnectSequence()
968 verify(mWifiConnectivityManager, never()).setUserConnectChoice(eq(config.networkId)); in triggerConnectFromNonSettingsApp()
969 verify(mWifiConnectivityManager).prepareForForcedConnection(eq(config.networkId)); in triggerConnectFromNonSettingsApp()
1468 verify(mWifiConnectivityManager, never()).setUserConnectChoice(eq(config.networkId)); in triggerConnectWithNoNetworkRequestAndAlreadyConnectedButNonPrivilegedApp()
1469 verify(mWifiConnectivityManager).prepareForForcedConnection(eq(config.networkId)); in triggerConnectWithNoNetworkRequestAndAlreadyConnectedButNonPrivilegedApp()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DUntrustedWifiNetworkFactory.java37 private final WifiConnectivityManager mWifiConnectivityManager; field in UntrustedWifiNetworkFactory
43 mWifiConnectivityManager = connectivityManager; in UntrustedWifiNetworkFactory()
52 mWifiConnectivityManager.setUntrustedConnectionAllowed(true); in needNetworkFor()
65 mWifiConnectivityManager.setUntrustedConnectionAllowed(false); in releaseNetworkFor()
DConnectionFailureNotifier.java45 private WifiConnectivityManager mWifiConnectivityManager; field in ConnectionFailureNotifier
58 mWifiConnectivityManager = wifiConnectivityManager; in ConnectionFailureNotifier()
125 mWifiConnectivityManager.forceConnectivityScan( in onClick()
DWifiNetworkFactory.java115 private final WifiConnectivityManager mWifiConnectivityManager; field in WifiNetworkFactory
365 mWifiConnectivityManager = connectivityManager; in WifiNetworkFactory()
579 mWifiConnectivityManager.setTrustedConnectionAllowed(true); in needNetworkFor()
630 mWifiConnectivityManager.setTrustedConnectionAllowed(false); in releaseNetworkFor()
785 mWifiConnectivityManager.setSpecificNetworkRequestInProgress(true); in handleConnectToNetworkUserSelectionInternal()
1005 mWifiConnectivityManager.setSpecificNetworkRequestInProgress(false); in teardownForActiveRequest()
1029 mWifiConnectivityManager.setSpecificNetworkRequestInProgress(false); in teardownForConnectedNetwork()
DClientModeImpl.java220 private final WifiConnectivityManager mWifiConnectivityManager; field in ClientModeImpl
795 mWifiConnectivityManager = mWifiInjector.makeWifiConnectivityManager(this); in ClientModeImpl()
798 mWifiConnectivityManager); in ClientModeImpl()
831 mNetworkCapabilitiesFilter, mWifiConnectivityManager); in ClientModeImpl()
837 mNetworkCapabilitiesFilter, mWifiConnectivityManager); in ClientModeImpl()
1202 mWifiConnectivityManager.enableVerboseLogging(mVerboseLoggingEnabled); in enableVerboseLogging()
1222 mWifiConnectivityManager.prepareForForcedConnection(netId); in connectToUserSelectNetwork()
1890 mWifiConnectivityManager.dump(fd, pw, args); in dump()
2344 mWifiConnectivityManager.handleScreenStateChanged(screenOn); in handleScreenStateChanged()
3006 mWifiConnectivityManager.handleConnectionAttemptEnded(level2FailureCode, bssid, ssid); in reportConnectionAttemptEnd()
[all …]
DConnectionFailureNotificationBuilder.java49 private WifiConnectivityManager mWifiConnectivityManager; field in ConnectionFailureNotificationBuilder