Searched refs:PHONE_TYPE_GSM (Results 1 - 21 of 21) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyCapabilities.java93 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM);
105 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) {
127 return ((phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)
141 return ((phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)
161 return ((phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)
170 * ({@link PhoneConstants#PHONE_TYPE_GSM}).
182 return phoneType == PhoneConstants.PHONE_TYPE_GSM;
193 return phoneType == PhoneConstants.PHONE_TYPE_GSM;
H A DPhoneFactory.java163 if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
166 PhoneConstants.PHONE_TYPE_GSM,
H A DGsmCdmaPhone.java199 super(precisePhoneType == PhoneConstants.PHONE_TYPE_GSM ? "GSM" : "CDMA",
276 mCi.setPhoneType(PhoneConstants.PHONE_TYPE_GSM);
277 tm.setPhoneType(getPhoneId(), PhoneConstants.PHONE_TYPE_GSM);
351 return mPrecisePhoneType == PhoneConstants.PHONE_TYPE_GSM;
368 setPhoneName(precisePhoneType == PhoneConstants.PHONE_TYPE_GSM ? "GSM" : "CDMA");
447 if (mPrecisePhoneType == PhoneConstants.PHONE_TYPE_GSM) {
448 return PhoneConstants.PHONE_TYPE_GSM;
3041 (matchGsm && getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)) {
3100 switchPhoneType(PhoneConstants.PHONE_TYPE_GSM);
H A DIccSmsInterfaceManager.java212 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) {
262 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) {
605 if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) {
H A DImsSMSDispatcher.java128 case PhoneConstants.PHONE_TYPE_GSM:
H A DSmsNumberUtils.java566 if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
H A DGsmCdmaConnection.java1055 return mOwner.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM;
H A DGsmCdmaCallTracker.java1571 return mPhone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM;
/frameworks/base/telephony/java/android/telephony/
H A DCellLocation.java66 case PhoneConstants.PHONE_TYPE_GSM:
100 case PhoneConstants.PHONE_TYPE_GSM:
H A DTelephonyManager.java1073 public static final int PHONE_TYPE_GSM = PhoneConstants.PHONE_TYPE_GSM; field in class:TelephonyManager
1084 * @see #PHONE_TYPE_GSM
1099 * @see #PHONE_TYPE_GSM
1149 * @see #PHONE_TYPE_GSM
1222 return PhoneConstants.PHONE_TYPE_GSM;
1234 return PhoneConstants.PHONE_TYPE_GSM;
1237 return PhoneConstants.PHONE_TYPE_GSM;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DImsSMSDispatcherTest.java106 switchImsSmsFormat(PhoneConstants.PHONE_TYPE_GSM);
118 switchImsSmsFormat(PhoneConstants.PHONE_TYPE_GSM);
128 switchImsSmsFormat(PhoneConstants.PHONE_TYPE_GSM);
162 switchImsSmsFormat(PhoneConstants.PHONE_TYPE_GSM);
H A DGsmCdmaPhoneTest.java89 PhoneConstants.PHONE_TYPE_GSM, mTelephonyComponentFactory);
100 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType());
210 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType());
344 assertEquals(PhoneConstants.PHONE_TYPE_GSM, mPhoneUT.getPhoneType());
H A DGsmSmsTest.java240 TelephonyManager.PHONE_TYPE_GSM);
279 TelephonyManager.PHONE_TYPE_GSM);
H A DServiceStateTrackerTest.java300 mSimulatedCommands.setImsRegistrationState(new int[]{1, PhoneConstants.PHONE_TYPE_GSM});
308 mSimulatedCommands.setImsRegistrationState(new int[]{0, PhoneConstants.PHONE_TYPE_GSM});
850 mSimulatedCommands.setImsRegistrationState(new int[]{1, PhoneConstants.PHONE_TYPE_GSM});
H A DSmsMessageBodyTest.java565 if (TelephonyManager.PHONE_TYPE_GSM == activePhone) {
H A DTelephonyTest.java358 doReturn(PhoneConstants.PHONE_TYPE_GSM).when(mPhone).getPhoneType();
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DPhoneConstants.java57 public static final int PHONE_TYPE_GSM = RILConstants.GSM_PHONE; field in class:PhoneConstants
/frameworks/base/services/core/java/com/android/server/location/
H A DComprehensiveCountryDetector.java215 return phoneType == TelephonyManager.PHONE_TYPE_GSM;
H A DGnssLocationProvider.java2068 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) {
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerService.java373 } else if (mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DPhoneMock.java619 return PhoneConstants.PHONE_TYPE_GSM;

Completed in 510 milliseconds