/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); 172 PhoneUtils.swap(); 181 PhoneUtils.setMute(onOff); 190 PhoneUtils.turnOnSpeaker(mContext, onOff, true) [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 | 712 return PhoneUtils.answerCall(mCM.getFirstActiveRingingCall()); 718 return PhoneUtils.hangupActiveCall(mCM.getActiveFgCall()); 720 return PhoneUtils.hangupRingingCall(mCM.getFirstActiveRingingCall()); 722 return PhoneUtils.hangupHoldingCall(mCM.getFirstActiveBgCall()); 742 return PhoneUtils.hangupRingingCall(ringingCall); 744 return PhoneUtils.hangupHoldingCall(backgroundCall); 751 PhoneUtils.hangupRingingAndActive(phone); 757 PhoneUtils.hangup(PhoneGlobals.getInstance().mCM); 762 return PhoneUtils.answerAndEndActive(PhoneGlobals.getInstance().mCM, ringingCall); 770 // 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...] |
PhoneInterfaceManager.java | 179 hungUp = PhoneUtils.hangupRingingAndActive(mPhone); 182 hungUp = PhoneUtils.hangup(mCM); 381 * from PhoneUtils.answerCall() or PhoneUtils.answerAndEndActive().) 397 PhoneUtils.answerAndEndActive(mCM, mCM.getFirstActiveRingingCall()); 402 PhoneUtils.answerCall(mCM.getFirstActiveRingingCall()); [all...] |
PhoneGlobals.java | 250 * OUTSIDE of user interaction {@link PhoneUtils#startNewCall(Phone)} 301 PhoneUtils.cancelMmiCode(phone); 343 PhoneUtils.turnOnSpeaker(getApplicationContext(), inDockMode, true); 512 // register connection tracking to PhoneUtils 513 PhoneUtils.initializeConnectionHandler(mCM); 559 PhoneUtils.setAudioMode(mCM); [all...] |
Ringer.java | 233 PhoneUtils.setAudioMode(); 329 PhoneUtils.setAudioMode();
|
InCallScreenShowActivation.java | 136 if (callStatus == PhoneUtils.CALL_STATUS_DIALED) {
|
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;
|
PhoneUtils.java | 73 public class PhoneUtils { 74 private static final String LOG_TAG = "PhoneUtils"; 256 private PhoneUtils() { 684 PhoneUtils.isRoutableViaGateway(number)) { // Filter out MMI, OTA and other codes. [all...] |
OutgoingCallBroadcaster.java | 596 PhoneUtils.sendEmptyFlash(PhoneGlobals.getPhone()); [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(
|