Home
last modified time | relevance | path

Searched refs:PhoneConstants (Results 1 – 25 of 33) sorted by relevance

12

/packages/services/Telephony/src/com/android/phone/
DMMIDialogActivity.java32 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()
DPhoneGlobals.java66 import com.android.internal.telephony.PhoneConstants;
364 PhoneConstants.State phoneState;
846 getContentResolver(), Settings.Global.CELL_ON, PhoneConstants.CELL_ON_FLAG); in handleAirplaneModeChange()
848 case PhoneConstants.CELL_OFF_FLAG: in handleAirplaneModeChange()
852 case PhoneConstants.CELL_ON_FLAG: in handleAirplaneModeChange()
855 case PhoneConstants.CELL_OFF_DUE_TO_AIRPLANE_MODE_FLAG: in handleAirplaneModeChange()
880 PhoneConstants.CELL_OFF_DUE_TO_AIRPLANE_MODE_FLAG); in setRadioPowerOff()
900 getContentResolver(), Settings.Global.CELL_ON, PhoneConstants.CELL_ON_FLAG); in setRadioPowerOn()
950 int phoneId = intent.getIntExtra(PhoneConstants.PHONE_KEY, in onReceive()
960 String newPhone = intent.getStringExtra(PhoneConstants.PHONE_NAME_KEY); in onReceive()
[all …]
DGsmUmtsCallOptions.java31 import com.android.internal.telephony.PhoneConstants;
53 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_GSM) { in onCreate()
DCdmaCallOptions.java34 import com.android.internal.telephony.PhoneConstants;
79 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_CDMA in onCreate()
DEmergencyCallbackModeService.java39 import com.android.internal.telephony.PhoneConstants;
79 if (phoneInEcm == null || ((phoneInEcm.getPhoneType() != PhoneConstants.PHONE_TYPE_CDMA) in onCreate()
DCallFeaturesSetting.java60 import com.android.internal.telephony.PhoneConstants;
426 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { in onResume()
435 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { in onResume()
/packages/services/Telephony/tests/src/com/android/phone/
DCallFeaturesSettingTest.java36 import com.android.internal.telephony.PhoneConstants;
71 when(mMockPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in onResume_fdnIsAvailable_shouldShowFdnMenu()
87 when(mMockPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in onResume_iccCardIsNull_shouldNotShowFdnMenu()
102 when(mMockPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_GSM); in onResume_fdnIsNotAvailable_shouldNotShowFdnMenu()
/packages/services/Telephony/src/com/android/services/telephony/
DDeviceState.java23 import com.android.internal.telephony.PhoneConstants;
52 PhoneConstants.CELL_ON_FLAG); in getCellOnStatus()
DConferenceParticipantConnection.java31 import com.android.internal.telephony.PhoneConstants;
78 if (presentation != PhoneConstants.PRESENTATION_ALLOWED) { in ConferenceParticipantConnection()
DPstnIncomingCallNotifier.java37 import com.android.internal.telephony.PhoneConstants;
195 if (presentation != PhoneConstants.PRESENTATION_ALLOWED in handleCdmaCallWaiting()
297 if (connection.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in sendIncomingCallIntent()
DImsConference.java40 import com.android.internal.telephony.PhoneConstants;
886 mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in setConferenceHost()
1430 originalConnection.getPhoneType() != PhoneConstants.PHONE_TYPE_IMS) { in handleOriginalConnectionChange()
1437 if (mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in handleOriginalConnectionChange()
1451 if (mConferenceHost.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in handleOriginalConnectionChange()
DTelephonyConnectionService.java23 import static com.android.internal.telephony.PhoneConstants.PHONE_TYPE_GSM;
81 import com.android.internal.telephony.PhoneConstants;
1268 return phone.getState() == PhoneConstants.State.OFFHOOK in onCreateOutgoingConnection()
1280 return phone.getState() == PhoneConstants.State.OFFHOOK in onCreateOutgoingConnection()
1441 return (allowed && cellOn == PhoneConstants.CELL_ON_FLAG && !isRadioOn()); in isRadioPowerDownOnBluetooth()
1697 connection.setAddress(handle, PhoneConstants.PRESENTATION_ALLOWED); in getTelephonyConnection()
1794 || originalConnection.getPhoneType() != PhoneConstants.PHONE_TYPE_IMS) { in handleIncomingRtt()
2429 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM in handleMmiCode()
2479 extras.putInt(PhoneConstants.EXTRA_DIAL_DOMAIN, domain); in handleOutgoingCallConnectionByCallDomainSelection()
2745 extras.putInt(PhoneConstants.EXTRA_DIAL_DOMAIN, result); in createEmergencyConnection()
[all …]
DImsConferenceController.java31 import com.android.internal.telephony.PhoneConstants;
467 connection.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in startConference()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTestTelephonyConnection.java46 import com.android.internal.telephony.PhoneConstants;
147 when(mMockRadioConnection.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_IMS); in TestTelephonyConnection()
148 when(mImsPhoneConnection.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_IMS); in TestTelephonyConnection()
166 when(mMockPhone.getPhoneType()).thenReturn(PhoneConstants.PHONE_TYPE_IMS); in TestTelephonyConnection()
DTelephonyManagerTest.java48 import com.android.internal.telephony.PhoneConstants;
246 assertEquals("12345", mTelephonyManager.getSimServiceTable(PhoneConstants.APPTYPE_USIM)); in testGetSimServiceTable_USIM()
253 assertEquals("12345", mTelephonyManager.getSimServiceTable(PhoneConstants.APPTYPE_ISIM)); in testGetSimServiceTable_ISIM()
260 assertEquals(null, mTelephonyManager.getSimServiceTable(PhoneConstants.APPTYPE_RUIM)); in testGetSimServiceTable_RUSIM()
DTelephonyConnectionServiceTest.java97 import com.android.internal.telephony.PhoneConstants;
1477 doReturn(PhoneConstants.CELL_ON_FLAG).when(mDeviceState).getCellOnStatus(any()); in testCreateOutgoingCall_turnOnRadio_bluetoothOn()
1511 doReturn(PhoneConstants.CELL_ON_FLAG).when(mDeviceState).getCellOnStatus(any()); in testCreateOutgoingCall_forWearWatch_whenPhoneIsNull()
1544 doReturn(PhoneConstants.CELL_ON_FLAG).when(mDeviceState).getCellOnStatus(any()); in testCreateOutgoingCall_notTurnOnRadio_bluetoothOnWifiCallingEnabled()
2202 assertTrue(dialArgs.intentExtras.containsKey(PhoneConstants.EXTRA_DIAL_DOMAIN)); in testDomainSelectionCs()
2204 dialArgs.intentExtras.getInt(PhoneConstants.EXTRA_DIAL_DOMAIN, -1)); in testDomainSelectionCs()
2241 assertTrue(dialArgs.intentExtras.containsKey(PhoneConstants.EXTRA_DIAL_DOMAIN)); in testDomainSelectionPs()
2243 dialArgs.intentExtras.getInt(PhoneConstants.EXTRA_DIAL_DOMAIN, -1)); in testDomainSelectionPs()
2285 assertTrue(dialArgs.intentExtras.containsKey(PhoneConstants.EXTRA_DIAL_DOMAIN)); in testDomainSelectionCsForTty()
2287 dialArgs.intentExtras.getInt(PhoneConstants.EXTRA_DIAL_DOMAIN, -1)); in testDomainSelectionCsForTty()
[all …]
DTestTelephonyConnectionSimple.java28 import com.android.internal.telephony.PhoneConstants;
/packages/services/Telephony/src/com/android/phone/otasp/
DOtaspActivationService.java33 import com.android.internal.telephony.PhoneConstants;
190 if (mPhone.getState().equals(PhoneConstants.State.IDLE)) { in onOtaspCallStateChanged()
/packages/apps/PhoneCommon/src/com/android/phone/common/
DPhoneConstants.java22 public class PhoneConstants { class
/packages/services/Telephony/src/com/android/phone/vvm/
DVvmSimStateTracker.java38 import com.android.internal.telephony.PhoneConstants;
138 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, in onReceive()
/packages/apps/Contacts/src/com/android/contacts/
DCallUtil.java39 import com.android.phone.common.PhoneConstants;
126 intent.putExtra(PhoneConstants.EXTRA_CALL_ORIGIN, callOrigin); in getVideoCallIntent()
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DDynamicRoutingControllerTest.java42 import com.android.internal.telephony.PhoneConstants;
205 intent.putExtra(PhoneConstants.PHONE_KEY, phoneId); in sendNetworkCountryChanged()
/packages/services/Mms/src/com/android/mms/service/
DMmsNetworkManager.java40 import com.android.internal.telephony.PhoneConstants;
145 PhoneConstants.PHONE_KEY,
/packages/apps/Stk/src/com/android/stk/
DStkAppInstaller.java19 import com.android.internal.telephony.PhoneConstants;
/packages/services/Telephony/src/com/android/services/telephony/domainselection/
DDynamicRoutingController.java36 import com.android.internal.telephony.PhoneConstants;
76 int phoneId = intent.getIntExtra(PhoneConstants.PHONE_KEY, -1);

12