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.java136 CallManager cm = (CallManager) ar.userObj; in handleMessage() local
144 for (Call fgCall : cm.getForegroundCalls()) { in handleMessage()
159 for (Call bgCall : cm.getBackgroundCalls()) { in handleMessage()
189 if (cm.getState() != Phone.State.IDLE) { in handleMessage()
192 setMuteInternal(cm.getFgPhone(), false); in handleMessage()
216 public static void initializeConnectionHandler(CallManager cm) { in initializeConnectionHandler() argument
222 cm.registerForPreciseCallStateChanged(mConnectionHandler, PHONE_STATE_CHANGED, cm); in initializeConnectionHandler()
225 cm.getDefaultPhone().getContext().bindService(intent, in initializeConnectionHandler()
351 static boolean hangup(CallManager cm) { in hangup() argument
353 Call ringing = cm.getFirstActiveRingingCall(); in hangup()
[all …]
DCallCard.java247 /* package */ void updateState(CallManager cm) { in updateState() argument
248 if (DBG) log("updateState(" + cm + ")..."); in updateState()
252 Phone.State state = cm.getState(); // IDLE, RINGING, or OFFHOOK in updateState()
253 Call ringingCall = cm.getFirstActiveRingingCall(); in updateState()
254 Call fgCall = cm.getActiveFgCall(); in updateState()
255 Call bgCall = cm.getFirstActiveBgCall(); in updateState()
269 updateRingingCall(cm); in updateState()
280 updateForegroundCall(cm); in updateState()
292 updateAlreadyDisconnected(cm); in updateState()
306 updateNoCall(cm); in updateState()
[all …]
DSipCallOptionHandler.java354 CallManager cm = PhoneApp.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.java88 public InCallControlState(InCallScreen inCallScreen, CallManager cm) { in InCallControlState() argument
91 mCM = cm; in InCallControlState()
DInCallTouchUi.java218 /* package */ void updateState(CallManager cm) { in updateState() argument
224 Phone.State state = cm.getState(); // IDLE, RINGING, or OFFHOOK in updateState()
230 final Call ringingCall = cm.getFirstActiveRingingCall(); in updateState()
231 final Call.State fgCallState = cm.getActiveFgCallState(); in updateState()
295 updateInCallControls(cm); in updateState()
426 private void updateInCallControls(CallManager cm) { in updateInCallControls() argument
427 int phoneType = cm.getActiveFgCall().getPhone().getPhoneType(); in updateInCallControls()
DPhoneInterfaceManager.java548 ConnectivityManager cm = in enableDataConnectivity() local
550 cm.setMobileDataEnabled(true); in enableDataConnectivity()
566 ConnectivityManager cm = in disableDataConnectivity() local
568 cm.setMobileDataEnabled(false); in disableDataConnectivity()
DMobileNetworkSettings.java172 ConnectivityManager cm = in onPreferenceTreeClick() local
175 cm.setMobileDataEnabled(mButtonDataEnabled.isChecked()); in onPreferenceTreeClick()
292 ConnectivityManager cm = in onResume() local
294 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.java127 ConnectivityManager cm = in onCreate() local
130 mUsbRegexs = cm.getTetherableUsbRegexs(); in onCreate()
131 mWifiRegexs = cm.getTetherableWifiRegexs(); in onCreate()
132 mBluetoothRegexs = cm.getTetherableBluetoothRegexs(); in onCreate()
301 ConnectivityManager cm = in updateState() local
304 String[] available = cm.getTetherableIfaces(); in updateState()
305 String[] tethered = cm.getTetheredIfaces(); in updateState()
306 String[] errored = cm.getTetheringErroredIfaces(); in updateState()
319 ConnectivityManager cm = in updateUsbState() local
327 usbError = cm.getLastTetherError(s); in updateUsbState()
[all …]
DUtils.java295 ConnectivityManager cm = (ConnectivityManager)context.getSystemService( in isWifiOnly() local
297 return (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false); in isWifiOnly()
306 ConnectivityManager cm = (ConnectivityManager) in getWifiIpAddresses() local
308 LinkProperties prop = cm.getLinkProperties(ConnectivityManager.TYPE_WIFI); in getWifiIpAddresses()
319 ConnectivityManager cm = (ConnectivityManager) in getDefaultIpAddresses() local
321 LinkProperties prop = cm.getActiveLinkProperties(); in getDefaultIpAddresses()
419 public static int getTetheringLabel(ConnectivityManager cm) { in getTetheringLabel() argument
420 String[] usbRegexs = cm.getTetherableUsbRegexs(); in getTetheringLabel()
421 String[] wifiRegexs = cm.getTetherableWifiRegexs(); in getTetheringLabel()
422 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.java167 ConnectivityManager cm = in onCreate() local
169 if (!cm.isTetheringSupported()) { in onCreate()
173 p.setTitle(Utils.getTetheringLabel(cm)); in onCreate()
DRadioInfo.java867 ConnectivityManager cm =
872 cm.setMobileDataEnabled(false);
875 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.java579 ConnectivityManager cm = (ConnectivityManager) in updateConnectionType() local
584 NetworkInfo ni = cm.getActiveNetworkInfo(); in updateConnectionType()
DBrowserHistoryPage.java108 ClipboardManager cm = (ClipboardManager) getActivity().getSystemService( in copy() local
110 cm.setText(text); in copy()
DBrowserBookmarksPage.java552 ClipboardManager cm = (ClipboardManager) getActivity().getSystemService( in copy() local
554 cm.setPrimaryClip(ClipData.newRawUri(null, Uri.parse(text.toString()))); in copy()
/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/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/Settings/src/com/android/settings/net/
DUidDetailProvider.java97 final ConnectivityManager cm = (ConnectivityManager) mContext.getSystemService( in buildUidDetail() local
99 detail.label = res.getString(Utils.getTetheringLabel(cm)); in buildUidDetail()
/packages/apps/Launcher2/src/com/android/launcher2/
DUtilities.java250 ColorMatrix cm = new ColorMatrix(); in initStatics() local
251 cm.setSaturation(0.2f); in initStatics()
252 sDisabledPaint.setColorFilter(new ColorMatrixColorFilter(cm)); in initStatics()
/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/Settings/src/com/android/settings/deviceinfo/
DStatus.java418 ConnectivityManager cm = (ConnectivityManager) getSystemService(CONNECTIVITY_SERVICE); in setWimaxStatus() local
419 NetworkInfo ni = cm.getNetworkInfo(ConnectivityManager.TYPE_WIMAX); in setWimaxStatus()

12