Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DRouterAdvertisementDaemonTest.java100 private RouterAdvertisementDaemon mRaDaemon; field in RouterAdvertisementDaemonTest
125 mRaDaemon = new RouterAdvertisementDaemon(mTetheredParams); in setUp()
309 assertTrue(mRaDaemon.start()); in testUnSolicitRouterAdvertisement()
311 mRaDaemon.buildNewRa(null, params1); in testUnSolicitRouterAdvertisement()
315 mRaDaemon.buildNewRa(params1, params2); in testUnSolicitRouterAdvertisement()
327 assertTrue(mRaDaemon.start()); in testSolicitRouterAdvertisement()
329 mRaDaemon.buildNewRa(null, params1); in testSolicitRouterAdvertisement()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java259 private RouterAdvertisementDaemon mRaDaemon; field in IpServer
680 mRaDaemon = mDeps.getRouterAdvertisementDaemon(mInterfaceParams); in startIPv6()
681 if (!mRaDaemon.start()) { in startIPv6()
698 if (mRaDaemon != null) { in stopIPv6()
699 mRaDaemon.stop(); in stopIPv6()
700 mRaDaemon = null; in stopIPv6()
716 if (mRaDaemon == null) return; in updateUpstreamIPv6LinkProperties()
1058 if (mRaDaemon != null) { in setRaParams()
1068 mRaDaemon.buildNewRa(deprecatedParams, newParams); in setRaParams()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java182 @Mock private RouterAdvertisementDaemon mRaDaemon; field in IpServerTest
215 when(mDependencies.getRouterAdvertisementDaemon(any())).thenReturn(mRaDaemon); in initStateMachine()
247 when(mRaDaemon.start()).thenReturn(true); in initStateMachine()
1253 verify(mRaDaemon).buildNewRa(any(), raParamsCaptor.capture()); in testAdjustTtlValue()
1256 reset(mRaDaemon); in testAdjustTtlValue()
1262 verify(mRaDaemon).buildNewRa(any(), raParamsCaptor.capture()); in testAdjustTtlValue()
1265 reset(mRaDaemon); in testAdjustTtlValue()
1268 verify(mRaDaemon).buildNewRa(any(), raParamsCaptor.capture()); in testAdjustTtlValue()
1271 reset(mRaDaemon); in testAdjustTtlValue()
1274 verify(mRaDaemon).buildNewRa(any(), raParamsCaptor.capture()); in testAdjustTtlValue()
[all …]