Home
last modified time | relevance | path

Searched refs:getPhoneType (Results 1 – 25 of 38) 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.java1490 "phone type " + mPhone.getPhoneType()); in handleMessage()
1617 "phone type " + mPhone.getPhoneType()); in handleMessage()
1630 "phone type " + mPhone.getPhoneType()); in handleMessage()
1644 "phone type " + mPhone.getPhoneType()); in handleMessage()
1667 "phone type " + mPhone.getPhoneType()); in handleMessage()
1673 "phone type " + mPhone.getPhoneType()); in handleMessage()
1774 return mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM; in isPhoneTypeGsm()
DGsmCdmaConnection.java129 super(phone.getPhoneType()); in GsmCdmaConnection()
161 super(phone.getPhoneType()); in GsmCdmaConnection()
217 super(parent.getPhone().getPhoneType()); in GsmCdmaConnection()
1166 return mOwner.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM; in isPhoneTypeGsm()
DSmsDispatchersController.java466 : (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()) in sendRetrySms()
561 return (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()); in isCdmaMo()
DIccSmsInterfaceManager.java284 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in updateMessageOnIccEf()
340 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in copyMessageToIccEf()
853 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in makeSmsRecordData()
DPhone.java575 if (getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in Phone()
590 if (getPhoneType() != PhoneConstants.PHONE_TYPE_SIP) { in Phone()
602 if (getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) { in createImsPhone()
2084 if (getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in getCallForwardingIndicator()
2739 public abstract int getPhoneType(); in getPhoneType() method in Phone
4422 pw.println(" getPhoneType()=" + getPhoneType()); in dump()
DTelephonyTester.java224 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in TelephonyTester()
DPhoneFactory.java295 int phoneType = TelephonyManager.getPhoneType(RILConstants.PREFERRED_NETWORK_MODE); in createPhone()
DConnection.java1345 public int getPhoneType() { in getPhoneType() method in Connection
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DImsSmsDispatcherTest.java79 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testSendSms()
101 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testFallbackGsmRetry()
128 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testErrorImsRetry()
159 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testReceiveGsmSmsStatusReport()
188 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testNetworkError()
DGsmCdmaConnectionTest.java82 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testOriginalDialString()
87 doReturn(PhoneConstants.PHONE_TYPE_GSM).when(mPhone).getPhoneType(); in testOriginalDialString()
112 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSanityCDMA()
149 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testCDMAPostDialPause()
187 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()
DSmsDispatchersControllerTest.java121 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSendRetrySmsCdmaTest()
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()
DGsmCdmaPhoneTest.java118 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in switchToGsm()
126 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType()); in switchToCdma()
404 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in testGetPhoneType()
409 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType()); in testGetPhoneType()
571 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in testVoiceMailNumberGsm()
DTelephonyTest.java504 doReturn(PhoneConstants.PHONE_TYPE_GSM).when(mPhone).getPhoneType(); in setUp()
590 doReturn(TelephonyManager.PHONE_TYPE_GSM).when(mTelephonyManager).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.java85 super(phone.getPhoneType()); in ImsExternalConnection()
DImsPhoneBase.java156 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.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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java505 int phoneType = conn.getPhoneType(); in getBearer()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java170 doReturn(PhoneConstants.PHONE_TYPE_IMS).when(mImsConnection0).getPhoneType(); in setUp()
172 doReturn(PhoneConstants.PHONE_TYPE_IMS).when(mImsConnection1).getPhoneType(); in setUp()
174 doReturn(PhoneConstants.PHONE_TYPE_GSM).when(mGsmConnection0).getPhoneType(); in setUp()
176 doReturn(PhoneConstants.PHONE_TYPE_GSM).when(mGsmConnection1).getPhoneType(); in setUp()

12