/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 | 152 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 …]
|
D | ImsConference.java | 445 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 …]
|
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 | TelephonyConnectionService.java | 193 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 …]
|
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()
|
D | PstnIncomingCallNotifier.java | 344 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/ |
D | PhoneInterfaceManager.java | 377 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 …]
|
D | PhoneGlobals.java | 430 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()
|
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 | NetworkOperators.java | 184 Phone phone = PhoneFactory.getPhone(mPhoneId); in displayNetworkSelectionFailed() 211 Phone phone = PhoneFactory.getPhone(mPhoneId); in selectNetworkAutomatic() 223 Phone phone = PhoneFactory.getPhone(mPhoneId); in getNetworkSelectionMode()
|
D | FakePhoneActivity.java | 57 mRadioControl = PhoneGlobals.getPhone().getSimulatedRadioControl(); in onCreate() 60 Log.i(TAG, "- PhoneApp.getPhone(): " + PhoneGlobals.getPhone()); in onCreate()
|
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 | CarrierConfigLoader.java | 169 Phone phone = PhoneFactory.getPhone(phoneId); 444 Phone phone = PhoneFactory.getPhone(phoneId); in getCarrierIdForPhoneId() 470 Phone phone = PhoneFactory.getPhone(phoneId); in getIccIdForPhoneId()
|
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() 394 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()
|