Lines Matching refs:null
72 // Call may be null if disconnect happened already.
73 if (call != null) {
83 updateContactEntry(null, true, true);
95 if (mPrimaryContactInfo != null) {
114 mPrimary = null;
115 mPrimaryContactInfo = null;
116 mSecondaryContactInfo = null;
129 if (ui == null) {
133 Call primary = null;
134 Call secondary = null;
143 secondary = getCallToDisplay(callList, null, true);
145 primary = getCallToDisplay(callList, null, false);
157 if (primaryChanged && mPrimary != null) {
165 if (mSecondary == null) {
167 mSecondaryContactInfo = null;
178 if (mPrimary != null && mPrimary.getState() == Call.State.ACTIVE) {
184 ui.setPrimaryCallElapsedTime(false, null);
188 if (mPrimary != null) {
194 ui.setCallState(Call.State.IDLE, Call.DisconnectCause.UNKNOWN, false, null, null);
200 if (mPrimary != null && getUi() != null) {
219 if (ui == null || mPrimary == null || mPrimary.getState() != Call.State.ACTIVE) {
220 if (ui != null) {
221 ui.setPrimaryCallElapsedTime(false, null);
232 if (call1 == null && call2 == null) {
234 } else if (call1 == null || call2 == null) {
244 if (call != null && !call.isConferenceCall()) {
261 if (entry.name != null) {
264 if (entry.personUri != null) {
271 if (getUi() == null) {
274 if (entry.photo != null) {
275 if (mPrimary != null && callId == mPrimary.getCallId()) {
277 } else if (mSecondary != null && callId == mSecondary.getCallId()) {
286 return call != null && call.isConferenceCall();
290 return call != null && call.can(Capabilities.GENERIC_CONFERENCE);
316 if (retval != null && retval != ignore) {
325 if (retval != null && retval != ignore) {
329 if (retval != null && retval != ignore) {
336 if (retval != null && retval != ignore) {
349 if (ui == null) {
352 Log.d(TAG, "updatePrimaryDisplayInfo called but ui is null!");
357 if (entry != null) {
360 final boolean nameIsNumber = name != null && name.equals(entry.number);
364 ui.setPrimary(null, null, false, null, null, isConference, isGenericConf, false);
372 if (ui == null) {
377 if (mSecondaryContactInfo != null) {
381 final boolean nameIsNumber = nameForCall != null && nameForCall.equals(
387 ui.setSecondary(false, null, false, null, null, isConference, isGenericConf);
399 return null;
406 if (hasOutgoingGatewayCall() && getUi() != null) {
415 return null;
421 // TODO: mPrimary can be null because this is called from updatePrimaryDisplayInfo which
424 if (mPrimary == null) {