/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
ConnectivityManagerMobileTest.java | 58 mCM.setAirplaneMode(false); 77 mCM.setAirplaneMode(false); 83 NetworkInfo extraNetInfo = mCM.getActiveNetworkInfo(); 123 NetworkInfo networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); 126 networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI); 157 networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); 161 networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI); 226 networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); 231 networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI); 275 networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
Blur25G.java | 39 private ScriptIntrinsicColorMatrix mCM; 73 mCM = ScriptIntrinsicColorMatrix.create(mRS); 74 mCM.forEach(mInPixelsAllocation, mScratchPixelsAllocation1); 102 mCM.setColorMatrix(m); 103 mCM.setAdd(0.f, 0.f, 0.f, 1.f); 105 mCM.forEach(mScratchPixelsAllocation2, mOutPixelsAllocation);
|
/packages/services/Telephony/src/com/android/phone/ |
EmergencyCallHelper.java | 68 private CallManager mCM; 79 mCM = mApp.mCM; 266 PhoneConstants.State phoneState = mCM.getState(); 267 int serviceState = mCM.getDefaultPhone().getServiceState().getState(); 344 mCM.getDefaultPhone().setRadioPower(true); 368 mCM.getDefaultPhone(), 477 Phone phone = mCM.getDefaultPhone(); 484 Phone phone = mCM.getDefaultPhone(); 495 mCM.registerForDisconnect(this, DISCONNECT, null) [all...] |
BluetoothPhoneService.java | 64 private CallManager mCM; 104 mCM = CallManager.getInstance(); 129 mCM.registerForPreciseCallStateChanged(mHandler, PRECISE_CALL_STATE_CHANGED, null); 130 mCM.registerForCallWaiting(mHandler, PHONE_CDMA_CALL_WAITING, null); 131 mCM.registerForDisconnect(mHandler, PHONE_ON_DISCONNECT, null); 203 mCM.unregisterForPreciseCallStateChanged(mHandler); 204 mCM.unregisterForCallWaiting(mHandler); 207 mCM.registerForPreciseCallStateChanged(mHandler, 209 mCM.registerForCallWaiting(mHandler, 221 Call foregroundCall = mCM.getActiveFgCall() [all...] |
MMIDialogActivity.java | 45 private CallManager mCM = PhoneGlobals.getInstance().getCallManager(); 65 mCM.registerForMmiComplete(mHandler, PhoneGlobals.MMI_COMPLETE, null); 66 if (mCM.getState() == PhoneConstants.State.OFFHOOK) { 132 mCM.unregisterForMmiComplete(mHandler);
|
CallNotifier.java | 138 private CallManager mCM; 194 mCM = app.mCM; 376 log("onNewRingingConnection(): state = " + mCM.getState() + ", conn = { " + c + " }"); 624 if (mCM.getState() != PhoneConstants.State.RINGING) { 633 final Call ringingCall = mCM.getFirstActiveRingingCall(); 641 PhoneConstants.State state = mCM.getState(); 678 PhoneConstants.State state = mCM.getState(); 687 Phone fgPhone = mCM.getFgPhone(); 724 PhoneUtils.setAudioMode(mCM); [all...] |
CallController.java | 71 final private CallManager mCM; 124 mCM = app.mCM; 230 Phone phone = mApp.mCM.getDefaultPhone(); 302 mCM.getServiceState()); 323 phone = PhoneUtils.pickPhoneBasedOnNumber(mCM, scheme, number, sipPhoneUri);
|
PhoneGlobals.java | 163 CallManager mCM; 337 phoneState = mCM.getState(); 400 mCM = CallManager.getInstance(); 401 mCM.registerPhone(phone); 464 callStateMonitor = new CallStateMonitor(mCM); 467 callModeler = new CallModeler(callStateMonitor, mCM, callGatewayManager); 470 dtmfTonePlayer = new DTMFTonePlayer(mCM, callModeler); 477 bluetoothManager = new BluetoothManager(this, mCM, callModeler); 482 audioRouter = new AudioRouter(this, bluetoothManager, wiredHeadsetManager, mCM); 485 callCommandService = new CallCommandService(this, mCM, callModeler, dtmfTonePlayer [all...] |
PhoneInterfaceManager.java | 84 CallManager mCM; 182 hungUp = PhoneUtils.hangup(mCM); 262 mCM = PhoneGlobals.getInstance().mCM; 294 PhoneConstants.State state = mCM.getState(); 397 PhoneUtils.answerAndEndActive(mCM, mCM.getFirstActiveRingingCall()); 402 PhoneUtils.answerCall(mCM.getFirstActiveRingingCall()); 426 if ((mCM.getState() == PhoneConstants.State.RINGING) 435 return (mCM.getState() == PhoneConstants.State.OFFHOOK) [all...] |
PhoneUtils.java | 326 app.mCM.acceptCall(ringingCall); 522 CallManager cm = PhoneGlobals.getInstance().mCM; 711 final boolean initiallyIdle = app.mCM.getState() == PhoneConstants.State.IDLE; 714 connection = app.mCM.dial(phone, numberToDial); 719 Log.w(LOG_TAG, "Exception from app.mCM.dial()", ex); [all...] |
NotificationMgr.java | 101 private CallManager mCM; 139 mPhone = app.phone; // TODO: better style to use mCM.getDefaultPhone() everywhere instead 140 mCM = app.mCM; 686 if ((mCM.getState() == PhoneConstants.State.OFFHOOK) && PhoneUtils.getMute()) { [all...] |
OtaStartupReceiver.java | 137 if (app.mCM.getServiceState() != ServiceState.STATE_IN_SERVICE) {
|
SipCallOptionHandler.java | 379 CallManager cm = PhoneGlobals.getInstance().mCM;
|
OtaUtils.java | 440 Phone phone = app.mCM.getDefaultPhone(); [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
ConnectivityManagerTestBase.java | 84 public ConnectivityManager mCM; 210 mCM = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE); 239 mWifiRegexs = mCM.getTetherableWifiRegexs(); 362 " is: " + mCM.getNetworkInfo(networkType).getState()); 363 if (mCM.getNetworkInfo(networkType).getState() != expectedState) { 368 mCM.getNetworkInfo(networkType));
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
ConnectionUtil.java | 70 private ConnectivityManager mCM; 113 mCM = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE); 439 " is: " + mCM.getNetworkInfo(networkType).getState()); 440 if (mCM.getNetworkInfo(networkType).getState() != expectedState) { 445 mCM.getNetworkInfo(networkType)); 459 mNetworkInfo = mCM.getActiveNetworkInfo(); 518 NetworkInfo networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); 527 NetworkInfo networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
WifiStressTest.java | 274 mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI).getState()); 278 mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE).getState());
|