HomeSort by relevance Sort by last modified time
    Searched refs:PhoneConstants (Results 26 - 50 of 89) sorted by null

12 3 4

  /packages/apps/Mms/src/com/android/mms/transaction/
TransactionSettings.java 28 import com.android.internal.telephony.PhoneConstants;
90 if (isValidApnType(cursor.getString(COLUMN_TYPE), PhoneConstants.APN_TYPE_MMS)) {
170 if (t.equals(requestType) || t.equals(PhoneConstants.APN_TYPE_ALL)) {
  /packages/services/Telephony/src/com/android/phone/
PhoneUtils.java 57 import com.android.internal.telephony.PhoneConstants;
231 if (cm.getState() != PhoneConstants.State.IDLE) {
278 final boolean phoneIsCdma = (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA);
451 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
711 final boolean initiallyIdle = app.mCM.getState() == PhoneConstants.State.IDLE;
731 if (phoneType == PhoneConstants.PHONE_TYPE_GSM && gatewayUri == null) {
743 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
    [all...]
SipBroadcastReceiver.java 21 import com.android.internal.telephony.PhoneConstants;
81 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) {
97 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_SIP) {
CdmaOptions.java 31 import com.android.internal.telephony.PhoneConstants;
79 final boolean isLTE = mPhone.getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE;
DTMFTonePlayer.java 32 import com.android.internal.telephony.PhoneConstants;
368 if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
370 } else if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
380 } else if (phoneType == PhoneConstants.PHONE_TYPE_SIP) {
PhoneInterfaceManager.java 52 import com.android.internal.telephony.PhoneConstants;
176 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
180 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
294 PhoneConstants.State state = mCM.getState();
295 if (state != PhoneConstants.State.OFFHOOK && state != PhoneConstants.State.RINGING) {
426 if ((mCM.getState() == PhoneConstants.State.RINGING)
435 return (mCM.getState() == PhoneConstants.State.OFFHOOK);
439 return (mCM.getState() == PhoneConstants.State.RINGING);
443 return (mCM.getState() == PhoneConstants.State.IDLE)
    [all...]
BluetoothPhoneService.java 41 import com.android.internal.telephony.PhoneConstants;
73 private PhoneConstants.State mPhoneState = PhoneConstants.State.IDLE;
242 if (mCM.getDefaultPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
300 if (mCM.getDefaultPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA &&
330 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
332 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
747 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
760 } else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
768 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA)
    [all...]
EmergencyCallbackModeService.java 39 import com.android.internal.telephony.PhoneConstants;
77 if (PhoneFactory.getDefaultPhone().getPhoneType() != PhoneConstants.PHONE_TYPE_CDMA) {
EmergencyCallHelper.java 22 import com.android.internal.telephony.PhoneConstants;
266 PhoneConstants.State phoneState = mCM.getState();
280 if (phoneState == PhoneConstants.State.OFFHOOK) {
  /packages/apps/Settings/src/com/android/settings/
ApnSettings.java 46 import com.android.internal.telephony.PhoneConstants;
95 PhoneConstants.DataState state = getMobileDataState(intent);
109 private static PhoneConstants.DataState getMobileDataState(Intent intent) {
110 String str = intent.getStringExtra(PhoneConstants.STATE_KEY);
112 return Enum.valueOf(PhoneConstants.DataState.class, str);
114 return PhoneConstants.DataState.DISCONNECTED;
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DcTracker.java 61 import com.android.internal.telephony.PhoneConstants;
253 apnContext = addApnContext(PhoneConstants.APN_TYPE_DEFAULT, networkConfig);
257 apnContext = addApnContext(PhoneConstants.APN_TYPE_MMS, networkConfig);
260 apnContext = addApnContext(PhoneConstants.APN_TYPE_SUPL, networkConfig);
263 apnContext = addApnContext(PhoneConstants.APN_TYPE_DUN, networkConfig);
266 apnContext = addApnContext(PhoneConstants.APN_TYPE_HIPRI, networkConfig);
269 apnContext = addApnContext(PhoneConstants.APN_TYPE_FOTA, networkConfig);
272 apnContext = addApnContext(PhoneConstants.APN_TYPE_IMS, networkConfig);
275 apnContext = addApnContext(PhoneConstants.APN_TYPE_CBS, networkConfig);
278 apnContext = addApnContext(PhoneConstants.APN_TYPE_IA, networkConfig)
    [all...]
  /frameworks/base/core/java/android/provider/
CallLog.java 31 import com.android.internal.telephony.PhoneConstants;
296 * @param presentation enum value from PhoneConstants.PRESENTATION_xxx, which
311 // PhoneConstants.PRESENTATION_xxx to calllog number presentation types
315 if (presentation == PhoneConstants.PRESENTATION_RESTRICTED) {
317 } else if (presentation == PhoneConstants.PRESENTATION_PAYPHONE) {
320 || presentation == PhoneConstants.PRESENTATION_UNKNOWN) {
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardSimPinView.java 20 import com.android.internal.telephony.PhoneConstants;
186 onSimCheckResponse(PhoneConstants.PIN_GENERAL_FAILURE, -1);
244 if (result == PhoneConstants.PIN_RESULT_SUCCESS) {
248 if (result == PhoneConstants.PIN_PASSWORD_INCORRECT) {
KeyguardSimPukView.java 38 import com.android.internal.telephony.PhoneConstants;
237 onSimLockChangedResponse(PhoneConstants.PIN_GENERAL_FAILURE, -1);
309 if (result == PhoneConstants.PIN_RESULT_SUCCESS) {
313 if (result == PhoneConstants.PIN_PASSWORD_INCORRECT) {
  /frameworks/base/telephony/java/com/android/internal/telephony/
PhoneConstants.java 21 public class PhoneConstants {
  /packages/services/Telephony/common/src/com/android/services/telephony/common/
Call.java 22 import com.android.internal.telephony.PhoneConstants;
162 public static int PRESENTATION_ALLOWED = PhoneConstants.PRESENTATION_ALLOWED;
164 public static int PRESENTATION_RESTRICTED = PhoneConstants.PRESENTATION_RESTRICTED;
166 public static int PRESENTATION_UNKNOWN = PhoneConstants.PRESENTATION_UNKNOWN;
168 public static int PRESENTATION_PAYPHONE = PhoneConstants.PRESENTATION_PAYPHONE;
CallIdentification.java 22 import com.android.internal.telephony.PhoneConstants;
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
CDMAPhone.java 56 import com.android.internal.telephony.PhoneConstants;
160 mCi.setPhoneType(PhoneConstants.PHONE_TYPE_CDMA);
184 Integer.toString(PhoneConstants.PHONE_TYPE_CDMA));
284 public PhoneConstants.State getState() {
295 return PhoneConstants.PHONE_TYPE_CDMA;
690 public PhoneConstants.DataState getDataConnectionState(String apnType) {
691 PhoneConstants.DataState ret = PhoneConstants.DataState.DISCONNECTED;
697 ret = PhoneConstants.DataState.DISCONNECTED;
701 ret = PhoneConstants.DataState.DISCONNECTED
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
GSMPhone.java 64 import com.android.internal.telephony.PhoneConstants;
153 mCi.setPhoneType(PhoneConstants.PHONE_TYPE_GSM);
207 new Integer(PhoneConstants.PHONE_TYPE_GSM).toString());
269 public PhoneConstants.State getState() {
275 return PhoneConstants.PHONE_TYPE_GSM;
295 public PhoneConstants.DataState getDataConnectionState(String apnType) {
296 PhoneConstants.DataState ret = PhoneConstants.DataState.DISCONNECTED;
302 ret = PhoneConstants.DataState.DISCONNECTED;
307 ret = PhoneConstants.DataState.DISCONNECTED
    [all...]
  /frameworks/base/services/java/com/android/server/
TelephonyRegistry.java 52 import com.android.internal.telephony.PhoneConstants;
692 intent.putExtra(PhoneConstants.STATE_KEY,
709 intent.putExtra(PhoneConstants.STATE_KEY,
712 intent.putExtra(PhoneConstants.NETWORK_UNAVAILABLE_KEY, true);
715 intent.putExtra(PhoneConstants.STATE_CHANGE_REASON_KEY, reason);
718 intent.putExtra(PhoneConstants.DATA_LINK_PROPERTIES_KEY, linkProperties);
721 intent.putExtra(PhoneConstants.DATA_IFACE_NAME_KEY, iface);
725 intent.putExtra(PhoneConstants.DATA_LINK_CAPABILITIES_KEY, linkCapabilities);
727 if (roaming) intent.putExtra(PhoneConstants.DATA_NETWORK_ROAMING_KEY, true);
729 intent.putExtra(PhoneConstants.DATA_APN_KEY, apn)
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
SipConnectionBase.java 22 import com.android.internal.telephony.PhoneConstants;
186 return PhoneConstants.PRESENTATION_ALLOWED;
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
Connection.java 29 protected int mCnapNamePresentation = PhoneConstants.PRESENTATION_ALLOWED;
ImsSMSDispatcher.java 127 case PhoneConstants.PHONE_TYPE_GSM:
130 case PhoneConstants.PHONE_TYPE_CDMA:
210 (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType()) ?
335 return (PhoneConstants.PHONE_TYPE_CDMA == mPhone.getPhoneType());
PhoneProxy.java 84 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) {
87 } else if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
162 if(mRilVersion == 6 && getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE) {
167 if (mActivePhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
180 mActivePhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) ||
182 mActivePhone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)) {
228 intent.putExtra(PhoneConstants.PHONE_NAME_KEY, mActivePhone.getPhoneName());
308 public PhoneConstants.DataState getDataConnectionState() {
309 return mActivePhone.getDataConnectionState(PhoneConstants.APN_TYPE_DEFAULT);
313 public PhoneConstants.DataState getDataConnectionState(String apnType)
    [all...]
CallManager.java 239 public PhoneConstants.State getState() {
240 PhoneConstants.State s = PhoneConstants.State.IDLE;
243 if (phone.getState() == PhoneConstants.State.RINGING) {
244 s = PhoneConstants.State.RINGING;
245 } else if (phone.getState() == PhoneConstants.State.OFFHOOK) {
246 if (s == PhoneConstants.State.IDLE) s = PhoneConstants.State.OFFHOOK;
457 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM ||
458 phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA)
    [all...]

Completed in 341 milliseconds

12 3 4