/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 | 1351 "phone type " + mPhone.getPhoneType()); in handleMessage() 1431 "phone type " + mPhone.getPhoneType()); in handleMessage() 1444 "phone type " + mPhone.getPhoneType()); in handleMessage() 1458 "phone type " + mPhone.getPhoneType()); in handleMessage() 1481 "phone type " + mPhone.getPhoneType()); in handleMessage() 1487 "phone type " + mPhone.getPhoneType()); in handleMessage() 1557 return mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM; in isPhoneTypeGsm()
|
D | GsmCdmaConnection.java | 121 super(phone.getPhoneType()); in GsmCdmaConnection() 148 super(phone.getPhoneType()); in GsmCdmaConnection() 197 super(parent.getPhone().getPhoneType()); in GsmCdmaConnection() 1043 return mOwner.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM; in isPhoneTypeGsm()
|
D | ImsSMSDispatcher.java | 258 (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()) ? in sendRetrySms() 385 return (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()); in isCdmaMo()
|
D | TelephonyTester.java | 115 if (mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in TelephonyTester()
|
D | IccSmsInterfaceManager.java | 212 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in updateMessageOnIccEf() 262 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in copyMessageToIccEf() 604 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) { in makeSmsRecordData()
|
D | Phone.java | 468 if (getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in Phone() 495 if (getPhoneType() != PhoneConstants.PHONE_TYPE_SIP) { in Phone() 507 if (getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) { in startMonitoringImsService() 1707 if (getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in getCallForwardingIndicator() 2084 public abstract int getPhoneType(); in getPhoneType() method in Phone 3288 pw.println(" getPhoneType()=" + getPhoneType()); in dump()
|
D | Connection.java | 868 public int getPhoneType() { in getPhoneType() method in Connection
|
D | PhoneFactory.java | 162 int phoneType = TelephonyManager.getPhoneType(networkModes[i]); in makeDefaultPhone()
|
D | SmsNumberUtils.java | 564 int phoneType = phone.getPhoneType(); in getNetworkType()
|
D | GsmCdmaPhone.java | 448 public int getPhoneType() { in getPhoneType() method in GsmCdmaPhone 3012 if (getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in phoneObjectUpdater() 3034 if ((matchCdma && getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) || in phoneObjectUpdater() 3035 (matchGsm && getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)) { in phoneObjectUpdater()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaConnectionTest.java | 90 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSanityCDMA() 124 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testCDMAPostDialPause() 158 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testPostDialWait()
|
D | GsmCdmaPhoneTest.java | 99 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in switchToGsm() 108 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType()); in switchToCdma() 207 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in testGetPhoneType() 212 assertEquals(PhoneConstants.PHONE_TYPE_CDMA, mPhoneUT.getPhoneType()); in testGetPhoneType() 341 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType()); in testVoiceMailNumberGsm()
|
D | SmsMessageBodyTest.java | 564 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callGsmLengthMethods() 586 int activePhone = TelephonyManager.getDefault().getPhoneType(); in callCdmaLengthMethods()
|
D | ImsSMSDispatcherTest.java | 129 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSendRetrySmsCdmaTest()
|
D | GsmSmsTest.java | 239 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentText() 278 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == in testFragmentTurkishText()
|
D | SmsNumberUtilsTest.java | 147 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testNaPcCountryCodeAreaLocalNumberConversion()
|
D | TelephonyTest.java | 344 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 | 74 super(phone.getPhoneType()); in ImsExternalConnection()
|
D | ImsPhoneBase.java | 163 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 | 123 public int getPhoneType() { in getPhoneType() method in SipPhoneBase
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 1106 public int getPhoneType() { in getPhoneType() method in TelephonyManager 1138 return TelephonyManager.getPhoneType(Integer.parseInt(mode)); in getPhoneTypeFromNetworkType() 1152 public static int getPhoneType(int networkMode) { in getPhoneType() method in TelephonyManager
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | PhoneMock.java | 617 public int getPhoneType() { in getPhoneType() method in PhoneMock
|