OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getPhoneType
(Results
1 - 25
of
56
) sorted by null
1
2
3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
TelephonyCapabilities.java
48
return (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA);
69
return (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA);
78
return (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA);
90
return (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_GSM);
102
if (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_GSM) {
104
} else if (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA) {
124
return ((phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_GSM)
125
|| (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_SIP));
138
return ((phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_GSM)
139
|| (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_SIP))
[
all
...]
PhoneProxy.java
82
if (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_GSM) {
85
} else if (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA) {
148
if (mActivePhone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA) {
161
mActivePhone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA) ||
163
mActivePhone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_GSM)) {
324
public int
getPhoneType
() {
325
return mActivePhone.
getPhoneType
();
[
all
...]
PhoneFactory.java
143
int phoneType = TelephonyManager.
getPhoneType
(networkMode);
CallManager.java
457
if (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_GSM ||
458
phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA) {
463
if (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA ){
490
if (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_GSM ||
491
phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA) {
496
if (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA ){
[
all
...]
/packages/apps/Phone/src/com/android/phone/
GsmUmtsCallOptions.java
38
if (PhoneGlobals.getPhone().
getPhoneType
() != PhoneConstants.PHONE_TYPE_GSM) {
CdmaCallOptions.java
47
if (PhoneGlobals.getPhone().
getPhoneType
() != PhoneConstants.PHONE_TYPE_CDMA
SipBroadcastReceiver.java
81
if (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_SIP) {
97
if (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_SIP) {
GsmUmtsOptions.java
57
if (PhoneFactory.getDefaultPhone().
getPhoneType
() != PhoneConstants.PHONE_TYPE_GSM) {
CallNotifier.java
[
all
...]
EmergencyCallbackModeService.java
77
if (PhoneFactory.getDefaultPhone().
getPhoneType
() != PhoneConstants.PHONE_TYPE_CDMA) {
CallCard.java
368
int phoneType = phone.
getPhoneType
();
530
int phoneType = call.getPhone().
getPhoneType
();
668
int phoneType = call.getPhone().
getPhoneType
();
[
all
...]
PhoneUtils.java
229
final boolean phoneIsCdma = (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA);
364
int phoneType = ringing.getPhone().
getPhoneType
();
640
int phoneType = phone.
getPhoneType
();
754
if (phone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA) {
[
all
...]
InCallScreen.java
497
mPhone.
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA
[
all
...]
BluetoothPhoneService.java
265
if (mCM.getDefaultPhone().
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA) {
323
if (mCM.getDefaultPhone().
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA &&
349
int phoneType = phone.
getPhoneType
();
735
int phoneType = phone.
getPhoneType
();
[
all
...]
CallLogger.java
181
if (conn.getCall().getPhone().
getPhoneType
() == PhoneConstants.PHONE_TYPE_CDMA) {
PhoneInterfaceManager.java
154
int phoneType = mPhone.
getPhoneType
();
800
return mPhone.
getPhoneType
();
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
TelephonyManagerTest.java
86
assertEquals(TelephonyManager.PHONE_TYPE_CDMA, telephonyManager.
getPhoneType
());
88
assertEquals(TelephonyManager.PHONE_TYPE_GSM, telephonyManager.
getPhoneType
());
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTelephonyManager.java
103
public int
getPhoneType
() {
/cts/tests/tests/telephony/src/android/telephony/cts/
TelephonyManagerTest.java
63
if (mTelephonyManager.
getPhoneType
() == TelephonyManager.PHONE_TYPE_CDMA) {
132
assertTrue(mTelephonyManager.
getPhoneType
() >= TelephonyManager.PHONE_TYPE_NONE);
165
int phoneType = mTelephonyManager.
getPhoneType
();
/frameworks/base/telephony/java/android/telephony/
TelephonyManager.java
369
public int
getPhoneType
() {
390
return
getPhoneType
(mode);
402
public static int
getPhoneType
(int networkMode) {
521
* unreliable on CDMA networks (use {@link #
getPhoneType
()} to determine if
532
* unreliable on CDMA networks (use {@link #
getPhoneType
()} to determine if
554
* unreliable on CDMA networks (use {@link #
getPhoneType
()} to determine if
[
all
...]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
TrackerService.java
370
if (mTelephonyManager.
getPhoneType
() == TelephonyManager.PHONE_TYPE_CDMA) {
373
} else if (mTelephonyManager.
getPhoneType
() == TelephonyManager.PHONE_TYPE_GSM) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
SmsMessageBodyTest.java
561
int activePhone = TelephonyManager.getDefault().
getPhoneType
();
583
int activePhone = TelephonyManager.getDefault().
getPhoneType
();
GsmSmsTest.java
239
boolean isGsmPhone = (TelephonyManager.getDefault().
getPhoneType
() ==
278
boolean isGsmPhone = (TelephonyManager.getDefault().
getPhoneType
() ==
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
AtPhonebook.java
517
name = name + "/" +
getPhoneType
(type);
582
private static String
getPhoneType
(int type) {
/cts/tests/tests/app/src/android/app/cts/
SystemFeaturesTest.java
306
* Check that the {@link TelephonyManager#
getPhoneType
()} matches the reported features.
309
int phoneType = mTelephonyManager.
getPhoneType
();
Completed in 295 milliseconds
1
2
3