Searched refs:newMac (Results 1 – 2 of 2) sorted by relevance
3403 MacAddress newMac = config.getOrCreateRandomizedMacAddress(); in configureRandomizedMacAddress() local3404 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()
4374 MacAddress newMac = MacAddressUtils.createRandomUnicastAddress(); in testSetNetworkRandomizedMacAddressUpdatesInternalMacAddress() local4375 mWifiConfigManager.setNetworkRandomizedMacAddress(result.getNetworkId(), newMac); in testSetNetworkRandomizedMacAddressUpdatesInternalMacAddress() local4378 assertEquals(newMac, retrievedConfig.getRandomizedMacAddress()); in testSetNetworkRandomizedMacAddressUpdatesInternalMacAddress()