Lines Matching refs:app
19 import android.app.AlertDialog;
20 import android.app.Dialog;
21 import android.app.ProgressDialog;
216 final PhoneGlobals app = PhoneGlobals.getInstance(); in answerCall() local
217 final CallNotifier notifier = app.notifier; in answerCall()
235 if (app.cdmaPhoneCallState.getCurrentCallState() in answerCall()
239 app.cdmaPhoneCallState.setCurrentCallState( in answerCall()
244 app.cdmaPhoneCallState.setCurrentCallState( in answerCall()
249 app.cdmaPhoneCallState.setAddCallMenuStateAfterCallWaiting(true); in answerCall()
256 app.mCM.acceptCall(ringingCall); in answerCall()
265 app.cdmaPhoneCallState.setCurrentCallState( in answerCall()
266 app.cdmaPhoneCallState.getPreviousCallState()); in answerCall()
504 private static void updateCdmaCallStateOnNewOutgoingCall(PhoneGlobals app, in updateCdmaCallStateOnNewOutgoingCall() argument
506 if (app.cdmaPhoneCallState.getCurrentCallState() == in updateCdmaCallStateOnNewOutgoingCall()
509 app.cdmaPhoneCallState.setCurrentCallState( in updateCdmaCallStateOnNewOutgoingCall()
513 app.cdmaPhoneCallState.setCurrentCallState( in updateCdmaCallStateOnNewOutgoingCall()
566 final PhoneGlobals app = PhoneGlobals.getInstance(); in placeCall() local
598 final boolean initiallyIdle = app.mCM.getState() == PhoneConstants.State.IDLE; in placeCall()
601 connection = app.mCM.dial(phone, numberToDial, VideoProfile.STATE_AUDIO_ONLY); in placeCall()
626 updateCdmaCallStateOnNewOutgoingCall(app, connection); in placeCall()
744 PhoneGlobals app = PhoneGlobals.getInstance(); in mergeCalls() local
745 if (app.cdmaPhoneCallState.getCurrentCallState() in mergeCalls()
748 app.cdmaPhoneCallState.setCurrentCallState( in mergeCalls()
861 final PhoneGlobals app = PhoneGlobals.getInstance(); in displayMMIComplete() local
878 if (app.getPUKEntryActivity() != null) { in displayMMIComplete()
903 if ((app.getPUKEntryActivity() != null) && (state == MmiCode.State.COMPLETE)) { in displayMMIComplete()
908 ProgressDialog pd = new ProgressDialog(app, THEME); in displayMMIComplete()
921 app.setPukEntryProgressDialog(pd); in displayMMIComplete()
926 if (app.getPUKEntryActivity() != null) { in displayMMIComplete()
927 app.setPukEntryActivity(null); in displayMMIComplete()
963 .insert(0, app.getResources().getString(R.string.ussd_dialog_sep)) in displayMMIComplete()
1015 Toast.makeText(app, in displayMMIComplete()
1016 app.getResources().getString(R.string.enter_input, in displayMMIComplete()
1682 final PhoneGlobals app = PhoneGlobals.getInstance(); in isConferenceCall() local
1685 CdmaPhoneCallState.PhoneCallState state = app.cdmaPhoneCallState.getCurrentCallState(); in isConferenceCall()
1688 && !app.cdmaPhoneCallState.IsThreeWayCallOrigStateDialing())) { in isConferenceCall()
1724 final PhoneGlobals app = PhoneGlobals.getInstance(); in startNewCall() local
1741 app.startActivity(intent); in startNewCall()
1762 final PhoneGlobals app = PhoneGlobals.getInstance(); in turnOnSpeaker() local
1776 app.updateWakeState(); in turnOnSpeaker()
1778 app.mCM.setEchoSuppressionEnabled(); in turnOnSpeaker()
1974 PhoneGlobals app = PhoneGlobals.getInstance(); in okToSwapCalls() local
1975 return (app.cdmaPhoneCallState.getCurrentCallState() in okToSwapCalls()
2002 PhoneGlobals app = PhoneGlobals.getInstance(); in okToMergeCalls() local
2003 return ((app.cdmaPhoneCallState.getCurrentCallState() in okToMergeCalls()
2005 && !app.cdmaPhoneCallState.IsThreeWayCallOrigStateDialing()); in okToMergeCalls()
2035 PhoneGlobals app = PhoneGlobals.getInstance(); in okToAddCall() local
2037 && (app.cdmaPhoneCallState.getAddCallMenuStateAfterCallWaiting())); in okToAddCall()
2265 PhoneGlobals app = PhoneGlobals.getInstance(); in dumpCallState() local
2316 if (app.cdmaPhoneCallState != null) { in dumpCallState()
2318 + app.cdmaPhoneCallState.getCurrentCallState()); in dumpCallState()