Home
last modified time | relevance | path

Searched refs:activePhone (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/telephony/src/java/android/telephony/gsm/
DSmsMessage.java153 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in createFromPdu() local
155 if (PHONE_TYPE_CDMA == activePhone) { in createFromPdu()
171 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in getTPLayerLengthForPDU() local
173 if (PHONE_TYPE_CDMA == activePhone) { in getTPLayerLengthForPDU()
245 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in getSubmitPdu() local
247 if (PHONE_TYPE_CDMA == activePhone) { in getSubmitPdu()
272 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in getSubmitPdu() local
274 if (PHONE_TYPE_CDMA == activePhone) { in getSubmitPdu()
303 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in getSubmitPdu() local
305 if (PHONE_TYPE_CDMA == activePhone) { in getSubmitPdu()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCallManager.java726 Phone activePhone = getActiveFgCall().getPhone(); in acceptCall() local
727 boolean hasBgCall = ! (activePhone.getBackgroundCall().isIdle()); in acceptCall()
728 boolean sameChannel = (activePhone == ringingPhone); in acceptCall()
737 activePhone.switchHoldingAndActive(); in acceptCall()
796 Phone activePhone = null; in switchHoldingAndActive() local
805 activePhone = getActiveFgCall().getPhone(); in switchHoldingAndActive()
812 if (activePhone != null) { in switchHoldingAndActive()
813 activePhone.switchHoldingAndActive(); in switchHoldingAndActive()
816 if (heldPhone != null && heldPhone != activePhone) { in switchHoldingAndActive()
869 Phone activePhone = null; in canConference() local
[all …]
DProxyController.java197 Phone activePhone = mProxyPhones[phoneId].getActivePhone(); in isDataDisconnected() local
198 return ((PhoneBase) activePhone).mDcTracker.isDisconnected(); in isDataDisconnected()
DInboundSmsHandler.java1043 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in isCurrentFormat3gpp2() local
1044 return (PHONE_TYPE_CDMA == activePhone); in isCurrentFormat3gpp2()
/frameworks/opt/telephony/src/java/android/telephony/
DSmsMessage.java169 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in createFromPdu() local
170 String format = (PHONE_TYPE_CDMA == activePhone) ? in createFromPdu()
176 format = (PHONE_TYPE_CDMA == activePhone) ? in createFromPdu()
766 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in isCdmaVoice() local
767 return (PHONE_TYPE_CDMA == activePhone); in isCdmaVoice()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java561 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callGsmLengthMethods() local
562 if (TelephonyManager.PHONE_TYPE_GSM == activePhone) { in callGsmLengthMethods()
583 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callCdmaLengthMethods() local
584 if (TelephonyManager.PHONE_TYPE_CDMA == activePhone) { in callCdmaLengthMethods()