Home
last modified time | relevance | path

Searched refs:mVcnNetworkProvider (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnNetworkProviderTest.java59 @NonNull private VcnNetworkProvider mVcnNetworkProvider; field in VcnNetworkProviderTest
74 mVcnNetworkProvider = new VcnNetworkProvider(mContext, mTestLooper.getLooper(), mDeps); in setUp()
79 mVcnNetworkProvider.register(); in verifyRegisterAndGetOfferCallback()
84 verify(mConnMgr).registerNetworkProvider(eq(mVcnNetworkProvider)); in verifyRegisterAndGetOfferCallback()
87 eq(mVcnNetworkProvider), in verifyRegisterAndGetOfferCallback()
106 mVcnNetworkProvider.registerListener(mListener); in testRequestsPassedToRegisteredListeners()
115 mVcnNetworkProvider.registerListener(mListener); in testUnregisterListener()
116 mVcnNetworkProvider.unregisterListener(mListener); in testUnregisterListener()
142 mVcnNetworkProvider.registerListener(mListener); in testCachedRequestsPassedOnRegister()
DVcnTest.java94 private VcnNetworkProvider mVcnNetworkProvider; field in VcnTest
113 mVcnNetworkProvider = mock(VcnNetworkProvider.class); in setUp()
122 doReturn(mVcnNetworkProvider).when(mVcnContext).getVcnNetworkProvider(); in setUp()
165 verify(mVcnNetworkProvider).registerListener(mNetworkRequestListenerCaptor.capture()); in verifyAndGetRequestListener()
351 verify(mVcnNetworkProvider).resendAllRequests(requestListener); in verifyGatewayQuit()
402 verify(mVcnNetworkProvider).resendAllRequests(requestListener); in testUpdateConfigReevaluatesGatewayConnections()
437 verify(mVcnNetworkProvider).resendAllRequests(requestListener); in verifyMobileDataToggled()
DVcnGatewayConnectionTestBase.java136 @NonNull protected final VcnNetworkProvider mVcnNetworkProvider; field in VcnGatewayConnectionTestBase
157 mVcnNetworkProvider = mock(VcnNetworkProvider.class); in VcnGatewayConnectionTestBase()
178 doReturn(mVcnNetworkProvider).when(mVcnContext).getVcnNetworkProvider(); in VcnGatewayConnectionTestBase()
DUnderlyingNetworkTrackerTest.java100 @Mock private VcnNetworkProvider mVcnNetworkProvider; field in UnderlyingNetworkTrackerTest
124 mVcnNetworkProvider, in setUp()
181 mVcnNetworkProvider, in testNetworkCallbacksRegisteredOnStartupForTestMode()
/frameworks/base/services/core/java/com/android/server/vcn/
DVcnContext.java33 @NonNull private final VcnNetworkProvider mVcnNetworkProvider; field in VcnContext
43 mVcnNetworkProvider = Objects.requireNonNull(vcnNetworkProvider, "Missing networkProvider"); in VcnContext()
59 return mVcnNetworkProvider; in getVcnNetworkProvider()