/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConnectivityManagerTest.java | 103 mWifiConnectivityManager = createConnectivityManager(); in setUp() 105 mWifiConnectivityManager.setTrustedConnectionAllowed(true); in setUp() 106 mWifiConnectivityManager.setWifiEnabled(true); in setUp() 129 private WifiConnectivityManager mWifiConnectivityManager; field in WifiConnectivityManagerTest 343 mWifiConnectivityManager.handleScreenStateChanged(true); in enterWifiDisconnectedStateWhenScreenOn() 346 mWifiConnectivityManager.handleConnectionStateChanged( in enterWifiDisconnectedStateWhenScreenOn() 363 mWifiConnectivityManager.handleScreenStateChanged(true); in enterWifiConnectedStateWhenScreenOn() 366 mWifiConnectivityManager.handleConnectionStateChanged( in enterWifiConnectedStateWhenScreenOn() 383 mWifiConnectivityManager.handleConnectionStateChanged( in turnScreenOnWhenWifiInDisconnectedState() 387 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 | 126 @Mock WifiConnectivityManager mWifiConnectivityManager; field in WifiNetworkFactoryTest 193 mWifiInjector, mWifiConnectivityManager, mWifiConfigManager, mWifiConfigStore, in setUp() 239 verify(mWifiConnectivityManager).setTrustedConnectionAllowed(true); in testHandleNetworkRequestWithNoSpecifier() 244 verifyNoMoreInteractions(mWifiConnectivityManager); in testHandleNetworkRequestWithNoSpecifier() 258 verify(mWifiConnectivityManager).setTrustedConnectionAllowed(true); in testHandleNetworkReleaseWithNoSpecifier() 262 verify(mWifiConnectivityManager).setTrustedConnectionAllowed(false); in testHandleNetworkReleaseWithNoSpecifier() 617 verify(mWifiConnectivityManager).setSpecificNetworkRequestInProgress(false); in testHandleNetworkReleaseWithSpecifier() 1013 verify(mWifiConnectivityManager).setSpecificNetworkRequestInProgress(false); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest() 1021 verifyNoMoreInteractions(mClientModeImpl, mWifiConnectivityManager); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest() 1045 verifyNoMoreInteractions(mClientModeImpl, mWifiConnectivityManager, mWifiConfigManager); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest() [all …]
|
D | ConnectionFailureNotifierTest.java | 59 @Mock private WifiConnectivityManager mWifiConnectivityManager; field in ConnectionFailureNotifierTest 85 mFrameworkFacade, mWifiConfigManager, mWifiConnectivityManager, in setUp() 150 verify(mWifiConnectivityManager).forceConnectivityScan(any()); in testConnectionFailureSendRandomizationSettingsNotification()
|
D | ClientModeImplTest.java | 367 @Mock WifiConnectivityManager mWifiConnectivityManager; field in ClientModeImplTest 426 .thenReturn(mWifiConnectivityManager); in setUp() 922 verify(mWifiConnectivityManager).setUserConnectChoice(eq(config.networkId)); in validateSuccessfulConnectSequence() 923 verify(mWifiConnectivityManager).prepareForForcedConnection(eq(config.networkId)); in validateSuccessfulConnectSequence() 930 verify(mWifiConnectivityManager).setUserConnectChoice(eq(config.networkId)); in validateFailureConnectSequence() 931 verify(mWifiConnectivityManager).prepareForForcedConnection(eq(config.networkId)); in validateFailureConnectSequence() 971 verify(mWifiConnectivityManager, never()).setUserConnectChoice(eq(config.networkId)); in triggerConnectFromNonSettingsApp() 972 verify(mWifiConnectivityManager).prepareForForcedConnection(eq(config.networkId)); in triggerConnectFromNonSettingsApp() 1376 verify(mWifiConnectivityManager, never()).setUserConnectChoice(eq(config.networkId)); in triggerConnectWithNoNetworkRequestAndAlreadyConnectedButNonPrivilegedApp() 1377 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() 52 mWifiConnectivityManager.setUntrustedConnectionAllowed(true); in needNetworkFor() 65 mWifiConnectivityManager.setUntrustedConnectionAllowed(false); in releaseNetworkFor()
|
D | ConnectionFailureNotifier.java | 47 private WifiConnectivityManager mWifiConnectivityManager; field in ConnectionFailureNotifier 61 mWifiConnectivityManager = wifiConnectivityManager; in ConnectionFailureNotifier() 127 mWifiConnectivityManager.forceConnectivityScan( in onClick()
|
D | WifiNetworkFactory.java | 114 private final WifiConnectivityManager mWifiConnectivityManager; field in WifiNetworkFactory 365 mWifiConnectivityManager = connectivityManager; in WifiNetworkFactory() 570 mWifiConnectivityManager.setTrustedConnectionAllowed(true); in needNetworkFor() 621 mWifiConnectivityManager.setTrustedConnectionAllowed(false); in releaseNetworkFor() 776 mWifiConnectivityManager.setSpecificNetworkRequestInProgress(true); in handleConnectToNetworkUserSelectionInternal() 979 mWifiConnectivityManager.setSpecificNetworkRequestInProgress(false); in teardownForActiveRequest() 1003 mWifiConnectivityManager.setSpecificNetworkRequestInProgress(false); in teardownForConnectedNetwork()
|
D | ConnectionFailureNotificationBuilder.java | 52 private WifiConnectivityManager mWifiConnectivityManager; field in ConnectionFailureNotificationBuilder
|
D | ClientModeImpl.java | 206 private final WifiConnectivityManager mWifiConnectivityManager; field in ClientModeImpl 826 mWifiConnectivityManager = mWifiInjector.makeWifiConnectivityManager(this); in ClientModeImpl() 828 mWifiConnectivityManager); in ClientModeImpl() 854 mNetworkCapabilitiesFilter, mWifiConnectivityManager); in ClientModeImpl() 860 mNetworkCapabilitiesFilter, mWifiConnectivityManager); in ClientModeImpl() 1186 mWifiConnectivityManager.setUserConnectChoice(netId); in connectToUserSelectNetwork() 1193 mWifiConnectivityManager.prepareForForcedConnection(netId); in connectToUserSelectNetwork() 2068 mWifiConnectivityManager.dump(fd, pw, args); in dump() 2618 mWifiConnectivityManager.handleScreenStateChanged(screenOn); in handleScreenStateChanged() 3181 mWifiConnectivityManager.handleConnectionAttemptEnded(level2FailureCode); in reportConnectionAttemptEnd() [all …]
|