Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCapabilities.java182 public static boolean supportsAdn(int phoneType) { in supportsAdn() argument
183 return phoneType == PhoneConstants.PHONE_TYPE_GSM; in supportsAdn()
193 public static boolean canDistinguishDialingAndConnected(int phoneType) { in canDistinguishDialingAndConnected() argument
194 return phoneType == PhoneConstants.PHONE_TYPE_GSM; in canDistinguishDialingAndConnected()
DPhoneFactory.java295 int phoneType = TelephonyManager.getPhoneType(RILConstants.PREFERRED_NETWORK_MODE); in createPhone() local
296 Rlog.i(LOG_TAG, "Creating Phone with type = " + phoneType + " phoneId = " + phoneId); in createPhone()
299 if (phoneType == PHONE_TYPE_CDMA) phoneType = PHONE_TYPE_CDMA_LTE; in createPhone()
304 sCommandsInterfaces[phoneId], sPhoneNotifier, phoneId, phoneType, in createPhone()
DConnection.java289 protected Connection(int phoneType) { in Connection() argument
290 mPhoneType = phoneType; in Connection()
DCommandsInterface.java1736 void setPhoneType(int phoneType); in setPhoneType() argument
DRIL.java6469 public void setPhoneType(int phoneType) { // Called by GsmCdmaPhone in setPhoneType() argument
6470 if (RILJ_LOGD) riljLog("setPhoneType=" + phoneType + " old value=" + mPhoneType); in setPhoneType()
6471 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.java158 private void switchImsSmsFormat(int phoneType) { in switchImsSmsFormat() argument
159 mSimulatedCommands.setImsRegistrationState(new int[]{1, phoneType}); in switchImsSmsFormat()
DSimulatedCommandsVerifier.java1147 public void setPhoneType(int phoneType) { in setPhoneType() argument
DSimulatedCommands.java1771 setPhoneType(int phoneType) { in setPhoneType() argument
/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.java1981 final int phoneType = phone.getPhoneType();
1982 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) {
2004 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) {
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsNumberUtils.java604 int phoneType = telephonyManager.getPhoneType(); in getNetworkType() local
606 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { in getNetworkType()
608 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) { in getNetworkType()
615 if (DBG) Log.w(TAG, "warning! unknown mPhoneType value=" + phoneType); in getNetworkType()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java505 int phoneType = conn.getPhoneType(); in getBearer() local
506 switch (phoneType) { in getBearer()
513 loge("getBearer: unknown phoneType=%d", phoneType); in getBearer()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCommandInterface.java503 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.java504 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/tests/telephonytests/src/com/android/internal/telephony/gsm/
DUsimDataDownloadCommands.java.broken567 public void setPhoneType(int phoneType) {