Home
last modified time | relevance | path

Searched refs:getOffer (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
H A DDhcpLeaseRepositoryTest.java139 final DhcpLease lease = mRepo.getOffer(CLIENTID_UNSPEC, newMac, in requestAddresses()
163 mRepo.getOffer(null, TEST_MAC_2, in testAddressExhaustion()
222 final DhcpLease lease = mRepo.getOffer(CLIENTID_UNSPEC, macAddr, in testGetOffer_StableAddress()
237 DhcpLease lease = mRepo.getOffer(CLIENTID_UNSPEC, TEST_MAC_1, in testUpdateParams_UsesNewPrefix()
246 DhcpLease offer = mRepo.getOffer(CLIENTID_UNSPEC, TEST_MAC_1, in testGetOffer_ExistingLease()
260 DhcpLease offer = mRepo.getOffer(clientId, TEST_MAC_2, in testGetOffer_ClientIdHasExistingLease()
275 DhcpLease offer = mRepo.getOffer(clientId2, TEST_MAC_1, in testGetOffer_DifferentClientId()
328 final DhcpLease offer = mRepo.getOffer(CLIENTID_UNSPEC, TEST_MAC_1, in testGetOffer_StaticClientAddress()
515 final DhcpLease lease = mRepo.getOffer(CLIENTID_UNSPEC, mac, in testReleaseLease_StableOffer()
522 final DhcpLease newLease = mRepo.getOffer(CLIENTID_UNSPEC, mac, in testReleaseLease_StableOffer()
[all …]
H A DDhcpServerTest.java237 when(mRepository.getOffer(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testDiscover()
275 when(mRepository.getOffer(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testDiscover_OutOfAddresses()
430 when(mRepository.getOffer(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testChangePrefixOnDecline()
/aosp12/packages/modules/NetworkStack/src/android/net/dhcp/
H A DDhcpLeaseRepository.java188 public DhcpLease getOffer(@Nullable byte[] clientId, @NonNull MacAddress hwAddr, in getOffer() method in DhcpLeaseRepository
226 final DhcpLease newLease = getOffer(clientId, hwAddr, relayAddr, null /* reqAddr */, in getCommittedLease()
H A DDhcpServer.java539 lease = mLeaseRepo.getOffer(packet.getExplicitClientIdOrNull(), clientMac, in processDiscover()