Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCapabilities.java49 Rlog.d(LOG_TAG, "supportsEcm: Phone type = " + phone.getPhoneType() + in supportsEcm()
51 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA || in supportsEcm()
73 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA); in supportsOtasp()
94 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM); in supportsNetworkSelection()
106 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in getDeviceIdLabel()
108 } else if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in getDeviceIdLabel()
128 return ((phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) in supportsConferenceCallManagement()
129 || (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_SIP)); in supportsConferenceCallManagement()
142 return ((phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) in supportsHoldAndUnhold()
143 || (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) in supportsHoldAndUnhold()
[all …]
DGsmCdmaCallTracker.java1533 "phone type " + mPhone.getPhoneType()); in handleMessage()
1660 "phone type " + mPhone.getPhoneType()); in handleMessage()
1673 "phone type " + mPhone.getPhoneType()); in handleMessage()
1687 "phone type " + mPhone.getPhoneType()); in handleMessage()
1710 "phone type " + mPhone.getPhoneType()); in handleMessage()
1716 "phone type " + mPhone.getPhoneType()); in handleMessage()
1817 return mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM; in isPhoneTypeGsm()
DGsmCdmaConnection.java134 super(phone.getPhoneType()); in GsmCdmaConnection()
167 super(phone.getPhoneType()); in GsmCdmaConnection()
230 super(parent.getPhone().getPhoneType()); in GsmCdmaConnection()
1190 return mOwner.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM; in isPhoneTypeGsm()
DSmsDispatchersController.java467 : (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()) in sendRetrySms()
576 return (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()); in isCdmaMo()
DIccSmsInterfaceManager.java269 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in updateMessageOnIccEf()
321 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in copyMessageToIccEf()
838 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in makeSmsRecordData()
DPhone.java605 if (getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in Phone()
621 if (getPhoneType() != PhoneConstants.PHONE_TYPE_SIP) { in Phone()
633 if (getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) { in createImsPhone()
2138 if (getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in getCallForwardingIndicator()
2981 public abstract int getPhoneType(); in getPhoneType() method in Phone
4867 pw.println(" getPhoneType()=" + getPhoneType()); in dump()
DTelephonyTester.java235 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in TelephonyTester()
DPhoneFactory.java317 int phoneType = TelephonyManager.getPhoneType(RILConstants.PREFERRED_NETWORK_MODE); in createPhone()
DCallManager.java218 phone.getPhoneType() != PhoneConstants.PHONE_TYPE_IMS) { in getPhone()
2088 if ((c.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) in handleMessage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DImsSmsDispatcherTest.java102 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testSendSms()
124 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testFallbackGsmRetry()
151 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testErrorImsRetry()
182 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testReceiveGsmSmsStatusReport()
209 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testNetworkError()
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()
DSmsMessageBodyTest.java557 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callGsmLengthMethods()
579 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callCdmaLengthMethods()
DGsmSmsTest.java260 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentText()
299 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentTurkishText()
DSmsNumberUtilsTest.java147 doReturn(TelephonyManager.PHONE_TYPE_CDMA).when(mTelephonyManager).getPhoneType(); in testNaPcCountryCodeAreaLocalNumberConversion()
DSmsDispatchersControllerTest.java127 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSendRetrySmsCdmaTest()
DGsmCdmaPhoneTest.java121 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in switchToGsm()
129 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType()); in switchToCdma()
408 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in testGetPhoneType()
413 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType()); in testGetPhoneType()
708 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in testVoiceMailNumberGsm()
DTelephonyTest.java558 doReturn(PhoneConstants.PHONE_TYPE_GSM).when(mPhone).getPhoneType(); in setUp()
652 doReturn(TelephonyManager.PHONE_TYPE_GSM).when(mTelephonyManager).getPhoneType(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSmsStats.java306 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in getPhoneId()
315 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in getServiceState()
349 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in getCarrierId()
DDataStallRecoveryStats.java40 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in onDataStallEvent()
/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.java156 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/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java107 public int getPhoneType() { in getPhoneType() method in SipPhoneBase
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsNumberUtils.java604 int phoneType = telephonyManager.getPhoneType(); in getNetworkType()

12