/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsExternalCallTracker.java | 26 import com.android.internal.telephony.PhoneConstants; 205 public void onPhoneStateChanged(PhoneConstants.State oldState, PhoneConstants.State newState) { 206 mHasActiveCalls = newState != PhoneConstants.State.IDLE;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
Sms7BitEncodingTranslatorTest.java | 88 doReturn(PhoneConstants.PHONE_TYPE_CDMA).when(mTelephonyManager).getCurrentPhoneType();
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
ApnContextTest.java | 27 import com.android.internal.telephony.PhoneConstants; 58 mApnContext = new ApnContext(mPhone, PhoneConstants.APN_TYPE_DEFAULT, TAG, mNetworkConfig, 78 assertEquals(PhoneConstants.APN_TYPE_DEFAULT, mApnContext.getApnType());
|
/packages/apps/Stk/src/com/android/stk/ |
StkLauncherActivity.java | 35 import com.android.internal.telephony.PhoneConstants; 93 if (item.id >= PhoneConstants.SIM_ID_1 && item.id < simCount) { 201 , PhoneConstants.SIM_ID_1 + slodId);
|
/packages/services/Mms/src/com/android/mms/service/ |
ApnSettings.java | 27 import com.android.internal.telephony.PhoneConstants; 121 cursor.getString(COLUMN_TYPE), PhoneConstants.APN_TYPE_MMS)) { 211 if (type.equals(requestType) || type.equals(PhoneConstants.APN_TYPE_ALL)) {
|
/packages/services/Telephony/src/com/android/phone/ |
EmergencyCallHelper.java | 22 import com.android.internal.telephony.PhoneConstants; 268 PhoneConstants.State phoneState = mCM.getState(); 282 if (phoneState == PhoneConstants.State.OFFHOOK) {
|
PhoneInterfaceManager.java | 19 import static com.android.internal.telephony.PhoneConstants.SUBSCRIPTION_KEY; 74 import com.android.internal.telephony.PhoneConstants; 310 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 314 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { [all...] |
EmergencyCallbackModeService.java | 39 import com.android.internal.telephony.PhoneConstants; 78 if (phoneInEcm == null || ((phoneInEcm.getPhoneType() != PhoneConstants.PHONE_TYPE_CDMA)
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
ApnSetting.java | 26 import com.android.internal.telephony.PhoneConstants; 238 int mtu = PhoneConstants.UNSET_MTU; 358 t.equalsIgnoreCase(PhoneConstants.APN_TYPE_ALL) || 359 (t.equalsIgnoreCase(PhoneConstants.APN_TYPE_DEFAULT) && 360 type.equalsIgnoreCase(PhoneConstants.APN_TYPE_HIPRI))) { 456 if (meteredApnSet.contains(PhoneConstants.APN_TYPE_ALL)) { 464 } else if (type.equals(PhoneConstants.APN_TYPE_ALL)) {
|
DataConnection.java | 24 import com.android.internal.telephony.PhoneConstants; 370 if (lp.getMtu() != PhoneConstants.UNSET_MTU) { 375 if (apn != null && apn.mtu != PhoneConstants.UNSET_MTU) { 383 if (mtu != PhoneConstants.UNSET_MTU) { 455 response.mtu = PhoneConstants.UNSET_MTU; 740 if (!mApnSetting.types[0].equals(PhoneConstants.APN_TYPE_MMS) 744 mApnSetting.types[0], PhoneConstants.APN_TYPE_MMS, mApnSetting.mmsProxy, [all...] |
DataCallResponse.java | 27 import com.android.internal.telephony.PhoneConstants; 52 public int mtu = PhoneConstants.UNSET_MTU;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
GsmCdmaCallTracker.java | 89 public PhoneConstants.State mState = PhoneConstants.State.IDLE; 110 boolean isInEcm = intent.getBooleanExtra(PhoneConstants.PHONE_IN_ECM_STATE, false); 195 mState = PhoneConstants.State.IDLE; 211 if (mState != PhoneConstants.State.IDLE) { 692 PhoneConstants.State oldState = mState; 694 mState = PhoneConstants.State.RINGING; 697 mState = PhoneConstants.State.OFFHOOK; 700 if ( mState == PhoneConstants.State.OFFHOOK && (imsPhone != null)){ 703 mState = PhoneConstants.State.IDLE [all...] |
CallManager.java | 221 phone.getPhoneType() != PhoneConstants.PHONE_TYPE_IMS) { 235 public PhoneConstants.State getState() { 236 PhoneConstants.State s = PhoneConstants.State.IDLE; 239 if (phone.getState() == PhoneConstants.State.RINGING) { 240 s = PhoneConstants.State.RINGING; 241 } else if (phone.getState() == PhoneConstants.State.OFFHOOK) { 242 if (s == PhoneConstants.State.IDLE) s = PhoneConstants.State.OFFHOOK; 254 public PhoneConstants.State getState(int subId) [all...] |
CarrierSignalAgent.java | 138 intent.putExtra(PhoneConstants.SUBSCRIPTION_KEY, mPhone.getSubId());
|
ImsSMSDispatcher.java | 127 case PhoneConstants.PHONE_TYPE_GSM: 130 case PhoneConstants.PHONE_TYPE_CDMA: 265 (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()) ? 392 return (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType());
|
PhoneFactory.java | 163 if (phoneType == PhoneConstants.PHONE_TYPE_GSM) { 166 PhoneConstants.PHONE_TYPE_GSM, 168 } else if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) { 171 PhoneConstants.PHONE_TYPE_CDMA_LTE,
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
ImsPhoneTest.java | 44 import com.android.internal.telephony.PhoneConstants; 346 doReturn(PhoneConstants.State.IDLE).when(mImsCT).getState(); 347 assertEquals(PhoneConstants.State.IDLE, mImsPhoneUT.getState()); 348 doReturn(PhoneConstants.State.RINGING).when(mImsCT).getState(); 349 assertEquals(PhoneConstants.State.RINGING, mImsPhoneUT.getState()); 396 doReturn(PhoneConstants.State.IDLE).when(mImsCT).getState(); 405 doReturn(PhoneConstants.State.OFFHOOK).when(mImsCT).getState(); 426 doReturn(PhoneConstants.State.IDLE).when(mImsCT).getState(); 535 assertEquals(true, intent.getBooleanExtra(PhoneConstants.PHONE_IN_ECM_STATE, false)); 563 assertEquals(false, intent.getBooleanExtra(PhoneConstants.PHONE_IN_ECM_STATE, true)) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
ApnSettings.java | 57 import com.android.internal.telephony.PhoneConstants; 128 PhoneConstants.DataState state = getMobileDataState(intent); 142 private static PhoneConstants.DataState getMobileDataState(Intent intent) { 143 String str = intent.getStringExtra(PhoneConstants.STATE_KEY); 145 return Enum.valueOf(PhoneConstants.DataState.class, str); 147 return PhoneConstants.DataState.DISCONNECTED;
|
ResetNetwork.java | 36 import com.android.internal.telephony.PhoneConstants; 99 args.putInt(PhoneConstants.SUBSCRIPTION_KEY, subscription.getSubscriptionId());
|
/frameworks/base/core/java/android/provider/ |
CallLog.java | 44 import com.android.internal.telephony.PhoneConstants; 478 * @param presentation enum value from PhoneConstants.PRESENTATION_xxx, which 511 * @param presentation enum value from PhoneConstants.PRESENTATION_xxx, which 550 * @param presentation enum value from PhoneConstants.PRESENTATION_xxx, which 602 // PhoneConstants.PRESENTATION_xxx to calllog number presentation types 606 if (presentation == PhoneConstants.PRESENTATION_RESTRICTED) { 608 } else if (presentation == PhoneConstants.PRESENTATION_PAYPHONE) { 611 || presentation == PhoneConstants.PRESENTATION_UNKNOWN) { [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
SubscriptionControllerMock.java | 34 import com.android.internal.telephony.PhoneConstants; 92 intent.putExtra(PhoneConstants.SUBSCRIPTION_KEY, subId);
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
ImeiInformation.java | 33 import com.android.internal.telephony.PhoneConstants; 84 if (phone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE) {
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
RespondViaSmsManager.java | 21 import com.android.internal.telephony.PhoneConstants; 189 intent.putExtra(PhoneConstants.SUBSCRIPTION_KEY, subId);
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipConnection.java | 31 import com.android.internal.telephony.PhoneConstants; 317 int phoneType = PhoneConstants.PHONE_TYPE_SIP;
|
/packages/services/Telephony/src/com/android/services/telephony/ |
ImsConferenceController.java | 20 import com.android.internal.telephony.PhoneConstants; 325 connection.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) {
|