/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipConnection.java | 66 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/ |
D | TelephonyConnection.java | 197 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 …]
|
D | CdmaConnection.java | 105 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()
|
D | GsmConnection.java | 44 if (getPhone() != null) { in onPlayDtmfTone() 45 getPhone().startDtmf(digit); in onPlayDtmfTone() 52 if (getPhone() != null) { in onStopDtmfTone() 53 getPhone().stopDtmf(); in onStopDtmfTone()
|
D | ImsConference.java | 640 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 …]
|
D | TelephonyConnectionService.java | 277 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 …]
|
D | PstnIncomingCallNotifier.java | 388 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()
|
D | ImsConferenceController.java | 411 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/ |
D | PhoneInterfaceManager.java | 1658 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 …]
|
D | PhoneGlobals.java | 476 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()
|
D | CdmaCallOptions.java | 48 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()
|
D | SpecialCharSequenceMgr.java | 160 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()
|
D | SubscriptionInfoHelper.java | 100 public Phone getPhone() { in getPhone() method in SubscriptionInfoHelper 102 ? PhoneFactory.getPhone(SubscriptionManager.getPhoneId(mSubId)) in getPhone() 103 : PhoneGlobals.getPhone(); in getPhone()
|
D | FakePhoneActivity.java | 58 mRadioControl = PhoneGlobals.getPhone().getSimulatedRadioControl(); in onCreate() 61 Log.i(TAG, "- PhoneApp.getPhone(): " + PhoneGlobals.getPhone()); in onCreate()
|
D | GsmUmtsCallOptions.java | 49 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_GSM) { in onCreate() 77 subInfoHelper.getPhone().getContext().getContentResolver(), in init()
|
D | CarrierConfigLoader.java | 572 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()
|
D | IccNetworkDepersonalizationPanel.java | 168 mPhone = PhoneGlobals.getPhone(); in IccNetworkDepersonalizationPanel() 176 mPhone = phone == null ? PhoneGlobals.getPhone() : phone; in IccNetworkDepersonalizationPanel()
|
D | ImsRcsController.java | 382 Phone phone = PhoneGlobals.getPhone(subId); in getImsPhone() 411 Phone phone = PhoneGlobals.getPhone(subId); in getRcsFeatureController()
|
/packages/services/Telephony/src/com/android/phone/otasp/ |
D | OtaspSimStateReceiver.java | 72 final Phone phone = PhoneGlobals.getPhone(); in isCarrierSupported() 95 if (PhoneGlobals.getPhone().getIccRecordsLoaded() && isCarrierSupported()) { in onReceive() 103 final Phone phone = PhoneGlobals.getPhone(); in registerOtaspChangedHandler()
|
D | OtaspActivationService.java | 18 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/ |
D | TelephonyConnectionServiceTest.java | 638 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()
|
D | TestTelephonyConnection.java | 108 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/ |
D | RawContactDeltaListTests.java | 167 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/ |
D | SimContactsTestHelper.java | 129 .withValue("number", contact.getPhone()) in captureRestoreSnapshot() 137 simContact.getPhone() + "'"; in getWriteSelection()
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
D | FdnSetting.java | 490 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate() 533 mPhone = mSubscriptionInfoHelper.getPhone(); in onResume()
|