Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpLeaseRepository.java109 static class InvalidAddressException extends DhcpLeaseException { class in DhcpLeaseRepository
110 InvalidAddressException(String message) { in InvalidAddressException() method in DhcpLeaseRepository.InvalidAddressException
280 throws InvalidAddressException, InvalidSubnetException { in requestLease()
296 throw new InvalidAddressException("Incorrect address for client in " in requestLease()
328 throws InvalidAddressException { in checkClientAndMakeLease()
332 throw new InvalidAddressException("Address in use"); in checkClientAndMakeLease()
340 throw new InvalidAddressException("Lease not found and address unavailable"); in checkClientAndMakeLease()
DDhcpServer.java560 } catch (DhcpLeaseRepository.InvalidAddressException e) { in processRequest()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpLeaseRepositoryTest.java383 @Test(expected = DhcpLeaseRepository.InvalidAddressException.class)
388 @Test(expected = DhcpLeaseRepository.InvalidAddressException.class)
394 @Test(expected = DhcpLeaseRepository.InvalidAddressException.class)
424 @Test(expected = DhcpLeaseRepository.InvalidAddressException.class)
442 @Test(expected = DhcpLeaseRepository.InvalidAddressException.class)
483 } catch (DhcpLeaseRepository.InvalidAddressException e) { in testRequestLease_RenewingAddrInUse()
490 @Test(expected = DhcpLeaseRepository.InvalidAddressException.class)
DDhcpServerTest.java51 import android.net.dhcp.DhcpLeaseRepository.InvalidAddressException;
326 .thenThrow(new InvalidAddressException("Test error")); in testRequest_Selecting_Nak()