/packages/services/Telephony/src/com/android/phone/ |
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 | PhoneGlobals.java | 66 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 …]
|
D | GsmUmtsCallOptions.java | 31 import com.android.internal.telephony.PhoneConstants; 53 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_GSM) { in onCreate()
|
D | CdmaCallOptions.java | 34 import com.android.internal.telephony.PhoneConstants; 79 if (subInfoHelper.getPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_CDMA in onCreate()
|
D | EmergencyCallbackModeService.java | 39 import com.android.internal.telephony.PhoneConstants; 79 if (phoneInEcm == null || ((phoneInEcm.getPhoneType() != PhoneConstants.PHONE_TYPE_CDMA) in onCreate()
|
D | CallFeaturesSetting.java | 60 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/ |
D | CallFeaturesSettingTest.java | 36 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/ |
D | DeviceState.java | 23 import com.android.internal.telephony.PhoneConstants; 52 PhoneConstants.CELL_ON_FLAG); in getCellOnStatus()
|
D | ConferenceParticipantConnection.java | 31 import com.android.internal.telephony.PhoneConstants; 78 if (presentation != PhoneConstants.PRESENTATION_ALLOWED) { in ConferenceParticipantConnection()
|
D | PstnIncomingCallNotifier.java | 37 import com.android.internal.telephony.PhoneConstants; 195 if (presentation != PhoneConstants.PRESENTATION_ALLOWED in handleCdmaCallWaiting() 297 if (connection.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in sendIncomingCallIntent()
|
D | ImsConference.java | 40 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()
|
D | TelephonyConnectionService.java | 23 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 …]
|
D | ImsConferenceController.java | 31 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/ |
D | TestTelephonyConnection.java | 46 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()
|
D | TelephonyManagerTest.java | 48 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()
|
D | TelephonyConnectionServiceTest.java | 97 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 …]
|
D | TestTelephonyConnectionSimple.java | 28 import com.android.internal.telephony.PhoneConstants;
|
/packages/services/Telephony/src/com/android/phone/otasp/ |
D | OtaspActivationService.java | 33 import com.android.internal.telephony.PhoneConstants; 190 if (mPhone.getState().equals(PhoneConstants.State.IDLE)) { in onOtaspCallStateChanged()
|
/packages/apps/PhoneCommon/src/com/android/phone/common/ |
D | PhoneConstants.java | 22 public class PhoneConstants { class
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
D | VvmSimStateTracker.java | 38 import com.android.internal.telephony.PhoneConstants; 138 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, in onReceive()
|
/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()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | DynamicRoutingControllerTest.java | 42 import com.android.internal.telephony.PhoneConstants; 205 intent.putExtra(PhoneConstants.PHONE_KEY, phoneId); in sendNetworkCountryChanged()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsNetworkManager.java | 40 import com.android.internal.telephony.PhoneConstants; 145 PhoneConstants.PHONE_KEY,
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkAppInstaller.java | 19 import com.android.internal.telephony.PhoneConstants;
|
/packages/services/Telephony/src/com/android/services/telephony/domainselection/ |
D | DynamicRoutingController.java | 36 import com.android.internal.telephony.PhoneConstants; 76 int phoneId = intent.getIntExtra(PhoneConstants.PHONE_KEY, -1);
|