Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
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()
226 final DhcpLease newLease = 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()
285 DhcpLease offer = mRepo.getOffer(CLIENTID_UNSPEC, TEST_MAC_1, IPV4_ADDR_ANY /* relayAddr */, in testGetOffer_RequestedAddress()
297 DhcpLease offer = mRepo.getOffer(CLIENTID_UNSPEC, TEST_MAC_2, IPV4_ADDR_ANY /* relayAddr */, in testGetOffer_RequestedAddressInUse()
[all …]
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()
/packages/modules/NetworkStack/src/android/net/dhcp/
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()
DDhcpServer.java539 lease = mLeaseRepo.getOffer(packet.getExplicitClientIdOrNull(), clientMac, in processDiscover()