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

/frameworks/base/telephony/java/android/telephony/gsm/
H A DSmsMessage.java157 int activePhone = TelephonyManager.getDefault().getPhoneType();
180 int activePhone = TelephonyManager.getDefault().getPhoneType();
196 int activePhone = TelephonyManager.getDefault().getPhoneType();
212 int activePhone = TelephonyManager.getDefault().getPhoneType();
228 int activePhone = TelephonyManager.getDefault().getPhoneType();
253 int activePhone = TelephonyManager.getDefault().getPhoneType();
273 int activePhone = TelephonyManager.getDefault().getPhoneType();
347 int activePhone = TelephonyManager.getDefault().getPhoneType();
374 int activePhone = TelephonyManager.getDefault().getPhoneType();
405 int activePhone = TelephonyManager.getDefault().getPhoneType();
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DCellLocation.java64 // TelephonyManager.getDefault().getPhoneType() handles the case when
66 switch(TelephonyManager.getDefault().getPhoneType()) {
92 // TelephonyManager.getDefault().getPhoneType() handles the case when
94 switch(TelephonyManager.getDefault().getPhoneType()) {
H A DSmsMessage.java124 int activePhone = TelephonyManager.getDefault().getPhoneType();
146 int activePhone = TelephonyManager.getDefault().getPhoneType();
160 int activePhone = TelephonyManager.getDefault().getPhoneType();
174 int activePhone = TelephonyManager.getDefault().getPhoneType();
188 int activePhone = TelephonyManager.getDefault().getPhoneType();
211 int activePhone = TelephonyManager.getDefault().getPhoneType();
229 int activePhone = TelephonyManager.getDefault().getPhoneType();
265 int activePhone = TelephonyManager.getDefault().getPhoneType();
288 int activePhone = TelephonyManager.getDefault().getPhoneType();
387 int activePhone = TelephonyManager.getDefault().getPhoneType();
[all...]
H A DTelephonyManager.java283 public int getPhoneType() { method in class:TelephonyManager
318 return PhoneFactory.getPhoneType(mode);
330 * unreliable on CDMA networks (use {@link #getPhoneType()} to determine if
341 * unreliable on CDMA networks (use {@link #getPhoneType()} to determine if
363 * unreliable on CDMA networks (use {@link #getPhoneType()} to determine if
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DPhoneFactory.java112 int phoneType = getPhoneType(networkMode);
135 public static int getPhoneType(int networkMode) { method in class:PhoneFactory
H A DCallManager.java426 if (phone.getPhoneType() == Phone.PHONE_TYPE_GSM ||
427 phone.getPhoneType() == Phone.PHONE_TYPE_CDMA) {
432 if (phone.getPhoneType() == Phone.PHONE_TYPE_CDMA ){
459 if (phone.getPhoneType() == Phone.PHONE_TYPE_GSM ||
460 phone.getPhoneType() == Phone.PHONE_TYPE_CDMA) {
465 if (phone.getPhoneType() == Phone.PHONE_TYPE_CDMA ){
H A DPhone.java300 int getPhoneType(); method in interface:Phone
H A DPhoneProxy.java202 public int getPhoneType() { method in class:PhoneProxy
203 return mActivePhone.getPhoneType();
H A DPhoneBase.java748 public abstract int getPhoneType(); method in class:PhoneBase
/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/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsMessageBodyTest.java562 int activePhone = TelephonyManager.getDefault().getPhoneType();
584 int activePhone = TelephonyManager.getDefault().getPhoneType();
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java121 public int getPhoneType() { method in class:SipPhoneBase
/frameworks/base/services/java/com/android/server/location/
H A DGpsLocationProvider.java1447 if (phone.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM) {
1449 if ((gsm_cell != null) && (phone.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM) &&
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCDMAPhone.java275 public int getPhoneType() { method in class:CDMAPhone
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java269 public int getPhoneType() { method in class:GSMPhone
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsTest.java835 boolean isCdmaPhone = (TelephonyManager.getDefault().getPhoneType() ==

Completed in 158 milliseconds