Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCapabilities.java48 Rlog.d(LOG_TAG, "supportsEcm: Phone type = " + phone.getPhoneType() + in supportsEcm()
50 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA || in supportsEcm()
72 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA); in supportsOtasp()
93 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM); in supportsNetworkSelection()
105 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in getDeviceIdLabel()
107 } else if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in getDeviceIdLabel()
127 return ((phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) in supportsConferenceCallManagement()
128 || (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_SIP)); in supportsConferenceCallManagement()
141 return ((phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) in supportsHoldAndUnhold()
142 || (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) in supportsHoldAndUnhold()
[all …]
DCallManager.java631 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM || in registerForPhoneStates()
632 phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA || in registerForPhoneStates()
633 phone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in registerForPhoneStates()
638 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA ){ in registerForPhoneStates()
646 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in registerForPhoneStates()
683 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM || in unregisterForPhoneStates()
684 phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA || in unregisterForPhoneStates()
685 phone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in unregisterForPhoneStates()
690 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA ){ in unregisterForPhoneStates()
698 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in unregisterForPhoneStates()
DPhoneProxy.java101 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in PhoneProxy()
104 } else if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in PhoneProxy()
195 if (mActivePhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in phoneObjectUpdater()
210 mActivePhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) || in phoneObjectUpdater()
212 mActivePhone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)) { in phoneObjectUpdater()
408 public int getPhoneType() { in getPhoneType() method in PhoneProxy
409 return mActivePhone.getPhoneType(); in getPhoneType()
DTelephonyTester.java91 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in TelephonyTester()
DImsSMSDispatcher.java258 (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()) ? in sendRetrySms()
385 return (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()); in isCdmaMo()
DIccSmsInterfaceManager.java213 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in updateMessageOnIccEf()
263 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in copyMessageToIccEf()
550 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in makeSmsRecordData()
DPhoneFactory.java150 int phoneType = TelephonyManager.getPhoneType(networkModes[i]); in makeDefaultPhone()
DPhoneBase.java418 if (getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) return; in PhoneBase()
1453 public abstract int getPhoneType(); in getPhoneType() method in PhoneBase
2164 pw.println(" getPhoneType()=" + getPhoneType()); in dump()
DPhone.java269 int getPhoneType(); in getPhoneType() method
DSmsNumberUtils.java563 int phoneType = TelephonyManager.getDefault().getPhoneType(); in getNetworkType()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java370 if (mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) {
373 } else if (mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java561 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callGsmLengthMethods()
583 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callCdmaLengthMethods()
DGsmSmsTest.java239 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentText()
278 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentTurkishText()
/frameworks/base/services/core/java/com/android/server/location/
DComprehensiveCountryDetector.java213 final int phoneType = mTelephonyManager.getPhoneType(); in isNetworkCountryCodeAvailable()
DGpsLocationProvider.java1939 final int phoneType = phone.getPhoneType(); in requestRefLocation()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java483 if (mDefaultPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in dialInternal()
1208 if (mDefaultPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in handleTimerInEmergencyCallbackMode()
1218 if (mDefaultPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in handleTimerInEmergencyCallbackMode()
DImsPhoneBase.java164 public int getPhoneType() { in getPhoneType() method in ImsPhoneBase
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java124 public int getPhoneType() { in getPhoneType() method in SipPhoneBase
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java885 public int getPhoneType() { in getPhoneType() method in TelephonyManager
917 return TelephonyManager.getPhoneType(Integer.parseInt(mode)); in getPhoneTypeFromNetworkType()
931 public static int getPhoneType(int networkMode) { in getPhoneType() method in TelephonyManager
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCDMAPhone.java312 public int getPhoneType() { in getPhoneType() method in CDMAPhone
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGSMPhone.java299 public int getPhoneType() { in getPhoneType() method in GSMPhone
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java914 boolean isCdmaPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java264 return mPhone.getPhoneType() != TelephonyManager.PHONE_TYPE_NONE; in hasVoiceCallingFeature()
/frameworks/base/api/
Dsystem-current.txt30883 method public int getPhoneType();
Dcurrent.txt28671 method public int getPhoneType();