Home
last modified time | relevance | path

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

123

/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipConnection.java66 if (getPhone() != null) { in initialize()
67 getPhone().registerForPreciseCallStateChanged(mHandler, MSG_PRECISE_CALL_STATE_CHANGED, in initialize()
78 if (getPhone() != null) { in onAudioStateChanged()
79 getPhone().setEchoSuppressionEnabled(); in onAudioStateChanged()
91 if (getPhone() != null) { in onPlayDtmfTone()
92 getPhone().startDtmf(c); in onPlayDtmfTone()
99 if (getPhone() != null) { in onStopDtmfTone()
100 getPhone().stopDtmf(); in onStopDtmfTone()
140 if (getPhone() != null && getState() == STATE_ACTIVE in onHold()
141 && getPhone().getRingingCall().getState() != Call.State.WAITING) { in onHold()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java152 Phone phone = getPhone();
528 if (getPhone() != null) { in onCallAudioStateChanged()
529 getPhone().setEchoSuppressionEnabled(); in onCallAudioStateChanged()
593 if (isValidRingingCall() && getPhone() != null) { in onAnswer()
595 getPhone().acceptCall(videoState); in onAnswer()
671 Phone phone = mOriginalConnection.getCall().getPhone(); in performHold()
717 mOriginalConnection.getCall().getPhone().switchHoldingAndActive(); in performUnhold()
731 if (getPhone() != null) { in performConference()
738 getPhone().conference(); in performConference()
784 Phone phone = getPhone(); in buildConnectionProperties()
[all …]
DImsConference.java445 Phone phone = mConferenceHost.getPhone(); in onMerge()
588 if (mConferenceHost.getPhone() != null && in setConferenceHost()
589 mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in setConferenceHost()
592 Phone imsPhone = mConferenceHost.getPhone(); in setConferenceHost()
868 if (mConferenceHost.getPhone() != null) { in handleOriginalConnectionChange()
869 if (mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in handleOriginalConnectionChange()
870 Phone imsPhone = mConferenceHost.getPhone(); in handleOriginalConnectionChange()
879 mConferenceHost.getPhone()); in handleOriginalConnectionChange()
883 if (mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in handleOriginalConnectionChange()
964 Phone phone = mConferenceHost.getPhone(); in updateStatusHints()
[all …]
DCdmaConnection.java101 getPhone().startDtmf(digit); in onPlayDtmfTone()
109 getPhone().stopDtmf(); in onStopDtmfTone()
240 getPhone().getContext().getContentResolver(), in useBurstDtmf()
257 getPhone().sendBurstDtmf( in sendBurstDtmfStringLocked()
285 Phone phone = getPhone(); in isEmergency()
DTelephonyConnectionService.java193 Phone getPhone(int index); in getPhone() method
200 public Phone getPhone(int index) {
201 return PhoneFactory.getPhone(index);
887 Phone newPhoneToUse = getPhoneForRedial(c.getPhone()); in retryOutgoingOriginalConnection()
999 chosenPhone = mPhoneFactoryProxy.getPhone(phoneId); in getPhoneForAccount()
1031 Phone defaultPhone = mPhoneFactoryProxy.getPhone(phoneId); in getFirstPhoneForEmergencyCall()
1041 Phone phone = mPhoneFactoryProxy.getPhone(i); in getFirstPhoneForEmergencyCall()
1131 return mPhoneFactoryProxy.getPhone(mostCapablePhoneId); in getFirstPhoneForEmergencyCall()
1195 int phoneType = connection.getCall().getPhone().getPhoneType(); in addConnectionToConferenceController()
1258 if (telephonyConnection == null || telephonyConnection.getPhone() == null || in maybeSendInternationalCallEvent()
[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()
DImsConferenceController.java364 if (connection.getPhone() != null && in startConference()
365 connection.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in startConference()
366 Phone imsPhone = connection.getPhone(); in startConference()
DPstnIncomingCallNotifier.java344 if (original.getCall() != null && original.getCall().getPhone() != null && in maybeSwapWithUnknownConnection()
345 original.getCall().getPhone() instanceof GsmCdmaPhone) { in maybeSwapWithUnknownConnection()
347 GsmCdmaPhone phone = (GsmCdmaPhone) original.getCall().getPhone(); in maybeSwapWithUnknownConnection()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java377 Phone phone = getPhone(end_subId); in handleMessage()
386 hungUp = PhoneUtils.hangupRingingAndActive(getPhone(end_subId)); in handleMessage()
1079 ? mPhone : getPhone(request.subId); in getPhoneFromRequest()
1089 private Phone getPhone(int subId) { in getPhone() method in PhoneInterfaceManager
1090 return PhoneFactory.getPhone(mSubscriptionController.getPhoneId(subId)); in getPhone()
1175 Phone phone = getPhone(subId); in endCallForSubscriber()
1221 final boolean hasRingingCall = !getPhone(subId).getRingingCall().isIdle(); in answerRingingCallInternal()
1223 final boolean hasActiveCall = !getPhone(subId).getForegroundCall().isIdle(); in answerRingingCallInternal()
1224 final boolean hasHoldingCall = !getPhone(subId).getBackgroundCall().isIdle(); in answerRingingCallInternal()
1263 final Phone phone = getPhone(subId); in isOffhookForSubscriber()
[all …]
DPhoneGlobals.java430 public static Phone getPhone() { in getPhone() method in PhoneGlobals
434 public static Phone getPhone(int subId) { in getPhone() method in PhoneGlobals
435 return PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getPhone()
616 PhoneUtils.displayMMIComplete(mmiCode.getPhone(), getInstance(), mmiCode, null, null); in onMMIComplete()
726 phoneInEcm = PhoneFactory.getPhone(phoneId); in onReceive()
757 Phone phone = getPhone(mDefaultDataSubId); in onReceive()
827 Phone phone = getPhone(mDefaultDataSubId); in updateDataRoamingStatus()
877 Phone phone = getPhone(subId); in clearMwiIndicator()
DSubscriptionInfoHelper.java94 public Phone getPhone() { in getPhone() method in SubscriptionInfoHelper
96 ? PhoneFactory.getPhone(SubscriptionManager.getPhoneId(mSubId)) in getPhone()
97 : PhoneGlobals.getPhone(); in getPhone()
DSpecialCharSequenceMgr.java157 final Phone phone = PhoneGlobals.getPhone(); in handleSecretCode()
201 Phone phone = PhoneGlobals.getPhone(); in handlePinEntry()
230 Phone phone = PhoneGlobals.getPhone(); in showDeviceIdPanel()
DPhoneUtils.java218 final Phone phone = ringingCall.getPhone(); in answerCall()
343 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()
2398 return makePstnPhoneAccountHandle(PhoneFactory.getPhone(phoneId)); in makePstnPhoneAccountHandle()
DNetworkOperators.java184 Phone phone = PhoneFactory.getPhone(mPhoneId); in displayNetworkSelectionFailed()
211 Phone phone = PhoneFactory.getPhone(mPhoneId); in selectNetworkAutomatic()
223 Phone phone = PhoneFactory.getPhone(mPhoneId); in getNetworkSelectionMode()
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()
DCarrierConfigLoader.java169 Phone phone = PhoneFactory.getPhone(phoneId);
444 Phone phone = PhoneFactory.getPhone(phoneId); in getCarrierIdForPhoneId()
470 Phone phone = PhoneFactory.getPhone(phoneId); in getIccIdForPhoneId()
DOutgoingCallBroadcaster.java191 final Phone phone = PhoneGlobals.getPhone(); in doReceive()
528 PhoneUtils.sendEmptyFlash(PhoneGlobals.getPhone()); in processIntent()
DCallFeaturesSetting.java187 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate()
394 mPhone = mSubscriptionInfoHelper.getPhone(); in onNewIntent()
/packages/services/Telephony/src/com/android/phone/otasp/
DOtaspActivationService.java34 import static com.android.phone.PhoneGlobals.getPhone;
76 mPhone = PhoneGlobals.getPhone(); in onCreate()
151 getPhone(), in onStartOtaspCall()
DOtaspSimStateReceiver.java52 final Phone phone = PhoneGlobals.getPhone(); in isCarrierSupported()
75 if (PhoneGlobals.getPhone().getIccRecordsLoaded() && isCarrierSupported()) { in onReceive()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactDeltaListTests.java167 static ValuesDelta getPhone(RawContactDeltaList set, long rawContactId, long dataId) { in getPhone() method in RawContactDeltaListTests
384 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalUpdateRemoteInsert()
409 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalUpdateRemoteDelete()
435 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalDeleteRemoteUpdate()
535 final ValuesDelta phone = getPhone(first, CONTACT_MARY, PHONE_RED); in testMergeRawContactLocalUpdateRemoteDelete()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DSimContactsTestHelper.java128 .withValue("number", contact.getPhone()) in captureRestoreSnapshot()
136 simContact.getPhone() + "'"; in getWriteSelection()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnSetting.java490 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate()
533 mPhone = mSubscriptionInfoHelper.getPhone(); in onResume()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java508 when(mPhoneFactoryProxy.getPhone(eq(SLOT_0_PHONE_ID))).thenReturn(slot0Phone); in setupDeviceConfig()
509 when(mPhoneFactoryProxy.getPhone(eq(SLOT_1_PHONE_ID))).thenReturn(slot1Phone); in setupDeviceConfig()

123