Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCapabilities.java183 public static boolean supportsAdn(int phoneType) { in supportsAdn() argument
184 return phoneType == PhoneConstants.PHONE_TYPE_GSM; in supportsAdn()
194 public static boolean canDistinguishDialingAndConnected(int phoneType) { in canDistinguishDialingAndConnected() argument
195 return phoneType == PhoneConstants.PHONE_TYPE_GSM; in canDistinguishDialingAndConnected()
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()
DPhoneFactory.java186 int phoneType = TelephonyManager.getPhoneType(networkModes[i]); in makeDefaultPhone() local
187 if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in makeDefaultPhone()
192 } else if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in makeDefaultPhone()
198 Rlog.i(LOG_TAG, "Creating Phone with type = " + phoneType + " sub = " + i); in makeDefaultPhone()
DConnection.java274 protected Connection(int phoneType) { in Connection() argument
275 mPhoneType = phoneType; in Connection()
DCommandsInterface.java1647 void setPhoneType(int phoneType); in setPhoneType() argument
DRIL.java5697 public void setPhoneType(int phoneType) { // Called by GsmCdmaPhone in setPhoneType() argument
5698 if (RILJ_LOGD) riljLog("setPhoneType=" + phoneType + " old value=" + mPhoneType); in setPhoneType()
5699 mPhoneType = phoneType; in setPhoneType()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DConnectionTest.java45 private TestConnection(int phoneType) { in TestConnection() argument
46 super(phoneType); in TestConnection()
DSmsDispatchersControllerTest.java176 private void switchImsSmsFormat(int phoneType) { in switchImsSmsFormat() argument
177 mSimulatedCommands.setImsRegistrationState(new int[]{1, phoneType}); in switchImsSmsFormat()
/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.java1951 final int phoneType = phone.getPhoneType();
1952 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) {
1974 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) {
/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.broken567 public void setPhoneType(int phoneType) {