Searched refs:mConnMgr (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
D | VcnNetworkProviderTest.java | 58 @NonNull private ConnectivityManager mConnMgr; field in VcnNetworkProviderTest 70 mConnMgr = mock(ConnectivityManager.class); in setUp() 72 mContext, mConnMgr, Context.CONNECTIVITY_SERVICE, ConnectivityManager.class); in setUp() 84 verify(mConnMgr).registerNetworkProvider(eq(mVcnNetworkProvider)); in verifyRegisterAndGetOfferCallback()
|
D | VcnGatewayConnectionTestBase.java | 149 @NonNull protected final ConnectivityManager mConnMgr; field in VcnGatewayConnectionTestBase 172 mConnMgr = mock(ConnectivityManager.class); in VcnGatewayConnectionTestBase() 174 mContext, mConnMgr, Context.CONNECTIVITY_SERVICE, ConnectivityManager.class); in VcnGatewayConnectionTestBase()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssNetworkConnectivityHandler.java | 104 private final ConnectivityManager mConnMgr; field in GnssNetworkConnectivityHandler 202 mConnMgr = (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in GnssNetworkConnectivityHandler() 298 mConnMgr.registerNetworkCallback(networkRequest, mNetworkConnectivityCallback, mHandler); in registerNetworkCallbacks() 306 NetworkInfo activeNetworkInfo = mConnMgr.getActiveNetworkInfo(); in isDataNetworkConnected() 490 NetworkInfo info = mConnMgr.getNetworkInfo(network); 504 NetworkInfo info = mConnMgr.getNetworkInfo(network); 586 mConnMgr.requestNetwork( 621 mConnMgr.unregisterNetworkCallback(mSuplConnectivityCallback); 637 boolean result = mConnMgr.requestRouteToHostAddress(
|
D | NtpTimeHelper.java | 71 private final ConnectivityManager mConnMgr; field in NtpTimeHelper 95 mConnMgr = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); in NtpTimeHelper() 122 NetworkInfo activeNetworkInfo = mConnMgr.getActiveNetworkInfo(); in isNetworkConnected()
|
/frameworks/base/tests/vcn/java/com/android/server/ |
D | VcnManagementServiceTest.java | 164 private final ConnectivityManager mConnMgr = mock(ConnectivityManager.class); field in VcnManagementServiceTest 186 mMockContext, mConnMgr, Context.CONNECTIVITY_SERVICE, ConnectivityManager.class); in VcnManagementServiceTest() 268 verify(mConnMgr).registerNetworkProvider(any(VcnNetworkProvider.class)); in testSystemReady() 270 verify(mConnMgr) in testSystemReady() 1026 verify(mConnMgr) in setupTrackedCarrierWifiNetwork()
|