Searched refs:mWifiConnectivityHelper (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConnectivityHelperTest.java | 47 mWifiConnectivityHelper = new WifiConnectivityHelper(mWifiInjector); in setUp() 56 private WifiConnectivityHelper mWifiConnectivityHelper; field in WifiConnectivityHelperTest 112 assertTrue(mWifiConnectivityHelper.getFirmwareRoamingInfo()); in returnFirmwareRoamingSupported() 113 assertTrue(mWifiConnectivityHelper.isFirmwareRoamingSupported()); in returnFirmwareRoamingSupported() 123 assertTrue(mWifiConnectivityHelper.getFirmwareRoamingInfo()); in returnFirmwareRoamingNotSupported() 124 assertFalse(mWifiConnectivityHelper.isFirmwareRoamingSupported()); in returnFirmwareRoamingNotSupported() 133 assertTrue(mWifiConnectivityHelper.getFirmwareRoamingInfo()); in verifyFirmwareRoamingCapabilityWithSuccessfulNativeCall() 134 assertTrue(mWifiConnectivityHelper.isFirmwareRoamingSupported()); in verifyFirmwareRoamingCapabilityWithSuccessfulNativeCall() 135 assertEquals(MAX_BSSID_BLOCKLIST_SIZE, mWifiConnectivityHelper.getMaxNumBlocklistBssid()); in verifyFirmwareRoamingCapabilityWithSuccessfulNativeCall() 136 assertEquals(MAX_SSID_ALLOWLIST_SIZE, mWifiConnectivityHelper.getMaxNumAllowlistSsid()); in verifyFirmwareRoamingCapabilityWithSuccessfulNativeCall() [all …]
|
D | WifiBlocklistMonitorTest.java | 139 @Mock private WifiConnectivityHelper mWifiConnectivityHelper; field in WifiBlocklistMonitorTest 159 when(mWifiConnectivityHelper.isFirmwareRoamingSupported()).thenReturn(true); in setup() 160 when(mWifiConnectivityHelper.getMaxNumBlocklistBssid()) in setup() 162 when(mWifiConnectivityHelper.getMaxNumAllowlistSsid()) in setup() 258 mWifiBlocklistMonitor = new WifiBlocklistMonitor(mContext, mWifiConnectivityHelper, in setup() 352 verify(mWifiConnectivityHelper).setFirmwareRoamingConfiguration(eq(new ArrayList<>()), in testBssidRemovalUpdatesFirmwareConfiguration() 366 verify(mWifiConnectivityHelper, never()).setFirmwareRoamingConfiguration( in testBssidRemovalNotUpdateFirmwareConfiguration() 884 verify(mWifiConnectivityHelper).setFirmwareRoamingConfiguration(eq(blocklist1), in testSendBlocklistToFirmwareFilterBySsid() 891 verify(mWifiConnectivityHelper).setFirmwareRoamingConfiguration(eq(blocklist2), in testSendBlocklistToFirmwareFilterBySsid() 897 verify(mWifiConnectivityHelper).setFirmwareRoamingConfiguration(eq(new ArrayList<>()), in testSendBlocklistToFirmwareFilterBySsid() [all …]
|
D | WifiConnectivityManagerTest.java | 161 mWifiConnectivityHelper = mockWifiConnectivityHelper(); in setUp() 290 private WifiConnectivityHelper mWifiConnectivityHelper; field in WifiConnectivityManagerTest 627 mWifiConnectivityHelper, in createConnectivityManager() 719 when(mWifiConnectivityHelper.isFirmwareRoamingSupported()).thenReturn(true); in alreadyConnectedOnPrimaryCmm_dontConnectAgain() 741 when(mWifiConnectivityHelper.isFirmwareRoamingSupported()).thenReturn(true); in disconnectedOnPrimaryCmm_connectUsingPrimaryCmm() 819 when(mWifiConnectivityHelper.isFirmwareRoamingSupported()).thenReturn(true); in requestSecondaryTransientCmm_gotAlreadyConnectedCmm() 864 when(mWifiConnectivityHelper.isFirmwareRoamingSupported()).thenReturn(true); in connectWhenConnected_UsingMbb() 901 when(mWifiConnectivityHelper.isFirmwareRoamingSupported()).thenReturn(true); in connectWhenConnected_UsingBbmIfBothNetworksHaveMacRandomizationDisabled() 942 when(mWifiConnectivityHelper.isFirmwareRoamingSupported()).thenReturn(true); in setupMocksForSecondaryLongLivedTests() 1380 when(mWifiConnectivityHelper.isFirmwareRoamingSupported()).thenReturn(true); in setupMocksForMultiInternetTests() [all …]
|
D | ClientModeImplTest.java | 592 @Mock WifiConnectivityHelper mWifiConnectivityHelper; field in ClientModeImplTest 839 mWifiConnectivityHelper); in initializeCmi() 2290 when(mWifiConnectivityHelper.isFirmwareRoamingSupported()).thenReturn(true); in testIdleModeChanged_firmwareRoaming() 2294 when(mWifiConnectivityHelper.isFirmwareRoamingSupported()).thenReturn(false); in testIdleModeChanged_firmwareRoaming() 2300 when(mWifiConnectivityHelper.isFirmwareRoamingSupported()).thenReturn(true); in testIdleModeChanged_firmwareRoaming() 2321 when(mWifiConnectivityHelper.isFirmwareRoamingSupported()).thenReturn(true); in testIdleModeChanged_firmwareRoamingLocalOnlyCase()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiInjector.java | 196 private final WifiConnectivityHelper mWifiConnectivityHelper; field in WifiInjector 400 mWifiConnectivityHelper = new WifiConnectivityHelper(this); in WifiInjector() 417 mWifiConnectivityHelper, in WifiInjector() 535 mWifiConnectivityHelper, mWifiLastResortWatchdog, mOpenNetworkNotifier, in WifiInjector() 898 mWifiConnectivityHelper); in makeClientModeImpl()
|
D | ClientModeImpl.java | 281 private final WifiConnectivityHelper mWifiConnectivityHelper; field in ClientModeImpl 868 mWifiConnectivityHelper = wifiConnectivityHelper; in ClientModeImpl() 4428 mWifiConnectivityHelper.getFirmwareRoamingInfo(); in setupClientMode() 8458 || !mWifiConnectivityHelper.isFirmwareRoamingSupported()) { in considerChangingFirmwareRoaming()
|