Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCapabilities.java48 Rlog.d(LOG_TAG, "supportsEcm: Phone type = " + phone.getPhoneType() + in supportsEcm()
50 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA || in supportsEcm()
72 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA); in supportsOtasp()
93 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM); in supportsNetworkSelection()
105 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in getDeviceIdLabel()
107 } else if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in getDeviceIdLabel()
127 return ((phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) in supportsConferenceCallManagement()
128 || (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_SIP)); in supportsConferenceCallManagement()
141 return ((phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) in supportsHoldAndUnhold()
142 || (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) in supportsHoldAndUnhold()
[all …]
DGsmCdmaCallTracker.java1351 "phone type " + mPhone.getPhoneType()); in handleMessage()
1431 "phone type " + mPhone.getPhoneType()); in handleMessage()
1444 "phone type " + mPhone.getPhoneType()); in handleMessage()
1458 "phone type " + mPhone.getPhoneType()); in handleMessage()
1481 "phone type " + mPhone.getPhoneType()); in handleMessage()
1487 "phone type " + mPhone.getPhoneType()); in handleMessage()
1557 return mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM; in isPhoneTypeGsm()
DGsmCdmaConnection.java121 super(phone.getPhoneType()); in GsmCdmaConnection()
148 super(phone.getPhoneType()); in GsmCdmaConnection()
197 super(parent.getPhone().getPhoneType()); in GsmCdmaConnection()
1043 return mOwner.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM; in isPhoneTypeGsm()
DImsSMSDispatcher.java258 (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()) ? in sendRetrySms()
385 return (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()); in isCdmaMo()
DTelephonyTester.java115 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in TelephonyTester()
DIccSmsInterfaceManager.java212 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in updateMessageOnIccEf()
262 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in copyMessageToIccEf()
604 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in makeSmsRecordData()
DPhone.java468 if (getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in Phone()
495 if (getPhoneType() != PhoneConstants.PHONE_TYPE_SIP) { in Phone()
507 if (getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) { in startMonitoringImsService()
1707 if (getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in getCallForwardingIndicator()
2084 public abstract int getPhoneType(); in getPhoneType() method in Phone
3288 pw.println(" getPhoneType()=" + getPhoneType()); in dump()
DConnection.java868 public int getPhoneType() { in getPhoneType() method in Connection
DPhoneFactory.java162 int phoneType = TelephonyManager.getPhoneType(networkModes[i]); in makeDefaultPhone()
DSmsNumberUtils.java564 int phoneType = phone.getPhoneType(); in getNetworkType()
DGsmCdmaPhone.java448 public int getPhoneType() { in getPhoneType() method in GsmCdmaPhone
3012 if (getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in phoneObjectUpdater()
3034 if ((matchCdma && getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) || in phoneObjectUpdater()
3035 (matchGsm && getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)) { in phoneObjectUpdater()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaConnectionTest.java90 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSanityCDMA()
124 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testCDMAPostDialPause()
158 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testPostDialWait()
DGsmCdmaPhoneTest.java99 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in switchToGsm()
108 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType()); in switchToCdma()
207 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in testGetPhoneType()
212 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType()); in testGetPhoneType()
341 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in testVoiceMailNumberGsm()
DSmsMessageBodyTest.java564 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callGsmLengthMethods()
586 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callCdmaLengthMethods()
DImsSMSDispatcherTest.java129 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSendRetrySmsCdmaTest()
DGsmSmsTest.java239 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentText()
278 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentTurkishText()
DSmsNumberUtilsTest.java147 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testNaPcCountryCodeAreaLocalNumberConversion()
DTelephonyTest.java344 doReturn(PhoneConstants.PHONE_TYPE_GSM).when(mPhone).getPhoneType(); in setUp()
/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/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalConnection.java74 super(phone.getPhoneType()); in ImsExternalConnection()
DImsPhoneBase.java163 public int getPhoneType() { in getPhoneType() method in ImsPhoneBase
/frameworks/base/services/core/java/com/android/server/location/
DComprehensiveCountryDetector.java213 final int phoneType = mTelephonyManager.getPhoneType(); in isNetworkCountryCodeAvailable()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java123 public int getPhoneType() { in getPhoneType() method in SipPhoneBase
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java1106 public int getPhoneType() { in getPhoneType() method in TelephonyManager
1138 return TelephonyManager.getPhoneType(Integer.parseInt(mode)); in getPhoneTypeFromNetworkType()
1152 public static int getPhoneType(int networkMode) { in getPhoneType() method in TelephonyManager
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DPhoneMock.java617 public int getPhoneType() { in getPhoneType() method in PhoneMock

12