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.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()
DPhoneFactory.java317 int phoneType = TelephonyManager.getPhoneType(RILConstants.PREFERRED_NETWORK_MODE); in createPhone() local
318 Rlog.i(LOG_TAG, "Creating Phone with type = " + phoneType + " phoneId = " + phoneId); in createPhone()
321 if (phoneType == PHONE_TYPE_CDMA) phoneType = PHONE_TYPE_CDMA_LTE; in createPhone()
326 sCommandsInterfaces[phoneId], sPhoneNotifier, phoneId, phoneType, in createPhone()
DConnection.java319 protected Connection(int phoneType) { in Connection() argument
320 mPhoneType = phoneType; in Connection()
DCommandsInterface.java1781 void setPhoneType(int phoneType); in setPhoneType() argument
DRIL.java7158 public void setPhoneType(int phoneType) { // Called by GsmCdmaPhone in setPhoneType() argument
7159 if (RILJ_LOGD) riljLog("setPhoneType=" + phoneType + " old value=" + mPhoneType); in setPhoneType()
7160 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.java180 private void switchImsSmsFormat(int phoneType) { in switchImsSmsFormat() argument
181 mSimulatedCommands.setImsRegistrationState(new int[]{1, phoneType}); in switchImsSmsFormat()
DSimulatedCommandsVerifier.java1171 public void setPhoneType(int phoneType) { in setPhoneType() argument
DSimulatedCommands.java1804 setPhoneType(int phoneType) { in setPhoneType() argument
/frameworks/base/services/core/java/com/android/server/location/countrydetector/
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()
/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.java557 int phoneType = conn.getPhoneType(); in getBearer() local
558 switch (phoneType) { in getBearer()
565 loge("getBearer: unknown phoneType=%d", phoneType); in getBearer()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssLocationProvider.java1323 final int phoneType = phone.getPhoneType(); in requestRefLocation() local
1324 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { in requestRefLocation()
1346 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) { in requestRefLocation()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipCommandInterface.java517 public void setPhoneType(int phoneType) { //Set by GsmCdmaPhone in setPhoneType() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCommandInterface.java516 public void setPhoneType(int phoneType) { //Set by CDMAPhone and GSMPhone constructor 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) {