Home | History | Annotate | Download | only in phone

Lines Matching refs:phone

17 package com.android.phone;
42 import com.android.internal.telephony.Phone;
73 // Phone app instance
186 // if (PhoneApp.getPhone().getPhoneType() == Phone.PHONE_TYPE_CDMA) {
232 * the current state of the phone.
240 Phone.State state = cm.getState(); // IDLE, RINGING, or OFFHOOK
256 // A phone call is ringing *or* call waiting.
258 // Watch out: even if the phone state is RINGING, it's
271 // UI even if the phone is still in the RINGING state.
312 // accidentally touch the system bar while pulling the phone
327 // in-call audio, namely when the phone is OFFHOOK (not RINGING), *and*
332 if ((state == Phone.State.OFFHOOK)
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;
522 if (phoneType == Phone.PHONE_TYPE_CDMA) {
821 * (in some rare phone states) the button cluster will actually