Home
last modified time | relevance | path

Searched refs:bssidStr (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHal.java1038 public boolean setCurrentNetworkBssid(@NonNull String ifaceName, String bssidStr) { in setCurrentNetworkBssid() argument
1043 return networkHandle.setBssid(bssidStr); in setCurrentNetworkBssid()
2092 public boolean startWpsRegistrar(@NonNull String ifaceName, String bssidStr, String pin) { in startWpsRegistrar() argument
2094 if (TextUtils.isEmpty(bssidStr) || TextUtils.isEmpty(pin)) return false; in startWpsRegistrar()
2097 ifaceName, NativeUtil.macAddressToByteArray(bssidStr), pin); in startWpsRegistrar()
2099 Log.e(TAG, "Illegal argument " + bssidStr, e); in startWpsRegistrar()
2128 public boolean startWpsPbc(@NonNull String ifaceName, String bssidStr) { in startWpsPbc() argument
2131 return startWpsPbc(ifaceName, NativeUtil.macAddressToByteArray(bssidStr)); in startWpsPbc()
2133 Log.e(TAG, "Illegal argument " + bssidStr, e); in startWpsPbc()
2185 public String startWpsPinDisplay(@NonNull String ifaceName, String bssidStr) { in startWpsPinDisplay() argument
[all …]
DSupplicantStaNetworkHal.java278 String bssidStr = config.getNetworkSelectionStatus().getNetworkSelectionBSSID(); in saveWifiConfiguration() local
279 if (bssidStr != null) { in saveWifiConfiguration()
280 byte[] bssid = NativeUtil.macAddressToByteArray(bssidStr); in saveWifiConfiguration()
282 Log.e(TAG, "failed to set BSSID: " + bssidStr); in saveWifiConfiguration()
1206 public boolean setBssid(String bssidStr) { in setBssid() argument
1209 return setBssid(NativeUtil.macAddressToByteArray(bssidStr)); in setBssid()
1211 Log.e(TAG, "Illegal argument " + bssidStr, e); in setBssid()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java911 String bssidStr = "34:34:12:12:12:90"; in testSetCurrentNetworkBssid() local
912 when(mSupplicantStaNetworkMock.setBssid(eq(bssidStr))).thenReturn(true); in testSetCurrentNetworkBssid()
916 assertFalse(mDut.setCurrentNetworkBssid(WLAN0_IFACE_NAME, bssidStr)); in testSetCurrentNetworkBssid()
917 verify(mSupplicantStaNetworkMock, never()).setBssid(eq(bssidStr)); in testSetCurrentNetworkBssid()
919 assertTrue(mDut.setCurrentNetworkBssid(WLAN0_IFACE_NAME, bssidStr)); in testSetCurrentNetworkBssid()
920 verify(mSupplicantStaNetworkMock).setBssid(eq(bssidStr)); in testSetCurrentNetworkBssid()