Home | History | Annotate | Download | only in phone

Lines Matching defs:mCM

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();
225 " background: " + mCM.getFirstActiveBgCall() + " ringing: " +
226 mCM.getFirstActiveRingingCall());
238 Call ringingCall = mCM.getFirstActiveRingingCall();
242 if (mCM.getDefaultPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
300 if (mCM.getDefaultPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA &&
304 Call backgroundCall = mCM.getFirstActiveBgCall();
325 Phone phone = mCM.getDefaultPhone();
354 List<Call> heldCalls = mCM.getBackgroundCalls();
452 Call foregroundCall = mCM.getActiveFgCall();
453 Call backgroundCall = mCM.getFirstActiveBgCall();
454 Call ringingCall = mCM.getFirstActiveRingingCall();
557 Call foregroundCall = mCM.getActiveFgCall();
558 Call ringingCall = mCM.getFirstActiveRingingCall();
712 return PhoneUtils.answerCall(mCM.getFirstActiveRingingCall());
717 if (mCM.hasActiveFgCall()) {
718 return PhoneUtils.hangupActiveCall(mCM.getActiveFgCall());
719 } else if (mCM.hasActiveRingingCall()) {
720 return PhoneUtils.hangupRingingCall(mCM.getFirstActiveRingingCall());
721 } else if (mCM.hasActiveBgCall()) {
722 return PhoneUtils.hangupHoldingCall(mCM.getFirstActiveBgCall());
730 return mCM.sendDtmf((char) dtmf);
735 Phone phone = mCM.getDefaultPhone();
737 Call ringingCall = mCM.getFirstActiveRingingCall();
738 Call backgroundCall = mCM.getFirstActiveBgCall();
757 PhoneUtils.hangup(PhoneGlobals.getInstance().mCM);
762 return PhoneUtils.answerAndEndActive(PhoneGlobals.getInstance().mCM, ringingCall);
817 if (mCM.hasActiveFgCall() && mCM.hasActiveBgCall()) {
836 return mCM.getDefaultPhone().getServiceState().getOperatorAlphaLong();
841 return mCM.getDefaultPhone().getLine1Number();