Home
last modified time | relevance | path

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

123

/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipConnection.java65 if (getPhone() != null) { in initialize()
66 getPhone().registerForPreciseCallStateChanged(mHandler, MSG_PRECISE_CALL_STATE_CHANGED, in initialize()
77 if (getPhone() != null) { in onAudioStateChanged()
78 getPhone().setEchoSuppressionEnabled(); in onAudioStateChanged()
90 if (getPhone() != null) { in onPlayDtmfTone()
91 getPhone().startDtmf(c); in onPlayDtmfTone()
98 if (getPhone() != null) { in onStopDtmfTone()
99 getPhone().stopDtmf(); in onStopDtmfTone()
139 if (getPhone() != null && getState() == STATE_ACTIVE in onHold()
140 && getPhone().getRingingCall().getState() != Call.State.WAITING) { in onHold()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java139 +getPhone().getPhoneId());
414 if (getPhone() != null) { in onCallAudioStateChanged()
415 getPhone().setEchoSuppressionEnabled(); in onCallAudioStateChanged()
479 if (isValidRingingCall() && getPhone() != null) { in onAnswer()
481 getPhone().acceptCall(videoState); in onAnswer()
532 Phone phone = mOriginalConnection.getCall().getPhone(); in performHold()
578 mOriginalConnection.getCall().getPhone().switchHoldingAndActive(); in performUnhold()
592 if (getPhone() != null) { in performConference()
599 getPhone().conference(); in performConference()
647 Phone phone = getPhone(); in buildConnectionProperties()
[all …]
DGsmConnection.java46 if (getPhone() != null) { in onPlayDtmfTone()
47 getPhone().startDtmf(digit); in onPlayDtmfTone()
54 if (getPhone() != null) { in onStopDtmfTone()
55 getPhone().stopDtmf(); in onStopDtmfTone()
DCdmaConnection.java100 getPhone().startDtmf(digit); in onPlayDtmfTone()
108 getPhone().stopDtmf(); in onStopDtmfTone()
239 getPhone().getContext().getContentResolver(), in useBurstDtmf()
256 getPhone().sendBurstDtmf( in sendBurstDtmfStringLocked()
284 Phone phone = getPhone(); in isEmergency()
DImsConference.java418 Phone phone = ((TelephonyConnection) connection).getPhone(); in onMerge()
561 if (mConferenceHost.getPhone() != null && in setConferenceHost()
562 mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in setConferenceHost()
565 Phone imsPhone = mConferenceHost.getPhone(); in setConferenceHost()
811 if (mConferenceHost.getPhone() != null && in handleOriginalConnectionChange()
812 mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in handleOriginalConnectionChange()
813 Phone imsPhone = mConferenceHost.getPhone(); in handleOriginalConnectionChange()
820 if (mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in handleOriginalConnectionChange()
886 Phone phone = mConferenceHost.getPhone(); in updateStatusHints()
DImsConferenceController.java327 if (connection.getPhone() != null && in startConference()
328 connection.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in startConference()
329 Phone imsPhone = connection.getPhone(); in startConference()
DTelephonyConnectionService.java592 chosenPhone = PhoneFactory.getPhone(phoneId); in getPhoneForAccount()
622 Phone defaultPhone = PhoneFactory.getPhone(phoneId); in getFirstPhoneForEmergencyCall()
629 Phone phone = PhoneFactory.getPhone(i); in getFirstPhoneForEmergencyCall()
707 int phoneType = connection.getCall().getPhone().getPhoneType(); in addConnectionToConferenceController()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java295 Phone phone = getPhone(end_subId); in handleMessage()
304 hungUp = PhoneUtils.hangupRingingAndActive(getPhone(end_subId)); in handleMessage()
882 ? mPhone : getPhone(request.subId); in getPhoneFromRequest()
892 private Phone getPhone(int subId) { in getPhone() method in PhoneInterfaceManager
893 return PhoneFactory.getPhone(mSubscriptionController.getPhoneId(subId)); in getPhone()
1009 final boolean hasRingingCall = !getPhone(subId).getRingingCall().isIdle(); in answerRingingCallInternal()
1011 final boolean hasActiveCall = !getPhone(subId).getForegroundCall().isIdle(); in answerRingingCallInternal()
1012 final boolean hasHoldingCall = !getPhone(subId).getBackgroundCall().isIdle(); in answerRingingCallInternal()
1051 final Phone phone = getPhone(subId); in isOffhookForSubscriber()
1070 final Phone phone = getPhone(subId); in isRingingForSubscriber()
[all …]
DSubscriptionInfoHelper.java94 public Phone getPhone() { in getPhone() method in SubscriptionInfoHelper
96 ? PhoneFactory.getPhone(SubscriptionManager.getPhoneId(mSubId)) in getPhone()
97 : PhoneGlobals.getPhone(); in getPhone()
DPhoneGlobals.java423 public static Phone getPhone() { in getPhone() method in PhoneGlobals
427 public static Phone getPhone(int subId) { in getPhone() method in PhoneGlobals
428 return PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getPhone()
625 PhoneUtils.displayMMIComplete(mmiCode.getPhone(), getInstance(), mmiCode, null, null); in onMMIComplete()
631 final Phone phone = PhoneFactory.getPhone(phoneId); in initForNewRadioTechnology()
689 PhoneFactory.getPhone(phoneId) : PhoneFactory.getDefaultPhone(); in onReceive()
723 phoneInEcm = getPhone(phoneId); in onReceive()
DOtaStartupReceiver.java95 Phone phone = PhoneGlobals.getPhone();
130 if (!TelephonyCapabilities.supportsOtasp(PhoneGlobals.getPhone())) { in onReceive()
142 Phone phone = PhoneGlobals.getPhone(); in onReceive()
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()
DPhoneUtils.java219 final Phone phone = ringingCall.getPhone(); in answerCall()
344 int phoneType = ringing.getPhone().getPhoneType(); in hangupRingingCall()
1290 int phoneType = call.getPhone().getPhoneType(); in startGetCallerInfo()
1392 log("- phone: " + c.getCall().getPhone()); in startGetCallerInfo()
1393 int phoneType = c.getCall().getPhone().getPhoneType(); in startGetCallerInfo()
1683 int phoneType = call.getPhone().getPhoneType(); in isConferenceCall()
1950 if (TelephonyCapabilities.supportsHoldAndUnhold(fgCall.getPhone())) { in okToSupportHold()
1958 TelephonyCapabilities.supportsHoldAndUnhold(bgCall.getPhone())) { in okToSupportHold()
2022 Phone phone = cm.getActiveFgCall().getPhone(); in okToAddCall()
2407 return makePstnPhoneAccountHandle(PhoneFactory.getPhone(phoneId)); in makePstnPhoneAccountHandle()
DNetworkSetting.java207 Phone phone = PhoneFactory.getPhone(mPhoneId); in onPreferenceTreeClick()
395 Phone phone = PhoneFactory.getPhone(mPhoneId); in displayNetworkSelectionFailed()
536 Phone phone = PhoneFactory.getPhone(mPhoneId); in selectNetworkAutomatic()
DGsmUmtsCallOptions.java47 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_GSM) { in onCreate()
DCallFeaturesSetting.java184 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate()
334 mPhone = mSubscriptionInfoHelper.getPhone(); in onNewIntent()
DCdmaCallOptions.java61 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_CDMA in onCreate()
DCdmaVoicePrivacyCheckBoxPreference.java39 phone = PhoneGlobals.getPhone(); in CdmaVoicePrivacyCheckBoxPreference()
DOutgoingCallBroadcaster.java191 final Phone phone = PhoneGlobals.getPhone(); in doReceive()
569 PhoneUtils.sendEmptyFlash(PhoneGlobals.getPhone()); in processIntent()
DMMIDialogActivity.java46 private Phone mPhone = PhoneGlobals.getPhone();
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactDeltaListTests.java176 static ValuesDelta getPhone(RawContactDeltaList set, long rawContactId, long dataId) { in getPhone() method in RawContactDeltaListTests
393 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalUpdateRemoteInsert()
418 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalUpdateRemoteDelete()
444 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalDeleteRemoteUpdate()
544 final ValuesDelta phone = getPhone(first, CONTACT_MARY, PHONE_RED); in testMergeRawContactLocalUpdateRemoteDelete()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnSetting.java490 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate()
533 mPhone = mSubscriptionInfoHelper.getPhone(); in onResume()

123