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.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.java1421 "phone type " + mPhone.getPhoneType()); in handleMessage()
1502 "phone type " + mPhone.getPhoneType()); in handleMessage()
1515 "phone type " + mPhone.getPhoneType()); in handleMessage()
1529 "phone type " + mPhone.getPhoneType()); in handleMessage()
1552 "phone type " + mPhone.getPhoneType()); in handleMessage()
1558 "phone type " + mPhone.getPhoneType()); in handleMessage()
1628 return mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM; in isPhoneTypeGsm()
DGsmCdmaConnection.java122 super(phone.getPhoneType()); in GsmCdmaConnection()
151 super(phone.getPhoneType()); in GsmCdmaConnection()
203 super(parent.getPhone().getPhoneType()); in GsmCdmaConnection()
1105 return mOwner.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM; in isPhoneTypeGsm()
DSmsDispatchersController.java256 (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()) in sendRetrySms()
350 return (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()); in isCdmaMo()
DIccSmsInterfaceManager.java225 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in updateMessageOnIccEf()
275 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in copyMessageToIccEf()
758 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in makeSmsRecordData()
DPhone.java522 if (getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in Phone()
550 if (getPhoneType() != PhoneConstants.PHONE_TYPE_SIP) { in Phone()
563 if (getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) { in startMonitoringImsService()
1835 if (getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in getCallForwardingIndicator()
2281 public abstract int getPhoneType(); in getPhoneType() method in Phone
3688 pw.println(" getPhoneType()=" + getPhoneType()); in dump()
DTelephonyTester.java185 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in TelephonyTester()
DConnection.java1097 public int getPhoneType() { in getPhoneType() method in Connection
DPhoneFactory.java189 int phoneType = TelephonyManager.getPhoneType(networkModes[i]); in makeDefaultPhone()
DSmsNumberUtils.java569 int phoneType = phone.getPhoneType(); in getNetworkType()
DGsmCdmaPhone.java472 public int getPhoneType() { in getPhoneType() method in GsmCdmaPhone
3293 if (getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in phoneObjectUpdater()
3315 if ((matchCdma && getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) || in phoneObjectUpdater()
3316 (matchGsm && getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)) { in phoneObjectUpdater()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaConnectionTest.java92 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSanityCDMA()
128 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testCDMAPostDialPause()
164 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testPostDialWait()
DSmsMessageBodyTest.java564 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callGsmLengthMethods()
586 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callCdmaLengthMethods()
DGsmCdmaPhoneTest.java111 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in switchToGsm()
120 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType()); in switchToCdma()
280 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in testGetPhoneType()
285 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType()); in testGetPhoneType()
415 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in testVoiceMailNumberGsm()
DGsmSmsTest.java243 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentText()
282 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentTurkishText()
DSmsDispatchersControllerTest.java145 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSendRetrySmsCdmaTest()
DSmsNumberUtilsTest.java148 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testNaPcCountryCodeAreaLocalNumberConversion()
DTelephonyTest.java387 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.java85 super(phone.getPhoneType()); in ImsExternalConnection()
DImsPhoneBase.java167 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.java118 public int getPhoneType() { in getPhoneType() method in SipPhoneBase
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DPhoneMock.java625 public int getPhoneType() { in getPhoneType() method in PhoneMock
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java329 return mPhone.getPhoneType() != TelephonyManager.PHONE_TYPE_NONE; in hasVoiceCallingFeature()

12