/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | TelephonyCapabilities.java | 49 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 …]
|
D | GsmCdmaCallTracker.java | 1480 "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()
|
D | GsmCdmaConnection.java | 131 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()
|
D | SmsDispatchersController.java | 434 (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()) in sendRetrySms() 528 return (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()); in isCdmaMo()
|
D | IccSmsInterfaceManager.java | 235 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()
|
D | Phone.java | 564 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()
|
D | TelephonyTester.java | 208 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in TelephonyTester()
|
D | SmsNumberUtils.java | 569 int phoneType = phone.getPhoneType(); in getNetworkType()
|
D | PhoneFactory.java | 186 int phoneType = TelephonyManager.getPhoneType(networkModes[i]); in makeDefaultPhone()
|
D | Connection.java | 1276 public int getPhoneType() { in getPhoneType() method in Connection
|
D | GsmCdmaPhone.java | 534 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/ |
D | GsmCdmaConnectionTest.java | 75 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()
|
D | ImsSmsDispatcherTest.java | 75 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()
|
D | SmsMessageBodyTest.java | 564 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callGsmLengthMethods() 586 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callCdmaLengthMethods()
|
D | GsmCdmaPhoneTest.java | 115 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()
|
D | GsmSmsTest.java | 251 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentText() 290 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentTurkishText()
|
D | SmsNumberUtilsTest.java | 148 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testNaPcCountryCodeAreaLocalNumberConversion()
|
D | SmsDispatchersControllerTest.java | 139 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSendRetrySmsCdmaTest()
|
D | TelephonyTest.java | 441 doReturn(PhoneConstants.PHONE_TYPE_GSM).when(mPhone).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 | 86 super(phone.getPhoneType()); in ImsExternalConnection()
|
D | ImsPhoneBase.java | 157 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 | 108 public int getPhoneType() { in getPhoneType() method in SipPhoneBase
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | PhoneMock.java | 623 public int getPhoneType() { in getPhoneType() method in PhoneMock
|