Home
last modified time | relevance | path

Searched refs:getPhone (Results 1 – 25 of 56) 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.java158 Phone phone = getPhone();
376 if (messageId != -1 && getPhone() != null && getPhone().getContext() != null) { in getSuppServiceMessage()
377 return getPhone().getContext().getText(messageId); in getSuppServiceMessage()
737 if (getPhone() != null) { in onCallAudioStateChanged()
738 getPhone().setEchoSuppressionEnabled(); in onCallAudioStateChanged()
802 if (isValidRingingCall() && getPhone() != null) { in onAnswer()
804 getPhone().acceptCall(videoState); in onAnswer()
933 Phone phone = mOriginalConnection.getCall().getPhone(); in performHold()
970 Phone phone = mOriginalConnection.getCall().getPhone(); in performUnhold()
993 mOriginalConnection.getCall().getPhone().switchHoldingAndActive(); in performUnhold()
[all …]
DCdmaConnection.java105 getPhone().startDtmf(digit); in onPlayDtmfTone()
113 getPhone().stopDtmf(); in onStopDtmfTone()
232 null, getPhone().getPhoneId())); in hangupCallWaiting()
245 getPhone().getContext().getContentResolver(), in useBurstDtmf()
262 getPhone().sendBurstDtmf( in sendBurstDtmfStringLocked()
290 Phone phone = getPhone(); in isEmergency()
322 if (getPhone() != null) { in setOriginalConnection()
323 getPhone().registerForLineControlInfo(mHandler, MSG_CDMA_LINE_CONTROL_INFO_REC, null); in setOriginalConnection()
330 if (getPhone() != null) { in close()
331 getPhone().unregisterForLineControlInfo(mHandler); in close()
DImsConference.java489 Phone phone = mConferenceHost.getPhone(); in onMerge()
660 if (mConferenceHost.getPhone() != null && in setConferenceHost()
661 mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in setConferenceHost()
664 Phone imsPhone = mConferenceHost.getPhone(); in setConferenceHost()
1118 if (mConferenceHost.getPhone() != null) { in handleOriginalConnectionChange()
1119 if (mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in handleOriginalConnectionChange()
1120 Phone imsPhone = mConferenceHost.getPhone(); in handleOriginalConnectionChange()
1129 mConferenceHost.getPhone()); in handleOriginalConnectionChange()
1133 if (mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in handleOriginalConnectionChange()
1181 if (mConferenceHost.getPhone() != null) { in setState()
[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()
DTelephonyConnectionService.java265 Phone getPhone(int index); in getPhone() method
272 public Phone getPhone(int index) {
273 return PhoneFactory.getPhone(index);
1162 Phone phoneUsed = c.getPhone().getDefaultPhone(); in updateCachedConnectionPhonePair()
1192 int phoneId = (c.getPhone() == null) ? -1 : c.getPhone().getPhoneId(); in retryOutgoingOriginalConnection()
1360 chosenPhone = mPhoneFactoryProxy.getPhone(phoneId); in getPhoneForAccount()
1532 Phone defaultPhone = mPhoneFactoryProxy.getPhone(phoneId); in getFirstPhoneForEmergencyCall()
1545 Phone phone = mPhoneFactoryProxy.getPhone(i); in getFirstPhoneForEmergencyCall()
1657 return mPhoneFactoryProxy.getPhone(mostCapablePhoneId); in getFirstPhoneForEmergencyCall()
1721 int phoneType = connection.getCall().getPhone().getPhoneType(); in addConnectionToConferenceController()
[all …]
DImsConferenceController.java370 if (connection.getPhone() != null && in startConference()
371 connection.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in startConference()
372 Phone imsPhone = connection.getPhone(); in startConference()
DPstnIncomingCallNotifier.java364 if (original.getCall() != null && original.getCall().getPhone() != null && in maybeSwapWithUnknownConnection()
365 original.getCall().getPhone() instanceof GsmCdmaPhone) { in maybeSwapWithUnknownConnection()
367 GsmCdmaPhone phone = (GsmCdmaPhone) original.getCall().getPhone(); in maybeSwapWithUnknownConnection()
DRadioOnHelper.java80 Phone phone = PhoneFactory.getPhone(i); in triggerRadioOnAndListen()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java1341 Phone thePhone = getPhone(getDefaultSubscription()); in getDefaultPhone()
1361 ? getDefaultPhone() : getPhone(subId); in getPhoneFromSubId()
1371 private Phone getPhone(int subId) { in getPhone() method in PhoneInterfaceManager
1372 return PhoneFactory.getPhone(mSubscriptionController.getPhoneId(subId)); in getPhone()
1479 final UnlockSim checkSimPin = new UnlockSim(getPhone(subId).getIccCard()); in supplyPinReportResultForSubscriber()
1497 final UnlockSim checkSimPuk = new UnlockSim(getPhone(subId).getIccCard()); in supplyPukReportResultForSubscriber()
1615 final Phone phone = getPhone(subId); in updateServiceLocationForSubscriber()
1647 final Phone phone = getPhone(subId); in isRadioOnForSubscriber()
1667 final Phone phone = getPhone(subId); in toggleRadioOnOffForSubscriber()
1685 final Phone phone = getPhone(subId); in setRadioForSubscriber()
[all …]
DPhoneGlobals.java412 public static Phone getPhone() { in getPhone() method in PhoneGlobals
416 public static Phone getPhone(int subId) { in getPhone() method in PhoneGlobals
417 return PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getPhone()
506 PhoneUtils.displayMMIComplete(mmiCode.getPhone(), getInstance(), mmiCode, null, null); in onMMIComplete()
626 phoneInEcm = PhoneFactory.getPhone(phoneId); in onReceive()
657 Phone phone = getPhone(mDefaultDataSubId); in onReceive()
727 Phone phone = getPhone(mDefaultDataSubId); in updateDataRoamingStatus()
777 Phone phone = getPhone(subId); in onNetworkSelectionChanged()
DSpecialCharSequenceMgr.java159 final Phone phone = PhoneGlobals.getPhone(); in handleSecretCode()
246 phone = PhoneGlobals.getPhone(subId); in handlePinEntry()
249 phone = PhoneGlobals.getPhone(); in handlePinEntry()
279 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()
DCarrierConfigLoader.java182 Phone phone = PhoneFactory.getPhone(phoneId); in handleMessage()
629 Phone phone = PhoneFactory.getPhone(phoneId); in getCarrierIdentifierForPhoneId()
656 Phone phone = PhoneFactory.getPhone(phoneId); in getIccIdForPhoneId()
670 Phone phone = PhoneFactory.getPhone(phoneId); in getSpecificCarrierIdForPhoneId()
684 Phone phone = PhoneFactory.getPhone(phoneId); in getCarrierIdForPhoneId()
DIccNetworkDepersonalizationPanel.java136 mPhone = PhoneGlobals.getPhone(); in IccNetworkDepersonalizationPanel()
142 mPhone = phone == null ? PhoneGlobals.getPhone() : phone; in IccNetworkDepersonalizationPanel()
DCdmaCallOptions.java55 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_CDMA in onCreate()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java529 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialTempFailOneSlot()
561 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialPermFailOneSlot()
595 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot()
633 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot()
671 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure()
723 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot_twoFailure()
768 Phone phone = c.getPhone(); in testSuppServiceNotification()
828 when(mPhoneFactoryProxy.getPhone(eq(SLOT_0_PHONE_ID))).thenReturn(slot0Phone); in setupDeviceConfig()
829 when(mPhoneFactoryProxy.getPhone(eq(SLOT_1_PHONE_ID))).thenReturn(slot1Phone); in setupDeviceConfig()
DTestTelephonyConnection.java91 when(mMockCall.getPhone()).thenReturn(mMockPhone); in TestTelephonyConnection()
104 public Phone getPhone() { in getPhone() method in TestTelephonyConnection
/packages/services/Telephony/src/com/android/phone/otasp/
DOtaspActivationService.java18 import static com.android.phone.PhoneGlobals.getPhone;
79 mPhone = PhoneGlobals.getPhone(); in onCreate()
154 getPhone(), in onStartOtaspCall()
DOtaspSimStateReceiver.java53 final Phone phone = PhoneGlobals.getPhone(); in isCarrierSupported()
76 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.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()
/packages/services/Telephony/src/com/android/phone/vvm/
DPhoneAccountHandleConverter.java45 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in fromSubId()

123