Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java257 private RouterAdvertisementDaemon mRaDaemon; field in IpServer
670 mRaDaemon = mDeps.getRouterAdvertisementDaemon(mInterfaceParams); in startIPv6()
671 if (!mRaDaemon.start()) { in startIPv6()
683 if (mRaDaemon != null) { in stopIPv6()
684 mRaDaemon.stop(); in stopIPv6()
685 mRaDaemon = null; in stopIPv6()
696 if (mRaDaemon == null) return; in updateUpstreamIPv6LinkProperties()
997 if (mRaDaemon != null) { in setRaParams()
1007 mRaDaemon.buildNewRa(deprecatedParams, newParams); in setRaParams()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java144 @Mock private RouterAdvertisementDaemon mRaDaemon; field in IpServerTest
167 when(mDependencies.getRouterAdvertisementDaemon(any())).thenReturn(mRaDaemon); in initStateMachine()
196 when(mRaDaemon.start()).thenReturn(true); in initStateMachine()
947 verify(mRaDaemon).buildNewRa(any(), raParamsCaptor.capture()); in testAdjustTtlValue()
950 reset(mRaDaemon); in testAdjustTtlValue()
956 verify(mRaDaemon).buildNewRa(any(), raParamsCaptor.capture()); in testAdjustTtlValue()
959 reset(mRaDaemon); in testAdjustTtlValue()
962 verify(mRaDaemon).buildNewRa(any(), raParamsCaptor.capture()); in testAdjustTtlValue()
965 reset(mRaDaemon); in testAdjustTtlValue()
968 verify(mRaDaemon).buildNewRa(any(), raParamsCaptor.capture()); in testAdjustTtlValue()
[all …]