Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractWifiMacAddressPreferenceController.java84 final String[] macAddresses = mWifiManager.getFactoryMacAddresses(); in updateConnectivity() local
86 if (macAddresses != null && macAddresses.length > 0) { in updateConnectivity()
87 macAddress = macAddresses[0]; in updateConnectivity()
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttNativeTest.java376 ArrayList<byte[]> macAddresses = new ArrayList<>(); in testRangeCancel() local
379 macAddresses.add(mac1); in testRangeCancel()
380 macAddresses.add(mac2); in testRangeCancel()
383 mDut.rangeCancel(cmdId, macAddresses); in testRangeCancel()
386 verify(mockRttController).rangeCancel(cmdId, macAddresses); in testRangeCancel()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttNative.java233 public boolean rangeCancel(int cmdId, ArrayList<byte[]> macAddresses) { in rangeCancel() argument
242 WifiStatus status = mIWifiRttController.rangeCancel(cmdId, macAddresses); in rangeCancel()
DRttServiceImpl.java591 ArrayList<byte[]> macAddresses = new ArrayList<>(); in cancelRanging() local
593 macAddresses.add(peer.macAddress.toByteArray()); in cancelRanging()
596 mRttNative.rangeCancel(rri.cmdId, macAddresses); in cancelRanging()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java516 ArrayList<String> macAddresses = new ArrayList<>(); in addAndVerifyRemoteSimAddition() local
526 macAddresses.add(info.getIccId()); in addAndVerifyRemoteSimAddition()
533 macAddresses.add(MAC_ADDRESS_PREFIX + (numOfCurrentSubs + i)); in addAndVerifyRemoteSimAddition()
540 mSubscriptionControllerUT.addSubInfo(macAddresses.get(index), displayNames.get(index), in addAndVerifyRemoteSimAddition()
577 assertEquals(macAddresses.get(j), info.getIccId()); in addAndVerifyRemoteSimAddition()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java2039 final String[] macAddresses = new String[]{"11:22:33:44:55:66"}; in testGetMacAddress() local
2040 when(getServices().wifiManager.getFactoryMacAddresses()).thenReturn(macAddresses); in testGetMacAddress()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java12110 String[] macAddresses = mInjector.getWifiManager().getFactoryMacAddresses(); in getWifiMacAddress() local
12111 if (macAddresses == null) { in getWifiMacAddress()
12118 return macAddresses.length > 0 ? macAddresses[0] : null; in getWifiMacAddress()