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.java2661 public boolean setScanningMacOui(@NonNull String ifaceName, byte[] oui) { in setScanningMacOui() argument
2662 return mWifiVendorHal.setScanningMacOui(ifaceName, oui); in setScanningMacOui()
DClientModeImpl.java1148 String oui = mContext.getResources().getString(R.string.config_wifi_random_mac_oui); in setRandomMacOui() local
1149 if (TextUtils.isEmpty(oui)) { in setRandomMacOui()
1150 oui = GOOGLE_OUI; in setRandomMacOui()
1152 String[] ouiParts = oui.split("-"); in setRandomMacOui()
1158 logd("Setting OUI to " + oui); in setRandomMacOui()
DSupplicantStaIfaceHal.java1396 byte[] oui = NativeUtil.hexStringToByteArray(match.group(2)); in setWpsDeviceType()
1402 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()