Home
last modified time | relevance | path

Searched refs:cm (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Phone/src/com/android/phone/
DPhoneUtils.java129 CallManager cm = (CallManager) ar.userObj; in handleMessage() local
137 for (Call fgCall : cm.getForegroundCalls()) { in handleMessage()
152 for (Call bgCall : cm.getBackgroundCalls()) { in handleMessage()
182 if (cm.getState() != PhoneConstants.State.IDLE) { in handleMessage()
185 setMuteInternal(cm.getFgPhone(), false); in handleMessage()
196 public static void initializeConnectionHandler(CallManager cm) { in initializeConnectionHandler() argument
202 cm.registerForPreciseCallStateChanged(mConnectionHandler, PHONE_STATE_CHANGED, cm); in initializeConnectionHandler()
334 static boolean hangup(CallManager cm) { in hangup() argument
336 Call ringing = cm.getFirstActiveRingingCall(); in hangup()
337 Call fg = cm.getActiveFgCall(); in hangup()
[all …]
DCallCard.java249 /* package */ void updateState(CallManager cm) { in updateState() argument
250 if (DBG) log("updateState(" + cm + ")..."); in updateState()
254 PhoneConstants.State state = cm.getState(); // IDLE, RINGING, or OFFHOOK in updateState()
255 Call ringingCall = cm.getFirstActiveRingingCall(); in updateState()
256 Call fgCall = cm.getActiveFgCall(); in updateState()
257 Call bgCall = cm.getFirstActiveBgCall(); in updateState()
275 updateRingingCall(cm); in updateState()
286 updateForegroundCall(cm); in updateState()
298 updateAlreadyDisconnected(cm); in updateState()
312 updateNoCall(cm); in updateState()
[all …]
DSipCallOptionHandler.java354 CallManager cm = PhoneGlobals.getInstance().mCM; in createSipPhoneIfNeeded() local
355 if (PhoneUtils.getSipPhoneFromUri(cm, p.getUriString()) != null) return; in createSipPhoneIfNeeded()
362 cm.registerPhone(phone); in createSipPhoneIfNeeded()
403 ConnectivityManager cm = (ConnectivityManager) getSystemService( in isNetworkConnected() local
405 if (cm != null) { in isNetworkConnected()
406 NetworkInfo ni = cm.getActiveNetworkInfo(); in isNetworkConnected()
DInCallControlState.java89 public InCallControlState(InCallScreen inCallScreen, CallManager cm) { in InCallControlState() argument
92 mCM = cm; in InCallControlState()
DInCallTouchUi.java226 /* package */ void updateState(CallManager cm) { in updateState() argument
232 PhoneConstants.State state = cm.getState(); // IDLE, RINGING, or OFFHOOK in updateState()
238 final Call ringingCall = cm.getFirstActiveRingingCall(); in updateState()
239 final Call.State fgCallState = cm.getActiveFgCallState(); in updateState()
321 updateInCallControls(cm); in updateState()
453 private void updateInCallControls(CallManager cm) { in updateInCallControls() argument
454 int phoneType = cm.getActiveFgCall().getPhone().getPhoneType(); in updateInCallControls()
DPhoneInterfaceManager.java552 ConnectivityManager cm = in enableDataConnectivity() local
554 cm.setMobileDataEnabled(true); in enableDataConnectivity()
570 ConnectivityManager cm = in disableDataConnectivity() local
572 cm.setMobileDataEnabled(false); in disableDataConnectivity()
DMobileNetworkSettings.java173 ConnectivityManager cm = in onPreferenceTreeClick() local
176 cm.setMobileDataEnabled(mButtonDataEnabled.isChecked()); in onPreferenceTreeClick()
293 ConnectivityManager cm = in onResume() local
295 mButtonDataEnabled.setChecked(cm.getMobileDataEnabled()); in onResume()
DManageConferenceUtils.java93 public ManageConferenceUtils(InCallScreen inCallScreen, CallManager cm) { in ManageConferenceUtils() argument
96 mCM = cm; in ManageConferenceUtils()
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java129 ConnectivityManager cm = in onCreate() local
132 mUsbRegexs = cm.getTetherableUsbRegexs(); in onCreate()
133 mWifiRegexs = cm.getTetherableWifiRegexs(); in onCreate()
134 mBluetoothRegexs = cm.getTetherableBluetoothRegexs(); in onCreate()
307 ConnectivityManager cm = in updateState() local
310 String[] available = cm.getTetherableIfaces(); in updateState()
311 String[] tethered = cm.getTetheredIfaces(); in updateState()
312 String[] errored = cm.getTetheringErroredIfaces(); in updateState()
325 ConnectivityManager cm = in updateUsbState() local
333 usbError = cm.getLastTetherError(s); in updateUsbState()
[all …]
DUtils.java320 ConnectivityManager cm = (ConnectivityManager)context.getSystemService( in isWifiOnly() local
322 return (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false); in isWifiOnly()
331 ConnectivityManager cm = (ConnectivityManager) in getWifiIpAddresses() local
333 LinkProperties prop = cm.getLinkProperties(ConnectivityManager.TYPE_WIFI); in getWifiIpAddresses()
344 ConnectivityManager cm = (ConnectivityManager) in getDefaultIpAddresses() local
346 LinkProperties prop = cm.getActiveLinkProperties(); in getDefaultIpAddresses()
455 public static int getTetheringLabel(ConnectivityManager cm) { in getTetheringLabel() argument
456 String[] usbRegexs = cm.getTetherableUsbRegexs(); in getTetheringLabel()
457 String[] wifiRegexs = cm.getTetherableWifiRegexs(); in getTetheringLabel()
458 String[] bluetoothRegexs = cm.getTetherableBluetoothRegexs(); in getTetheringLabel()
DProxySelector.java163 ConnectivityManager cm = in populateFields() local
166 ProxyProperties proxy = cm.getGlobalProxy(); in populateFields()
264 ConnectivityManager cm = in saveToDb() local
267 cm.setGlobalProxy(p); in saveToDb()
DWirelessSettings.java173 ConnectivityManager cm = in onCreate() local
175 if (isSecondaryUser || !cm.isTetheringSupported()) { in onCreate()
179 p.setTitle(Utils.getTetheringLabel(cm)); in onCreate()
DRadioInfo.java906 ConnectivityManager cm =
911 cm.setMobileDataEnabled(false);
914 cm.setMobileDataEnabled(true);
/packages/apps/Email/src/com/android/email/
DEmailConnectivityManager.java156 ConnectivityManager cm = in getActiveNetworkType() local
158 return getActiveNetworkType(cm); in getActiveNetworkType()
161 static public int getActiveNetworkType(ConnectivityManager cm) { in getActiveNetworkType() argument
162 NetworkInfo info = cm.getActiveNetworkInfo(); in getActiveNetworkType()
/packages/apps/Browser/src/com/android/browser/
DNetworkStateHandler.java48 ConnectivityManager cm = (ConnectivityManager) mActivity in NetworkStateHandler() local
50 NetworkInfo info = cm.getActiveNetworkInfo(); in NetworkStateHandler()
DBrowserSettings.java584 ConnectivityManager cm = (ConnectivityManager) in updateConnectionType() local
589 NetworkInfo ni = cm.getActiveNetworkInfo(); in updateConnectionType()
DBrowserHistoryPage.java108 ClipboardManager cm = (ClipboardManager) getActivity().getSystemService( in copy() local
110 cm.setText(text); in copy()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_feature_matching.h180 db_Matcher_u(const db_Matcher_u& cm);
186 db_Matcher_u& operator= (const db_Matcher_u& cm);
/packages/apps/Camera/jni/feature_stab/db_vlvm/
Ddb_feature_matching.h180 db_Matcher_u(const db_Matcher_u& cm);
186 db_Matcher_u& operator= (const db_Matcher_u& cm);
/packages/apps/Launcher2/src/com/android/launcher2/
DUtilities.java247 ColorMatrix cm = new ColorMatrix(); in initStatics() local
248 cm.setSaturation(0.2f); in initStatics()
249 sDisabledPaint.setColorFilter(new ColorMatrixColorFilter(cm)); in initStatics()
/packages/apps/Settings/src/com/android/settings/net/
DUidDetailProvider.java110 final ConnectivityManager cm = (ConnectivityManager) mContext.getSystemService( in buildUidDetail() local
112 detail.label = res.getString(Utils.getTetheringLabel(cm)); in buildUidDetail()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DAbstractSyncService.java258 ConnectivityManager cm = in hasConnectivity() local
264 NetworkInfo info = cm.getActiveNetworkInfo(); in hasConnectivity()
DExchangeService.java1617 ConnectivityManager cm = in onReceive() local
1619 mBackgroundData = cm.getBackgroundDataSetting(); in onReceive()
1757 ConnectivityManager cm = in waitForConnectivity() local
1760 NetworkInfo info = cm.getActiveNetworkInfo(); in waitForConnectivity()
1991 ConnectivityManager cm = (ConnectivityManager)getSystemService( in run() local
1993 mBackgroundData = cm.getBackgroundDataSetting(); in run()
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java453 ConnectivityManager cm = in enableTethering() local
455 String[] bluetoothRegexs = cm.getTetherableBluetoothRegexs(); in enableTethering()
495 if (cm.tether(iface) != ConnectivityManager.TETHER_ERROR_NO_ERROR) { in enableTethering()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStatus.java474 ConnectivityManager cm = (ConnectivityManager) getSystemService(CONNECTIVITY_SERVICE); in setWimaxStatus() local
475 NetworkInfo ni = cm.getNetworkInfo(ConnectivityManager.TYPE_WIMAX); in setWimaxStatus()

12