Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneFactory.java138 int phoneType = getPhoneType(networkMode); in makeDefaultPhone()
171 public static int getPhoneType(int networkMode) { in getPhoneType() method in PhoneFactory
DCallManager.java426 if (phone.getPhoneType() == Phone.PHONE_TYPE_GSM || in registerForPhoneStates()
427 phone.getPhoneType() == Phone.PHONE_TYPE_CDMA) { in registerForPhoneStates()
432 if (phone.getPhoneType() == Phone.PHONE_TYPE_CDMA ){ in registerForPhoneStates()
459 if (phone.getPhoneType() == Phone.PHONE_TYPE_GSM || in unregisterForPhoneStates()
460 phone.getPhoneType() == Phone.PHONE_TYPE_CDMA) { in unregisterForPhoneStates()
465 if (phone.getPhoneType() == Phone.PHONE_TYPE_CDMA ){ in unregisterForPhoneStates()
DPhoneProxy.java191 public int getPhoneType() { in getPhoneType() method in PhoneProxy
192 return mActivePhone.getPhoneType(); in getPhoneType()
DPhone.java331 int getPhoneType(); in getPhoneType() method
DPhoneBase.java853 public abstract int getPhoneType(); in getPhoneType() method in PhoneBase
/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/base/telephony/java/android/telephony/
DTelephonyManager.java327 public int getPhoneType() { in getPhoneType() method in TelephonyManager
348 return PhoneFactory.getPhoneType(mode); in getPhoneTypeFromNetworkType()
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java562 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callGsmLengthMethods()
584 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callCdmaLengthMethods()
/frameworks/base/services/java/com/android/server/location/
DComprehensiveCountryDetector.java107 mPhoneType = mTelephonyManager.getPhoneType(); in ComprehensiveCountryDetector()
DGpsLocationProvider.java1497 if (phone.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM) { in requestRefLocation()
1499 if ((gsm_cell != null) && (phone.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM) && in requestRefLocation()
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
DSipPhoneBase.java130 public int getPhoneType() { in getPhoneType() method in SipPhoneBase
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCDMAPhone.java299 public int getPhoneType() { in getPhoneType() method in CDMAPhone
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGSMPhone.java269 public int getPhoneType() { in getPhoneType() method in GSMPhone
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java835 boolean isCdmaPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentText()
/frameworks/base/api/
Dcurrent.txt19086 method public int getPhoneType();
D14.txt19086 method public int getPhoneType();