Home
last modified time | relevance | path

Searched refs:getPhoneType (Results 1 – 25 of 36) 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.java1480 "phone type " + mPhone.getPhoneType()); in handleMessage()
1590 "phone type " + mPhone.getPhoneType()); in handleMessage()
1603 "phone type " + mPhone.getPhoneType()); in handleMessage()
1617 "phone type " + mPhone.getPhoneType()); in handleMessage()
1640 "phone type " + mPhone.getPhoneType()); in handleMessage()
1646 "phone type " + mPhone.getPhoneType()); in handleMessage()
1747 return mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM; in isPhoneTypeGsm()
DGsmCdmaConnection.java131 super(phone.getPhoneType()); in GsmCdmaConnection()
163 super(phone.getPhoneType()); in GsmCdmaConnection()
219 super(parent.getPhone().getPhoneType()); in GsmCdmaConnection()
1155 return mOwner.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM; in isPhoneTypeGsm()
DSmsDispatchersController.java434 (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()) in sendRetrySms()
528 return (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()); in isCdmaMo()
DIccSmsInterfaceManager.java235 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in updateMessageOnIccEf()
286 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in copyMessageToIccEf()
782 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in makeSmsRecordData()
DPhone.java564 if (getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in Phone()
596 if (getPhoneType() != PhoneConstants.PHONE_TYPE_SIP) { in Phone()
609 if (getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) { in startMonitoringImsService()
1996 if (getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in getCallForwardingIndicator()
2475 public abstract int getPhoneType(); in getPhoneType() method in Phone
4068 pw.println(" getPhoneType()=" + getPhoneType()); in dump()
DTelephonyTester.java208 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in TelephonyTester()
DSmsNumberUtils.java569 int phoneType = phone.getPhoneType(); in getNetworkType()
DPhoneFactory.java186 int phoneType = TelephonyManager.getPhoneType(networkModes[i]); in makeDefaultPhone()
DConnection.java1276 public int getPhoneType() { in getPhoneType() method in Connection
DGsmCdmaPhone.java534 public int getPhoneType() { in getPhoneType() method in GsmCdmaPhone
3509 if (getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in phoneObjectUpdater()
3531 if ((matchCdma && getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) || in phoneObjectUpdater()
3532 (matchGsm && getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)) { in phoneObjectUpdater()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaConnectionTest.java75 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testOriginalDialString()
80 doReturn(PhoneConstants.PHONE_TYPE_GSM).when(mPhone).getPhoneType(); in testOriginalDialString()
105 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSanityCDMA()
140 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testCDMAPostDialPause()
176 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testPostDialWait()
DImsSmsDispatcherTest.java75 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testSendSms()
97 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testFallbackGsmRetry()
124 when(mPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in testErrorImsRetry()
DSmsMessageBodyTest.java564 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callGsmLengthMethods()
586 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callCdmaLengthMethods()
DGsmCdmaPhoneTest.java115 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in switchToGsm()
124 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType()); in switchToCdma()
246 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in testGetPhoneType()
251 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType()); in testGetPhoneType()
408 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in testVoiceMailNumberGsm()
DGsmSmsTest.java251 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentText()
290 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentTurkishText()
DSmsNumberUtilsTest.java148 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testNaPcCountryCodeAreaLocalNumberConversion()
DSmsDispatchersControllerTest.java139 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSendRetrySmsCdmaTest()
DTelephonyTest.java441 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.java86 super(phone.getPhoneType()); in ImsExternalConnection()
DImsPhoneBase.java157 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.java108 public int getPhoneType() { in getPhoneType() method in SipPhoneBase
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DPhoneMock.java623 public int getPhoneType() { in getPhoneType() method in PhoneMock

12