/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 | 154 + getPhone() != null ? Integer.toString(getPhone().getPhoneId()) 517 if (getPhone() != null) { in onCallAudioStateChanged() 518 getPhone().setEchoSuppressionEnabled(); in onCallAudioStateChanged() 582 if (isValidRingingCall() && getPhone() != null) { in onAnswer() 584 getPhone().acceptCall(videoState); in onAnswer() 635 Phone phone = mOriginalConnection.getCall().getPhone(); in performHold() 681 mOriginalConnection.getCall().getPhone().switchHoldingAndActive(); in performUnhold() 695 if (getPhone() != null) { in performConference() 702 getPhone().conference(); in performConference() 748 Phone phone = getPhone(); in buildConnectionProperties() [all …]
|
D | ImsConference.java | 442 Phone phone = mConferenceHost.getPhone(); in onMerge() 585 if (mConferenceHost.getPhone() != null && in setConferenceHost() 586 mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in setConferenceHost() 589 Phone imsPhone = mConferenceHost.getPhone(); in setConferenceHost() 865 if (mConferenceHost.getPhone() != null) { in handleOriginalConnectionChange() 866 if (mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in handleOriginalConnectionChange() 867 Phone imsPhone = mConferenceHost.getPhone(); in handleOriginalConnectionChange() 876 mConferenceHost.getPhone()); in handleOriginalConnectionChange() 880 if (mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in handleOriginalConnectionChange() 961 Phone phone = mConferenceHost.getPhone(); in updateStatusHints() [all …]
|
D | TelephonyConnectionService.java | 193 Phone getPhone(int index); in getPhone() method 200 public Phone getPhone(int index) { 201 return PhoneFactory.getPhone(index); 888 Phone newPhoneToUse = getPhoneForRedial(c.getPhone()); in retryOutgoingOriginalConnection() 1000 chosenPhone = mPhoneFactoryProxy.getPhone(phoneId); in getPhoneForAccount() 1032 Phone defaultPhone = mPhoneFactoryProxy.getPhone(phoneId); in getFirstPhoneForEmergencyCall() 1042 Phone phone = mPhoneFactoryProxy.getPhone(i); in getFirstPhoneForEmergencyCall() 1132 return mPhoneFactoryProxy.getPhone(mostCapablePhoneId); in getFirstPhoneForEmergencyCall() 1196 int phoneType = connection.getCall().getPhone().getPhoneType(); in addConnectionToConferenceController() 1259 if (telephonyConnection == null || telephonyConnection.getPhone() == null || in maybeSendInternationalCallEvent() [all …]
|
D | CdmaConnection.java | 101 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()
|
D | GsmConnection.java | 46 if (getPhone() != null) { in onPlayDtmfTone() 47 getPhone().startDtmf(digit); in onPlayDtmfTone() 54 if (getPhone() != null) { in onStopDtmfTone() 55 getPhone().stopDtmf(); in onStopDtmfTone()
|
D | ImsConferenceController.java | 364 if (connection.getPhone() != null && in startConference() 365 connection.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in startConference() 366 Phone imsPhone = connection.getPhone(); in startConference()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 363 Phone phone = getPhone(end_subId); in handleMessage() 372 hungUp = PhoneUtils.hangupRingingAndActive(getPhone(end_subId)); in handleMessage() 1064 ? mPhone : getPhone(request.subId); in getPhoneFromRequest() 1074 private Phone getPhone(int subId) { in getPhone() method in PhoneInterfaceManager 1075 return PhoneFactory.getPhone(mSubscriptionController.getPhoneId(subId)); in getPhone() 1191 final boolean hasRingingCall = !getPhone(subId).getRingingCall().isIdle(); in answerRingingCallInternal() 1193 final boolean hasActiveCall = !getPhone(subId).getForegroundCall().isIdle(); in answerRingingCallInternal() 1194 final boolean hasHoldingCall = !getPhone(subId).getBackgroundCall().isIdle(); in answerRingingCallInternal() 1233 final Phone phone = getPhone(subId); in isOffhookForSubscriber() 1252 final Phone phone = getPhone(subId); in isRingingForSubscriber() [all …]
|
D | PhoneGlobals.java | 397 public static Phone getPhone() { in getPhone() method in PhoneGlobals 401 public static Phone getPhone(int subId) { in getPhone() method in PhoneGlobals 402 return PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getPhone() 562 PhoneUtils.displayMMIComplete(mmiCode.getPhone(), getInstance(), mmiCode, null, null); in onMMIComplete() 670 PhoneFactory.getPhone(phoneId) : PhoneFactory.getDefaultPhone(); in onReceive() 714 phoneInEcm = PhoneFactory.getPhone(phoneId); in onReceive() 782 Phone phone = getPhone(subId); in clearMwiIndicator()
|
D | SubscriptionInfoHelper.java | 94 public Phone getPhone() { in getPhone() method in SubscriptionInfoHelper 96 ? PhoneFactory.getPhone(SubscriptionManager.getPhoneId(mSubId)) in getPhone() 97 : PhoneGlobals.getPhone(); in getPhone()
|
D | SpecialCharSequenceMgr.java | 157 final Phone phone = PhoneGlobals.getPhone(); in handleSecretCode() 201 Phone phone = PhoneGlobals.getPhone(); in handlePinEntry() 230 Phone phone = PhoneGlobals.getPhone(); in showDeviceIdPanel()
|
D | PhoneUtils.java | 218 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()
|
D | FakePhoneActivity.java | 57 mRadioControl = PhoneGlobals.getPhone().getSimulatedRadioControl(); in onCreate() 60 Log.i(TAG, "- PhoneApp.getPhone(): " + PhoneGlobals.getPhone()); in onCreate()
|
D | NetworkSetting.java | 205 Phone phone = PhoneFactory.getPhone(mPhoneId); in onPreferenceTreeClick() 393 Phone phone = PhoneFactory.getPhone(mPhoneId); in displayNetworkSelectionFailed() 534 Phone phone = PhoneFactory.getPhone(mPhoneId); in selectNetworkAutomatic()
|
D | CallLogger.java | 61 final Phone phone = c.getCall().getPhone(); in logCall() 162 if (conn.getCall().getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in getLogNumber()
|
D | OutgoingCallBroadcaster.java | 191 final Phone phone = PhoneGlobals.getPhone(); in doReceive() 528 PhoneUtils.sendEmptyFlash(PhoneGlobals.getPhone()); in processIntent()
|
D | CallFeaturesSetting.java | 187 mPhone = mSubscriptionInfoHelper.getPhone(); in onCreate() 399 mPhone = mSubscriptionInfoHelper.getPhone(); in onNewIntent()
|
/packages/services/Telephony/src/com/android/phone/otasp/ |
D | OtaspActivationService.java | 34 import static com.android.phone.PhoneGlobals.getPhone; 76 mPhone = PhoneGlobals.getPhone(); in onCreate() 151 getPhone(), in onStartOtaspCall()
|
D | OtaspSimStateReceiver.java | 52 final Phone phone = PhoneGlobals.getPhone(); in isCarrierSupported() 75 if (PhoneGlobals.getPhone().getIccRecordsLoaded() && isCarrierSupported()) { in onReceive()
|
/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 | 128 .withValue("number", contact.getPhone()) in captureRestoreSnapshot() 136 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()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionServiceTest.java | 508 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()
|
/packages/apps/Settings/src/com/android/settings/ |
D | IccLockSettings.java | 235 : PhoneFactory.getPhone(SubscriptionManager.getPhoneId(sir.getSubscriptionId())); in onCreateView() 501 : PhoneFactory.getPhone(SubscriptionManager.getPhoneId(sir.getSubscriptionId()));
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
D | PhoneAccountHandleConverter.java | 45 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in fromSubId()
|