Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/android/net/ip/
DRouterAdvertisementDaemon.java121 private RaParams mRaParams;
128 public static class RaParams { class in RouterAdvertisementDaemon
143 public RaParams() { in RaParams() method in RouterAdvertisementDaemon.RaParams
151 public RaParams(RaParams other) { in RaParams() method in RouterAdvertisementDaemon.RaParams
165 public static RaParams getDeprecatedRaParams(RaParams oldRa, RaParams newRa) { in getDeprecatedRaParams()
166 RaParams newlyDeprecated = new RaParams(); in getDeprecatedRaParams()
257 public void buildNewRa(RaParams deprecatedParams, RaParams newParams) { in buildNewRa()
312 haveRaParams ? mRaParams.hopLimit : RaParams.DEFAULT_HOPLIMIT); in assembleRaLocked()
DIpServer.java48 import android.net.ip.RouterAdvertisementDaemon.RaParams;
264 private RaParams mLastRaParams;
718 RaParams params = null; in updateUpstreamIPv6LinkProperties()
729 params = new RaParams(); in updateUpstreamIPv6LinkProperties()
1049 return RaParams.DEFAULT_HOPLIMIT; in getHopLimit()
1052 private void setRaParams(RaParams newParams) { in setRaParams()
1054 final RaParams deprecatedParams = in setRaParams()
1055 RaParams.getDeprecatedRaParams(mLastRaParams, newParams); in setRaParams()
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DRouterAdvertisementDaemonTest.java46 import android.net.ip.RouterAdvertisementDaemon.RaParams;
152 final RaParams mNewParams, mOldParams;
154 TestRaPacket(final RaParams oldParams, final RaParams newParams) { in TestRaPacket()
271 private RaParams createRaParams(final String ipv6Address) throws Exception { in createRaParams()
272 final RaParams params = new RaParams(); in createRaParams()
310 final RaParams params1 = createRaParams("2001:1122:3344::5566"); in testUnSolicitRouterAdvertisement()
314 final RaParams params2 = createRaParams("2006:3344:5566::7788"); in testUnSolicitRouterAdvertisement()
328 final RaParams params1 = createRaParams("2001:1122:3344::5566"); in testSolicitRouterAdvertisement()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java86 import android.net.ip.RouterAdvertisementDaemon.RaParams;
1226 final ArgumentCaptor<RaParams> raParamsCaptor = in testAdjustTtlValue()
1227 ArgumentCaptor.forClass(RaParams.class); in testAdjustTtlValue()
1230 final RaParams noV6Params = raParamsCaptor.getValue(); in testAdjustTtlValue()
1239 final RaParams nonCellularParams = raParamsCaptor.getValue(); in testAdjustTtlValue()
1245 final RaParams noUpstream = raParamsCaptor.getValue(); in testAdjustTtlValue()
1251 final RaParams cellularParams = raParamsCaptor.getValue(); in testAdjustTtlValue()