/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | TelephonyCapabilities.java | 48 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 …]
|
D | GsmCdmaCallTracker.java | 1490 "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()
|
D | GsmCdmaConnection.java | 129 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()
|
D | SmsDispatchersController.java | 466 : (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()) in sendRetrySms() 561 return (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()); in isCdmaMo()
|
D | IccSmsInterfaceManager.java | 284 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()
|
D | Phone.java | 575 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()
|
D | TelephonyTester.java | 224 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in TelephonyTester()
|
D | PhoneFactory.java | 295 int phoneType = TelephonyManager.getPhoneType(RILConstants.PREFERRED_NETWORK_MODE); in createPhone()
|
D | Connection.java | 1345 public int getPhoneType() { in getPhoneType() method in Connection
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ImsSmsDispatcherTest.java | 79 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()
|
D | GsmCdmaConnectionTest.java | 82 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()
|
D | SmsMessageBodyTest.java | 557 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callGsmLengthMethods() 579 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callCdmaLengthMethods()
|
D | SmsDispatchersControllerTest.java | 121 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSendRetrySmsCdmaTest()
|
D | GsmSmsTest.java | 260 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentText() 299 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentTurkishText()
|
D | SmsNumberUtilsTest.java | 147 doReturn(TelephonyManager.PHONE_TYPE_CDMA).when(mTelephonyManager).getPhoneType(); in testNaPcCountryCodeAreaLocalNumberConversion()
|
D | GsmCdmaPhoneTest.java | 118 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()
|
D | TelephonyTest.java | 504 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/ |
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 | 85 super(phone.getPhoneType()); in ImsExternalConnection()
|
D | ImsPhoneBase.java | 156 public int getPhoneType() { in getPhoneType() method in ImsPhoneBase
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | ComprehensiveCountryDetector.java | 213 final int phoneType = mTelephonyManager.getPhoneType(); in isNetworkCountryCodeAvailable()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhoneBase.java | 107 public int getPhoneType() { in getPhoneType() method in SipPhoneBase
|
/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/metrics/ |
D | VoiceCallSessionStats.java | 505 int phoneType = conn.getPhoneType(); in getBearer()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | VoiceCallSessionStatsTest.java | 170 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()
|