Home
last modified time | relevance | path

Searched refs:getPhone (Results 1 – 25 of 46) sorted by relevance

12

/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java241 if (getPhone() != null) { in onAudioStateChanged()
242 getPhone().setEchoSuppressionEnabled(); in onAudioStateChanged()
305 if (isValidRingingCall() && getPhone() != null) { in onAnswer()
307 getPhone().acceptCall(videoState); in onAnswer()
342 Phone phone = mOriginalConnection.getCall().getPhone(); in performHold()
388 mOriginalConnection.getCall().getPhone().switchHoldingAndActive(); in performUnhold()
402 if (getPhone() != null) { in performConference()
409 getPhone().conference(); in performConference()
472 getPhone().registerForPreciseCallStateChanged( in setOriginalConnection()
474 getPhone().registerForHandoverStateChanged( in setOriginalConnection()
[all …]
DCdmaConnection.java99 getPhone().startDtmf(digit); in onPlayDtmfTone()
107 getPhone().stopDtmf(); in onStopDtmfTone()
235 getPhone().getContext().getContentResolver(), in useBurstDtmf()
252 getPhone().sendBurstDtmf( in sendBurstDtmfStringLocked()
280 Phone phone = getPhone(); in isEmergency()
DGsmConnection.java45 if (getPhone() != null) { in onPlayDtmfTone()
46 getPhone().startDtmf(digit); in onPlayDtmfTone()
53 if (getPhone() != null) { in onStopDtmfTone()
54 getPhone().stopDtmf(); in onStopDtmfTone()
DImsConference.java188 && conferenceHost.getCall().getPhone() != null) { in ImsConference()
190 conferenceHost.getCall().getPhone()); in ImsConference()
258 Phone phone = ((TelephonyConnection) connection).getPhone(); in onMerge()
448 PhoneUtils.makePstnPhoneAccountHandle(parent.getPhone()); in createConferenceParticipantConnection()
512 PhoneUtils.makePstnPhoneAccountHandle(mConferenceHost.getPhone()); in handleOriginalConnectionChange()
DTelephonyConnectionService.java401 return PhoneFactory.getPhone(phoneId); in getPhoneForAccount()
425 Phone phone = PhoneFactory.getPhone(phoneId); in getFirstPhoneForEmergencyCall()
500 int phoneType = connection.getCall().getPhone().getPhoneType(); in addConnectionToConferenceController()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipConnection.java62 if (getPhone() != null) { in initialize()
63 getPhone().registerForPreciseCallStateChanged(mHandler, MSG_PRECISE_CALL_STATE_CHANGED, in initialize()
73 if (getPhone() != null) { in onAudioStateChanged()
74 getPhone().setEchoSuppressionEnabled(); in onAudioStateChanged()
86 if (getPhone() != null) { in onPlayDtmfTone()
87 getPhone().startDtmf(c); in onPlayDtmfTone()
94 if (getPhone() != null) { in onStopDtmfTone()
95 getPhone().stopDtmf(); in onStopDtmfTone()
135 if (getPhone() != null && getState() == STATE_ACTIVE) { in onHold()
136 getPhone().switchHoldingAndActive(); in onHold()
[all …]
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java258 int phoneType = getPhone(end_subId).getPhoneType(); in handleMessage()
262 hungUp = PhoneUtils.hangupRingingAndActive(getPhone(end_subId)); in handleMessage()
735 return (request.subId == null) ? mPhone : getPhone(request.subId); in getPhoneFromRequest()
739 private Phone getPhone(int subId) { in getPhone() method in PhoneInterfaceManager
740 return PhoneFactory.getPhone(mSubscriptionController.getPhoneId(subId)); in getPhone()
856 final boolean hasRingingCall = !getPhone(subId).getRingingCall().isIdle(); in answerRingingCallInternal()
858 final boolean hasActiveCall = !getPhone(subId).getForegroundCall().isIdle(); in answerRingingCallInternal()
859 final boolean hasHoldingCall = !getPhone(subId).getBackgroundCall().isIdle(); in answerRingingCallInternal()
892 return (getPhone(subId).getState() == PhoneConstants.State.OFFHOOK); in isOffhookForSubscriber()
900 return (getPhone(subId).getState() == PhoneConstants.State.RINGING); in isRingingForSubscriber()
[all …]
DPhoneGlobals.java488 public static Phone getPhone() { in getPhone() method in PhoneGlobals
492 public static Phone getPhone(int subId) { in getPhone() method in PhoneGlobals
493 return PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getPhone()
757 PhoneUtils.displayMMIComplete(mmiCode.getPhone(), getInstance(), mmiCode, null, null); in onMMIComplete()
763 final Phone phone = PhoneFactory.getPhone(phoneId); in initForNewRadioTechnology()
813 PhoneFactory.getPhone(phoneId) : PhoneFactory.getDefaultPhone(); in onReceive()
DCallNotifier.java276 Phone phone = ringing.getPhone(); in onNewRingingConnection()
499 (c.getCall().getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA)) { in onDisconnect()
508 (c.getCall().getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA)) { in onDisconnect()
514 if (c != null && TelephonyCapabilities.supportsOtasp(c.getCall().getPhone())) { in onDisconnect()
516 if (c.getCall().getPhone().isOtaSpNumber(number)) { in onDisconnect()
558 final Phone phone = c.getCall().getPhone(); in onDisconnect()
DPhoneUtils.java211 final Phone phone = ringingCall.getPhone(); in answerCall()
356 int phoneType = ringing.getPhone().getPhoneType(); in hangupRingingCall()
1316 int phoneType = call.getPhone().getPhoneType(); in startGetCallerInfo()
1418 log("- phone: " + c.getCall().getPhone()); in startGetCallerInfo()
1419 int phoneType = c.getCall().getPhone().getPhoneType(); in startGetCallerInfo()
1709 int phoneType = call.getPhone().getPhoneType(); in isConferenceCall()
1969 if (TelephonyCapabilities.supportsHoldAndUnhold(fgCall.getPhone())) { in okToSupportHold()
1977 TelephonyCapabilities.supportsHoldAndUnhold(bgCall.getPhone())) { in okToSupportHold()
2041 Phone phone = cm.getActiveFgCall().getPhone(); in okToAddCall()
DSubscriptionInfoHelper.java94 public Phone getPhone() { in getPhone() method in SubscriptionInfoHelper
96 ? PhoneFactory.getPhone(SubscriptionManager.getPhoneId(mSubId)) in getPhone()
97 : PhoneGlobals.getPhone(); in getPhone()
DOtaStartupReceiver.java95 Phone phone = PhoneGlobals.getPhone();
130 if (!TelephonyCapabilities.supportsOtasp(PhoneGlobals.getPhone())) { in onReceive()
142 Phone phone = PhoneGlobals.getPhone(); in onReceive()
DNetworkSetting.java111 mPhone = PhoneGlobals.getPhone();
139 mPhone = PhoneGlobals.getPhone();
249 mPhone = PhoneGlobals.getPhone(); in onCreate()
DFakePhoneActivity.java57 mRadioControl = PhoneGlobals.getPhone().getSimulatedRadioControl(); in onCreate()
60 Log.i(TAG, "- PhoneApp.getPhone(): " + PhoneGlobals.getPhone()); in onCreate()
DCallLogger.java61 final Phone phone = c.getCall().getPhone(); in logCall()
162 if (conn.getCall().getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in getLogNumber()
DSpecialCharSequenceMgr.java204 Phone phone = PhoneGlobals.getPhone(); in handlePinEntry()
233 Phone phone = PhoneGlobals.getPhone(); in showDeviceIdPanel()
DHfaLogic.java136 final Phone phone = PhoneGlobals.getInstance().getPhone(); in bounceRadio()
146 final Phone phone = PhoneGlobals.getInstance().getPhone(); in onServiceStateChange()
DOutgoingCallBroadcaster.java193 final Phone phone = PhoneGlobals.getPhone(); in doReceive()
571 PhoneUtils.sendEmptyFlash(PhoneGlobals.getPhone()); in processIntent()
DOtaUtils.java231 Phone phone = PhoneGlobals.getPhone(); in maybeDoOtaCall()
396 Phone phone = PhoneGlobals.getPhone(); in startNonInteractiveOtasp()
DGsmUmtsCallOptions.java38 if (PhoneGlobals.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_GSM) { in onCreate()
DCdmaCallOptions.java47 if (PhoneGlobals.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_CDMA in onCreate()
DCdmaVoicePrivacyCheckBoxPreference.java39 phone = PhoneGlobals.getPhone(); in CdmaVoicePrivacyCheckBoxPreference()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactDeltaListTests.java173 static ValuesDelta getPhone(RawContactDeltaList set, long rawContactId, long dataId) { in getPhone() method in RawContactDeltaListTests
378 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalUpdateRemoteInsert()
403 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalUpdateRemoteDelete()
429 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalDeleteRemoteUpdate()
529 final ValuesDelta phone = getPhone(first, CONTACT_MARY, PHONE_RED); in testMergeRawContactLocalUpdateRemoteDelete()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnSetting.java459 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate()
502 mPhone = mSubscriptionInfoHelper.getPhone(); in onResume()
/packages/apps/Settings/src/com/android/settings/
DIccLockSettings.java227 : PhoneFactory.getPhone(SubscriptionManager.getPhoneId(sir.getSubscriptionId())); in onCreate()
479 : PhoneFactory.getPhone(SubscriptionManager.getPhoneId(sir.getSubscriptionId()));

12