Searched refs:newMac (Results 1 – 2 of 2) sorted by relevance
3377 MacAddress newMac = config.getOrCreateRandomizedMacAddress(); in configureRandomizedMacAddress() local3378 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()
4279 MacAddress newMac = MacAddress.createRandomUnicastAddress(); in testSetNetworkRandomizedMacAddressUpdatesInternalMacAddress() local4280 mWifiConfigManager.setNetworkRandomizedMacAddress(result.getNetworkId(), newMac); in testSetNetworkRandomizedMacAddressUpdatesInternalMacAddress() local4283 assertEquals(newMac, retrievedConfig.getRandomizedMacAddress()); in testSetNetworkRandomizedMacAddressUpdatesInternalMacAddress()