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.java95 private VcnNetworkProvider mVcnNetworkProvider; field in VcnTest
114 mVcnNetworkProvider = mock(VcnNetworkProvider.class); in setUp()
123 doReturn(mVcnNetworkProvider).when(mVcnContext).getVcnNetworkProvider(); in setUp()
166 verify(mVcnNetworkProvider).registerListener(mNetworkRequestListenerCaptor.capture()); in verifyAndGetRequestListener()
377 verify(mVcnNetworkProvider).resendAllRequests(requestListener); in verifyGatewayQuit()
428 verify(mVcnNetworkProvider).resendAllRequests(requestListener); in testUpdateConfigReevaluatesGatewayConnections()
457 verify(mVcnNetworkProvider).resendAllRequests(requestListener); in verifyMobileDataToggledUpdatesGatewayConnections()
DVcnGatewayConnectionTestBase.java164 @NonNull protected final VcnNetworkProvider mVcnNetworkProvider; field in VcnGatewayConnectionTestBase
190 mVcnNetworkProvider = mock(VcnNetworkProvider.class); in VcnGatewayConnectionTestBase()
223 doReturn(mVcnNetworkProvider).when(mVcnContext).getVcnNetworkProvider(); in VcnGatewayConnectionTestBase()
/frameworks/base/services/core/java/com/android/server/vcn/
DVcnContext.java36 @NonNull private final VcnNetworkProvider mVcnNetworkProvider; field in VcnContext
47 mVcnNetworkProvider = Objects.requireNonNull(vcnNetworkProvider, "Missing networkProvider"); in VcnContext()
66 return mVcnNetworkProvider; in getVcnNetworkProvider()
/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/
DUnderlyingNetworkControllerTest.java153 @Mock private VcnNetworkProvider mVcnNetworkProvider; field in UnderlyingNetworkControllerTest
182 mVcnNetworkProvider, in setUp()
260 mVcnNetworkProvider, in testNetworkCallbacksRegisteredOnStartupForTestMode()