Searched refs:newMac (Results 1 – 4 of 4) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpLeaseRepositoryTest.java | 143 MacAddress newMac = MacAddress.fromBytes(hwAddrBytes); in requestAddresses() local 145 final DhcpLease lease = mRepo.getOffer(CLIENTID_UNSPEC, newMac, in requestAddresses() 149 assertEquals(newMac, lease.getHwAddr()); in requestAddresses() 154 requestLeaseSelecting(newMac, lease.getNetAddr(), hostname); in requestAddresses()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ClientModeImpl.java | 4326 MacAddress newMac = mWifiConfigManager.getRandomizedMacAndUpdateIfNeeded(config, in configureRandomizedMacAddress() local 4328 if (!WifiConfiguration.isValidMacAddressForRandomization(newMac)) { in configureRandomizedMacAddress() 4330 } else if (Objects.equals(newMac, currentMac)) { in configureRandomizedMacAddress() 4335 mWifiNative.setStaMacAddress(mInterfaceName, newMac); in configureRandomizedMacAddress() 4337 mWifiNative.removeNetworkCachedDataIfNeeded(config.networkId, newMac); in configureRandomizedMacAddress() 4341 + "). setMacAddress(" + newMac.toString() + ") from " in configureRandomizedMacAddress()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 2780 MacAddress newMac = mWifiConfigManager.getRandomizedMacAndUpdateIfNeeded(config, in testNonPersistentRandomizationDbsMacAddress() local 2782 assertTrue(newMac.equals(MacAddressUtil.nextMacAddress(randomMac))); in testNonPersistentRandomizationDbsMacAddress() 2870 MacAddress newMac = mWifiConfigManager.getRandomizedMacAndUpdateIfNeeded(config, false); in testRandomizedMacIsNotUpdatedDueToTimeConstraint() local 2871 assertEquals(randMac, newMac); in testRandomizedMacIsNotUpdatedDueToTimeConstraint()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 4178 final MacAddress newMac = MacAddress.fromString("00:1a:11:22:33:55"); 4179 final ByteBuffer na = NeighborAdvertisement.build(newMac /* srcMac */,
|