OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:phoneType
(Results
1 - 20
of
20
) sorted by null
/packages/apps/Phone/src/com/android/phone/
TelephonyCapabilities.java
44
int
phoneType
= phone.getPhoneType();
45
if (
phoneType
== Phone.PHONE_TYPE_GSM) {
47
} else if (
phoneType
== Phone.PHONE_TYPE_CDMA) {
57
} else if (
phoneType
== Phone.PHONE_TYPE_SIP) {
60
throw new IllegalStateException("Unexpected phone type: " +
phoneType
);
SimContacts.java
76
final int
phoneType
;
83
phoneType
= Phone.TYPE_WORK;
85
phoneType
= Phone.TYPE_MOBILE;
87
phoneType
= Phone.TYPE_HOME;
89
phoneType
= Phone.TYPE_OTHER;
93
phoneType
= Phone.TYPE_OTHER;
142
final int
phoneType
= namePhoneTypePair.
phoneType
;
174
builder.withValue(Phone.TYPE,
phoneType
);
Settings.java
244
int
phoneType
= mPhone.getPhoneType();
245
if (
phoneType
== Phone.PHONE_TYPE_CDMA) {
261
} else if (
phoneType
== Phone.PHONE_TYPE_GSM) {
264
throw new IllegalStateException("Unexpected phone type: " +
phoneType
);
CallCard.java
296
int
phoneType
= phone.getPhoneType();
297
if (
phoneType
== Phone.PHONE_TYPE_CDMA) {
307
} else if ((
phoneType
== Phone.PHONE_TYPE_GSM)
308
|| (
phoneType
== Phone.PHONE_TYPE_SIP)) {
430
int
phoneType
= call.getPhone().getPhoneType();
431
if (
phoneType
== Phone.PHONE_TYPE_CDMA) {
433
} else if ((
phoneType
== Phone.PHONE_TYPE_GSM)
434
|| (
phoneType
== Phone.PHONE_TYPE_SIP)) {
437
throw new IllegalStateException("Unexpected phone type: " +
phoneType
);
465
if (
phoneType
== Phone.PHONE_TYPE_CDMA)
[
all
...]
InCallTouchUi.java
378
int
phoneType
= cm.getActiveFgCall().getPhone().getPhoneType();
407
if (
phoneType
== Phone.PHONE_TYPE_CDMA) {
412
} else if ((
phoneType
== Phone.PHONE_TYPE_GSM)
413
|| (
phoneType
== Phone.PHONE_TYPE_SIP)) {
418
throw new IllegalStateException("Unexpected phone type: " +
phoneType
);
433
if ((
phoneType
== Phone.PHONE_TYPE_GSM)
434
|| (
phoneType
== Phone.PHONE_TYPE_SIP)) {
442
} else if (
phoneType
== Phone.PHONE_TYPE_CDMA) {
447
throw new IllegalStateException("Unexpected phone type: " +
phoneType
);
515
(
phoneType
== Phone.PHONE_TYPE_CDMA) && inCallControlState.canMerge
[
all
...]
PhoneInterfaceManager.java
147
int
phoneType
= mPhone.getPhoneType();
148
if (
phoneType
== Phone.PHONE_TYPE_CDMA) {
152
} else if (
phoneType
== Phone.PHONE_TYPE_GSM) {
156
throw new IllegalStateException("Unexpected phone type: " +
phoneType
);
PhoneApp.java
443
int
phoneType
= phone.getPhoneType();
445
if (
phoneType
== Phone.PHONE_TYPE_CDMA) {
[
all
...]
PhoneUtils.java
357
int
phoneType
= ringing.getPhone().getPhoneType();
371
if (
phoneType
== Phone.PHONE_TYPE_CDMA) {
607
int
phoneType
= phone.getPhoneType();
611
if (
phoneType
== Phone.PHONE_TYPE_GSM && gatewayUri == null) {
627
if (
phoneType
== Phone.PHONE_TYPE_CDMA) {
632
if (
phoneType
== Phone.PHONE_TYPE_CDMA) {
740
int
phoneType
= phone.getPhoneType();
749
if (
phoneType
== Phone.PHONE_TYPE_CDMA) {
752
} else if ((
phoneType
== Phone.PHONE_TYPE_GSM)
753
|| (
phoneType
== Phone.PHONE_TYPE_SIP))
[
all
...]
CallNotifier.java
[
all
...]
CallFeaturesSetting.java
[
all
...]
InCallScreen.java
332
int
phoneType
= mPhone.getPhoneType();
333
if (
phoneType
== Phone.PHONE_TYPE_CDMA) {
335
} else if (
phoneType
== Phone.PHONE_TYPE_GSM) {
[
all
...]
/frameworks/base/telephony/java/com/android/internal/telephony/
PhoneFactory.java
138
int
phoneType
= getPhoneType(networkMode);
139
if (
phoneType
== Phone.PHONE_TYPE_GSM) {
143
} else if (
phoneType
== Phone.PHONE_TYPE_CDMA) {
/cts/tests/tests/app/src/android/app/cts/
SystemFeaturesTest.java
307
int
phoneType
= mTelephonyManager.getPhoneType();
308
switch (
phoneType
) {
326
throw new IllegalArgumentException("Did you add a new phone type? " +
phoneType
);
/packages/apps/Contacts/src/com/android/contacts/
SpecialCharSequenceMgr.java
190
int
phoneType
= ((TelephonyManager)context.getSystemService(
193
if (
phoneType
== TelephonyManager.PHONE_TYPE_GSM) {
196
} else if (
phoneType
== TelephonyManager.PHONE_TYPE_CDMA) {
/frameworks/base/services/java/com/android/server/location/
ComprehensiveCountryDetector.java
214
final int
phoneType
= mTelephonyManager.getPhoneType();
215
if (DEBUG) Slog.v(TAG, "
phonetype
=" +
phoneType
);
216
return
phoneType
== TelephonyManager.PHONE_TYPE_GSM;
/packages/apps/Contacts/src/com/android/contacts/editor/
RawContactReadOnlyEditorView.java
219
final CharSequence
phoneType
;
221
phoneType
= Phone.getTypeLabel(
224
phoneType
= null;
227
phoneNumber,
phoneType
, i == 0);
/cts/tests/tests/telephony/src/android/telephony/cts/
TelephonyManagerTest.java
288
int
phoneType
= mTelephonyManager.getPhoneType();
289
switch (
phoneType
) {
304
throw new IllegalArgumentException("Did you add a new phone type? " +
phoneType
);
/development/samples/ContactManager/src/com/example/android/contactmanager/
ContactAdder.java
175
int
phoneType
= mContactPhoneTypes.get(
201
.withValue(ContactsContract.CommonDataKinds.Phone.TYPE,
phoneType
)
/packages/apps/VoiceDialer/src/com/android/voicedialer/
CommandRecognizerEngine.java
[
all
...]
/frameworks/opt/vcard/java/com/android/vcard/
VCardBuilder.java
[
all
...]
Completed in 396 milliseconds