Home
last modified time | relevance | path

Searched refs:phoneType (Results 1 – 15 of 15) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCapabilities.java181 public static boolean supportsAdn(int phoneType) { in supportsAdn() argument
182 return phoneType == PhoneConstants.PHONE_TYPE_GSM; in supportsAdn()
192 public static boolean canDistinguishDialingAndConnected(int phoneType) { in canDistinguishDialingAndConnected() argument
193 return phoneType == PhoneConstants.PHONE_TYPE_GSM; in canDistinguishDialingAndConnected()
DPhoneFactory.java189 int phoneType = TelephonyManager.getPhoneType(networkModes[i]); in makeDefaultPhone() local
190 if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in makeDefaultPhone()
195 } else if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in makeDefaultPhone()
201 Rlog.i(LOG_TAG, "Creating Phone with type = " + phoneType + " sub = " + i); in makeDefaultPhone()
DSmsNumberUtils.java569 int phoneType = phone.getPhoneType(); in getNetworkType() local
571 if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in getNetworkType()
573 } else if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in getNetworkType()
580 if (DBG) Rlog.w(TAG, "warning! unknown mPhoneType value=" + phoneType); in getNetworkType()
DConnection.java230 protected Connection(int phoneType) { in Connection() argument
231 mPhoneType = phoneType; in Connection()
DCommandsInterface.java1584 void setPhoneType(int phoneType); in setPhoneType() argument
DRIL.java5079 public void setPhoneType(int phoneType) { // Called by GsmCdmaPhone in setPhoneType() argument
5080 if (RILJ_LOGD) riljLog("setPhoneType=" + phoneType + " old value=" + mPhoneType); in setPhoneType()
5081 mPhoneType = phoneType; in setPhoneType()
/frameworks/base/services/core/java/com/android/server/location/
DComprehensiveCountryDetector.java213 final int phoneType = mTelephonyManager.getPhoneType(); in isNetworkCountryCodeAvailable() local
214 if (DEBUG) Slog.v(TAG, " phonetype=" + phoneType); in isNetworkCountryCodeAvailable()
215 return phoneType == TelephonyManager.PHONE_TYPE_GSM; in isNetworkCountryCodeAvailable()
DGnssLocationProvider.java2242 final int phoneType = phone.getPhoneType();
2243 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) {
2265 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsDispatchersControllerTest.java182 private void switchImsSmsFormat(int phoneType) { in switchImsSmsFormat() argument
183 mSimulatedCommands.setImsRegistrationState(new int[]{1, phoneType}); in switchImsSmsFormat()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCommandInterface.java493 public void setPhoneType(int phoneType) { //Set by CDMAPhone and GSMPhone constructor in setPhoneType() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipCommandInterface.java494 public void setPhoneType(int phoneType) { //Set by GsmCdmaPhone in setPhoneType() argument
/frameworks/opt/vcard/java/com/android/vcard/
DVCardBuilder.java1721 String phoneType = VCardUtils.getPhoneTypeString(type); in appendUncommonPhoneType() local
1722 if (phoneType != null) { in appendUncommonPhoneType()
1723 appendTypeParameter(phoneType); in appendUncommonPhoneType()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommandsVerifier.java1131 public void setPhoneType(int phoneType) { in setPhoneType() argument
DSimulatedCommands.java1730 setPhoneType(int phoneType) { in setPhoneType() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DUsimDataDownloadCommands.java.broken571 public void setPhoneType(int phoneType) {