Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractWifiMacAddressPreferenceController.java89 final String[] macAddresses = mWifiManager.getFactoryMacAddresses(); in updateConnectivity() local
91 if (macAddresses != null && macAddresses.length > 0) { in updateConnectivity()
92 macAddress = macAddresses[0]; in updateConnectivity()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DEnterpriseSpecificIdCalculator.java81 final String[] macAddresses = wifiManager.getFactoryMacAddresses(); in EnterpriseSpecificIdCalculator() local
82 if (macAddresses == null || macAddresses.length == 0) { in EnterpriseSpecificIdCalculator()
85 mMacAddress = macAddresses[0]; in EnterpriseSpecificIdCalculator()
DDevicePolicyManagerService.java17334 String[] macAddresses = mInjector.getWifiManager().getFactoryMacAddresses();
17335 if (macAddresses == null) {
17342 return macAddresses.length > 0 ? macAddresses[0] : null;
/frameworks/base/services/companion/java/com/android/server/companion/devicepresence/
DBleDeviceProcessor.java163 final Set<String> macAddresses = new HashSet<>(); in startScan() local
171 macAddresses.add(macAddress); in startScan()
174 if (macAddresses.isEmpty()) { in startScan()
178 final List<ScanFilter> filters = new ArrayList<>(macAddresses.size()); in startScan()
179 for (String macAddress : macAddresses) { in startScan()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DWifiMacAddressPreferenceControllerTest.java104 final String[] macAddresses = new String[]{TEST_MAC_ADDRESS}; in updateConnectivity_validMac_setValidMac() local
105 doReturn(macAddresses).when(mWifiManager).getFactoryMacAddresses(); in updateConnectivity_validMac_setValidMac()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java2715 final String[] macAddresses = new String[]{"11:22:33:44:55:66"}; in testGetMacAddress() local
2716 when(getServices().wifiManager.getFactoryMacAddresses()).thenReturn(macAddresses); in testGetMacAddress()
2725 final String[] macAddresses = new String[]{"11:22:33:44:55:66"}; in testGetMacAddressByOrgOwnedPO() local
2726 when(getServices().wifiManager.getFactoryMacAddresses()).thenReturn(macAddresses); in testGetMacAddressByOrgOwnedPO()