Home
last modified time | relevance | path

Searched refs:PHONE_TYPE_CDMA (Results 1 – 25 of 62) sorted by relevance

123

/aosp12/frameworks/opt/telephony/src/java/android/telephony/gsm/
H A DSmsMessage.java28 import static android.telephony.TelephonyManager.PHONE_TYPE_CDMA;
155 if (PHONE_TYPE_CDMA == activePhone) { in createFromPdu()
173 if (PHONE_TYPE_CDMA == activePhone) { in getTPLayerLengthForPDU()
247 if (PHONE_TYPE_CDMA == activePhone) { in getSubmitPdu()
274 if (PHONE_TYPE_CDMA == activePhone) { in getSubmitPdu()
305 if (PHONE_TYPE_CDMA == activePhone) { in getSubmitPdu()
619 if (PHONE_TYPE_CDMA == activePhone) { in getSmsFacility()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/imei/
H A DImeiInfoDialogControllerTest.java108 when(mTelephonyManager.getPhoneType()).thenReturn(TelephonyManager.PHONE_TYPE_CDMA); in populateImeiInfo_cdmaLteEnabled_shouldSetMeidAndImeiAndMin()
122 when(mTelephonyManager.getPhoneType()).thenReturn(TelephonyManager.PHONE_TYPE_CDMA); in populateImeiInfo_cdmaLteDisabled_shouldSetMeidAndMinAndRemoveGsmSettings()
135 when(mTelephonyManager.getPhoneType()).thenReturn(TelephonyManager.PHONE_TYPE_CDMA); in populateImeiInfo_cdmaSimDisabled_shouldRemoveImeiInfoAndSetMinPrlToEmpty()
148 when(mTelephonyManager.getPhoneType()).thenReturn(TelephonyManager.PHONE_TYPE_CDMA); in populateImeiInfo_cdmaSimPresent_shouldSetImeiInfoAndSetAllCdmaSetting()
164 when(mTelephonyManager.getPhoneType()).thenReturn(TelephonyManager.PHONE_TYPE_CDMA); in populateImeiInfo_cdmaSimABSENT_shouldSetImeiInfoAndSetAllCdmaSetting()
201 when(mTelephonyManager.getPhoneType()).thenReturn(TelephonyManager.PHONE_TYPE_CDMA); in populateImeiInfo_emptyImei_shouldSetMeid_imeiSetToEmptyString()
H A DImeiInfoPreferenceControllerTest.java20 import static android.telephony.TelephonyManager.PHONE_TYPE_CDMA;
112 when(mTelephonyManager.getCurrentPhoneType(anyInt())).thenReturn(PHONE_TYPE_CDMA); in displayPreference_singleSimCdmaPhone_shouldSetSingleSimCdmaTitleAndMeid()
126 when(mTelephonyManager.getCurrentPhoneType(anyInt())).thenReturn(PHONE_TYPE_CDMA); in displayPreference_multiSimCdmaPhone_shouldSetMultiSimCdmaTitleAndMeid()
184 when(mTelephonyManager.getCurrentPhoneType(anyInt())).thenReturn(PHONE_TYPE_CDMA); in copy_shouldCopyImeiToClipboard()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyCapabilities.java51 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA || in supportsEcm()
73 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA); in supportsOtasp()
108 } else if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in getDeviceIdLabel()
H A DSmsDispatchersController.java361 case PhoneConstants.PHONE_TYPE_CDMA: in setImsSmsFormat()
467 : (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()) in sendRetrySms()
576 return (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()); in isCdmaMo()
H A DPhoneFactory.java19 import static com.android.internal.telephony.PhoneConstants.PHONE_TYPE_CDMA;
321 if (phoneType == PHONE_TYPE_CDMA) phoneType = PHONE_TYPE_CDMA_LTE; in createPhone()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsDispatchersControllerTest.java87 switchImsSmsFormat(PhoneConstants.PHONE_TYPE_CDMA); in testSmsHandleStateUpdate()
113 switchImsSmsFormat(PhoneConstants.PHONE_TYPE_CDMA); in testSendImsCdmaTest()
124 switchImsSmsFormat(PhoneConstants.PHONE_TYPE_CDMA); in testSendRetrySmsCdmaTest()
127 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSendRetrySmsCdmaTest()
H A DGsmCdmaConnectionTest.java90 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testOriginalDialString()
120 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testSanityCDMA()
157 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testCDMAPostDialPause()
195 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mPhone).getPhoneType(); in testPostDialWait()
H A DSmsNumberUtilsTest.java147 doReturn(TelephonyManager.PHONE_TYPE_CDMA).when(mTelephonyManager).getPhoneType(); in testNaPcCountryCodeAreaLocalNumberConversion()
/aosp12/frameworks/base/telephony/java/android/telephony/
H A DCellLocation.java89 case PhoneConstants.PHONE_TYPE_CDMA: in newFromBundle()
128 case PhoneConstants.PHONE_TYPE_CDMA: in getEmpty()
H A DSmsMessage.java19 import static android.telephony.TelephonyManager.PHONE_TYPE_CDMA;
207 String format = (PHONE_TYPE_CDMA == activePhone) ? in createFromPdu()
1071 return (PHONE_TYPE_CDMA == activePhone); in isCdmaVoice()
/aosp12/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/
H A DImeiInfoPreferenceController.java19 import static android.telephony.TelephonyManager.PHONE_TYPE_CDMA;
105 return phoneType == PHONE_TYPE_CDMA ? mTelephonyManager.getMeid(simSlot) in getSummary()
153 return phoneType == PHONE_TYPE_CDMA ? getTitleForCdmaPhone(simSlot) in getTitle()
H A DImeiInfoDialogController.java81 if (mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) { in populateImeiInfo()
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
H A DApnPreferenceControllerTest.java90 doReturn(TelephonyManager.PHONE_TYPE_CDMA).when(mTelephonyManager).getPhoneType(); in getAvailabilityStatus_apnSettingsNotSupported_returnUnavailable()
100 doReturn(TelephonyManager.PHONE_TYPE_CDMA).when(mTelephonyManager).getPhoneType(); in getAvailabilityStatus_apnSettingsSupportedWithCDMA_returnAvailable()
H A DCarrierPreferenceControllerTest.java96 doReturn(TelephonyManager.PHONE_TYPE_CDMA).when(mTelephonyManager).getPhoneType(); in getAvailabilityStatus_cdmaWithFlagOff_returnUnavailable()
106 doReturn(TelephonyManager.PHONE_TYPE_CDMA).when(mTelephonyManager).getPhoneType(); in getAvailabilityStatus_cdmaWithFlagOnreturnAvailable()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/
H A DEmergencyTonePreferenceController.java50 && telephony.getCurrentPhoneType() == TelephonyManager.PHONE_TYPE_CDMA; in EmergencyTonePreferenceController()
/aosp12/packages/apps/Contacts/src/com/android/contacts/compat/
H A DTelephonyManagerCompat.java52 return phoneType == TelephonyManager.PHONE_TYPE_CDMA || in isVoiceCapable()
/aosp12/frameworks/base/telephony/java/com/android/internal/telephony/
H A DPhoneConstants.java76 public static final int PHONE_TYPE_CDMA = RILConstants.CDMA_PHONE; field in PhoneConstants
/aosp12/packages/apps/Dialer/java/com/android/incallui/incall/impl/
H A DButtonChooserFactory.java44 if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) { in newButtonChooser()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
H A DEmergencyTonePreferenceControllerTest.java65 when(mTelephonyManager.getCurrentPhoneType()).thenReturn(TelephonyManager.PHONE_TYPE_CDMA); in setUp()
/aosp12/packages/services/Telephony/src/com/android/phone/
H A DMMIDialogActivity.java123 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in onMMIComplete()
H A DCdmaCallOptions.java76 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_CDMA in onCreate()
/aosp12/packages/apps/Settings/src/com/android/settings/network/telephony/
H A DEnabledNetworkModePreferenceController.java402 if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) { in getEnabledNetworkType()
570 if (mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA in setPreferenceValueAndSummary()
610 if (mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA in setPreferenceValueAndSummary()
H A DPreferredNetworkModePreferenceController.java148 if (mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA in getPreferredNetworkModeSummaryResId()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapSmsPdu.java17 import static android.telephony.TelephonyManager.PHONE_TYPE_CDMA;
540 phoneType = (activePhone == PHONE_TYPE_CDMA) ? SMS_TYPE_CDMA : SMS_TYPE_GSM; in getSubmitPdus()

123