Home
last modified time | relevance | path

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

/aosp12/packages/modules/NetworkStack/src/android/net/dhcp/
H A DDhcpLeaseRepository.java103 static class OutOfAddressesException extends DhcpLeaseException { class in DhcpLeaseRepository
104 OutOfAddressesException(String message) { in OutOfAddressesException() method in DhcpLeaseRepository.OutOfAddressesException
190 @Nullable String hostname) throws OutOfAddressesException, InvalidSubnetException { in getOffer()
225 throws OutOfAddressesException, InvalidSubnetException { in getCommittedLease()
611 long expTime, @Nullable String hostname) throws OutOfAddressesException { in makeNewOffer()
638 throw new OutOfAddressesException("No address available for offer"); in makeNewOffer()
H A DDhcpServer.java543 } catch (DhcpLeaseRepository.OutOfAddressesException e) { in processDiscover()
/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
H A DDhcpLeaseRepositoryTest.java166 } catch (DhcpLeaseRepository.OutOfAddressesException e) { in testAddressExhaustion()
347 } catch (DhcpLeaseRepository.OutOfAddressesException e) { /* expected */ } in testGetOffer_StaticClientAddressInUse()
567 } catch (DhcpLeaseRepository.OutOfAddressesException e) { /* expected */ } in testMarkLeaseDeclined_UsedIfOutOfAddresses()
H A DDhcpServerTest.java52 import android.net.dhcp.DhcpLeaseRepository.OutOfAddressesException;
277 .thenThrow(new OutOfAddressesException("Test exception")); in testDiscover_OutOfAddresses()