Searched refs:mWifiConnectivityManager (Results 1 – 7 of 7) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConnectivityManagerTest.java | 99 mWifiConnectivityManager = createConnectivityManager(); in setUp() 101 mWifiConnectivityManager.setTrustedConnectionAllowed(true); in setUp() 102 mWifiConnectivityManager.setWifiEnabled(true); in setUp() 125 private WifiConnectivityManager mWifiConnectivityManager; field in WifiConnectivityManagerTest 338 mWifiConnectivityManager.handleScreenStateChanged(true); in enterWifiDisconnectedStateWhenScreenOn() 341 mWifiConnectivityManager.handleConnectionStateChanged( in enterWifiDisconnectedStateWhenScreenOn() 358 mWifiConnectivityManager.handleScreenStateChanged(true); in enterWifiConnectedStateWhenScreenOn() 361 mWifiConnectivityManager.handleConnectionStateChanged( in enterWifiConnectedStateWhenScreenOn() 378 mWifiConnectivityManager.handleConnectionStateChanged( in turnScreenOnWhenWifiInDisconnectedState() 382 mWifiConnectivityManager.handleScreenStateChanged(true); in turnScreenOnWhenWifiInDisconnectedState() [all …]
|
D | UntrustedWifiNetworkFactoryTest.java | 39 @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()
|
D | WifiNetworkFactoryTest.java | 116 @Mock WifiConnectivityManager mWifiConnectivityManager; field in WifiNetworkFactoryTest 180 mWifiInjector, mWifiConnectivityManager, mWifiConfigManager, mWifiConfigStore, in setUp() 228 verify(mWifiConnectivityManager).setTrustedConnectionAllowed(true); in testHandleNetworkRequestWithNoSpecifier() 233 verifyNoMoreInteractions(mWifiConnectivityManager); in testHandleNetworkRequestWithNoSpecifier() 247 verify(mWifiConnectivityManager).setTrustedConnectionAllowed(true); in testHandleNetworkReleaseWithNoSpecifier() 251 verify(mWifiConnectivityManager).setTrustedConnectionAllowed(false); in testHandleNetworkReleaseWithNoSpecifier() 606 verify(mWifiConnectivityManager).setSpecificNetworkRequestInProgress(false); in testHandleNetworkReleaseWithSpecifier() 1012 verify(mWifiConnectivityManager).setSpecificNetworkRequestInProgress(false); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest() 1020 verifyNoMoreInteractions(mClientModeImpl, mWifiConnectivityManager); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest() 1044 verifyNoMoreInteractions(mClientModeImpl, mWifiConnectivityManager, mWifiConfigManager); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest() [all …]
|
D | ClientModeImplTest.java | 360 @Mock WifiConnectivityManager mWifiConnectivityManager; field in ClientModeImplTest 419 .thenReturn(mWifiConnectivityManager); in setUp() 911 verify(mWifiConnectivityManager).setUserConnectChoice(eq(config.networkId)); in validateSuccessfulConnectSequence() 912 verify(mWifiConnectivityManager).prepareForForcedConnection(eq(config.networkId)); in validateSuccessfulConnectSequence() 919 verify(mWifiConnectivityManager).setUserConnectChoice(eq(config.networkId)); in validateFailureConnectSequence() 920 verify(mWifiConnectivityManager).prepareForForcedConnection(eq(config.networkId)); in validateFailureConnectSequence() 960 verify(mWifiConnectivityManager, never()).setUserConnectChoice(eq(config.networkId)); in triggerConnectFromNonSettingsApp() 961 verify(mWifiConnectivityManager).prepareForForcedConnection(eq(config.networkId)); in triggerConnectFromNonSettingsApp() 1256 verify(mWifiConnectivityManager, never()).setUserConnectChoice(eq(config.networkId)); in triggerConnectWithNoNetworkRequestAndAlreadyConnectedButNonPrivilegedApp() 1257 verify(mWifiConnectivityManager).prepareForForcedConnection(eq(config.networkId)); in triggerConnectWithNoNetworkRequestAndAlreadyConnectedButNonPrivilegedApp() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | UntrustedWifiNetworkFactory.java | 37 private final WifiConnectivityManager mWifiConnectivityManager; field in UntrustedWifiNetworkFactory 43 mWifiConnectivityManager = connectivityManager; in UntrustedWifiNetworkFactory() 53 mWifiConnectivityManager.setUntrustedConnectionAllowed(true); in needNetworkFor() 67 mWifiConnectivityManager.setUntrustedConnectionAllowed(false); in releaseNetworkFor()
|
D | WifiNetworkFactory.java | 108 private final WifiConnectivityManager mWifiConnectivityManager; field in WifiNetworkFactory 385 mWifiConnectivityManager = connectivityManager; in WifiNetworkFactory() 584 mWifiConnectivityManager.setTrustedConnectionAllowed(true); in needNetworkFor() 626 mWifiConnectivityManager.setTrustedConnectionAllowed(false); in releaseNetworkFor() 750 mWifiConnectivityManager.setSpecificNetworkRequestInProgress(true); in handleConnectToNetworkUserSelectionInternal() 953 mWifiConnectivityManager.setSpecificNetworkRequestInProgress(false); in teardownForActiveRequest() 976 mWifiConnectivityManager.setSpecificNetworkRequestInProgress(false); in teardownForConnectedNetwork()
|
D | ClientModeImpl.java | 199 private final WifiConnectivityManager mWifiConnectivityManager; field in ClientModeImpl 813 mWifiConnectivityManager = mWifiInjector.makeWifiConnectivityManager(this); in ClientModeImpl() 840 mNetworkCapabilitiesFilter, mWifiConnectivityManager); in ClientModeImpl() 846 mNetworkCapabilitiesFilter, mWifiConnectivityManager); in ClientModeImpl() 1169 mWifiConnectivityManager.setUserConnectChoice(netId); in connectToUserSelectNetwork() 1176 mWifiConnectivityManager.prepareForForcedConnection(netId); in connectToUserSelectNetwork() 2047 mWifiConnectivityManager.dump(fd, pw, args); in dump() 2597 mWifiConnectivityManager.handleScreenStateChanged(screenOn); in handleScreenStateChanged() 3157 mWifiConnectivityManager.handleConnectionAttemptEnded(level2FailureCode); in reportConnectionAttemptEnd() 3907 mWifiConnectivityManager.setWifiEnabled(true); in enter() [all …]
|