Lines Matching refs:Phone
17 package com.android.phone;
19 import com.android.internal.telephony.Phone;
50 * tablets as well as regular phone devices.
52 * Note that this PreferenceActivity is part of the phone app, even though
55 * available from the Phone app (see CallFeaturesSetting for that.)
72 static final int preferredNetworkMode = Phone.PREFERRED_NT_MODE;
87 private Phone mPhone;
253 throw new IllegalStateException("Unexpected phone type: " + phoneType);
323 case Phone.NT_MODE_WCDMA_PREF:
324 case Phone.NT_MODE_GSM_ONLY:
325 case Phone.NT_MODE_WCDMA_ONLY:
326 case Phone.NT_MODE_GSM_UMTS:
327 case Phone.NT_MODE_CDMA:
328 case Phone.NT_MODE_CDMA_NO_EVDO:
329 case Phone.NT_MODE_EVDO_NO_CDMA:
330 case Phone.NT_MODE_GLOBAL:
331 case Phone.NT_MODE_LTE_CDMA_AND_EVDO:
332 case Phone.NT_MODE_LTE_GSM_WCDMA:
333 case Phone.NT_MODE_LTE_CMDA_EVDO_GSM_WCDMA:
334 case Phone.NT_MODE_LTE_ONLY:
335 case Phone.NT_MODE_LTE_WCDMA:
399 if (modemNetworkMode == Phone.NT_MODE_WCDMA_PREF ||
400 modemNetworkMode == Phone.NT_MODE_GSM_ONLY ||
401 modemNetworkMode == Phone.NT_MODE_WCDMA_ONLY ||
402 modemNetworkMode == Phone.NT_MODE_GSM_UMTS ||
403 modemNetworkMode == Phone.NT_MODE_CDMA ||
404 modemNetworkMode == Phone.NT_MODE_CDMA_NO_EVDO ||
405 modemNetworkMode == Phone.NT_MODE_EVDO_NO_CDMA ||
406 modemNetworkMode == Phone.NT_MODE_GLOBAL ||
407 modemNetworkMode == Phone.NT_MODE_LTE_CDMA_AND_EVDO ||
408 modemNetworkMode == Phone.NT_MODE_LTE_GSM_WCDMA ||
409 modemNetworkMode == Phone.NT_MODE_LTE_CMDA_EVDO_GSM_WCDMA ||
410 modemNetworkMode == Phone.NT_MODE_LTE_ONLY ||
411 modemNetworkMode == Phone.NT_MODE_LTE_WCDMA) {
476 case Phone.NT_MODE_WCDMA_PREF:
480 case Phone.NT_MODE_GSM_ONLY:
484 case Phone.NT_MODE_WCDMA_ONLY:
488 case Phone.NT_MODE_GSM_UMTS:
492 case Phone.NT_MODE_CDMA:
505 case Phone.NT_MODE_CDMA_NO_EVDO:
509 case Phone.NT_MODE_EVDO_NO_CDMA:
513 case Phone.NT_MODE_LTE_ONLY:
517 case Phone.NT_MODE_LTE_GSM_WCDMA:
521 case Phone.NT_MODE_LTE_CDMA_AND_EVDO:
525 case Phone.NT_MODE_LTE_CMDA_EVDO_GSM_WCDMA:
529 case Phone.NT_MODE_GLOBAL:
533 case Phone.NT_MODE_LTE_WCDMA:
550 // If the phone exits from ECM mode, show the CDMA Options