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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyCapabilities.java48 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA);
69 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA);
78 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA);
90 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM);
102 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) {
104 } else if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
124 return ((phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)
125 || (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_SIP));
138 return ((phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)
139 || (phone.getPhoneType()
[all...]
H A DPhoneProxy.java83 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) {
86 } else if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
153 if (mActivePhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
166 mActivePhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) ||
168 mActivePhone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)) {
310 public int getPhoneType() { method in class:PhoneProxy
311 return mActivePhone.getPhoneType();
H A DPhoneFactory.java145 int phoneType = TelephonyManager.getPhoneType(networkMode);
H A DCallManager.java446 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM ||
447 phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
452 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA ){
479 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM ||
480 phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
485 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA ){
H A DPhone.java248 int getPhoneType(); method in interface:Phone
H A DPhoneBase.java877 public abstract int getPhoneType(); method in class:PhoneBase
1251 pw.println(" getPhoneType()=" + getPhoneType());
/frameworks/base/telephony/java/android/telephony/
H A DTelephonyManager.java336 public int getPhoneType() { method in class:TelephonyManager
357 return getPhoneType(mode);
369 public static int getPhoneType(int networkMode) { method in class:TelephonyManager
486 * unreliable on CDMA networks (use {@link #getPhoneType()} to determine if
497 * unreliable on CDMA networks (use {@link #getPhoneType()} to determine if
519 * unreliable on CDMA networks (use {@link #getPhoneType()} to determine if
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A 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/
H A DSmsMessageBodyTest.java561 int activePhone = TelephonyManager.getDefault().getPhoneType();
583 int activePhone = TelephonyManager.getDefault().getPhoneType();
H A DGsmSmsTest.java239 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() ==
278 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() ==
/frameworks/base/services/java/com/android/server/location/
H A DComprehensiveCountryDetector.java214 final int phoneType = mTelephonyManager.getPhoneType();
H A DGpsLocationProvider.java1455 if (phone.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM) {
1457 if ((gsm_cell != null) && (phone.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM) &&
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java140 public int getPhoneType() { method in class:SipPhoneBase
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCDMAPhone.java295 public int getPhoneType() { method in class:CDMAPhone
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java263 public int getPhoneType() { method in class:GSMPhone
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsTest.java864 boolean isCdmaPhone = (TelephonyManager.getDefault().getPhoneType() ==

Completed in 169 milliseconds