Home
last modified time | relevance | path

Searched refs:activePhone (Results 1 – 5 of 5) 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.java680 Phone activePhone = null; in canConference() local
684 activePhone = getActiveFgCall().getPhone(); in canConference()
691 return heldPhone.getClass().equals(activePhone.getClass()); in canConference()
703 Phone activePhone = null; in canConference() local
707 activePhone = getActiveFgCall(subId).getPhone(); in canConference()
714 return heldPhone.getClass().equals(activePhone.getClass()); in canConference()
789 Phone activePhone = getActiveFgCall(subId).getPhone(); in dial() local
790 boolean hasBgCall = !(activePhone.getBackgroundCall().isIdle()); in dial()
793 … Rlog.d(LOG_TAG, "hasBgCall: "+ hasBgCall + " sameChannel:" + (activePhone == phone)); in dial()
799 if (activePhone != phone in dial()
[all …]
DInboundSmsHandler.java1679 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in isCurrentFormat3gpp2() local
1680 return (PHONE_TYPE_CDMA == activePhone); in isCurrentFormat3gpp2()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java558 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callGsmLengthMethods() local
559 if (TelephonyManager.PHONE_TYPE_GSM == activePhone) { in callGsmLengthMethods()
580 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callCdmaLengthMethods() local
581 if (TelephonyManager.PHONE_TYPE_CDMA == activePhone) { in callCdmaLengthMethods()
/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java206 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in createFromPdu() local
207 String format = (PHONE_TYPE_CDMA == activePhone) ? in createFromPdu()
1090 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(subId); in isCdmaVoice() local
1091 return (PHONE_TYPE_CDMA == activePhone); in isCdmaVoice()