Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DSoftApConfigurationTest.java76 MacAddress testBssid = MacAddress.fromString(TEST_BSSID); in testBasicSettings() local
79 .setBssid(testBssid) in testBasicSettings()
82 assertThat(original.getBssid()).isEqualTo(testBssid); in testBasicSettings()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java546 String testBssid = "11:22:33:44:55:66"; in connectToNetworkWithSameNetworkButDifferentBssidUpdatesNetworkFromSupplicant() local
547 when(mSupplicantStaNetworkMock.setBssid(eq(testBssid))).thenReturn(true); in connectToNetworkWithSameNetworkButDifferentBssidUpdatesNetworkFromSupplicant()
554 testBssid, config.getNetworkSelectionStatus().getNetworkSelectionBSSID())); in connectToNetworkWithSameNetworkButDifferentBssidUpdatesNetworkFromSupplicant()
555 config.getNetworkSelectionStatus().setNetworkSelectionBSSID(testBssid); in connectToNetworkWithSameNetworkButDifferentBssidUpdatesNetworkFromSupplicant()
557 verify(mSupplicantStaNetworkMock).setBssid(eq(testBssid)); in connectToNetworkWithSameNetworkButDifferentBssidUpdatesNetworkFromSupplicant()
701 String testBssid = "11:22:33:44:55:66"; in testRemoveAllNetworksWhileConnected() local
702 when(mSupplicantStaNetworkMock.setBssid(eq(testBssid))).thenReturn(true); in testRemoveAllNetworksWhileConnected()
708 assertTrue(mDut.setCurrentNetworkBssid(WLAN0_IFACE_NAME, testBssid)); in testRemoveAllNetworksWhileConnected()
709 verify(mSupplicantStaNetworkMock).setBssid(eq(testBssid)); in testRemoveAllNetworksWhileConnected()
714 assertFalse(mDut.setCurrentNetworkBssid(WLAN0_IFACE_NAME, testBssid)); in testRemoveAllNetworksWhileConnected()
[all …]
DSoftApManagerTest.java2316 MacAddress testBssid = MacAddress.fromString("aa:bb:cc:11:22:33"); in testBssidUpdatedWhenSoftApInfoUpdate() local
2318 .Builder(mDefaultApConfig).setBssid(testBssid).build(); in testBssidUpdatedWhenSoftApInfoUpdate()
2319 when(mWifiNative.setApMacAddress(eq(TEST_INTERFACE_NAME), eq(testBssid))).thenReturn(true); in testBssidUpdatedWhenSoftApInfoUpdate()
2320 mTestSoftApInfo.setBssid(testBssid); in testBssidUpdatedWhenSoftApInfoUpdate()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java629 MacAddress testBssid = MacAddress.fromString("aa:22:33:44:55:66"); in testCheckConfigurationChangeNeedToRestart() local
659 .setBssid(testBssid).build(); in testCheckConfigurationChangeNeedToRestart()