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.java122 private RaParams mRaParams;
129 public static class RaParams { class in RouterAdvertisementDaemon
141 public RaParams() { in RaParams() method in RouterAdvertisementDaemon.RaParams
149 public RaParams(RaParams other) { in RaParams() method in RouterAdvertisementDaemon.RaParams
163 public static RaParams getDeprecatedRaParams(RaParams oldRa, RaParams newRa) { in getDeprecatedRaParams()
164 RaParams newlyDeprecated = new RaParams(); in getDeprecatedRaParams()
255 public void buildNewRa(RaParams deprecatedParams, RaParams newParams) { in buildNewRa()
310 haveRaParams ? mRaParams.hopLimit : RaParams.DEFAULT_HOPLIMIT); in assembleRaLocked()
DIpServer.java58 import android.net.ip.RouterAdvertisementDaemon.RaParams;
295 private RaParams mLastRaParams;
779 RaParams params = null; in updateUpstreamIPv6LinkProperties()
790 params = new RaParams(); in updateUpstreamIPv6LinkProperties()
1048 return RaParams.DEFAULT_HOPLIMIT; in getHopLimit()
1051 private void setRaParams(RaParams newParams) { in setRaParams()
1053 final RaParams deprecatedParams = in setRaParams()
1054 RaParams.getDeprecatedRaParams(mLastRaParams, newParams); in setRaParams()
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DRouterAdvertisementDaemonTest.java43 import android.net.ip.RouterAdvertisementDaemon.RaParams;
149 final RaParams mNewParams, mOldParams;
151 TestRaPacket(final RaParams oldParams, final RaParams newParams) { in TestRaPacket()
268 private RaParams createRaParams(final String ipv6Address) throws Exception { in createRaParams()
269 final RaParams params = new RaParams(); in createRaParams()
307 final RaParams params1 = createRaParams("2001:1122:3344::5566"); in testUnSolicitRouterAdvertisement()
311 final RaParams params2 = createRaParams("2006:3344:5566::7788"); in testUnSolicitRouterAdvertisement()
325 final RaParams params1 = createRaParams("2001:1122:3344::5566"); in testSolicitRouterAdvertisement()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java83 import android.net.ip.RouterAdvertisementDaemon.RaParams;
849 final ArgumentCaptor<RaParams> raParamsCaptor = in testAdjustTtlValue()
850 ArgumentCaptor.forClass(RaParams.class); in testAdjustTtlValue()
853 final RaParams noV6Params = raParamsCaptor.getValue(); in testAdjustTtlValue()
862 final RaParams nonCellularParams = raParamsCaptor.getValue(); in testAdjustTtlValue()
868 final RaParams noUpstream = raParamsCaptor.getValue(); in testAdjustTtlValue()
874 final RaParams cellularParams = raParamsCaptor.getValue(); in testAdjustTtlValue()