Home
last modified time | relevance | path

Searched refs:getPhone (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCallManager.java212 private Phone getPhone(int subId) { in getPhone() method in CallManager
338 phone = getFirstActiveRingingCall().getPhone(); in getPhoneInCall()
340 phone = getActiveFgCall().getPhone(); in getPhoneInCall()
343 phone = getFirstActiveBgCall().getPhone(); in getPhoneInCall()
421 return getActiveFgCall().getPhone(); in getFgPhone()
430 return getActiveFgCall(subId).getPhone(); in getFgPhone()
438 return getFirstActiveBgCall().getPhone(); in getBgPhone()
446 return getFirstActiveRingingCall().getPhone(); in getRingingPhone()
454 return getFirstActiveRingingCall(subId).getPhone(); in getRingingPhone()
667 Phone ringingPhone = ringingCall.getPhone(); in rejectCall()
[all …]
DGsmCdmaConnection.java155 setCallRadioTech(mOwner.getPhone().getCsCallRadioTech()); in GsmCdmaConnection()
210 setCallRadioTech(mOwner.getPhone().getCsCallRadioTech()); in GsmCdmaConnection()
217 super(parent.getPhone().getPhoneType()); in GsmCdmaConnection()
234 setCallRadioTech(mOwner.getPhone().getCsCallRadioTech()); in GsmCdmaConnection()
553 GsmCdmaPhone phone = mOwner.getPhone(); in disconnectCauseFromCode()
626 mOwner.getPhone().notifyDisconnect(this); in onDisconnect()
693 mMetrics.writeAudioCodecGsmCdma(mOwner.getPhone().getPhoneId(), dc.audioQuality); in update()
694 mOwner.getPhone().getVoiceCallSessionStats().onAudioCodecChanged(this, dc.audioQuality); in update()
948 postDialHandler = mOwner.getPhone().getPostDialHandler(); in processNextPostDialChar()
1166 return mOwner.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM; in isPhoneTypeGsm()
[all …]
DGsmCdmaCall.java38 public Phone getPhone() { in getPhone() method in GsmCdmaCall
39 return mOwner.getPhone(); in getPhone()
DPhoneSwitcher.java359 if (PhoneFactory.getPhone(i) != null) { in PhoneSwitcher()
360 PhoneFactory.getPhone(i).registerForEmergencyCallToggle( in PhoneSwitcher()
363 PhoneFactory.getPhone(i).registerForPreciseCallStateChanged( in PhoneSwitcher()
365 if (PhoneFactory.getPhone(i).getImsPhone() != null) { in PhoneSwitcher()
366 PhoneFactory.getPhone(i).getImsPhone().registerForPreciseCallStateChanged( in PhoneSwitcher()
369 PhoneFactory.getPhone(i).getDataEnabledSettings().registerForDataEnabledChanged( in PhoneSwitcher()
375 PhoneFactory.getPhone(0).mCi.registerForAvailable(this, EVENT_RADIO_AVAILABLE, null); in PhoneSwitcher()
633 Phone phone = PhoneFactory.getPhone(phoneId); in onMultiSimConfigChanged()
981 PhoneFactory.getPhone(phoneId).mCi.setDataAllowed(isPhoneActive(phoneId), message); in sendRilCommands()
1110 return PhoneFactory.getPhone(phoneId); in findPhoneById()
DSmsController.java64 private Phone getPhone(int subId) { in getPhone() method in SmsController
65 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getPhone()
73 Phone phone = getPhone(subId); in getSmsPermissions()
665 return getPhone(subId).getAppSmsManager().createAppSpecificSmsTokenWithPackageInfo( in createAppSpecificSmsTokenWithPackageInfo()
674 return getPhone(subId).getAppSmsManager().createAppSpecificSmsToken(callingPkg, intent); in createAppSpecificSmsToken()
683 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState(getPhone(subId).getContext(), in checkSmsShortCodeDestination()
689 return getPhone(subId).mSmsUsageMonitor.checkDestination(destAddress, countryIso); in checkSmsShortCodeDestination()
796 return getPhone(subId).getIccSmsInterfaceManager(); in getIccSmsInterfaceManager()
DSubscriptionInfoUpdater.java270 PhoneFactory.getPhone(slotId).setNetworkSelectionModeAutomatic(null); in handleMessage()
391 IccCard iccCard = PhoneFactory.getPhone(phoneId).getIccCard(); in handleSimLocked()
451 IccCard iccCard = PhoneFactory.getPhone(phoneId).getIccCard(); in handleSimNotReady()
494 IccCard iccCard = PhoneFactory.getPhone(phoneId).getIccCard(); in handleSimLoaded()
564 PhoneFactory.getPhone(phoneId).getContext().getContentResolver(), in handleSimLoaded()
579 PhoneFactory.getPhone(phoneId).getContext().getContentResolver(), in handleSimLoaded()
585 PhoneFactory.getPhone(phoneId).setPreferredNetworkType(networkType, null); in handleSimLoaded()
588 PhoneFactory.getPhone(phoneId).getNetworkSelectionMode( in handleSimLoaded()
628 if (PhoneFactory.getPhone(phoneId) != null) { in updateSubscriptionCarrierId()
629 PhoneFactory.getPhone(phoneId).resolveSubscriptionCarrierId(simState); in updateSubscriptionCarrierId()
[all …]
DMmiCode.java59 public Phone getPhone(); in getPhone() method
DPhoneSubInfoController.java254 private Phone getPhone(int subId) { in getPhone() method
259 return PhoneFactory.getPhone(phoneId); in getPhone()
439 Phone phone = getPhone(subId);
516 final Phone phone = PhoneFactory.getPhone(phoneId);
DSmsBroadcastUndelivered.java265 phoneId = gsmInboundSmsHandler.getPhone().getPhoneId(); in getPhoneId()
267 phoneId = cdmaInboundSmsHandler.getPhone().getPhoneId(); in getPhoneId()
DUiccPhoneBookController.java136 return PhoneFactory.getPhone(phoneId).getIccPhoneBookInterfaceManager(); in getIccPhoneBookInterfaceManager()
DCall.java132 public abstract Phone getPhone(); in getPhone() method in Call
DCallTracker.java107 protected abstract Phone getPhone(); in getPhone() method in CallTracker
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCall.java100 getPhone() { in getPhone() method in ImsPhoneCall
101 return mOwner.getPhone(); in getPhone()
345 getPhone().stopRingbackTone(); in update()
348 getPhone().startRingbackTone(); in update()
353 getPhone().stopRingbackTone(); in update()
395 getPhone().stopRingbackTone(); in maybeStopRingback()
DImsExternalCall.java41 public Phone getPhone() { in getPhone() method in ImsExternalCall
DImsPhoneConnection.java1005 mOwner.getPhone().getVoiceCallSessionStats().onRttStarted(this); in updateMediaCapabilities()
1065 mOwner.getPhone().getVoiceCallSessionStats().onAudioCodecChanged(this, mAudioCodec); in updateMediaCapabilities()
1168 Phone phone = mOwner.getPhone(); in getEmergencyNumberTracker()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorPhoneSwitcher.java117 if (PhoneFactory.getPhone(i) != null) { in VendorPhoneSwitcher()
118 mFgCsCalls[i] = (GsmCdmaCall) PhoneFactory.getPhone(i).getForegroundCall(); in VendorPhoneSwitcher()
119 mBgCsCalls[i] = (GsmCdmaCall) PhoneFactory.getPhone(i).getBackgroundCall(); in VendorPhoneSwitcher()
120 mRiCsCalls[i] = (GsmCdmaCall) PhoneFactory.getPhone(i).getRingingCall(); in VendorPhoneSwitcher()
122 mImsPhones[i] = (ImsPhone)PhoneFactory.getPhone(i).getImsPhone(); in VendorPhoneSwitcher()
437 PhoneFactory.getPhone(phoneId).mCi.setDataAllowed(false, in deactivate()
453 PhoneFactory.getPhone(phoneId).mCi.setDataAllowed(true, in activate()
466 PhoneFactory.getPhone(phoneId).mCi.setDataAllowed(isPhoneActive(phoneId), in sendRilCommands()
DVendorSubscriptionController.java166 Phone phone = PhoneFactory.getPhone(getPhoneId(subId)); in setUiccApplicationsEnabled()
197 if (PhoneFactory.getPhone(i).mCi != null && in isRadioAvailableOnAllSubs()
198 PhoneFactory.getPhone(i).mCi.getRadioState() == in isRadioAvailableOnAllSubs()
208 if (PhoneFactory.getPhone(i) != null && in isShuttingDown()
209 PhoneFactory.getPhone(i).isShuttingDown()) return true; in isShuttingDown()
DVendorMultiSimSettingController.java91 Phone phone = PhoneFactory.getPhone(mSubController.getPhoneId(currentSubId)); in setUserDataEnabledForGroup()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java492 public Phone getPhone() { in getPhone() method in SipPhone.SipCall
524 + ": " + this + " on phone " + getPhone()); in hangup()
537 + ": " + this + " on phone " + getPhone()); in hangup()
704 + getPhone() + " " + getConnectionsCount()); in setState()
784 + getPhone());
832 + " on phone " + getPhone());
961 protected Phone getPhone() { in getPhone() method in SipPhone.SipConnection
962 return mOwner.getPhone(); in getPhone()
971 + getPhone().getPhoneName()); in hangup()
994 SipCall call = (getPhone() == SipPhone.this) in separate()
[all …]
DSipConnectionBase.java152 protected abstract Phone getPhone(); in getPhone() method in SipConnectionBase
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneFactoryTest.java36 PhoneFactory.getPhone(0); in testBeforeMakePhone()
DCallManagerTest.java73 doReturn(mPhone).when(mBgCall).getPhone(); in setUp()
74 doReturn(mPhone).when(mFgCall).getPhone(); in setUp()
75 doReturn(mPhone).when(mRingingCall).getPhone(); in setUp()
DConnectionTest.java118 doReturn(mPhone).when(mCall).getPhone(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DCellularDataService.java65 mPhone = PhoneFactory.getPhone(getSlotIndex()); in CellularDataServiceProvider()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTest.java58 when(mImsCT.getPhone()).thenReturn(mImsPhone); in setUp()

123