/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoDialogControllerTest.java | 108 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/ |
D | ApnPreferenceControllerTest.java | 88 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()
|
D | MobileNetworkUtilsTest.java | 172 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()
|
D | CarrierPreferenceControllerTest.java | 92 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/ |
D | CallFeaturesSettingTest.java | 69 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/ |
D | ImeiInfoPreferenceController.java | 99 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/ |
D | ImsConferenceControllerTest.java | 115 when(mTestTelephonyConnectionA.mMockRadioConnection.getPhoneType()) in testMergeMultiPartyCalls() 117 when(mTestTelephonyConnectionB.mMockRadioConnection.getPhoneType()) in testMergeMultiPartyCalls()
|
D | TestTelephonyConnection.java | 94 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/ |
D | ImeiInfoPreferenceController.java | 81 final int phoneType = mTelephonyManager.getPhoneType(); in getSummary() 124 final int phoneType = mTelephonyManager.getPhoneType(); in updatePreference()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnection.java | 1111 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()
|
D | ImsConference.java | 846 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()
|
D | TelephonyConnectionService.java | 797 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/ |
D | EnabledNetworkModePreferenceController.java | 175 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/ |
D | ContactPreference.java | 132 String summary = mContact.getPhoneType() == null ? in setPhoneUri() 136 mContact.getPhoneType(), in setPhoneUri()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | EnabledNetworkModePreferenceController.java | 125 final int phoneType = mTelephonyManager.getPhoneType(); in updatePreferenceEntries() 316 if (mTelephonyManager.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA in updatePreferenceValueAndSummary()
|
D | MobileNetworkUtils.java | 256 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/ |
D | PhoneNumberService.java | 48 int getPhoneType(); in getPhoneType() method
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | TelephonyManagerCompat.java | 51 final int phoneType = telephonyManager.getPhoneType(); in isVoiceCapable()
|
/packages/apps/Contacts/src/com/android/contacts/location/ |
D | CountryDetector.java | 124 return mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM; in isNetworkCountryCodeAvailable()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | ValuesDelta.java | 573 return getPhoneType() != null; in hasPhoneType() 576 public Integer getPhoneType() { in getPhoneType() method in ValuesDelta
|
/packages/services/Telephony/src/com/android/phone/ |
D | CdmaCallOptions.java | 56 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_CDMA in onCreate()
|
D | GsmUmtsCallOptions.java | 49 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_GSM) { in onCreate()
|
D | MMIDialogActivity.java | 122 int phoneType = mPhone.getPhoneType(); in onMMIComplete()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | AtPhonebook.java | 567 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/ |
D | SpecialCharSequenceMgr.java | 177 || telephonyManager.getPhoneType() != TelephonyManager.PHONE_TYPE_GSM) { in handleAdnEntry() 320 (telephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM) in handleDeviceIdDisplay()
|