/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConnectivityManagerTest.java | 122 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 …]
|
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 | 128 @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 …]
|
D | ConnectionFailureNotifierTest.java | 61 @Mock private WifiConnectivityManager mWifiConnectivityManager; field in ConnectionFailureNotifierTest 87 mFrameworkFacade, mWifiConfigManager, mWifiConnectivityManager, in setUp() 151 verify(mWifiConnectivityManager).forceConnectivityScan(any()); in testConnectionFailureSendRandomizationSettingsNotification()
|
D | ClientModeImplTest.java | 389 @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/ |
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 | 45 private WifiConnectivityManager mWifiConnectivityManager; field in ConnectionFailureNotifier 58 mWifiConnectivityManager = wifiConnectivityManager; in ConnectionFailureNotifier() 125 mWifiConnectivityManager.forceConnectivityScan( in onClick()
|
D | WifiNetworkFactory.java | 115 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()
|
D | ClientModeImpl.java | 220 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 …]
|
D | ConnectionFailureNotificationBuilder.java | 49 private WifiConnectivityManager mWifiConnectivityManager; field in ConnectionFailureNotificationBuilder
|