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

  /packages/apps/Phone/src/com/android/phone/
InCallControlState.java 111 manageConferenceVisible = PhoneUtils.isConferenceCall(fgCall);
121 canAddCall = PhoneUtils.okToAddCall(mCM);
132 canSwap = PhoneUtils.okToSwapCalls(mCM);
133 canMerge = PhoneUtils.okToMergeCalls(mCM);
147 speakerOn = PhoneUtils.isSpeakerOn(mInCallScreen);
158 boolean isECM = PhoneUtils.isPhoneInEcm(fgCall.getPhone());
164 muteIndicatorOn = PhoneUtils.getMute();
InCallUiState.java 364 providerLabel = PhoneUtils.getProviderLabel(mContext, intent);
365 providerIcon = PhoneUtils.getProviderIcon(mContext, intent);
366 providerGatewayUri = PhoneUtils.getProviderGatewayUri(intent);
367 providerAddress = PhoneUtils.formatProviderUri(providerGatewayUri);
CallCard.java 261 if (!PhoneUtils.isLandscape(this.getContext())) {
345 // if (DBG) PhoneUtils.dumpCallManager();
523 if (PhoneUtils.isConferenceCall(call)) {
546 CallerInfo info = PhoneUtils.getCallerInfo(getContext(), null /* conn */);
557 if (o instanceof PhoneUtils.CallerInfoToken) {
559 ((PhoneUtils.CallerInfoToken) o).currentInfo);
571 if (obj instanceof PhoneUtils.CallerInfoToken) {
572 info = ((PhoneUtils.CallerInfoToken) o).currentInfo;
593 PhoneUtils.CallerInfoToken info =
594 PhoneUtils.startGetCallerInfo(getContext(), conn, this, call)
    [all...]
CallController.java 243 // by the PhoneUtils phone state change handler.)
249 if (PhoneUtils.hasPhoneProviderExtras(intent)) {
352 number = PhoneUtils.getInitialNumber(intent);
363 phone = PhoneUtils.pickPhoneBasedOnNumber(mCM, scheme, number, sipPhoneUri);
370 } catch (PhoneUtils.VoiceMailNumberMissingException ex) {
483 // Watch out: PhoneUtils.placeCall() returns one of the
485 int callStatus = PhoneUtils.placeCall(mApp,
493 case PhoneUtils.CALL_STATUS_DIALED:
494 if (VDBG) log("placeCall: PhoneUtils.placeCall() succeeded for regular call '"
546 if (PhoneUtils.isPhoneInEcm(phone) && !isEmergencyNumber)
    [all...]
CallLogger.java 65 log("- onDisconnect(): logNumber set to:" + PhoneUtils.toLogSafePhoneNumber(logNumber) +
66 ", number set to: " + PhoneUtils.toLogSafePhoneNumber(number));
126 log("sending Calllog entry: " + ci + ", " + PhoneUtils.toLogSafePhoneNumber(number)
149 ci = ((PhoneUtils.CallerInfoToken) o).currentInfo;
198 String newNumber = PhoneUtils.modifyForSpecialCnapCases(mApplication, callerInfo,
EmergencyCallHelper.java 383 // Note we call PhoneUtils.placeCall() directly; we don't want any
391 int callStatus = PhoneUtils.placeCall(mApp,
397 if (DBG) log("- PhoneUtils.placeCall() returned status = " + callStatus);
400 // Note PhoneUtils.placeCall() returns one of the CALL_STATUS_*
403 case PhoneUtils.CALL_STATUS_DIALED:
407 case PhoneUtils.CALL_STATUS_DIALED_MMI:
408 case PhoneUtils.CALL_STATUS_FAILED:
417 if (DBG) log("==> Success from PhoneUtils.placeCall()!");
CallNotifier.java 107 // PhoneUtils.hangupRingingCall() that means the user deliberately rejected
405 PhoneUtils.hangupRingingCall(ringing);
425 // if (DBG) PhoneUtils.dumpCallState(mPhone);
458 if (PhoneUtils.isRealIncomingCall(state)) {
514 if (PhoneUtils.isPhoneInEcm(phone)) {
581 PhoneUtils.CallerInfoToken cit = PhoneUtils.startGetCallerInfo(
    [all...]
ManageConferenceUtils.java 256 PhoneUtils.CallerInfoToken info =
257 PhoneUtils.startGetCallerInfo(mInCallScreen,
288 callerName = PhoneUtils.getPresentationString(mInCallScreen, presentation);
326 PhoneUtils.hangup(connection);
342 PhoneUtils.separateCall(connection);
InCallScreen.java 325 // a system dialog in PhoneUtils.displayMMIComplete(), we
718 PhoneUtils.restoreMuteState();
745 mMmiStartedDialog = PhoneUtils.displayMMIInitiate(this, mmiCode,
    [all...]
BluetoothPhoneService.java 711 return PhoneUtils.answerCall(mCM.getFirstActiveRingingCall());
717 return PhoneUtils.hangupActiveCall(mCM.getActiveFgCall());
719 return PhoneUtils.hangupRingingCall(mCM.getFirstActiveRingingCall());
721 return PhoneUtils.hangupHoldingCall(mCM.getFirstActiveBgCall());
741 return PhoneUtils.hangupRingingCall(ringingCall);
743 return PhoneUtils.hangupHoldingCall(backgroundCall);
750 PhoneUtils.hangupRingingAndActive(phone);
756 PhoneUtils.hangup(PhoneGlobals.getInstance().mCM);
761 return PhoneUtils.answerAndEndActive(PhoneGlobals.getInstance().mCM, ringingCall);
    [all...]
InCallScreenShowActivation.java 122 if (callStatus == PhoneUtils.CALL_STATUS_DIALED) {
PhoneGlobals.java 261 * OUTSIDE of user interaction {@link PhoneUtils#startNewCall(Phone)}
331 PhoneUtils.cancelMmiCode(phone);
345 PhoneUtils.restoreSpeakerMode(getApplicationContext());
349 PhoneUtils.turnOnSpeaker(getApplicationContext(), false, false);
397 PhoneUtils.turnOnSpeaker(getApplicationContext(), inDockMode, true);
551 // register connection tracking to PhoneUtils
552 PhoneUtils.initializeConnectionHandler(mCM);
601 PhoneUtils.setAudioMode(mCM);
    [all...]
NotificationMgr.java 469 * {@link PhoneUtils#modifyForSpecialCnapCases(Context, CallerInfo, String, int)}.
545 // PhoneUtils#modifyForSpecialCnapCases()).
697 if ((mCM.getState() == PhoneConstants.State.OFFHOOK) && PhoneUtils.getMute()) {
    [all...]
Ringer.java 230 PhoneUtils.setAudioMode();
326 PhoneUtils.setAudioMode();
OtaUtils.java 430 * @return PhoneUtils.CALL_STATUS_DIALED if we successfully
451 // PhoneUtils.placeCall().
455 int callStatus = PhoneUtils.placeCall(context,
462 if (callStatus == PhoneUtils.CALL_STATUS_DIALED) {
526 number = PhoneUtils.getInitialNumber(intent);
527 } catch (PhoneUtils.VoiceMailNumberMissingException ex) {
614 if (state == PhoneUtils.isSpeakerOn(mContext)) {
623 PhoneUtils.turnOnSpeaker(mContext, state, true);
    [all...]
OutgoingCallBroadcaster.java 285 PhoneUtils.checkAndCopyPhoneProviderExtras(intent, newIntent);
557 PhoneUtils.sendEmptyFlash(PhoneGlobals.getPhone());
623 PhoneUtils.checkAndCopyPhoneProviderExtras(intent, broadcastIntent);
    [all...]
SipCallOptionHandler.java 141 boolean voipSupported = PhoneUtils.isVoipSupported();
179 if (!PhoneUtils.hasPhoneProviderExtras(mIntent)) {
355 if (PhoneUtils.getSipPhoneFromUri(cm, p.getUriString()) != null) return;
PhoneInterfaceManager.java 158 hungUp = PhoneUtils.hangupRingingAndActive(mPhone);
161 hungUp = PhoneUtils.hangup(mCM);
367 * from PhoneUtils.answerCall() or PhoneUtils.answerAndEndActive().)
383 PhoneUtils.answerAndEndActive(mCM, mCM.getFirstActiveRingingCall());
388 PhoneUtils.answerCall(mCM.getFirstActiveRingingCall());
SipBroadcastReceiver.java 49 if (!PhoneUtils.isVoipSupported()) {
InCallTouchUi.java 212 if (!PhoneUtils.isLandscape(this.getContext())) {
    [all...]
PhoneUtils.java 73 public class PhoneUtils {
74 private static final String LOG_TAG = "PhoneUtils";
207 private PhoneUtils() {
597 PhoneUtils.isRoutableViaGateway(number)) { // Filter out MMI, OTA and other codes.
716 PhoneUtils.turnOnSpeaker(app, false, true);
    [all...]
CallFeaturesSetting.java     [all...]
  /packages/apps/Phone/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 220 milliseconds