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.java186 public static boolean supportsAdn(int phoneType) { in supportsAdn() argument
187 return phoneType == PhoneConstants.PHONE_TYPE_GSM; in supportsAdn()
197 public static boolean canDistinguishDialingAndConnected(int phoneType) { in canDistinguishDialingAndConnected() argument
198 return phoneType == PhoneConstants.PHONE_TYPE_GSM; in canDistinguishDialingAndConnected()
DPhoneFactory.java328 int phoneType = TelephonyManager.getPhoneType(RILConstants.PREFERRED_NETWORK_MODE); in createPhone() local
329 Rlog.i(LOG_TAG, "Creating Phone with type = " + phoneType + " phoneId = " + phoneId); in createPhone()
332 if (phoneType == PHONE_TYPE_CDMA) phoneType = PHONE_TYPE_CDMA_LTE; in createPhone()
337 sCommandsInterfaces[phoneId], sPhoneNotifier, phoneId, phoneType, in createPhone()
DConnection.java336 protected Connection(int phoneType) { in Connection() argument
337 mPhoneType = phoneType; in Connection()
DCommandsInterface.java1765 void setPhoneType(int phoneType); in setPhoneType() argument
DRIL.java6130 public void setPhoneType(int phoneType) { // Called by GsmCdmaPhone in setPhoneType() argument
6131 if (RILJ_LOGD) riljLog("setPhoneType=" + phoneType + " old value=" + mPhoneType); in setPhoneType()
6132 mPhoneType = phoneType; in setPhoneType()
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DConnectionTest.java58 private TestConnection(int phoneType) { in TestConnection() argument
59 super(phoneType); in TestConnection()
DSmsDispatchersControllerTest.java1052 private void switchImsSmsFormat(int phoneType) { in switchImsSmsFormat() argument
1053 mSimulatedCommands.setImsRegistrationState(new int[]{1, phoneType}); in switchImsSmsFormat()
1267 int phoneType, String smsFormat) throws Exception { in sendRetrySmsWithDomainSelection() argument
1270 when(mPhone.getPhoneType()).thenReturn(phoneType); in sendRetrySmsWithDomainSelection()
1303 private void sendRetrySmsWhenImsAlreadyUsed(int phoneType, String smsFormat) throws Exception { in sendRetrySmsWhenImsAlreadyUsed() argument
1306 when(mPhone.getPhoneType()).thenReturn(phoneType); in sendRetrySmsWhenImsAlreadyUsed()
DSimulatedCommandsVerifier.java1128 public void setPhoneType(int phoneType) { in setPhoneType() argument
DSimulatedCommands.java1756 setPhoneType(int phoneType) { in setPhoneType() argument
/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.java720 int phoneType = conn.getPhoneType(); in getBearer() local
721 switch (phoneType) { in getBearer()
728 loge("getBearer: unknown phoneType=%d", phoneType); in getBearer()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyStateTracker.java1028 public void onEmergencyCallDomainUpdated(int phoneType, android.telecom.Connection c) { in onEmergencyCallDomainUpdated() argument
1031 switch(phoneType) { in onEmergencyCallDomainUpdated()
1045 Rlog.w(TAG, "domain updated: Unexpected phoneType:" + phoneType); in onEmergencyCallDomainUpdated()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssLocationProvider.java1576 final int phoneType = phone.getPhoneType(); in requestRefLocation() local
1577 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { in requestRefLocation()
1617 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) { in requestRefLocation()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCommandInterface.java480 public void setPhoneType(int phoneType) { //Set by CDMAPhone and GSMPhone constructor in setPhoneType() argument
/frameworks/opt/vcard/java/com/android/vcard/
DVCardBuilder.java1725 String phoneType = VCardUtils.getPhoneTypeString(type); in appendUncommonPhoneType() local
1726 if (phoneType != null) { in appendUncommonPhoneType()
1727 appendTypeParameter(phoneType); in appendUncommonPhoneType()