Home
last modified time | relevance | path

Searched refs:macAddresses (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Uwb/service/java/com/android/server/uwb/data/
DUwbMulticastListUpdateStatus.java56 public UwbAddress[] getUwbAddresses(byte[] macAddresses, int numOfAddresses, in getUwbAddresses() argument
59 ByteBuffer buffer = ByteBuffer.allocate(macAddresses.length); in getUwbAddresses()
60 buffer.put(macAddresses); in getUwbAddresses()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationBackendTest.java271 private ImmutableList<AssociationInfo> mockAssociations(String... macAddresses) { in mockAssociations() argument
272 final AssociationInfo[] associations = new AssociationInfo[macAddresses.length]; in mockAssociations()
273 for (int index = 0; index < macAddresses.length; index++) { in mockAssociations()
277 .thenReturn(MacAddress.fromString(macAddresses[index])); in mockAssociations()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java202 final String[] macAddresses = mWifiManager.getFactoryMacAddresses(); in getWifiMacAddress() local
203 if (macAddresses != null && macAddresses.length > 0) { in getWifiMacAddress()
204 return macAddresses[0]; in getWifiMacAddress()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DConnectivityListener.java246 final String[] macAddresses = mWifiManager.getFactoryMacAddresses(); in getWifiMacAddress() local
247 if (macAddresses != null && macAddresses.length > 0) { in getWifiMacAddress()
248 return macAddresses[0]; in getWifiMacAddress()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiRttControllerAidlImplTest.java297 ArrayList<MacAddress> macAddresses = new ArrayList<>(); in testRangeCancel() local
300 macAddresses.add(mac1); in testRangeCancel()
301 macAddresses.add(mac2); in testRangeCancel()
304 mDut.rangeCancel(cmdId, macAddresses); in testRangeCancel()
DWifiRttControllerHidlImplTest.java267 ArrayList<MacAddress> macAddresses = new ArrayList<>(); in testRangeCancel() local
270 macAddresses.add(mac1); in testRangeCancel()
271 macAddresses.add(mac2); in testRangeCancel()
274 mDut.rangeCancel(cmdId, macAddresses); in testRangeCancel()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiRttController.java266 public boolean rangeCancel(int cmdId, ArrayList<MacAddress> macAddresses) { in rangeCancel() argument
268 () -> mWifiRttController.rangeCancel(cmdId, macAddresses)); in rangeCancel()
DWifiRttControllerAidlImpl.java190 public boolean rangeCancel(int cmdId, List<MacAddress> macAddresses) { in rangeCancel() argument
196 new android.hardware.wifi.MacAddress[macAddresses.size()]; in rangeCancel()
197 for (int i = 0; i < macAddresses.size(); i++) { in rangeCancel()
200 halAddress.data = macAddresses.get(i).toByteArray(); in rangeCancel()
DIWifiRttController.java83 boolean rangeCancel(int cmdId, List<MacAddress> macAddresses); in rangeCancel() argument
DWifiRttControllerHidlImpl.java136 public boolean rangeCancel(int cmdId, List<MacAddress> macAddresses) { in rangeCancel() argument
139 () -> rangeCancelInternal(methodStr, cmdId, macAddresses)); in rangeCancel()
271 boolean rangeCancelInternal(String methodStr, int cmdId, List<MacAddress> macAddresses) { in rangeCancelInternal() argument
275 for (MacAddress mac : macAddresses) { in rangeCancelInternal()
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/
DRttServiceImpl.java707 ArrayList<MacAddress> macAddresses = new ArrayList<>(); in cancelRanging() local
709 macAddresses.add(peer.macAddress); in cancelRanging()
713 mWifiRttController.rangeCancel(rri.cmdId, macAddresses); in cancelRanging()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DTransitionalScanHelper.java1105 List<String> macAddresses = new ArrayList(); in getAssociatedDevices() local
1113 macAddresses.add(info.getDeviceMacAddress().toString()); in getAssociatedDevices()
1123 return macAddresses; in getAssociatedDevices()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java4396 List<MacAddress> macAddresses = new ArrayList<>(); in getBssidBlocklist() local
4399 macAddresses.add(MacAddress.fromString(bssid)); in getBssidBlocklist()
4404 listener.onResult(new ParceledListSlice(macAddresses)); in getBssidBlocklist()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java1715 public boolean matches(ParceledListSlice<MacAddress> macAddresses) { in matches() argument
1717 return macAddresses.getList().size() == 1 in matches()
1718 && macAddresses.getList().get(0).toString().equals(TEST_BSSID); in matches()
1720 return macAddresses.getList().isEmpty(); in matches()