Lines Matching defs:phone
47 import com.android.internal.telephony.Phone;
53 import com.android.phone.ImsUtil;
54 import com.android.phone.PhoneGlobals;
55 import com.android.phone.PhoneUtils;
56 import com.android.phone.R;
152 Phone phone = getPhone();
154 + (phone != null ? Integer.toString(phone.getPhoneId())
366 * Handles the phone exiting ECM mode by updating the connection capabilities. During an
671 Phone phone = mOriginalConnection.getCall().getPhone();
672 Call ringingCall = phone.getRingingCall();
685 phone.switchHoldingAndActive();
782 // If the phone is in ECM mode, mark the call to indicate that the callback number should be
784 Phone phone = getPhone();
785 if (phone != null && phone.isInEcm()) {
968 Phone phone = getPhone();
969 if (phone == null) {
975 if (phone instanceof ImsPhone) {
976 ImsPhone imsPhone = (ImsPhone) phone;
984 isVowifiEnabled = ImsUtil.isWfcEnabled(phone.getContext());
1033 Phone phone = getPhone();
1034 if (phone == null) {
1037 return PhoneGlobals.getInstance().getCarrierConfigForSubId(phone.getSubId());
1049 Phone phone = getPhone();
1050 if (phone == null) {
1053 return phone.getContext().getResources().getBoolean(
1137 Phone getPhone() {
1147 Phone phone = getPhone();
1148 if (phone != null) {
1149 if (!phone.getRingingCall().isIdle()) {
1152 if (!phone.getForegroundCall().isIdle()) {
1155 if (!phone.getBackgroundCall().isIdle()) {
1188 Log.v(this, "isValidRingingCall, phone is null");
1388 * {@link com.android.internal.telephony.Phone#checkCorrectThread(android.os.Handler)}
1406 // since all connections register for state changes on the phone independently.
1749 Phone phone = getPhone();
1750 if (phone == null) {
1751 Log.w(this, "refreshConferenceSupported = false; phone is null");
1759 boolean isIms = phone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS;
1762 ImsPhone imsPhone = (ImsPhone) phone;
1763 isVoWifiEnabled = ImsUtil.isWfcEnabled(phone.getContext());
1766 .makePstnPhoneAccountHandle(phone.getDefaultPhone())
1767 : PhoneUtils.makePstnPhoneAccountHandle(phone);