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.java254 private RouterAdvertisementDaemon mRaDaemon; field in IpServer
663 mRaDaemon = mDeps.getRouterAdvertisementDaemon(mInterfaceParams); in startIPv6()
664 if (!mRaDaemon.start()) { in startIPv6()
676 if (mRaDaemon != null) { in stopIPv6()
677 mRaDaemon.stop(); in stopIPv6()
678 mRaDaemon = null; in stopIPv6()
689 if (mRaDaemon == null) return; in updateUpstreamIPv6LinkProperties()
990 if (mRaDaemon != null) { in setRaParams()
1000 mRaDaemon.buildNewRa(deprecatedParams, newParams); in setRaParams()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java143 @Mock private RouterAdvertisementDaemon mRaDaemon; field in IpServerTest
177 when(mDependencies.getRouterAdvertisementDaemon(any())).thenReturn(mRaDaemon); in initStateMachine()
206 when(mRaDaemon.start()).thenReturn(true); in initStateMachine()
941 verify(mRaDaemon).buildNewRa(any(), raParamsCaptor.capture()); in testAdjustTtlValue()
944 reset(mRaDaemon); in testAdjustTtlValue()
950 verify(mRaDaemon).buildNewRa(any(), raParamsCaptor.capture()); in testAdjustTtlValue()
953 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()
[all …]