/packages/services/Telephony/src/com/android/services/telephony/ |
D | CdmaConnection.java | 106 getPhone().startDtmf(digit); in onPlayDtmfTone() 114 getPhone().stopDtmf(); in onStopDtmfTone() 229 telephonyDisconnectCause, null, getPhone().getPhoneId())); in hangupCallWaiting() 242 getPhone().getContext().getContentResolver(), in useBurstDtmf() 259 getPhone().sendBurstDtmf( in sendBurstDtmfStringLocked() 287 Phone phone = getPhone(); in isEmergency() 324 if (getPhone() != null) { in setOriginalConnection() 325 getPhone().registerForLineControlInfo(mHandler, MSG_CDMA_LINE_CONTROL_INFO_REC, null); in setOriginalConnection() 332 if (getPhone() != null) { in close() 333 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 | TelephonyConnection.java | 209 Phone phone = getPhone(); 513 if (messageId != -1 && getPhone() != null && getPhone().getContext() != null) { in getSuppServiceMessage() 522 Resources resources = SubscriptionManager.getResourcesForSubId(getPhone().getContext(), in getResourceText() 523 getPhone().getSubId()); in getResourceText() 529 Resources resources = SubscriptionManager.getResourcesForSubId(getPhone().getContext(), in getResourceString() 530 getPhone().getSubId()); in getResourceString() 1003 if (getPhone() != null) { in onCallAudioStateChanged() 1004 getPhone().setEchoSuppressionEnabled(); in onCallAudioStateChanged() 1233 Objects.equals(getPhone().getContext() in onCallFilteringCompleted() 1248 ImsPhone imsPhone = (getPhone() instanceof ImsPhone) ? (ImsPhone) getPhone() : null; in onCallFilteringCompleted() [all …]
|
D | ImsConference.java | 652 Phone phone = mConferenceHost.getPhone(); in onMerge() 885 if (mConferenceHost.getPhone() != null && in setConferenceHost() 886 mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in setConferenceHost() 889 Phone imsPhone = mConferenceHost.getPhone(); in setConferenceHost() 1436 if (mConferenceHost.getPhone() != null) { in handleOriginalConnectionChange() 1437 if (mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in handleOriginalConnectionChange() 1438 Phone imsPhone = mConferenceHost.getPhone(); in handleOriginalConnectionChange() 1447 mConferenceHost.getPhone()); in handleOriginalConnectionChange() 1451 if (mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in handleOriginalConnectionChange() 1504 if (mConferenceHost.getPhone() != null) { in setState() [all …]
|
D | PstnIncomingCallNotifier.java | 476 if (original.getCall() != null && original.getCall().getPhone() != null && in maybeSwapWithUnknownConnection() 477 original.getCall().getPhone() instanceof GsmCdmaPhone) { in maybeSwapWithUnknownConnection() 479 GsmCdmaPhone phone = (GsmCdmaPhone) original.getCall().getPhone(); in maybeSwapWithUnknownConnection() 483 } else if (original.getCall() != null && original.getCall().getPhone() != null in maybeSwapWithUnknownConnection() 484 && original.getCall().getPhone() instanceof ImsPhone in maybeSwapWithUnknownConnection() 488 ImsPhone phone = (ImsPhone) original.getCall().getPhone(); in maybeSwapWithUnknownConnection()
|
D | ImsConferenceController.java | 466 if (connection.getPhone() != null && in startConference() 467 connection.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in startConference() 468 Phone imsPhone = connection.getPhone(); in startConference()
|
D | TelephonyConnectionService.java | 393 Phone getPhone(int index); in getPhone() method 400 public Phone getPhone(int index) { 401 return PhoneFactory.getPhone(index); 772 Phone phone = mEmergencyCallDomainSelectionConnection.getPhone(); 870 retryOutgoingOriginalConnection(c, c.getPhone(), isPermanentFailure); 964 ImsConferenceController.getCarrierConfig(connection.getPhone())); in prepareConference() 2857 onEmergencyRedial(c, c.getPhone().getDefaultPhone(), false); in maybeReselectDomain() 2886 c.getPhone().getPhoneId(), c.getPhone().getSubId(), false, in maybeReselectDomainForEmergencyCall() 2893 final Phone phone = c.getPhone().getDefaultPhone(); in maybeReselectDomainForEmergencyCall() 3056 Phone phone = c.getPhone().getDefaultPhone(); in maybeReselectDomainForNormalCall() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | SubscriptionInfoHelper.java | 101 public Phone getPhone() { in getPhone() method in SubscriptionInfoHelper 103 ? PhoneFactory.getPhone(SubscriptionManager.getPhoneId(mSubId)) in getPhone() 104 : PhoneGlobals.getPhone(); in getPhone()
|
D | PhoneInterfaceManager.java | 2511 Phone thePhone = getPhone(getDefaultSubscription()); in getDefaultPhone() 2534 ? getDefaultPhone() : getPhone(subId); in getPhoneFromSubId() 2565 private @Nullable Phone getPhone(int subId) { in getPhone() method in PhoneInterfaceManager 2566 return PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getPhone() 2690 Phone phone = getPhone(subId); in supplyPinReportResultForSubscriber() 2707 Phone phone = getPhone(subId); in supplyPukReportResultForSubscriber() 2938 final Phone phone = getPhone(subId); in isRadioOnForSubscriber() 2961 final Phone phone = getPhone(subId); in toggleRadioOnOffForSubscriber() 2979 final Phone phone = getPhone(subId); in setRadioForSubscriber() 3005 Phone phone = PhoneFactory.getPhone(i); in needMobileRadioShutdown() [all …]
|
D | CdmaCallOptions.java | 70 buttonVoicePrivacy.setPhone(subInfoHelper.getPhone()); in onCreate() 79 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_CDMA in onCreate() 126 mCallWaitingPref.init(this, subInfoHelper.getPhone()); in onCreate() 186 mCallWaitingPref.init(this, subInfoHelper.getPhone()); in updatePreferencesEnabled()
|
D | GsmUmtsCallOptions.java | 53 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_GSM) { in onCreate() 81 subInfoHelper.getPhone().getContext().getContentResolver(), in init() 88 UserManager userManager = (UserManager) subInfoHelper.getPhone().getContext() in init()
|
D | SpecialCharSequenceMgr.java | 161 final Phone phone = PhoneGlobals.getPhone(); in handleSecretCode() 254 phone = PhoneGlobals.getPhone(subId); in handlePinEntry() 257 phone = PhoneGlobals.getPhone(); in handlePinEntry() 297 Phone phone = PhoneGlobals.getPhone(); in showDeviceIdPanel()
|
D | FakePhoneActivity.java | 58 mRadioControl = PhoneGlobals.getPhone().getSimulatedRadioControl(); in onCreate() 61 Log.i(TAG, "- PhoneApp.getPhone(): " + PhoneGlobals.getPhone()); in onCreate()
|
D | PhoneGlobals.java | 460 phone = getPhone(subId); 493 int sub = PhoneFactory.getPhone(phoneId).getSubId(); 749 public static Phone getPhone() { in getPhone() method in PhoneGlobals 753 public static Phone getPhone(int subId) { in getPhone() method in PhoneGlobals 754 return PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getPhone() 834 PhoneUtils.displayMMIComplete(mmiCode.getPhone(), getInstance(), mmiCode, null, null); in onMMIComplete() 965 phoneInEcm = PhoneFactory.getPhone(phoneId); in onReceive() 1008 Phone phone = getPhone(mDefaultDataSubId); in onReceive() 1046 Phone phone = getPhone(mDefaultDataSubId); in updateDataRoamingStatus() 1234 Phone phone = getPhone(mDefaultDataSubId); in updateDataRoamingStatusForFeatureDisabled() [all …]
|
D | IccNetworkDepersonalizationPanel.java | 172 mPhone = PhoneGlobals.getPhone(); in IccNetworkDepersonalizationPanel() 182 mPhone = phone == null ? PhoneGlobals.getPhone() : phone; in IccNetworkDepersonalizationPanel()
|
/packages/services/Telephony/src/com/android/phone/otasp/ |
D | OtaspSimStateReceiver.java | 72 final Phone phone = PhoneGlobals.getPhone(); in isCarrierSupported() 100 if (PhoneGlobals.getPhone().getIccRecordsLoaded() && isCarrierSupported()) { in onReceive() 111 final Phone phone = PhoneGlobals.getPhone(); in registerOtaspChangedHandler()
|
D | OtaspActivationService.java | 18 import static com.android.phone.PhoneGlobals.getPhone; 80 mPhone = PhoneGlobals.getPhone(); in onCreate() 160 getPhone(), in onStartOtaspCall()
|
/packages/services/Telephony/src/com/android/services/telephony/domainselection/ |
D | DynamicRoutingController.java | 61 Phone getPhone(int phoneId); in getPhone() method 66 public Phone getPhone(int phoneId) { in getPhone() method in DynamicRoutingController.PhoneFactoryProxyImpl 67 return PhoneFactory.getPhone(phoneId); in getPhone() 99 Phone phone = mPhoneFactoryProxy.getPhone(phoneId); in getLastKnownCountryIso()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactDeltaListTests.java | 172 static ValuesDelta getPhone(RawContactDeltaList set, long rawContactId, long dataId) { in getPhone() method in RawContactDeltaListTests 396 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalUpdateRemoteInsert() 421 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalUpdateRemoteDelete() 447 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalDeleteRemoteUpdate() 550 final ValuesDelta phone = getPhone(first, CONTACT_MARY, PHONE_RED); in testMergeRawContactLocalUpdateRemoteDelete()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionTest.java | 241 when(c.mPhoneGlobals.getCarrierConfigForSubId(c.getPhone().getSubId())). in testGetCarrierConfigBehaviorWithNull() 246 when(c.mPhoneGlobals.getCarrierConfigForSubId(c.getPhone().getSubId())) in testGetCarrierConfigBehaviorWithNull() 252 assertNull(c.getPhone()); in testGetCarrierConfigBehaviorWithNull()
|
D | TelephonyConnectionServiceTest.java | 971 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialTempFailOneSlot() 979 c.getPhone(), false /*isPermanentFailure*/); in testRetryOutgoingOriginalConnection_redialTempFailOneSlot() 1003 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialPermFailOneSlot() 1011 c.getPhone(), true /*isPermanentFailure*/); in testRetryOutgoingOriginalConnection_redialPermFailOneSlot() 1037 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot() 1053 c.getPhone(), false /*isPermanentFailure*/); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot() 1079 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot() 1095 c.getPhone(), true /*isPermanentFailure*/); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot() 1121 Phone slot0Phone = c.getPhone(); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure() 1138 c.getPhone(), false /*isPermanentFailure*/); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure() [all …]
|
D | TestTelephonyConnectionSimple.java | 68 public Phone getPhone() { in getPhone() method in TestTelephonyConnectionSimple
|
D | TestTelephonyConnection.java | 168 when(mMockCall.getPhone()).thenReturn(mMockPhone); in TestTelephonyConnection() 192 public Phone getPhone() { in getPhone() method in TestTelephonyConnection
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
D | PhoneAccountHandleConverter.java | 45 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in fromSubId()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | DynamicRoutingControllerTest.java | 102 when(mPhoneFactoryProxy.getPhone(eq(SLOT_0))).thenReturn(mPhone0); in setUp() 103 when(mPhoneFactoryProxy.getPhone(eq(SLOT_1))).thenReturn(mPhone1); in setUp()
|