Home | History | Annotate | Download | only in phone

Lines Matching defs:mCM

187     private CallManager mCM;
377 Connection cn = mCM.getFirstActiveRingingCall().getLatestConnection();
493 mCM = mApp.mCM;
494 log("- onCreate: phone state = " + mCM.getState());
660 mCM.clearDisconnected();
726 if (mCM.getState() == Phone.State.RINGING) {
827 && mCM.getState() != Phone.State.RINGING) {
880 Phone.State state = mCM.getState();
982 if (DBG) log("endInCallScreenSession()... phone state = " + mCM.getState());
994 log("endInCallScreenSession(" + forceFinish + ")... phone state = " + mCM.getState());
1019 mCM.registerForPreciseCallStateChanged(mHandler, PHONE_STATE_CHANGED, null);
1020 mCM.registerForDisconnect(mHandler, PHONE_DISCONNECT, null);
1021 mCM.registerForMmiInitiate(mHandler, PhoneApp.MMI_INITIATE, null);
1027 mCM.registerForMmiComplete(mHandler, PhoneApp.MMI_COMPLETE, null);
1028 mCM.registerForCallWaiting(mHandler, PHONE_CDMA_CALL_WAITING, null);
1029 mCM.registerForPostDialCharacter(mHandler, POST_ON_DIAL_CHARS, null);
1030 mCM.registerForSuppServiceFailed(mHandler, SUPP_SERVICE_FAILED, null);
1031 mCM.registerForIncomingRing(mHandler, PHONE_INCOMING_RING, null);
1032 mCM.registerForNewRingingConnection(mHandler, PHONE_NEW_RINGING_CONNECTION, null);
1038 mCM.unregisterForPreciseCallStateChanged(mHandler);
1039 mCM.unregisterForDisconnect(mHandler);
1040 mCM.unregisterForMmiInitiate(mHandler);
1041 mCM.unregisterForMmiComplete(mHandler);
1042 mCM.unregisterForCallWaiting(mHandler);
1043 mCM.unregisterForPostDialCharacter(mHandler);
1044 mCM.unregisterForSuppServiceFailed(mHandler);
1045 mCM.unregisterForIncomingRing(mHandler);
1046 mCM.unregisterForNewRingingConnection(mHandler);
1071 log("onNewIntent: intent = " + intent + ", phone state = " + mCM.getState());
1215 mInCallControlState = new InCallControlState(this, mCM);
1218 mManageConferenceUtils = new ManageConferenceUtils(this, mCM);
1242 return mCM.getState() != Phone.State.IDLE;
1275 if (mCM.hasActiveRingingCall()) {
1314 final boolean hasRingingCall = mCM.hasActiveRingingCall();
1315 final boolean hasActiveCall = mCM.hasActiveFgCall();
1316 final boolean hasHoldingCall = mCM.hasActiveBgCall();
1335 PhoneUtils.mergeCalls(mCM);
1371 mCM.getFirstActiveBgCall()); // Really means "unhold" in this state
1457 if (mCM.getState() == Phone.State.RINGING) {
1597 Phone.State state = mCM.getState();
1758 mCM.clearDisconnected(); // This happens synchronously.
1820 && (mCM.hasDisconnectedFgCall() || mCM.hasDisconnectedBgCall())) {
1832 final boolean hasActiveCall = mCM.hasActiveFgCall();
1870 mCM.clearDisconnected();
2179 Phone.State state = mCM.getState();
2237 mCallCard.updateState(mCM);
2243 if (mCM.hasActiveRingingCall()) {
2250 List<Connection> fgConnections = mCM.getFgCallConnections();
2251 int phoneType = mCM.getFgPhone().getPhoneType();
2253 Connection fgLatestConnection = mCM.getFgCallLatestConnection();
2306 if (TelephonyCapabilities.supportsOtasp(mCM.getFgPhone())
2329 if (mCM.hasActiveFgCall() || mCM.hasActiveBgCall() || mCM.hasActiveRingingCall()
2424 log("delayedCleanupAfterDisconnect()... Phone state = " + mCM.getState());
2436 mCM.clearDisconnected();
2576 final boolean hasActiveCall = mCM.hasActiveFgCall();
2577 final boolean hasHoldingCall = mCM.hasActiveBgCall();
2585 mCM.getFirstActiveBgCall()); // Really means "hold" in this state
2591 mCM.getFirstActiveBgCall()); // Really means "unhold" in this state
2809 PhoneUtils.startNewCall(mCM); // Fires off an ACTION_DIAL intent
2813 PhoneUtils.mergeCalls(mCM);
2943 if (mCM.getState() == Phone.State.OFFHOOK) {
3248 if (mCM.hasActiveRingingCall()) {
3326 final boolean hasRingingCall = mCM.hasActiveRingingCall();
3329 Phone phone = mCM.getRingingPhone();
3330 Call ringing = mCM.getFirstActiveRingingCall();
3334 if (mCM.hasActiveFgCall()
3335 && mCM.getFgPhone().getPhoneType() == Phone.PHONE_TYPE_SIP) {
3345 PhoneUtils.answerAndEndActive(mCM, ringing);
3351 if (mCM.hasActiveFgCall()
3352 && mCM.getFgPhone().getPhoneType() == Phone.PHONE_TYPE_CDMA) {
3363 PhoneUtils.answerAndEndActive(mCM, ringing);
3372 final boolean hasActiveCall = mCM.hasActiveFgCall();
3373 final boolean hasHoldingCall = mCM.hasActiveBgCall();
3380 PhoneUtils.answerAndEndActive(mCM, ringing);
3407 PhoneUtils.answerAndEndActive(mCM, mCM.getFirstActiveRingingCall());
3418 PhoneUtils.hangupRingingCall(mCM.getFirstActiveRingingCall());
3448 Call ringingCall = mCM.getFirstActiveRingingCall();
3462 Phone.State state = mCM.getState();
3468 PhoneUtils.hangup(mCM);
3531 PhoneUtils.switchHoldingAndActive(mCM.getFirstActiveBgCall());
3536 if (mCM.getBgPhone().getPhoneType() == Phone.PHONE_TYPE_CDMA) {
3562 if (!PhoneUtils.isConferenceCall(mCM.getActiveFgCall())) {
3568 List<Connection> connections = mCM.getFgCallConnections();
3601 mCM.getActiveFgCall().getEarliestConnection().getDurationMillis();
3671 if (mCM.getState() != Phone.State.OFFHOOK) {
3700 if (VDBG) log("updateManageConferencePanelIfNecessary: " + mCM.getActiveFgCall() + "...");
3702 List<Connection> connections = mCM.getFgCallConnections();
3757 if (mCM.getState() == Phone.State.RINGING) {
3858 final boolean hasRingingCall = mCM.hasActiveRingingCall();
3859 final Call.State fgCallState = mCM.getActiveFgCallState();
3918 mInCallTouchUi.updateState(mCM);
3980 int serviceState = mCM.getServiceState();
4317 // boolean isRingingCall = mCM.hasActiveRingingCall();
4378 mCallCard.updateState(mCM);