Home
last modified time | relevance | path

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

/aosp12/frameworks/opt/telephony/src/java/android/telephony/gsm/
H A 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 …]
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCallManager.java685 Phone activePhone = null; in canConference() local
689 activePhone = getActiveFgCall().getPhone(); in canConference()
708 Phone activePhone = null; in canConference() local
712 activePhone = getActiveFgCall(subId).getPhone(); in canConference()
806 if (activePhone != phone in dial()
813 activePhone.switchHoldingAndActive(); in dial()
908 Phone activePhone = null; in canTransfer() local
912 activePhone = getActiveFgCall().getPhone(); in canTransfer()
919 return (heldPhone == activePhone && activePhone.canTransfer()); in canTransfer()
928 Phone activePhone = null; in canTransfer() local
[all …]
H A DInboundSmsHandler.java1653 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in isCurrentFormat3gpp2() local
1654 return (PHONE_TYPE_CDMA == activePhone); in isCurrentFormat3gpp2()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsMessageBodyTest.java557 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callGsmLengthMethods() local
558 if (TelephonyManager.PHONE_TYPE_GSM == activePhone) { in callGsmLengthMethods()
579 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callCdmaLengthMethods() local
580 if (TelephonyManager.PHONE_TYPE_CDMA == activePhone) { in callCdmaLengthMethods()
/aosp12/frameworks/base/telephony/java/android/telephony/
H A DSmsMessage.java206 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in createFromPdu() local
207 String format = (PHONE_TYPE_CDMA == activePhone) ? in createFromPdu()
1070 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(subId); in isCdmaVoice() local
1071 return (PHONE_TYPE_CDMA == activePhone); in isCdmaVoice()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapSmsPdu.java522 int activePhone = context.getSystemService(TelephonyManager.class) in getSubmitPdus() local
540 phoneType = (activePhone == PHONE_TYPE_CDMA) ? SMS_TYPE_CDMA : SMS_TYPE_GSM; in getSubmitPdus()