Home
last modified time | relevance | path

Searched refs:getPhoneType (Results 1 – 25 of 52) sorted by relevance

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/imei/
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()
149 when(mTelephonyManager.getPhoneType()).thenReturn(TelephonyManager.PHONE_TYPE_CDMA); in populateImeiInfo_cdmaSimPresent_shouldSetImeiInfoAndSetAllCdmaSetting()
165 when(mTelephonyManager.getPhoneType()).thenReturn(TelephonyManager.PHONE_TYPE_CDMA); in populateImeiInfo_cdmaSimABSENT_shouldSetImeiInfoAndSetAllCdmaSetting()
179 when(mTelephonyManager.getPhoneType()).thenReturn(TelephonyManager.PHONE_TYPE_GSM); in populateImeiInfo_gsmSimDisabled_shouldSetImeiAndRemoveCdmaSettings()
190 when(mTelephonyManager.getPhoneType()).thenReturn(TelephonyManager.PHONE_TYPE_GSM); in populateImeinfo_gsm_shouldSetImeiAndRemoveCdmaSettings()
202 when(mTelephonyManager.getPhoneType()).thenReturn(TelephonyManager.PHONE_TYPE_CDMA); in populateImeiInfo_emptyImei_shouldSetMeid_imeiSetToEmptyString()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DApnPreferenceControllerTest.java88 doReturn(TelephonyManager.PHONE_TYPE_CDMA).when(mTelephonyManager).getPhoneType(); in getAvailabilityStatus_apnSettingsNotSupported_returnUnavailable()
98 doReturn(TelephonyManager.PHONE_TYPE_CDMA).when(mTelephonyManager).getPhoneType(); in getAvailabilityStatus_apnSettingsSupportedWithCDMA_returnAvailable()
108 doReturn(TelephonyManager.PHONE_TYPE_GSM).when(mTelephonyManager).getPhoneType(); in getAvailabilityStatus_apnSettingsSupportedWithGsm_returnAvailable()
118 doReturn(TelephonyManager.PHONE_TYPE_GSM).when(mTelephonyManager).getPhoneType(); in getAvailabilityStatus_carrierConfigNull_returnUnavailable()
127 doReturn(TelephonyManager.PHONE_TYPE_GSM).when(mTelephonyManager).getPhoneType(); in getAvailabilityStatus_hideCarrierNetworkSettings_returnUnavailable()
DMobileNetworkUtilsTest.java172 when(mTelephonyManager.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_CDMA); in isCdmaOptions_phoneTypeCdma_returnTrue()
179 when(mTelephonyManager.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in isCdmaOptions_worldModeWithGsmWcdma_returnTrue()
191 when(mTelephonyManager.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in isCdmaOptions_carrierWorldModeWithoutHideCarrier_returnTrue()
229 when(mTelephonyManager.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in shouldDisplayNetworkSelectOptions_allCheckPass_returnTrue()
DCarrierPreferenceControllerTest.java92 doReturn(TelephonyManager.PHONE_TYPE_CDMA).when(mTelephonyManager).getPhoneType(); in getAvailabilityStatus_cdmaWithFlagOff_returnUnavailable()
102 doReturn(TelephonyManager.PHONE_TYPE_CDMA).when(mTelephonyManager).getPhoneType(); in getAvailabilityStatus_cdmaWithFlagOnreturnAvailable()
112 doReturn(TelephonyManager.PHONE_TYPE_GSM).when(mTelephonyManager).getPhoneType(); in getAvailabilityStatus_gsmWithFlagOnreturnAvailable()
/packages/services/Telephony/tests/src/com/android/phone/
DCallFeaturesSettingTest.java69 when(mMockPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in onResume_fdnIsAvailable_shouldShowFdnMenu()
84 when(mMockPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in onResume_iccCardIsNull_shouldNotShowFdnMenu()
98 when(mMockPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in onResume_fdnIsNotAvailable_shouldNotShowFdnMenu()
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/
DImeiInfoPreferenceController.java99 final int phoneType = getPhoneType(simSlot); in getSummary()
157 final int phoneType = getPhoneType(simSlot); in getTitle()
162 private int getPhoneType(int slotIndex) { in getPhoneType() method in ImeiInfoPreferenceController
/packages/services/Telephony/tests/src/com/android/services/telephony/
DImsConferenceControllerTest.java115 when(mTestTelephonyConnectionA.mMockRadioConnection.getPhoneType()) in testMergeMultiPartyCalls()
117 when(mTestTelephonyConnectionB.mMockRadioConnection.getPhoneType()) in testMergeMultiPartyCalls()
DTestTelephonyConnection.java94 when(mMockRadioConnection.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_IMS); in TestTelephonyConnection()
106 when(mMockPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_IMS); in TestTelephonyConnection()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/imei/
DImeiInfoPreferenceController.java81 final int phoneType = mTelephonyManager.getPhoneType(); in getSummary()
124 final int phoneType = mTelephonyManager.getPhoneType(); in updatePreference()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java1111 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in performHold()
1134 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in performUnhold()
1465 newExtras.putInt(TelecomManager.EXTRA_CALL_TECHNOLOGY_TYPE, getPhone().getPhoneType()); in setTechnologyTypeExtra()
1699 if (getPhone() == null || getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_IMS) { in isAddParticipantCapable()
2310 && mOriginalConnection.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS in isRtt()
2554 originalConnection.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS; in isImsConnection()
2565 switch (phone.getPhoneType()) { in isGsmCdmaConnection()
2722 boolean isIms = phone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS; in refreshConferenceSupported()
2796 if (phone != null && (phone.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) in isShowingOriginalDialString()
DImsConference.java846 mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in setConferenceHost()
1340 originalConnection.getPhoneType() != PhoneConstants.PHONE_TYPE_IMS) { in handleOriginalConnectionChange()
1347 if (mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in handleOriginalConnectionChange()
1361 if (mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in handleOriginalConnectionChange()
DTelephonyConnectionService.java797 final int originalPhoneType = phone.getPhoneType(); in onCreateOutgoingConnection()
972 if (phone.getPhoneType() != originalPhoneType) { in adjustAndPlaceOutgoingConnection()
1242 || originalConnection.getPhoneType() != PhoneConstants.PHONE_TYPE_IMS) { in handleIncomingRtt()
1727 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM || in placeOutgoingConnection()
1825 int phoneType = phone.getPhoneType(); in createConnectionFor()
2239 if (phone.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) { in allowsMute()
2273 int phoneType = connection.getCall().getPhone().getPhoneType(); in addConnectionToConferenceController()
2300 if (phone.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) { in checkAdditionalOutgoingCallLimits()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DEnabledNetworkModePreferenceController.java175 final int phoneType = mTelephonyManager.getPhoneType(); in updatePreferenceEntries()
528 if (mTelephonyManager.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA in updatePreferenceValueAndSummary()
552 if (mTelephonyManager.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA in updatePreferenceValueAndSummary()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DContactPreference.java132 String summary = mContact.getPhoneType() == null ? in setPhoneUri()
136 mContact.getPhoneType(), in setPhoneUri()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DEnabledNetworkModePreferenceController.java125 final int phoneType = mTelephonyManager.getPhoneType(); in updatePreferenceEntries()
316 if (mTelephonyManager.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA in updatePreferenceValueAndSummary()
DMobileNetworkUtils.java256 if (telephonyManager.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in isCdmaOptions()
317 if (telephonyManager.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in isGsmBasicOptions()
/packages/apps/Dialer/java/com/android/incallui/bindings/
DPhoneNumberService.java48 int getPhoneType(); in getPhoneType() method
/packages/apps/Contacts/src/com/android/contacts/compat/
DTelephonyManagerCompat.java51 final int phoneType = telephonyManager.getPhoneType(); in isVoiceCapable()
/packages/apps/Contacts/src/com/android/contacts/location/
DCountryDetector.java124 return mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM; in isNetworkCountryCodeAvailable()
/packages/apps/Contacts/src/com/android/contacts/model/
DValuesDelta.java573 return getPhoneType() != null; in hasPhoneType()
576 public Integer getPhoneType() { in getPhoneType() method in ValuesDelta
/packages/services/Telephony/src/com/android/phone/
DCdmaCallOptions.java56 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_CDMA in onCreate()
DGsmUmtsCallOptions.java49 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_GSM) { in onCreate()
DMMIDialogActivity.java122 int phoneType = mPhone.getPhoneType(); in onMMIComplete()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DAtPhonebook.java567 name = name + "/" + getPhoneType(type); in processCpbrCommand()
644 private static String getPhoneType(int type) { in getPhoneType() method in AtPhonebook
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DSpecialCharSequenceMgr.java177 || telephonyManager.getPhoneType() != TelephonyManager.PHONE_TYPE_GSM) { in handleAdnEntry()
320 (telephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM) in handleDeviceIdDisplay()

123