Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/framework/java/android/net/wifi/
DOuiKeyedData.java47 private OuiKeyedData(int oui, @NonNull PersistableBundle data) { in OuiKeyedData() argument
48 mOui = oui; in OuiKeyedData()
72 private static boolean validateOui(int oui) { in validateOui() argument
74 return oui != 0 && (oui & 0xFF000000) == 0; in validateOui()
158 public Builder(int oui, @NonNull PersistableBundle data) { in Builder() argument
159 mOui = oui; in Builder()
DIWifiManager.aidl454 void addCustomDhcpOptions(in WifiSsid ssid, in byte[] oui, in List<DhcpOption> options); in addCustomDhcpOptions() argument
456 void removeCustomDhcpOptions(in WifiSsid ssid, in byte[] oui); in removeCustomDhcpOptions() argument
DBaseWifiService.java1038 public void addCustomDhcpOptions(WifiSsid ssid, byte[] oui, @NonNull List<DhcpOption> options) { in addCustomDhcpOptions() argument
1043 public void removeCustomDhcpOptions(WifiSsid ssid, byte[] oui) { in removeCustomDhcpOptions() argument
DWifiManager.java11634 public void addCustomDhcpOptions(@NonNull WifiSsid ssid, @NonNull byte[] oui, in addCustomDhcpOptions() argument
11637 mService.addCustomDhcpOptions(ssid, oui, options); in addCustomDhcpOptions()
11657 public void removeCustomDhcpOptions(@NonNull WifiSsid ssid, @NonNull byte[] oui) { in removeCustomDhcpOptions() argument
11659 mService.removeCustomDhcpOptions(ssid, oui); in removeCustomDhcpOptions()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DHalAidlUtilTest.java55 private static android.net.wifi.OuiKeyedData createFrameworkOuiKeyedData(int oui) { in createFrameworkOuiKeyedData() argument
57 oui, createTestPersistableBundle()).build(); in createFrameworkOuiKeyedData()
60 private static OuiKeyedData createHalOuiKeyedData(int oui) { in createHalOuiKeyedData() argument
62 data.oui = oui; in createHalOuiKeyedData()
70 return (frameworkData.getOui() == halData.oui) in frameworkAndHalOuiKeyedDataEqual()
DInformationElementUtilTest.java1555 assertArrayEquals(new byte[] {(byte) 0x00, (byte) 0x01, (byte) 0x02}, vsas.get(0).oui); in testVendorSpecificIEWithOneVsaAndOneNonVsa()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DOuiKeyedDataUtil.java35 public static OuiKeyedData createTestOuiKeyedData(int oui) { in createTestOuiKeyedData() argument
39 return new OuiKeyedData.Builder(oui, bundle).build(); in createTestOuiKeyedData()
DSoftApConfigurationTest.java938 int oui = 0x00112233; in testVendorDataParcelUnparcel() local
943 OuiKeyedData ouiKeyedData = new OuiKeyedData.Builder(oui, bundle).build(); in testVendorDataParcelUnparcel()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DOuiKeyedDataUtil.java39 public static OuiKeyedData createTestOuiKeyedData(int oui) { in createTestOuiKeyedData() argument
43 return new OuiKeyedData.Builder(oui, bundle).build(); in createTestOuiKeyedData()
DHostapdHalAidlImpTest.java1230 int oui = 0x00114477; in testAddAccessPointWithVendorData() local
1233 OuiKeyedData frameworkData = new OuiKeyedData.Builder(oui, bundle).build(); in testAddAccessPointWithVendorData()
1244 assertEquals(oui, halDataList[0].oui); in testAddAccessPointWithVendorData()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DHalTestUtils.java68 ouiKeyedData.oui = i + 1; in createHalOuiKeyedDataList()
93 return halData.oui == frameworkData.getOui() in ouiKeyedDataEquals()
DWifiNanIfaceAidlImplTest.java90 private static OuiKeyedData generateFrameworkOuiKeyedData(int oui) { in generateFrameworkOuiKeyedData() argument
94 return new OuiKeyedData.Builder(oui, bundle).build(); in generateFrameworkOuiKeyedData()
107 return left.oui == right.oui && Objects.equals(left.vendorData, right.vendorData); in compareHalOuiKeyedData()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DHalAidlUtil.java119 halData.oui = frameworkData.getOui(); in frameworkToHalOuiKeyedDataList()
139 halData.oui, halData.vendorData).build(); in halToFrameworkOuiKeyedDataList()
DInformationElementUtil.java1639 public byte[] oui; field in InformationElementUtil.Vsa
1738 oui = Arrays.copyOfRange(ie.bytes, 0, 3); in from()
1739 int oui = (((ie.bytes[0] & Constants.BYTE_MASK) << 16) in from() local
1743 if (oui == OUI_WFA_ALLIANCE && ie.bytes.length >= 4) { in from()
DXmlUtil.java2576 int oui = 0; in parseOuiKeyedDataFromXml() local
2587 oui = (int) value; in parseOuiKeyedDataFromXml()
2599 return new OuiKeyedData.Builder(oui, bundle).build(); in parseOuiKeyedDataFromXml()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DTwtManager.java137 for (int oui : ouis) { in TwtManager()
138 mBlockedOuiSet.add(oui); in TwtManager()
551 int oui = (macBytes[0] & 0xFF) << 16 | (macBytes[1] & 0xFF) << 8 | (macBytes[2] & 0xFF); in isOuiBlockListed() local
552 return mBlockedOuiSet.contains(oui); in isOuiBlockListed()
DWifiConfigManager.java402 NetworkIdentifier(WifiSsid ssid, byte[] oui) { in NetworkIdentifier() argument
404 mOui = oui; in NetworkIdentifier()
4532 public void addCustomDhcpOptions(@NonNull WifiSsid ssid, @NonNull byte[] oui, in addCustomDhcpOptions() argument
4534 mCustomDhcpOptions.put(new NetworkIdentifier(ssid, oui), options); in addCustomDhcpOptions()
4543 public void removeCustomDhcpOptions(@NonNull WifiSsid ssid, @NonNull byte[] oui) { in removeCustomDhcpOptions() argument
4544 mCustomDhcpOptions.remove(new NetworkIdentifier(ssid, oui)); in removeCustomDhcpOptions()
4559 for (byte[] oui : ouiList) { in getCustomDhcpOptions()
4560 List<DhcpOption> options = mCustomDhcpOptions.get(new NetworkIdentifier(ssid, oui)); in getCustomDhcpOptions()
DWifiServiceImpl.java7841 public void addCustomDhcpOptions(@NonNull WifiSsid ssid, @NonNull byte[] oui,
7847 + ssid + ", oui=" + Arrays.toString(oui) + ", options=" + options);
7849 mWifiThreadRunner.post(() -> mWifiConfigManager.addCustomDhcpOptions(ssid, oui, options),
7857 public void removeCustomDhcpOptions(@NonNull WifiSsid ssid, @NonNull byte[] oui) {
7861 Log.v(TAG, "removeCustomDhcpOptions: ssid=" + ssid + ", oui=" + Arrays.toString(oui));
7863 mWifiThreadRunner.post(() -> mWifiConfigManager.removeCustomDhcpOptions(ssid, oui),
DSupplicantStaIfaceHalAidlImpl.java1230 byte[] oui = NativeUtil.hexStringToByteArray(match.group(2)); in setWpsDeviceType()
1236 byteBuffer.put(oui); in setWpsDeviceType()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackAidlImplTest.java169 private static OuiKeyedData generateHalOuiKeyedData(int oui) { in generateHalOuiKeyedData() argument
175 data.oui = oui; in generateHalOuiKeyedData()
433 int oui = 0x0033aabb; in createTestVendorData() local
435 vendorDataElement.oui = oui; in createTestVendorData()
460 assertEquals(params.vendorData[0].oui, config.getVendorData().get(0).getOui()); in testOnGoNegotiationRequestWithParams_success()
1137 assertEquals(params.vendorData[0].oui, group.getVendorData().get(0).getOui()); in testOnInvitationReceivedWithParams()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DMetricsLoggerTest.java270 int oui = (0 << 16) | (1 << 8) | 2; // OUI from the above mac address in testOuiFromBluetoothDevice() local
271 Assert.assertEquals(bluetoothRemoteDeviceInformation.getOui(), oui); in testOuiFromBluetoothDevice() local
/packages/modules/Bluetooth/system/gd/proto/bluetooth/metrics/
Dbluetooth.proto314 optional int32 oui = 3; field
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalAidlImpl.java2178 byte[] oui = NativeUtil.hexStringToByteArray(match.group(2)); in setWpsDeviceType()
2184 byteBuffer.put(oui); in setWpsDeviceType()
DSupplicantP2pIfaceHalHidlImpl.java2290 byte[] oui = NativeUtil.hexStringToByteArray(match.group(2)); in setWpsDeviceType()
2296 byteBuffer.put(oui); in setWpsDeviceType()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java2834 final String bssid, final byte[] oui, final byte type, final byte[] data) {
2836 payload.put(oui);
2845 private ScanResultInfo makeScanResultInfo(final int id, final byte[] oui, final byte type) {
2848 return makeScanResultInfo(id, TEST_DEFAULT_SSID, TEST_DEFAULT_BSSID, oui, type, data);
2870 final String ssid, final byte[] oui, final byte type, final byte[] data,
2872 final ScanResultInfo info = makeScanResultInfo(id, ssid, TEST_DEFAULT_BSSID, oui, type,

12