Searched refs:DhcpServingParams (Results 1 – 5 of 5) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServingParamsTest.java | 20 import static android.net.dhcp.DhcpServingParams.MTU_UNSET; 31 import android.net.dhcp.DhcpServingParams.InvalidParameterException; 53 private DhcpServingParams.Builder mBuilder; 71 mBuilder = new DhcpServingParams.Builder() in setUp() 89 final DhcpServingParams params = mBuilder in testBuild_Immutable() 132 final DhcpServingParams params = mBuilder in testBuild_InfiniteLeaseTime() 140 final DhcpServingParams params = mBuilder.setLinkMtu(MTU_UNSET).build(); in testBuild_UnsetMtu() 178 final DhcpServingParams params = mBuilder.build(); in testFromParcelableObject() 190 final DhcpServingParams parceled = DhcpServingParams.fromParcelableObject(parcel); in testFromParcelableObject() 207 DhcpServingParams.fromParcelableObject(null); in testFromParcelableObject_NullArgument()
|
D | DhcpServerTest.java | 142 MyDhcpServer(Context context, String ifName, DhcpServingParams params, SharedLog log, in MyDhcpServer() 176 private DhcpServingParams makeServingParams() throws Exception { in makeServingParams() 177 return new DhcpServingParams.Builder() in makeServingParams() 413 final IpPrefix servingPrefix = DhcpServingParams.makeIpPrefix(TEST_SERVER_LINKADDR); in testChangePrefixOnDecline()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpServer.java | 117 private DhcpServingParams mServingParams; 171 DhcpLeaseRepository makeLeaseRepository(@NonNull DhcpServingParams servingParams, in makeLeaseRepository() 208 public DhcpLeaseRepository makeLeaseRepository(@NonNull DhcpServingParams servingParams, in makeLeaseRepository() 211 DhcpServingParams.makeIpPrefix(servingParams.serverAddr), in makeLeaseRepository() 245 @NonNull DhcpServingParams params, @NonNull SharedLog log) { in DhcpServer() 250 DhcpServer(@NonNull Context context, @NonNull String ifName, @NonNull DhcpServingParams params, in DhcpServer() 350 final DhcpServingParams parsedParams; in updateParams() 353 parsedParams = DhcpServingParams.fromParcelableObject(params); in updateParams() 354 } catch (DhcpServingParams.InvalidParameterException e) { in updateParams() 383 private void handleUpdateServingParams(@NonNull DhcpServingParams params, in handleUpdateServingParams() [all …]
|
D | DhcpServingParams.java | 48 public class DhcpServingParams { class 110 private DhcpServingParams(@NonNull LinkAddress serverAddr, in DhcpServingParams() method in DhcpServingParams 130 public static DhcpServingParams fromParcelableObject(@Nullable DhcpServingParamsParcel parcel) in fromParcelableObject() 362 public DhcpServingParams build() throws InvalidParameterException { in build() 403 return new DhcpServingParams(mServerAddr, in build()
|
/packages/modules/NetworkStack/src/com/android/server/ |
D | NetworkStackService.java | 40 import android.net.dhcp.DhcpServingParams; 158 @NonNull DhcpServingParams params, @NonNull SharedLog log) { in makeDhcpServer() 350 DhcpServingParams.fromParcelableObject(params), in makeDhcpServer() 352 } catch (DhcpServingParams.InvalidParameterException e) { in makeDhcpServer()
|