Home | History | Annotate | Download | only in phone

Lines Matching refs:phone

17 package com.android.phone;
20 import com.android.internal.telephony.Phone;
23 import com.android.phone.sip.SipProfileDb;
24 import com.android.phone.sip.SipSharedPreferences;
60 SipPhone phone = PhoneFactory.makeSipPhone(localSipUri);
61 if (phone != null) {
62 CallManager.getInstance().registerPhone(phone);
64 Log.d(TAG, "new phone: " + localSipUri + " #phones="
69 Log.d(TAG, "removed phone: " + localSipUri + " #phones="
81 for (Phone phone : CallManager.getInstance().getAllPhones()) {
82 if (phone.getPhoneType() == Phone.PHONE_TYPE_SIP) {
83 if (((SipPhone) phone).getSipUri().equals(sipUri)) {
84 CallManager.getInstance().unregisterPhone((SipPhone)phone);
89 Log.v(TAG, "Remove phone failed:cannot find phone with uri " + sipUri);
97 for (Phone phone : CallManager.getInstance().getAllPhones()) {
98 if (phone.getPhoneType() == Phone.PHONE_TYPE_SIP) {
99 if (((SipPhone) phone).canTake(sipAudioCall)) return;