/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | TelephonyCapabilities.java | 52 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 …]
|
D | GsmCdmaCallTracker.java | 1559 "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()
|
D | GsmCdmaConnection.java | 134 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()
|
D | IccSmsInterfaceManager.java | 306 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()
|
D | Phone.java | 653 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()
|
D | SmsDispatchersController.java | 819 : (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()
|
D | PhoneFactory.java | 328 int phoneType = TelephonyManager.getPhoneType(RILConstants.PREFERRED_NETWORK_MODE); in createPhone()
|
D | CallManager.java | 218 phone.getPhoneType() != PhoneConstants.PHONE_TYPE_IMS) { in getPhone() 2068 if ((c.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) in handleMessage()
|
D | TelephonyTester.java | 243 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in TelephonyTester()
|
D | Connection.java | 1512 public int getPhoneType() { in getPhoneType() method in Connection
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ImsSmsDispatcherTest.java | 199 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()
|
D | GsmCdmaConnectionTest.java | 90 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()
|
D | SmsDispatchersControllerTest.java | 293 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()
|
D | SmsMessageBodyTest.java | 558 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callGsmLengthMethods() 580 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callCdmaLengthMethods()
|
D | SmsNumberUtilsTest.java | 149 doReturn(TelephonyManager.PHONE_TYPE_CDMA).when(mTelephonyManager).getPhoneType(); in testNaPcCountryCodeAreaLocalNumberConversion()
|
D | GsmSmsTest.java | 269 boolean isGsmPhoneWithMessaging = (TelephonyManager.getDefault().getPhoneType() in testFragmentText() 308 boolean isGsmPhoneWithMessaging = (TelephonyManager.getDefault().getPhoneType() in testFragmentTurkishText()
|
D | GsmCdmaPhoneTest.java | 158 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()
|
D | TelephonyTest.java | 716 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/ |
D | SmsStats.java | 361 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/ |
D | TrackerService.java | 370 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/ |
D | ImsExternalConnection.java | 86 super(phone.getPhoneType()); in ImsExternalConnection()
|
D | ImsPhoneBase.java | 164 public int getPhoneType() { in getPhoneType() method in ImsPhoneBase
|
/frameworks/base/services/core/java/com/android/server/location/countrydetector/ |
D | ComprehensiveCountryDetector.java | 213 final int phoneType = mTelephonyManager.getPhoneType(); in isNetworkCountryCodeAvailable()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsNumberUtils.java | 604 int phoneType = telephonyManager.getPhoneType(); in getNetworkType()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/ |
D | EmergencyStateTracker.java | 1269 return mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA in isInCdmaEcm() 2052 if ((c.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) in handleNewRingingConnection()
|