/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpLeaseTest.kt | 46 val lease = DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, in testToParcelable() constant 54 val lease = DhcpLease(null, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, TEST_EXPTIME, null) in testToParcelable_NullFields() constant 60 val lease = DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, in testEquals() constant
|
D | DhcpLeaseRepositoryTest.java | 139 final DhcpLease lease = mRepo.getOffer(CLIENTID_UNSPEC, newMac, in requestAddresses() local 222 final DhcpLease lease = mRepo.getOffer(CLIENTID_UNSPEC, macAddr, in testGetOffer_StableAddress() local 237 DhcpLease lease = mRepo.getOffer(CLIENTID_UNSPEC, TEST_MAC_1, in testUpdateParams_UsesNewPrefix() local 338 final DhcpLease lease = mRepo.requestLease(clientId, TEST_MAC_1, in testGetOffer_StaticClientAddressInUse() local 416 final DhcpLease lease = requestLeaseInitReboot(TEST_MAC_1, TEST_INETADDR_1); in testRequestLease_InitReboot() local 435 final DhcpLease lease = requestLeaseInitReboot(TEST_MAC_1, TEST_INETADDR_2); in testRequestLease_InitRebootUnknownAddr() local 456 final DhcpLease lease = requestLeaseRenewing(TEST_MAC_1, TEST_INETADDR_1); in testRequestLease_Renewing() local 469 final DhcpLease lease = requestLeaseRenewing(TEST_MAC_1, TEST_INETADDR_1); in testRequestLease_RenewingUnknownAddr() local 515 final DhcpLease lease = mRepo.getOffer(CLIENTID_UNSPEC, mac, in testReleaseLease_StableOffer() local 530 final DhcpLease lease = mRepo.getOffer(CLIENTID_UNSPEC, TEST_MAC_1, in testMarkLeaseDeclined() local [all …]
|
D | DhcpServerTest.java | 427 final DhcpLease lease = new DhcpLease(null, TEST_CLIENT_MAC, in testChangePrefixOnDecline() local
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpServer.java | 531 final DhcpLease lease; in processDiscover() local 554 final DhcpLease lease; in processRequest() local 641 private Inet4Address getAckOrOfferDst(@NonNull DhcpPacket request, @NonNull DhcpLease lease, in getAckOrOfferDst() 660 private static boolean getBroadcastFlag(@NonNull DhcpPacket request, @NonNull DhcpLease lease) { in getBroadcastFlag() 678 @NonNull DhcpLease lease) { in getHostnameIfRequested() 684 private boolean transmitOffer(@NonNull DhcpPacket request, @NonNull DhcpLease lease, in transmitOffer() 706 private boolean transmitAck(@NonNull DhcpPacket packet, @NonNull DhcpLease lease, in transmitAck() 741 @NonNull DhcpLease lease, @NonNull MacAddress clientMac, boolean broadcastFlag) { in transmitOfferOrAckPacket() 785 private int getLeaseTimeout(@NonNull DhcpLease lease) { in getLeaseTimeout()
|
D | DhcpLeaseRepository.java | 308 final DhcpLease lease = in requestLease() local 335 final DhcpLease lease; in checkClientAndMakeLease() local 349 private void commitLease(@NonNull DhcpLease lease) { in commitLease() 350 mCommittedLeases.put(lease.getNetAddr(), lease); in commitLease() local 480 final Entry<Inet4Address, T> lease = it.next(); in removeExpired() local
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | ConnectedClientsTracker.java | 120 private static void addLease(Map<MacAddress, TetheredClient> clientsMap, TetheredClient lease) { in addLease() 125 clientsMap.put(lease.getMacAddress(), lease); in addLease() local
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 2545 final DhcpLeaseParcelable lease = new DhcpLeaseParcelable(); in createDhcpLeaseParcelable() local
|