Home
last modified time | relevance | path

Searched refs:InvalidParameterException (Results 1 – 8 of 8) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServingParamsTest.java31 import android.net.dhcp.DhcpServingParams.InvalidParameterException;
84 public void testBuild_Immutable() throws InvalidParameterException { in testBuild_Immutable()
118 @Test(expected = InvalidParameterException.class)
119 public void testBuild_NegativeLeaseTime() throws InvalidParameterException { in testBuild_NegativeLeaseTime()
123 @Test(expected = InvalidParameterException.class)
124 public void testBuild_LeaseTimeTooLarge() throws InvalidParameterException { in testBuild_LeaseTimeTooLarge()
130 public void testBuild_InfiniteLeaseTime() throws InvalidParameterException { in testBuild_InfiniteLeaseTime()
139 public void testBuild_UnsetMtu() throws InvalidParameterException { in testBuild_UnsetMtu()
144 @Test(expected = InvalidParameterException.class)
145 public void testBuild_MtuTooSmall() throws InvalidParameterException { in testBuild_MtuTooSmall()
[all …]
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServingParams.java104 public static class InvalidParameterException extends Exception { class in DhcpServingParams
105 public InvalidParameterException(String message) { in InvalidParameterException() method in DhcpServingParams.InvalidParameterException
131 throws InvalidParameterException { in fromParcelableObject()
133 throw new InvalidParameterException("Null serving parameters"); in fromParcelableObject()
362 public DhcpServingParams build() throws InvalidParameterException { in build()
364 throw new InvalidParameterException("Missing serverAddr"); in build()
367 throw new InvalidParameterException("Missing defaultRouters"); in build()
371 throw new InvalidParameterException("Missing dnsServers"); in build()
374 throw new InvalidParameterException("Invalid lease time: " + mDhcpLeaseTimeSecs); in build()
377 throw new InvalidParameterException("Invalid link MTU: " + mLinkMtu); in build()
[all …]
DDhcpServer.java354 } catch (DhcpServingParams.InvalidParameterException e) { in updateParams()
/packages/apps/Camera2/src/com/android/camera/util/
DConcurrentSharedRingBuffer.java24 import java.security.InvalidParameterException;
387 throw new InvalidParameterException( in release()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleWeekView.java38 import java.security.InvalidParameterException;
214 throw new InvalidParameterException("You must specify the week number for this view"); in setWeekParams()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java55 import java.security.InvalidParameterException;
235 throw new InvalidParameterException("Invalid restoreType " + restoreFlag); in getRestoredItemInfo()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraZslImpl.java77 import java.security.InvalidParameterException;
1000 throw new InvalidParameterException("Orientation not supported."); in getImageSizeForOrientation()
/packages/modules/NetworkStack/src/com/android/server/
DNetworkStackService.java352 } catch (DhcpServingParams.InvalidParameterException e) { in makeDhcpServer()