HomeSort by relevance Sort by last modified time
    Searched refs:PhoneUtils (Results 1 - 21 of 21) sorted by null

  /packages/services/Telephony/src/com/android/phone/
CallCommandService.java 64 PhoneUtils.answerCall(result.getConnection().getCall());
89 PhoneUtils.hangupRingingCall(result.getConnection().getCall());
145 PhoneUtils.switchHoldingAndActive(mCallManager.getFirstActiveBgCall());
147 PhoneUtils.switchHoldingAndActive(result.getConnection().getCall());
157 if (PhoneUtils.okToMergeCalls(mCallManager)) {
158 PhoneUtils.mergeCalls(mCallManager);
165 PhoneUtils.startNewCall(mCallManager);
171 if (!PhoneUtils.okToSwapCalls(mCallManager)) {
179 PhoneUtils.switchHoldingAndActive(mCallManager.getFirstActiveBgCall());
201 PhoneUtils.setMute(onOff)
    [all...]
AudioRouter.java 84 return PhoneUtils.getMute();
134 // PhoneUtils.turnOnSpeaker() method.
219 PhoneUtils.restoreSpeakerMode(mContext);
221 if (PhoneUtils.isSpeakerOn(mContext)) {
229 PhoneUtils.turnOnSpeaker(mContext, false, false);
290 if (PhoneUtils.isSpeakerOn(mContext) != onOff) {
291 PhoneUtils.turnOnSpeaker(mContext, onOff, true /* storeState */);
310 } else if (PhoneUtils.isSpeakerOn(mContext)) {
CallController.java 242 // by the PhoneUtils phone state change handler.)
312 number = PhoneUtils.getInitialNumber(intent);
323 phone = PhoneUtils.pickPhoneBasedOnNumber(mCM, scheme, number, sipPhoneUri);
330 } catch (PhoneUtils.VoiceMailNumberMissingException ex) {
439 // Watch out: PhoneUtils.placeCall() returns one of the
441 int callStatus = PhoneUtils.placeCall(mApp,
450 case PhoneUtils.CALL_STATUS_DIALED:
451 if (VDBG) log("placeCall: PhoneUtils.placeCall() succeeded for regular call '"
470 if (PhoneUtils.isPhoneInEcm(phone) && !isEmergencyNumber) {
480 PhoneUtils.setMute(false)
    [all...]
MMIDialogActivity.java 77 mMMIDialog = PhoneUtils.displayMMIInitiate(this, mmiCode, message, mMMIDialog);
94 PhoneUtils.displayMMIComplete(mPhone, this, mmiCode, null, null);
106 * @see PhoneUtils#cancelMmiCode(Phone)
112 PhoneUtils.cancelMmiCode(mPhone);
117 // PhoneUtils.displayMMIComplete().)
CallLogger.java 66 log("- onDisconnect(): logNumber set to:" + PhoneUtils.toLogSafePhoneNumber(logNumber) +
67 ", number set to: " + PhoneUtils.toLogSafePhoneNumber(number));
127 log("sending Calllog entry: " + ci + ", " + PhoneUtils.toLogSafePhoneNumber(number)
152 ci = ((PhoneUtils.CallerInfoToken) o).currentInfo;
201 String newNumber = PhoneUtils.modifyForSpecialCnapCases(mApplication, callerInfo,
CallNotifier.java 105 // PhoneUtils.hangupRingingCall() that means the user deliberately rejected
386 PhoneUtils.hangupRingingCall(ringing);
406 // if (DBG) PhoneUtils.dumpCallState(mPhone);
485 if (PhoneUtils.isPhoneInEcm(phone)) {
551 PhoneUtils.CallerInfoToken cit = PhoneUtils.startGetCallerInfo(
657 if (PhoneUtils.isRealIncomingCall(c.getState())) {
724 PhoneUtils.setAudioMode(mCM);
729 // PhoneUtils.answerCall(), before the call to phone.acceptCall().)
    [all...]
EmergencyCallHelper.java 359 // Note we call PhoneUtils.placeCall() directly; we don't want any
367 int callStatus = PhoneUtils.placeCall(mApp,
372 if (DBG) log("- PhoneUtils.placeCall() returned status = " + callStatus);
375 // Note PhoneUtils.placeCall() returns one of the CALL_STATUS_*
378 case PhoneUtils.CALL_STATUS_DIALED:
382 case PhoneUtils.CALL_STATUS_DIALED_MMI:
383 case PhoneUtils.CALL_STATUS_FAILED:
392 if (DBG) log("==> Success from PhoneUtils.placeCall()!");
BluetoothPhoneService.java 684 return PhoneUtils.answerCall(mCM.getFirstActiveRingingCall());
690 return PhoneUtils.hangupActiveCall(mCM.getActiveFgCall());
692 return PhoneUtils.hangupRingingCall(mCM.getFirstActiveRingingCall());
694 return PhoneUtils.hangupHoldingCall(mCM.getFirstActiveBgCall());
714 return PhoneUtils.hangupRingingCall(ringingCall);
716 return PhoneUtils.hangupHoldingCall(backgroundCall);
723 PhoneUtils.hangupRingingAndActive(phone);
729 PhoneUtils.hangup(PhoneGlobals.getInstance().mCM);
734 return PhoneUtils.answerAndEndActive(PhoneGlobals.getInstance().mCM, ringingCall);
742 // calling PhoneUtils.answerCall(). switchAndHoldActive() won'
    [all...]
OtaUtils.java 374 * @return PhoneUtils.CALL_STATUS_DIALED if we successfully
396 // PhoneUtils.placeCall().
400 int callStatus = PhoneUtils.placeCall(context,
406 if (callStatus == PhoneUtils.CALL_STATUS_DIALED) {
470 number = PhoneUtils.getInitialNumber(intent);
471 } catch (PhoneUtils.VoiceMailNumberMissingException ex) {
559 if (state == PhoneUtils.isSpeakerOn(mContext)) {
568 PhoneUtils.turnOnSpeaker(mContext, state, true);
    [all...]
PhoneGlobals.java 250 * OUTSIDE of user interaction {@link PhoneUtils#startNewCall(Phone)}
301 PhoneUtils.cancelMmiCode(phone);
343 PhoneUtils.turnOnSpeaker(getApplicationContext(), inDockMode, true);
511 // register connection tracking to PhoneUtils
512 PhoneUtils.initializeConnectionHandler(mCM);
558 PhoneUtils.setAudioMode(mCM);
    [all...]
Ringer.java 233 PhoneUtils.setAudioMode();
329 PhoneUtils.setAudioMode();
InCallScreenShowActivation.java 136 if (callStatus == PhoneUtils.CALL_STATUS_DIALED) {
PhoneInterfaceManager.java 160 hungUp = PhoneUtils.hangupRingingAndActive(mPhone);
163 hungUp = PhoneUtils.hangup(mCM);
356 * from PhoneUtils.answerCall() or PhoneUtils.answerAndEndActive().)
372 PhoneUtils.answerAndEndActive(mCM, mCM.getFirstActiveRingingCall());
377 PhoneUtils.answerCall(mCM.getFirstActiveRingingCall());
SipBroadcastReceiver.java 49 if (!PhoneUtils.isVoipSupported()) {
CallModeler.java 650 final boolean supportHold = PhoneUtils.okToSupportHold(mCallManager);
651 final boolean canHold = (supportHold ? PhoneUtils.okToHoldCall(mCallManager) : false);
657 canMergeCall = PhoneUtils.okToMergeCalls(mCallManager);
658 canSwapCall = PhoneUtils.okToSwapCalls(mCallManager);
661 canAddCall = PhoneUtils.okToAddCall(mCallManager);
672 boolean isECM = PhoneUtils.isPhoneInEcm(phone);
    [all...]
SipCallOptionHandler.java 158 boolean voipSupported = PhoneUtils.isVoipSupported();
380 if (PhoneUtils.getSipPhoneFromUri(cm, p.getUriString()) != null) return;
OutgoingCallBroadcaster.java 591 PhoneUtils.sendEmptyFlash(PhoneGlobals.getPhone());
    [all...]
PhoneUtils.java 73 public class PhoneUtils {
74 private static final String LOG_TAG = "PhoneUtils";
252 private PhoneUtils() {
680 PhoneUtils.isRoutableViaGateway(number)) { // Filter out MMI, OTA and other codes.
    [all...]
NotificationMgr.java 462 * {@link PhoneUtils#modifyForSpecialCnapCases(Context, CallerInfo, String, int)}.
542 // PhoneUtils#modifyForSpecialCnapCases()).
686 if ((mCM.getState() == PhoneConstants.State.OFFHOOK) && PhoneUtils.getMute()) {
    [all...]
CallFeaturesSetting.java     [all...]
  /packages/services/Telephony/tests/src/com/android/phone/unit/
CnapTest.java 24 import com.android.phone.PhoneUtils;
70 * Shorthand for PhoneUtils.modifyForSpecialCnapCases(mContext, mCallerInfo, ...)
73 return PhoneUtils.modifyForSpecialCnapCases(

Completed in 1303 milliseconds