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.java3403 MacAddress newMac = config.getOrCreateRandomizedMacAddress(); in configureRandomizedMacAddress() local
3404 mWifiConfigManager.setNetworkRandomizedMacAddress(config.networkId, newMac); in configureRandomizedMacAddress()
3405 if (!WifiConfiguration.isValidMacAddressForRandomization(newMac)) { in configureRandomizedMacAddress()
3407 } else if (newMac.equals(currentMac)) { in configureRandomizedMacAddress()
3412 mWifiNative.setMacAddress(mInterfaceName, newMac); in configureRandomizedMacAddress()
3414 + "). setMacAddress(" + newMac.toString() + ") from " in configureRandomizedMacAddress()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java4374 MacAddress newMac = MacAddressUtils.createRandomUnicastAddress(); in testSetNetworkRandomizedMacAddressUpdatesInternalMacAddress() local
4375 mWifiConfigManager.setNetworkRandomizedMacAddress(result.getNetworkId(), newMac); in testSetNetworkRandomizedMacAddressUpdatesInternalMacAddress() local
4378 assertEquals(newMac, retrievedConfig.getRandomizedMacAddress()); in testSetNetworkRandomizedMacAddressUpdatesInternalMacAddress()