Home
last modified time | relevance | path

Searched refs:mWifiRoamingConfigStore (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiRoamingConfigStoreTest.java59 private WifiRoamingConfigStore mWifiRoamingConfigStore; field in WifiRoamingConfigStoreTest
67 mWifiRoamingConfigStore = in setUp()
82 assertTrue(mWifiRoamingConfigStore.getRoamingMode(TEST_SSID) == TEST_DEFAULT_ROAMING_MODE); in testRoamingModeByDeviceAdmin()
83 mWifiRoamingConfigStore.addRoamingMode(TEST_SSID, TEST_ROAMING_MODE, true); in testRoamingModeByDeviceAdmin()
84 assertTrue(mWifiRoamingConfigStore.getRoamingMode(TEST_SSID) == TEST_ROAMING_MODE); in testRoamingModeByDeviceAdmin()
85 assertTrue(mWifiRoamingConfigStore.getPerSsidRoamingModes(true).get(TEST_SSID) in testRoamingModeByDeviceAdmin()
87 assertTrue(mWifiRoamingConfigStore.getPerSsidRoamingModes(false).isEmpty()); in testRoamingModeByDeviceAdmin()
89 mWifiRoamingConfigStore.removeRoamingMode(TEST_SSID, true); in testRoamingModeByDeviceAdmin()
90 assertTrue(mWifiRoamingConfigStore.getRoamingMode(TEST_SSID) == TEST_DEFAULT_ROAMING_MODE); in testRoamingModeByDeviceAdmin()
91 assertTrue(mWifiRoamingConfigStore.getPerSsidRoamingModes(true).isEmpty()); in testRoamingModeByDeviceAdmin()
[all …]
DClientModeImplTest.java601 @Mock WifiRoamingConfigStore mWifiRoamingConfigStore; field in ClientModeImplTest
696 mActiveModeWarden, mWifiRoamingConfigStore); in setUp()
2306 when(mWifiRoamingConfigStore.getRoamingMode(anyString())).thenReturn( in testIdleModeChanged_firmwareRoaming()
2338 when(mWifiRoamingConfigStore.getRoamingMode(TEST_SSID)).thenReturn( in testPerSsidRoamingModePrimary()
2341 verify(mWifiRoamingConfigStore).getRoamingMode(TEST_SSID); in testPerSsidRoamingModePrimary()
2353 verify(mWifiRoamingConfigStore, never()).getRoamingMode(anyString()); in testPerSsidRoamingModeSecondary()
/packages/modules/Wifi/service/java/com/android/server/wifi/b2b/
DWifiRoamingModeManager.java35 private final WifiRoamingConfigStore mWifiRoamingConfigStore; field in WifiRoamingModeManager
43 this.mWifiRoamingConfigStore = wifiRoamingConfigStore; in WifiRoamingModeManager()
72 mWifiRoamingConfigStore.addRoamingMode(ssid.toString(), roamingMode, isDeviceOwner); in setPerSsidRoamingMode()
83 mWifiRoamingConfigStore.removeRoamingMode(ssid.toString(), isDeviceOwner); in removePerSsidRoamingMode()
95 return mWifiRoamingConfigStore.getPerSsidRoamingModes(isDeviceOwner); in getPerSsidRoamingModes()
106 int roamingMode = mWifiRoamingConfigStore.getRoamingMode(ssid); in applyWifiRoamingMode()
145 mWifiRoamingConfigStore.dump(fd, pw, args); in dump()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/b2b/
DWifiRoamingModeManagerTest.java58 @Mock WifiRoamingConfigStore mWifiRoamingConfigStore; field in WifiRoamingModeManagerTest
65 mActiveModeWarden, mWifiRoamingConfigStore); in setUp()
75 when(mWifiRoamingConfigStore.getRoamingMode(CURRENT_SSID)).thenReturn( in testSetPerSsidRoamingMode()
79 verify(mWifiRoamingConfigStore).addRoamingMode(CURRENT_SSID, TEST_ROAMING_MODE, false); in testSetPerSsidRoamingMode()
89 verify(mWifiRoamingConfigStore).removeRoamingMode(TEST_SSID, false); in testRemovePerSsidRoamingMode()
99 verify(mWifiRoamingConfigStore).getPerSsidRoamingModes(false); in testGetPerSsidRoamingMode()
105 when(mWifiRoamingConfigStore.getRoamingMode(TEST_SSID)).thenReturn( in testApplyWifiRoamingMode()