/packages/services/Telephony/src/com/android/phone/ |
D | PhoneGlobals.java | 62 import com.android.internal.telephony.PhoneConstants; 221 PhoneConstants.State phoneState; 574 Settings.Global.CELL_ON, PhoneConstants.CELL_ON_FLAG); in handleAirplaneModeChange() 577 case PhoneConstants.CELL_OFF_FLAG: in handleAirplaneModeChange() 581 case PhoneConstants.CELL_ON_FLAG: in handleAirplaneModeChange() 584 case PhoneConstants.CELL_OFF_DUE_TO_AIRPLANE_MODE_FLAG: in handleAirplaneModeChange() 606 PhoneConstants.CELL_OFF_DUE_TO_AIRPLANE_MODE_FLAG); in setRadioPowerOff() 615 PhoneConstants.CELL_ON_FLAG); in setRadioPowerOn() 667 int phoneId = intent.getIntExtra(PhoneConstants.PHONE_KEY, in onReceive() 677 String newPhone = intent.getStringExtra(PhoneConstants.PHONE_NAME_KEY); in onReceive() [all …]
|
D | MMIDialogActivity.java | 32 import com.android.internal.telephony.PhoneConstants; 55 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, in onCreate() 123 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in onMMIComplete() 125 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in onMMIComplete()
|
D | CallNotifier.java | 41 import com.android.internal.telephony.PhoneConstants; 329 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in run() 333 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM in run() 334 || phoneType == PhoneConstants.PHONE_TYPE_SIP in run() 335 || phoneType == PhoneConstants.PHONE_TYPE_IMS in run() 336 || phoneType == PhoneConstants.PHONE_TYPE_THIRD_PARTY) { in run() 428 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in run()
|
D | CdmaCallOptions.java | 26 import com.android.internal.telephony.PhoneConstants; 56 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_CDMA in onCreate()
|
D | GsmUmtsCallOptions.java | 28 import com.android.internal.telephony.PhoneConstants; 49 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_GSM) { in onCreate()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | RadioOnStateListenerTest.java | 39 import com.android.internal.telephony.PhoneConstants; 111 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); in testPhoneChangeState_OkToCallTrue() 134 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); in testPhoneChangeState_NoOkToCall_Timeout() 159 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); in testTimeout_RetryFailure() 180 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); in testTimeout_RetryFailure_ForEmergency()
|
D | ImsConferenceControllerTest.java | 30 import com.android.internal.telephony.PhoneConstants; 116 .thenReturn(PhoneConstants.PHONE_TYPE_IMS); in testMergeMultiPartyCalls() 118 .thenReturn(PhoneConstants.PHONE_TYPE_IMS); in testMergeMultiPartyCalls()
|
D | TestTelephonyConnection.java | 36 import com.android.internal.telephony.PhoneConstants; 94 when(mMockRadioConnection.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_IMS); in TestTelephonyConnection() 106 when(mMockPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_IMS); in TestTelephonyConnection()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | CallFeaturesSettingTest.java | 36 import com.android.internal.telephony.PhoneConstants; 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | ApnSettings.java | 55 import com.android.internal.telephony.PhoneConstants; 139 PhoneConstants.DataState state = getMobileDataState(intent); 165 private static PhoneConstants.DataState getMobileDataState(Intent intent) { in getMobileDataState() 166 String str = intent.getStringExtra(PhoneConstants.STATE_KEY); in getMobileDataState() 168 return Enum.valueOf(PhoneConstants.DataState.class, str); in getMobileDataState() 170 return PhoneConstants.DataState.DISCONNECTED; in getMobileDataState()
|
D | ApnEditor.java | 53 import com.android.internal.telephony.PhoneConstants; 348 if (apnList.contains(PhoneConstants.APN_TYPE_ALL)) { in hasAllApns() 352 for (String apn : PhoneConstants.APN_TYPES) { in hasAllApns() 1162 || PhoneConstants.APN_TYPE_ALL.equals(userEnteredApnType)) in getUserEnteredApnType() 1167 for (String apnType : PhoneConstants.APN_TYPES) { in getUserEnteredApnType() 1170 && !apnType.equals(PhoneConstants.APN_TYPE_IA) in getUserEnteredApnType() 1171 && !apnType.equals(PhoneConstants.APN_TYPE_EMERGENCY) in getUserEnteredApnType() 1172 && !apnType.equals(PhoneConstants.APN_TYPE_MCX)) { in getUserEnteredApnType()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | MobileNetworkUtilsTest.java | 42 import com.android.internal.telephony.PhoneConstants; 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()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | EnabledNetworkModePreferenceController.java | 33 import com.android.internal.telephony.PhoneConstants; 127 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in updatePreferenceEntries() 170 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in updatePreferenceEntries() 316 if (mTelephonyManager.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA in updatePreferenceValueAndSummary()
|
D | MobileNetworkUtils.java | 46 import com.android.internal.telephony.PhoneConstants; 256 if (telephonyManager.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in isCdmaOptions() 317 if (telephonyManager.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in isGsmBasicOptions()
|
D | PreferredNetworkModePreferenceController.java | 32 import com.android.internal.telephony.PhoneConstants; 157 if (mTelephonyManager.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA in getPreferredNetworkModeSummaryResId()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | ApnSettings.java | 26 import com.android.internal.telephony.PhoneConstants; 129 cursor.getString(COLUMN_TYPE), PhoneConstants.APN_TYPE_MMS)) { in getApnSettingsFromCursor() 212 if (type.equals(requestType) || type.equals(PhoneConstants.APN_TYPE_ALL)) { in isValidApnType()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | EnabledNetworkModePreferenceController.java | 44 import com.android.internal.telephony.PhoneConstants; 177 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in updatePreferenceEntries() 220 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in updatePreferenceEntries() 528 if (mTelephonyManager.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA in updatePreferenceValueAndSummary() 552 if (mTelephonyManager.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA in updatePreferenceValueAndSummary()
|
D | PreferredNetworkModePreferenceController.java | 30 import com.android.internal.telephony.PhoneConstants; 156 if (mTelephonyManager.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA in getPreferredNetworkModeSummaryResId()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | DeviceState.java | 23 import com.android.internal.telephony.PhoneConstants; 52 PhoneConstants.CELL_ON_FLAG); in getCellOnStatus()
|
D | PstnIncomingCallNotifier.java | 35 import com.android.internal.telephony.PhoneConstants; 176 if (presentation != PhoneConstants.PRESENTATION_ALLOWED in handleCdmaCallWaiting() 280 if (connection.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in sendIncomingCallIntent()
|
D | ImsConference.java | 38 import com.android.internal.telephony.PhoneConstants; 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 | ConferenceParticipantConnection.java | 27 import com.android.internal.telephony.PhoneConstants; 68 if (presentation != PhoneConstants.PRESENTATION_ALLOWED) { in ConferenceParticipantConnection()
|
D | TelephonyConnection.java | 63 import com.android.internal.telephony.PhoneConstants; 1111 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in performHold() 1134 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in performUnhold() 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() 2566 case PhoneConstants.PHONE_TYPE_GSM: in isGsmCdmaConnection() 2567 case PhoneConstants.PHONE_TYPE_CDMA: in isGsmCdmaConnection() 2722 boolean isIms = phone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS; in refreshConferenceSupported()
|
/packages/services/Telephony/src/com/android/phone/otasp/ |
D | OtaspActivationService.java | 33 import com.android.internal.telephony.PhoneConstants; 184 if (mPhone.getState().equals(PhoneConstants.State.IDLE)) { in onOtaspCallStateChanged()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | CallUtil.java | 39 import com.android.phone.common.PhoneConstants; 126 intent.putExtra(PhoneConstants.EXTRA_CALL_ORIGIN, callOrigin); in getVideoCallIntent()
|