/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
D | BluetoothNameUtils.java | 79 final Matcher cm = COLOR_PATTERN.matcher(cs); in getColorConfiguration() local 80 if (!cm.matches()) { in getColorConfiguration() 84 0xff000000 | Integer.parseInt(cm.group(1), 16), in getColorConfiguration() 85 0xff000000 | Integer.parseInt(cm.group(2), 16), in getColorConfiguration() 86 "p".equals(cm.group(3))); in getColorConfiguration() 87 config.isTransient = "t".equals(cm.group(4)); in getColorConfiguration()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/vpn2/ |
D | VpnUtilsTest.java | 34 final ConnectivityManager cm = mock(ConnectivityManager.class); in testIsAlwaysOnVpnSet() local 35 when(cm.getAlwaysOnVpnPackageForUser(0)).thenReturn("com.example.vpn"); in testIsAlwaysOnVpnSet() 36 assertThat(VpnUtils.isAlwaysOnVpnSet(cm, 0)).isTrue(); in testIsAlwaysOnVpnSet() 38 when(cm.getAlwaysOnVpnPackageForUser(0)).thenReturn(null); in testIsAlwaysOnVpnSet() 39 assertThat(VpnUtils.isAlwaysOnVpnSet(cm, 0)).isFalse(); in testIsAlwaysOnVpnSet()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | MediaScannerTest.java | 136 Cursor cm = modernContext.getContentResolver().query(uri, null, null, null)) { in testCorrectness() argument 139 assertEquals(cl.getCount(), cm.getCount()); in testCorrectness() 141 while (cl.moveToNext() && cm.moveToNext()) { in testCorrectness() 148 assertEquals(cl.getColumnName(i), cm.getColumnName(i)); in testCorrectness() 151 cl.getType(i), cm.getType(i)); in testCorrectness() 154 cl.getString(i), cm.getString(i)); in testCorrectness() 161 DatabaseUtils.dumpCursor(cm); in testCorrectness()
|
/packages/apps/Email/provider_src/com/android/email/ |
D | EmailConnectivityManager.java | 157 ConnectivityManager cm = in getActiveNetworkType() local 159 return getActiveNetworkType(cm); in getActiveNetworkType() 162 static public int getActiveNetworkType(ConnectivityManager cm) { in getActiveNetworkType() argument 163 NetworkInfo info = cm.getActiveNetworkInfo(); in getActiveNetworkType()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | MobileNetworkSummaryControllerTest.java | 107 final ConnectivityManager cm = mock(ConnectivityManager.class); in isAvailable_wifiOnlyMode_notAvailable() local 108 when(cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(false); in isAvailable_wifiOnlyMode_notAvailable() 109 when(mContext.getSystemService(ConnectivityManager.class)).thenReturn(cm); in isAvailable_wifiOnlyMode_notAvailable() 117 final ConnectivityManager cm = mock(ConnectivityManager.class); in isAvailable_secondaryUser_notAvailable() local 118 when(cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(true); in isAvailable_secondaryUser_notAvailable() 119 when(mContext.getSystemService(ConnectivityManager.class)).thenReturn(cm); in isAvailable_secondaryUser_notAvailable()
|
/packages/services/Telephony/src/com/android/phone/ |
D | ImsUtil.java | 125 ConnectivityManager cm = in shouldPromoteWfc() local 127 if (cm != null) { in shouldPromoteWfc() 128 NetworkInfo ni = cm.getActiveNetworkInfo(); in shouldPromoteWfc()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ProxySelector.java | 147 ConnectivityManager cm = in populateFields() local 150 ProxyInfo proxy = cm.getGlobalProxy(); in populateFields() 239 ConnectivityManager cm = in saveToDb() local 242 cm.setGlobalProxy(p); in saveToDb()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | ProxySelector.java | 147 ConnectivityManager cm = in populateFields() local 150 ProxyInfo proxy = cm.getGlobalProxy(); in populateFields() 239 ConnectivityManager cm = in saveToDb() local 242 cm.setGlobalProxy(p); in saveToDb()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | TetherService.java | 235 ConnectivityManager cm = in disableWifiTethering() local 237 cm.stopTethering(ConnectivityManager.TETHERING_WIFI); in disableWifiTethering() 241 ConnectivityManager cm = in disableUsbTethering() local 243 cm.setUsbTethering(false); in disableUsbTethering()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/ |
D | TetherService.java | 221 ConnectivityManager cm = in disableWifiTethering() local 223 cm.stopTethering(ConnectivityManager.TETHERING_WIFI); in disableWifiTethering() 227 ConnectivityManager cm = in disableUsbTethering() local 229 cm.setUsbTethering(false); in disableUsbTethering()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/ |
D | ConnectivityEligibilityChecker.java | 42 final ConnectivityManager cm = in isEligible() local 44 NetworkInfo netInfo = cm.getActiveNetworkInfo(); in isEligible()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/slice/ |
D | ConnectToWifiHandler.java | 46 final ConnectivityManager cm = getSystemService(ConnectivityManager.class); in onCreate() local 48 cm.startCaptivePortalApp(network); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | ConnectToWifiHandler.java | 51 final ConnectivityManager cm = context.getSystemService(ConnectivityManager.class); in onReceive() local 53 cm.startCaptivePortalApp(network); in onReceive()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipConnectionService.java | 273 ConnectivityManager cm = in isNetworkConnected() local 275 if (cm != null) { in isNetworkConnected() 276 NetworkInfo ni = cm.getActiveNetworkInfo(); in isNetworkConnected()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | SyncUtil.java | 116 ConnectivityManager cm = in isNetworkConnected() local 118 NetworkInfo activeNetwork = cm.getActiveNetworkInfo(); in isNetworkConnected()
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_feature_matching.h | 180 db_Matcher_u(const db_Matcher_u& cm); 186 db_Matcher_u& operator= (const db_Matcher_u& cm);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | VpnUtils.java | 92 public static boolean isAlwaysOnVpnSet(ConnectivityManager cm, final int userId) { in isAlwaysOnVpnSet() argument 93 return cm.getAlwaysOnVpnPackageForUser(userId) != null; in isAlwaysOnVpnSet()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnUtils.java | 92 public static boolean isAlwaysOnVpnSet(ConnectivityManager cm, final int userId) { in isAlwaysOnVpnSet() argument 93 return cm.getAlwaysOnVpnPackageForUser(userId) != null; in isAlwaysOnVpnSet()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | ConfigureWifiSettings.java | 124 ConnectivityManager cm = (ConnectivityManager) 126 NetworkInfo info = cm.getActiveNetworkInfo();
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | HotspotConditionController.java | 85 ConnectivityManager cm = (ConnectivityManager) mAppContext.getSystemService( in onActionClick() local 87 cm.stopTethering(ConnectivityManager.TETHERING_WIFI); in onActionClick()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/ |
D | HotspotConditionController.java | 85 ConnectivityManager cm = (ConnectivityManager) mAppContext.getSystemService( in onActionClick() local 87 cm.stopTethering(ConnectivityManager.TETHERING_WIFI); in onActionClick()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | ConfigureWifiSettings.java | 124 ConnectivityManager cm = (ConnectivityManager) 126 NetworkInfo info = cm.getActiveNetworkInfo();
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
D | PanService.java | 603 ConnectivityManager cm = in configureBtIface() local 605 String[] bluetoothRegexs = cm.getTetherableBluetoothRegexs(); in configureBtIface() 653 int tetherStatus = cm.tether(iface); in configureBtIface() 659 int untetherStatus = cm.untether(iface); in configureBtIface()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/ |
D | WifiNetworkDetailsFragment.java | 124 final ConnectivityManager cm = context.getSystemService(ConnectivityManager.class); in createPreferenceControllers() local 128 cm, in createPreferenceControllers()
|
/packages/apps/Settings/src/com/android/settings/wifi/details/ |
D | WifiNetworkDetailsFragment.java | 126 final ConnectivityManager cm = context.getSystemService(ConnectivityManager.class); in createPreferenceControllers() local 130 cm, in createPreferenceControllers()
|