Lines Matching refs:PhoneConstants
65 import com.android.internal.telephony.PhoneConstants;
202 private PhoneConstants.State mLastPhoneState = PhoneConstants.State.IDLE;
259 PhoneConstants.State phoneState;
338 if (phoneState == PhoneConstants.State.OFFHOOK &&
411 if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
857 PhoneConstants.State state = mCM.getState();
867 boolean isSpeakerInUse = (state == PhoneConstants.State.OFFHOOK) && PhoneUtils.isSpeakerOn(this);
884 boolean isRinging = (state == PhoneConstants.State.RINGING);
908 /* package */ void updatePhoneState(PhoneConstants.State state) {
916 if (state != PhoneConstants.State.IDLE) {
932 /* package */ PhoneConstants.State getPhoneState() {
949 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
1001 PhoneConstants.State phoneState = mCM.getState();
1022 if (VDBG) Log.d(LOG_TAG, "- state: " + intent.getStringExtra(PhoneConstants.STATE_KEY));
1024 + intent.getStringExtra(PhoneConstants.STATE_CHANGE_REASON_KEY));
1031 && "DISCONNECTED".equals(intent.getStringExtra(PhoneConstants.STATE_KEY))
1033 intent.getStringExtra(PhoneConstants.STATE_CHANGE_REASON_KEY));
1046 String newPhone = intent.getStringExtra(PhoneConstants.PHONE_NAME_KEY);
1110 if (mCM.getState() != PhoneConstants.State.IDLE) {