Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/connectivity/
DNat464XlatTest.java58 @Mock INetworkManagementService mNms; field in Nat464XlatTest
66 return new Nat464Xlat(mNms, mNai); in makeNat464Xlat()
83 when(mNms.getInterfaceConfig(eq(STACKED_IFACE))).thenReturn(mConfig); in setUp()
95 verify(mNms).registerObserver(eq(nat)); in testNormalStartAndStop()
96 verify(mNms).startClatd(eq(BASE_IFACE)); in testNormalStartAndStop()
102 verify(mNms).getInterfaceConfig(eq(STACKED_IFACE)); in testNormalStartAndStop()
103 verify(mNms).setInterfaceIpv6NdOffload(eq(BASE_IFACE), eq(false)); in testNormalStartAndStop()
112 verify(mNms).stopClatd(eq(BASE_IFACE)); in testNormalStartAndStop()
113 verify(mNms).setInterfaceIpv6NdOffload(eq(BASE_IFACE), eq(true)); in testNormalStartAndStop()
119 verify(mNms).unregisterObserver(eq(nat)); in testNormalStartAndStop()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DOffloadController.java82 private final INetworkManagementService mNms; field in OffloadController
117 mNms = nms; in OffloadController()
125 mNms.registerTetheringStatsProvider(mStatsProvider, getClass().getSimpleName()); in OffloadController()
354 mNms.tetherLimitReached(mStatsProvider); in forceTetherStatsPoll()