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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyCapabilities.java48 Rlog.d(LOG_TAG, "supportsEcm: Phone type = " + phone.getPhoneType() +
50 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA ||
72 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA);
93 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM);
105 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) {
107 } else if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
127 return ((phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)
128 || (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_SIP));
141 return ((phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)
142 || (phone.getPhoneType()
[all...]
H A DGsmCdmaCallTracker.java1418 "phone type " + mPhone.getPhoneType());
1499 "phone type " + mPhone.getPhoneType());
1512 "phone type " + mPhone.getPhoneType());
1526 "phone type " + mPhone.getPhoneType());
1549 "phone type " + mPhone.getPhoneType());
1555 "phone type " + mPhone.getPhoneType());
1625 return mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM;
H A DImsSMSDispatcher.java266 (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()) ?
393 return (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType());
H A DGsmCdmaConnection.java122 super(phone.getPhoneType());
149 super(phone.getPhoneType());
201 super(parent.getPhone().getPhoneType());
1064 return mOwner.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM;
H A DTelephonyTester.java157 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) {
H A DIccSmsInterfaceManager.java214 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) {
264 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) {
606 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) {
H A DPhone.java512 if (getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) {
540 if (getPhoneType() != PhoneConstants.PHONE_TYPE_SIP) {
553 if (getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) {
1823 if (getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
2260 public abstract int getPhoneType(); method in class:Phone
3607 pw.println(" getPhoneType()=" + getPhoneType());
H A DConnection.java1049 public int getPhoneType() { method in class:Connection
H A DPhoneFactory.java180 int phoneType = TelephonyManager.getPhoneType(networkModes[i]);
H A DGsmCdmaPhone.java454 public int getPhoneType() { method in class:GsmCdmaPhone
3187 if (getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
3209 if ((matchCdma && getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) ||
3210 (matchGsm && getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)) {
H A DSmsNumberUtils.java569 int phoneType = phone.getPhoneType();
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DGsmCdmaConnectionTest.java92 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType();
128 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType();
164 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType();
H A DGsmCdmaPhoneTest.java103 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType());
112 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType());
216 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType());
221 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType());
350 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType());
H A DSmsMessageBodyTest.java564 int activePhone = TelephonyManager.getDefault().getPhoneType();
586 int activePhone = TelephonyManager.getDefault().getPhoneType();
H A DImsSMSDispatcherTest.java153 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType();
H A DSmsNumberUtilsTest.java148 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType();
H A DGsmSmsTest.java239 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() ==
278 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() ==
H A DTelephonyTest.java388 doReturn(PhoneConstants.PHONE_TYPE_GSM).when(mPhone).getPhoneType();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsExternalConnection.java87 super(phone.getPhoneType());
H A DImsPhoneBase.java165 public int getPhoneType() { method in class:ImsPhoneBase
/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/services/core/java/com/android/server/location/
H A DComprehensiveCountryDetector.java213 final int phoneType = mTelephonyManager.getPhoneType();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java126 public int getPhoneType() { method in class:SipPhoneBase
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerImpl.java292 return mPhone.getPhoneType() != TelephonyManager.PHONE_TYPE_NONE;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DPhoneMock.java625 public int getPhoneType() { method in class:PhoneMock

Completed in 334 milliseconds

12