Searched refs:getPhoneType (Results 1 - 25 of 33) 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.java1421 "phone type " + mPhone.getPhoneType());
1502 "phone type " + mPhone.getPhoneType());
1515 "phone type " + mPhone.getPhoneType());
1529 "phone type " + mPhone.getPhoneType());
1552 "phone type " + mPhone.getPhoneType());
1558 "phone type " + mPhone.getPhoneType());
1628 return mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM;
H A DGsmCdmaConnection.java122 super(phone.getPhoneType());
151 super(phone.getPhoneType());
203 super(parent.getPhone().getPhoneType());
1105 return mOwner.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM;
H A DSmsDispatchersController.java256 (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType())
350 return (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType());
H A DTelephonyTester.java185 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) {
H A DIccSmsInterfaceManager.java225 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) {
275 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) {
758 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) {
H A DPhone.java522 if (getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) {
550 if (getPhoneType() != PhoneConstants.PHONE_TYPE_SIP) {
563 if (getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) {
1835 if (getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
2281 public abstract int getPhoneType(); method in class:Phone
3688 pw.println(" getPhoneType()=" + getPhoneType());
H A DConnection.java1097 public int getPhoneType() { method in class:Connection
H A DPhoneFactory.java189 int phoneType = TelephonyManager.getPhoneType(networkModes[i]);
H A DSmsNumberUtils.java569 int phoneType = phone.getPhoneType();
H A DGsmCdmaPhone.java472 public int getPhoneType() { method in class:GsmCdmaPhone
3293 if (getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
3315 if ((matchCdma && getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) ||
3316 (matchGsm && getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)) {
/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.java111 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType());
120 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType());
280 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType());
285 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType());
415 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType());
H A DSmsMessageBodyTest.java564 int activePhone = TelephonyManager.getDefault().getPhoneType();
586 int activePhone = TelephonyManager.getDefault().getPhoneType();
H A DSmsDispatchersControllerTest.java145 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType();
H A DSmsNumberUtilsTest.java148 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType();
H A DGsmSmsTest.java243 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() ==
282 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() ==
H A DTelephonyTest.java387 doReturn(PhoneConstants.PHONE_TYPE_GSM).when(mPhone).getPhoneType();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsExternalConnection.java85 super(phone.getPhoneType());
H A DImsPhoneBase.java167 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.java118 public int getPhoneType() { method in class:SipPhoneBase
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerImpl.java329 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 298 milliseconds

12