Home
last modified time | relevance | path

Searched refs:spyConfig (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java152 WifiConfiguration spyConfig = spy(new WifiConfiguration()); in testCompareTo_GivesNull() local
154 when(spyConfig.isPasspoint()).thenReturn(true); in testCompareTo_GivesNull()
155 spyConfig.providerFriendlyName = null; in testCompareTo_GivesNull()
156 AccessPoint passpointAp = new AccessPoint(mContext, spyConfig); in testCompareTo_GivesNull()
1183 WifiConfiguration spyConfig = spy(new WifiConfiguration()); in testUpdate_passpointWifiInfo_updatesPasspointAccessPoint() local
1184 when(spyConfig.isPasspoint()).thenReturn(true); in testUpdate_passpointWifiInfo_updatesPasspointAccessPoint()
1185 spyConfig.SSID = TEST_SSID; in testUpdate_passpointWifiInfo_updatesPasspointAccessPoint()
1186 spyConfig.BSSID = TEST_BSSID; in testUpdate_passpointWifiInfo_updatesPasspointAccessPoint()
1187 spyConfig.FQDN = "fqdn"; in testUpdate_passpointWifiInfo_updatesPasspointAccessPoint()
1188 spyConfig.providerFriendlyName = "providerFriendlyName"; in testUpdate_passpointWifiInfo_updatesPasspointAccessPoint()
[all …]
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardWifiEntryTest.java572 WifiConfiguration spyConfig = spy(config); in testGetMacAddress_randomizationOn_usesRandomizedValue() local
573 when(spyConfig.getRandomizedMacAddress()) in testGetMacAddress_randomizationOn_usesRandomizedValue()
579 Collections.singletonList(spyConfig), null, mMockWifiManager, in testGetMacAddress_randomizationOn_usesRandomizedValue()