Home
last modified time | relevance | path

Searched refs:getPhone (Results 1 – 25 of 57) 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.java197 Phone phone = getPhone();
430 if (messageId != -1 && getPhone() != null && getPhone().getContext() != null) { in getSuppServiceMessage()
439 Resources resources = SubscriptionManager.getResourcesForSubId(getPhone().getContext(), in getResourceText()
440 getPhone().getSubId()); in getResourceText()
446 Resources resources = SubscriptionManager.getResourcesForSubId(getPhone().getContext(), in getResourceString()
447 getPhone().getSubId()); in getResourceString()
829 if (getPhone() != null) { in onCallAudioStateChanged()
830 getPhone().setEchoSuppressionEnabled(); in onCallAudioStateChanged()
1079 if (isValidRingingCall() && getPhone() != null) { in performAnswer()
1081 getPhone().acceptCall(videoState); in performAnswer()
[all …]
DCdmaConnection.java105 getPhone().startDtmf(digit); in onPlayDtmfTone()
113 getPhone().stopDtmf(); in onStopDtmfTone()
228 telephonyDisconnectCause, null, getPhone().getPhoneId())); in hangupCallWaiting()
241 getPhone().getContext().getContentResolver(), in useBurstDtmf()
258 getPhone().sendBurstDtmf( in sendBurstDtmfStringLocked()
286 Phone phone = getPhone(); in isEmergency()
317 if (getPhone() != null) { in setOriginalConnection()
318 getPhone().registerForLineControlInfo(mHandler, MSG_CDMA_LINE_CONTROL_INFO_REC, null); in setOriginalConnection()
325 if (getPhone() != null) { in close()
326 getPhone().unregisterForLineControlInfo(mHandler); in close()
DGsmConnection.java44 if (getPhone() != null) { in onPlayDtmfTone()
45 getPhone().startDtmf(digit); in onPlayDtmfTone()
52 if (getPhone() != null) { in onStopDtmfTone()
53 getPhone().stopDtmf(); in onStopDtmfTone()
DImsConference.java640 Phone phone = mConferenceHost.getPhone(); in onMerge()
845 if (mConferenceHost.getPhone() != null && in setConferenceHost()
846 mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in setConferenceHost()
849 Phone imsPhone = mConferenceHost.getPhone(); in setConferenceHost()
1346 if (mConferenceHost.getPhone() != null) { in handleOriginalConnectionChange()
1347 if (mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in handleOriginalConnectionChange()
1348 Phone imsPhone = mConferenceHost.getPhone(); in handleOriginalConnectionChange()
1357 mConferenceHost.getPhone()); in handleOriginalConnectionChange()
1361 if (mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in handleOriginalConnectionChange()
1414 if (mConferenceHost.getPhone() != null) { in setState()
[all …]
DTelephonyConnectionService.java277 Phone getPhone(int index); in getPhone() method
284 public Phone getPhone(int index) {
285 return PhoneFactory.getPhone(index);
592 ImsConferenceController.getCarrierConfig(connection.getPhone())); in prepareConference()
1593 Phone phoneUsed = c.getPhone().getDefaultPhone(); in updateCachedConnectionPhonePair()
1623 int phoneId = (c.getPhone() == null) ? -1 : c.getPhone().getPhoneId(); in retryOutgoingOriginalConnection()
1887 chosenPhone = mPhoneFactoryProxy.getPhone(phoneId); in getPhoneForAccount()
2084 Phone defaultPhone = mPhoneFactoryProxy.getPhone(phoneId); in getFirstPhoneForEmergencyCall()
2097 Phone phone = mPhoneFactoryProxy.getPhone(i); in getFirstPhoneForEmergencyCall()
2214 return mPhoneFactoryProxy.getPhone(mostCapablePhoneId); in getFirstPhoneForEmergencyCall()
[all …]
DPstnIncomingCallNotifier.java388 if (original.getCall() != null && original.getCall().getPhone() != null && in maybeSwapWithUnknownConnection()
389 original.getCall().getPhone() instanceof GsmCdmaPhone) { in maybeSwapWithUnknownConnection()
391 GsmCdmaPhone phone = (GsmCdmaPhone) original.getCall().getPhone(); in maybeSwapWithUnknownConnection()
DImsConferenceController.java411 if (connection.getPhone() != null && in startConference()
412 connection.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in startConference()
413 Phone imsPhone = connection.getPhone(); in startConference()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java1658 Phone thePhone = getPhone(getDefaultSubscription()); in getDefaultPhone()
1678 ? getDefaultPhone() : getPhone(subId); in getPhoneFromSubId()
1688 private Phone getPhone(int subId) { in getPhone() method in PhoneInterfaceManager
1689 return PhoneFactory.getPhone(mSubscriptionController.getPhoneId(subId)); in getPhone()
1807 final UnlockSim checkSimPin = new UnlockSim(getPhone(subId).getIccCard()); in supplyPinReportResultForSubscriber()
1820 final UnlockSim checkSimPuk = new UnlockSim(getPhone(subId).getIccCard()); in supplyPukReportResultForSubscriber()
1975 final Phone phone = getPhone(getDefaultSubscription()); in updateServiceLocationWithPackageName()
2021 final Phone phone = getPhone(subId); in isRadioOnForSubscriber()
2041 final Phone phone = getPhone(subId); in toggleRadioOnOffForSubscriber()
2059 final Phone phone = getPhone(subId); in setRadioForSubscriber()
[all …]
DPhoneGlobals.java476 public static Phone getPhone() { in getPhone() method in PhoneGlobals
480 public static Phone getPhone(int subId) { in getPhone() method in PhoneGlobals
481 return PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getPhone()
564 PhoneUtils.displayMMIComplete(mmiCode.getPhone(), getInstance(), mmiCode, null, null); in onMMIComplete()
684 phoneInEcm = PhoneFactory.getPhone(phoneId); in onReceive()
717 Phone phone = getPhone(mDefaultDataSubId); in onReceive()
797 Phone phone = getPhone(mDefaultDataSubId); in updateDataRoamingStatus()
846 return getPhone(subId).getServiceState().getDataRoaming(); in dataIsNowRoaming()
900 Phone phone = getPhone(subId); in onNetworkSelectionChanged()
DCdmaCallOptions.java48 mButtonVoicePrivacy.setPhone(subInfoHelper.getPhone()); in onCreate()
56 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_CDMA in onCreate()
67 callWaitingPref.init(this, subInfoHelper.getPhone()); in onCreate()
DSpecialCharSequenceMgr.java160 final Phone phone = PhoneGlobals.getPhone(); in handleSecretCode()
250 phone = PhoneGlobals.getPhone(subId); in handlePinEntry()
253 phone = PhoneGlobals.getPhone(); in handlePinEntry()
293 Phone phone = PhoneGlobals.getPhone(); in showDeviceIdPanel()
DSubscriptionInfoHelper.java100 public Phone getPhone() { in getPhone() method in SubscriptionInfoHelper
102 ? PhoneFactory.getPhone(SubscriptionManager.getPhoneId(mSubId)) in getPhone()
103 : PhoneGlobals.getPhone(); in getPhone()
DFakePhoneActivity.java58 mRadioControl = PhoneGlobals.getPhone().getSimulatedRadioControl(); in onCreate()
61 Log.i(TAG, "- PhoneApp.getPhone(): " + PhoneGlobals.getPhone()); in onCreate()
DGsmUmtsCallOptions.java49 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_GSM) { in onCreate()
77 subInfoHelper.getPhone().getContext().getContentResolver(), in init()
DCarrierConfigLoader.java572 Phone phone = PhoneFactory.getPhone(phoneId); in clearConfigForPhone()
692 Phone phone = PhoneFactory.getPhone(phoneId); in getCarrierIdentifierForPhoneId()
719 Phone phone = PhoneFactory.getPhone(phoneId); in getIccIdForPhoneId()
733 Phone phone = PhoneFactory.getPhone(phoneId); in getSpecificCarrierIdForPhoneId()
747 Phone phone = PhoneFactory.getPhone(phoneId); in getCarrierIdForPhoneId()
DIccNetworkDepersonalizationPanel.java168 mPhone = PhoneGlobals.getPhone(); in IccNetworkDepersonalizationPanel()
176 mPhone = phone == null ? PhoneGlobals.getPhone() : phone; in IccNetworkDepersonalizationPanel()
DImsRcsController.java382 Phone phone = PhoneGlobals.getPhone(subId); in getImsPhone()
411 Phone phone = PhoneGlobals.getPhone(subId); in getRcsFeatureController()
/packages/services/Telephony/src/com/android/phone/otasp/
DOtaspSimStateReceiver.java72 final Phone phone = PhoneGlobals.getPhone(); in isCarrierSupported()
95 if (PhoneGlobals.getPhone().getIccRecordsLoaded() && isCarrierSupported()) { in onReceive()
103 final Phone phone = PhoneGlobals.getPhone(); in registerOtaspChangedHandler()
DOtaspActivationService.java18 import static com.android.phone.PhoneGlobals.getPhone;
79 mPhone = PhoneGlobals.getPhone(); in onCreate()
154 getPhone(), in onStartOtaspCall()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java638 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialTempFailOneSlot()
669 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialPermFailOneSlot()
702 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot()
743 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot()
784 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure()
839 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot_twoFailure()
888 Phone phone = c.getPhone(); in testSuppServiceNotification()
1255 when(mPhoneFactoryProxy.getPhone(0)).thenReturn(phone); in setupHandleToPhoneMap()
1284 when(mPhoneFactoryProxy.getPhone(eq(SLOT_0_PHONE_ID))).thenReturn(slot0Phone); in setupDeviceConfig()
1285 when(mPhoneFactoryProxy.getPhone(eq(SLOT_1_PHONE_ID))).thenReturn(slot1Phone); in setupDeviceConfig()
DTestTelephonyConnection.java108 when(mMockCall.getPhone()).thenReturn(mMockPhone); in TestTelephonyConnection()
126 public Phone getPhone() { in getPhone() method in TestTelephonyConnection
/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.java129 .withValue("number", contact.getPhone()) in captureRestoreSnapshot()
137 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()

123