Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCapabilities.java52 Rlog.d(LOG_TAG, "supportsEcm: Phone type = " + phone.getPhoneType() + in supportsEcm()
54 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA || in supportsEcm()
76 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA); in supportsOtasp()
97 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM); in supportsNetworkSelection()
109 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in getDeviceIdLabel()
111 } else if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in getDeviceIdLabel()
131 return ((phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) in supportsConferenceCallManagement()
132 || (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_SIP)); in supportsConferenceCallManagement()
145 return ((phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) in supportsHoldAndUnhold()
146 || (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) in supportsHoldAndUnhold()
[all …]
DGsmCdmaCallTracker.java1559 "phone type " + mPhone.getPhoneType()); in handleMessage()
1686 "phone type " + mPhone.getPhoneType()); in handleMessage()
1699 "phone type " + mPhone.getPhoneType()); in handleMessage()
1713 "phone type " + mPhone.getPhoneType()); in handleMessage()
1736 "phone type " + mPhone.getPhoneType()); in handleMessage()
1742 "phone type " + mPhone.getPhoneType()); in handleMessage()
1842 return mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM; in isPhoneTypeGsm()
DGsmCdmaConnection.java134 super(phone.getPhoneType()); in GsmCdmaConnection()
170 super(phone.getPhoneType()); in GsmCdmaConnection()
233 super(parent.getPhone().getPhoneType()); in GsmCdmaConnection()
1203 return mOwner.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM; in isPhoneTypeGsm()
DIccSmsInterfaceManager.java306 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in updateMessageOnIccEf()
358 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in copyMessageToIccEf()
886 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in makeSmsRecordData()
DPhone.java653 if (getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in Phone()
672 if (getPhoneType() != PhoneConstants.PHONE_TYPE_SIP) { in Phone()
686 if (getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) { in createImsPhone()
2268 if (getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in getCallForwardingIndicator()
3027 return getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA && isInEcm() in isInCdmaEcm()
3107 public abstract int getPhoneType(); in getPhoneType() method in Phone
5359 pw.println(" getPhoneType()=" + getPhoneType()); in dump()
DSmsDispatchersController.java819 : (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()) in sendRetrySms()
952 return (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()); in isCdmaMo()
994 return (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()); in isCdmaMo()
DPhoneFactory.java328 int phoneType = TelephonyManager.getPhoneType(RILConstants.PREFERRED_NETWORK_MODE); in createPhone()
DCallManager.java218 phone.getPhoneType() != PhoneConstants.PHONE_TYPE_IMS) { in getPhone()
2068 if ((c.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) in handleMessage()
DTelephonyTester.java243 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in TelephonyTester()
DConnection.java1512 public int getPhoneType() { in getPhoneType() method in Connection
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DImsSmsDispatcherTest.java199 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testSendSms()
221 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testFallbackGsmRetry()
255 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testErrorImsRetry()
288 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testReceiveGsmSmsStatusReport()
315 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testNetworkError()
332 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testSendSmswithMessageRef()
348 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testFallbackGsmRetrywithMessageRef()
383 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testErrorImsRetrywithMessageRef()
423 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testErrorImsRetrywithRetryConfig()
DGsmCdmaConnectionTest.java90 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testOriginalDialString()
95 doReturn(PhoneConstants.PHONE_TYPE_GSM).when(mPhone).getPhoneType(); in testOriginalDialString()
120 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSanityCDMA()
157 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testCDMAPostDialPause()
195 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testPostDialWait()
DSmsDispatchersControllerTest.java293 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSendRetrySmsCdmaTest()
373 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_CDMA); in testSendDataWhenDomainCsAndCdma()
380 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testSendDataWhenDomainCsAndGsm()
393 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_CDMA); in testSendTextWhenDomainCsAndCdma()
400 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testSendTextWhenDomainCsAndGsm()
413 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_CDMA); in testSendMultipartTextWhenDomainCsAndCdma()
420 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testSendMultipartTextWhenDomainCsAndGsm()
546 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testSendRetrySmsForEmergencyWhenDomainPs()
1270 when(mPhone.getPhoneType()).thenReturn(phoneType); in sendRetrySmsWithDomainSelection()
1306 when(mPhone.getPhoneType()).thenReturn(phoneType); in sendRetrySmsWhenImsAlreadyUsed()
DSmsMessageBodyTest.java558 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callGsmLengthMethods()
580 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callCdmaLengthMethods()
DSmsNumberUtilsTest.java149 doReturn(TelephonyManager.PHONE_TYPE_CDMA).when(mTelephonyManager).getPhoneType(); in testNaPcCountryCodeAreaLocalNumberConversion()
DGsmSmsTest.java269 boolean isGsmPhoneWithMessaging = (TelephonyManager.getDefault().getPhoneType() in testFragmentText()
308 boolean isGsmPhoneWithMessaging = (TelephonyManager.getDefault().getPhoneType() in testFragmentTurkishText()
DGsmCdmaPhoneTest.java158 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in switchToGsm()
166 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType()); in switchToCdma()
464 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in testGetPhoneType()
469 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType()); in testGetPhoneType()
758 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in testVoiceMailNumberGsm()
DTelephonyTest.java716 doReturn(PhoneConstants.PHONE_TYPE_GSM).when(mPhone).getPhoneType(); in setUp()
836 doReturn(TelephonyManager.PHONE_TYPE_GSM).when(mTelephonyManager).getPhoneType(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSmsStats.java361 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in getPhoneId()
370 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in getServiceState()
404 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in getCarrierId()
/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.java86 super(phone.getPhoneType()); in ImsExternalConnection()
DImsPhoneBase.java164 public int getPhoneType() { in getPhoneType() method in ImsPhoneBase
/frameworks/base/services/core/java/com/android/server/location/countrydetector/
DComprehensiveCountryDetector.java213 final int phoneType = mTelephonyManager.getPhoneType(); in isNetworkCountryCodeAvailable()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsNumberUtils.java604 int phoneType = telephonyManager.getPhoneType(); in getNetworkType()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyStateTracker.java1269 return mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA in isInCdmaEcm()
2052 if ((c.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) in handleNewRingingConnection()

12