Home
last modified time | relevance | path

Searched refs:setDefaultRouters (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServingParams.java145 .setDefaultRouters(toInet4AddressSet(parcel.defaultRouters)) in fromParcelableObject()
226 public Builder setDefaultRouters(@NonNull Set<Inet4Address> defaultRouters) { in setDefaultRouters() method in DhcpServingParams.Builder
237 public Builder setDefaultRouters(@NonNull Inet4Address... defaultRouters) { in setDefaultRouters() method in DhcpServingParams.Builder
238 return setDefaultRouters(makeArraySet(defaultRouters)); in setDefaultRouters()
247 return setDefaultRouters(); in withNoDefaultRouter()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServingParamsTest.java72 .setDefaultRouters(TEST_DEFAULT_ROUTERS) in setUp()
90 .setDefaultRouters(routers) in testBuild_Immutable()
166 mBuilder.setDefaultRouters(parseAddr("192.168.0.254")) in testBuild_PrefixTooSmall()
173 mBuilder.setDefaultRouters(parseAddr("192.168.254.254")).build(); in testBuild_RouterNotInPrefix()
DDhcpServerTest.java178 .setDefaultRouters(TEST_DEFAULT_ROUTERS) in makeServingParams()