Searched refs:mCm (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/vpn2/
H A DConnectivityManagerWrapperImpl.java28 private final ConnectivityManager mCm; field in class:ConnectivityManagerWrapperImpl
31 mCm = cm;
36 return mCm;
41 return mCm.getAlwaysOnVpnPackageForUser(userId);
46 return mCm.getGlobalProxy();
52 mCm.registerNetworkCallback(request, callback, handler);
57 mCm.startCaptivePortalApp(network);
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
H A DBasebandVersionPreferenceControllerTest.java48 private ConnectivityManager mCm; field in class:BasebandVersionPreferenceControllerTest
58 when(mContext.getSystemService(Context.CONNECTIVITY_SERVICE)).thenReturn(mCm);
63 when(mCm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(false);
69 when(mCm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(true);
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/
H A DAutoTimeZonePreferenceControllerTest.java46 private ConnectivityManager mCm; field in class:AutoTimeZonePreferenceControllerTest
58 ShadowApplication.getInstance().setSystemService(Context.CONNECTIVITY_SERVICE, mCm);
61 when(mMockContext.getSystemService(Context.CONNECTIVITY_SERVICE)).thenReturn(mCm);
62 when(mCm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(true);
83 when(mCm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(false);
101 when(mCm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(false);
/packages/apps/Settings/src/com/android/settings/
H A DTetherSettings.java101 private ConnectivityManager mCm; field in class:TetherSettings
163 mCm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
166 mUsbRegexs = mCm.getTetherableUsbRegexs();
167 mWifiRegexs = mCm.getTetherableWifiRegexs();
168 mBluetoothRegexs = mCm.getTetherableBluetoothRegexs();
394 String[] available = mCm.getTetherableIfaces();
395 String[] tethered = mCm.getTetheredIfaces();
396 String[] errored = mCm.getTetheringErroredIfaces();
415 usbError = mCm.getLastTetherError(s);
515 mCm
[all...]
/packages/apps/Settings/src/com/android/settings/enterprise/
H A DEnterprisePrivacyFeatureProviderImpl.java46 private final ConnectivityManagerWrapper mCm; field in class:EnterprisePrivacyFeatureProviderImpl
58 mCm = cm;
144 return VpnUtils.isAlwaysOnVpnSet(mCm, MY_USER_ID);
151 VpnUtils.isAlwaysOnVpnSet(mCm, managedProfileUserId);
156 return mCm.getGlobalProxy() != null;
/packages/apps/Settings/src/com/android/settings/network/
H A DMobilePlanPreferenceController.java65 private ConnectivityManager mCm; field in class:MobilePlanPreferenceController
74 mCm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
128 NetworkInfo ni = mCm.getActiveNetworkInfo();
144 String url = mCm.getMobileProvisioningUrl();
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiApEnabler.java43 ConnectivityManager mCm; field in class:WifiApEnabler
83 mCm = (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE);
85 mWifiRegexs = mCm.getTetherableWifiRegexs();

Completed in 117 milliseconds