Home
last modified time | relevance | path

Searched refs:oui (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiVendorHal.java1270 public boolean setScanningMacOui(@NonNull String ifaceName, byte[] oui) { in setScanningMacOui() argument
1271 if (oui == null) return boolResult(false); in setScanningMacOui()
1272 if (oui.length != 3) return boolResult(false); in setScanningMacOui()
1277 WifiStatus status = iface.setScanningMacOui(oui); in setScanningMacOui()
DWifiNative.java2660 public boolean setScanningMacOui(@NonNull String ifaceName, byte[] oui) { in setScanningMacOui() argument
2661 return mWifiVendorHal.setScanningMacOui(ifaceName, oui); in setScanningMacOui()
DClientModeImpl.java1131 String oui = mContext.getResources().getString(R.string.config_wifi_random_mac_oui); in setRandomMacOui() local
1132 if (TextUtils.isEmpty(oui)) { in setRandomMacOui()
1133 oui = GOOGLE_OUI; in setRandomMacOui()
1135 String[] ouiParts = oui.split("-"); in setRandomMacOui()
1141 logd("Setting OUI to " + oui); in setRandomMacOui()
DSupplicantStaIfaceHal.java1372 byte[] oui = NativeUtil.hexStringToByteArray(match.group(2)); in setWpsDeviceType()
1378 byteBuffer.put(oui); in setWpsDeviceType()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHal.java2111 byte[] oui = NativeUtil.hexStringToByteArray(match.group(2)); in setWpsDeviceType()
2117 byteBuffer.put(oui); in setWpsDeviceType()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java1149 byte[] oui = NativeUtil.macAddressOuiToByteArray("DA:A1:19"); in testSetScanningMacOui()
1155 assertFalse(mWifiVendorHal.setScanningMacOui(TEST_IFACE_NAME, oui)); in testSetScanningMacOui()
1161 assertTrue(mWifiVendorHal.setScanningMacOui(TEST_IFACE_NAME, oui)); in testSetScanningMacOui()
1164 verify(mIWifiStaIface).setScanningMacOui(eq(oui)); in testSetScanningMacOui()