Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DRouterAdvertisementDaemonTest.java97 private RouterAdvertisementDaemon mRaDaemon; field in RouterAdvertisementDaemonTest
122 mRaDaemon = new RouterAdvertisementDaemon(mTetheredParams); in setUp()
306 assertTrue(mRaDaemon.start()); in testUnSolicitRouterAdvertisement()
308 mRaDaemon.buildNewRa(null, params1); in testUnSolicitRouterAdvertisement()
312 mRaDaemon.buildNewRa(params1, params2); in testUnSolicitRouterAdvertisement()
324 assertTrue(mRaDaemon.start()); in testSolicitRouterAdvertisement()
326 mRaDaemon.buildNewRa(null, params1); in testSolicitRouterAdvertisement()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java176 @Mock private RouterAdvertisementDaemon mRaDaemon; field in IpServerTest
203 when(mDependencies.getRouterAdvertisementDaemon(any())).thenReturn(mRaDaemon); in initStateMachine()
231 when(mRaDaemon.start()).thenReturn(true); in initStateMachine()
852 verify(mRaDaemon).buildNewRa(any(), raParamsCaptor.capture()); in testAdjustTtlValue()
855 reset(mRaDaemon); in testAdjustTtlValue()
861 verify(mRaDaemon).buildNewRa(any(), raParamsCaptor.capture()); in testAdjustTtlValue()
864 reset(mRaDaemon); in testAdjustTtlValue()
867 verify(mRaDaemon).buildNewRa(any(), raParamsCaptor.capture()); in testAdjustTtlValue()
870 reset(mRaDaemon); in testAdjustTtlValue()
873 verify(mRaDaemon).buildNewRa(any(), raParamsCaptor.capture()); in testAdjustTtlValue()
[all …]
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java289 private RouterAdvertisementDaemon mRaDaemon; field in IpServer
736 mRaDaemon = mDeps.getRouterAdvertisementDaemon(mInterfaceParams); in startIPv6()
737 if (!mRaDaemon.start()) { in startIPv6()
754 if (mRaDaemon != null) { in stopIPv6()
755 mRaDaemon.stop(); in stopIPv6()
756 mRaDaemon = null; in stopIPv6()
772 if (mRaDaemon == null) return; in updateUpstreamIPv6LinkProperties()
1052 if (mRaDaemon != null) { in setRaParams()
1062 mRaDaemon.buildNewRa(deprecatedParams, newParams); in setRaParams()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java452 @Mock private RouterAdvertisementDaemon mRaDaemon; field in BpfCoordinatorTest
610 when(mIpServerDeps.getRouterAdvertisementDaemon(any())).thenReturn(mRaDaemon); in makeAndStartIpServer()
618 when(mRaDaemon.start()).thenReturn(true); in makeAndStartIpServer()