Home
last modified time | relevance | path

Searched refs:newMac (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java3377 MacAddress newMac = config.getOrCreateRandomizedMacAddress(); in configureRandomizedMacAddress() local
3378 mWifiConfigManager.setNetworkRandomizedMacAddress(config.networkId, newMac); in configureRandomizedMacAddress()
3379 if (!WifiConfiguration.isValidMacAddressForRandomization(newMac)) { in configureRandomizedMacAddress()
3381 } else if (currentMac.equals(newMac)) { in configureRandomizedMacAddress()
3386 mWifiNative.setMacAddress(mInterfaceName, newMac); in configureRandomizedMacAddress()
3388 + "). setMacAddress(" + newMac.toString() + ") from " in configureRandomizedMacAddress()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java4279 MacAddress newMac = MacAddress.createRandomUnicastAddress(); in testSetNetworkRandomizedMacAddressUpdatesInternalMacAddress() local
4280 mWifiConfigManager.setNetworkRandomizedMacAddress(result.getNetworkId(), newMac); in testSetNetworkRandomizedMacAddressUpdatesInternalMacAddress() local
4283 assertEquals(newMac, retrievedConfig.getRandomizedMacAddress()); in testSetNetworkRandomizedMacAddressUpdatesInternalMacAddress()