Lines Matching refs:mPrimary
51 private Call mPrimary;
74 mPrimary = call;
96 updatePrimaryDisplayInfo(mPrimaryContactInfo, isConference(mPrimary));
114 mPrimary = null;
152 final boolean primaryChanged = !areCallsSame(mPrimary, primary);
155 mPrimary = primary;
157 if (primaryChanged && mPrimary != null) {
160 mPrimary.getIdentification(), mPrimary.getState() == Call.State.INCOMING);
161 updatePrimaryDisplayInfo(mPrimaryContactInfo, isConference(mPrimary));
162 maybeStartSearch(mPrimary, true);
178 if (mPrimary != null && mPrimary.getState() == Call.State.ACTIVE) {
188 if (mPrimary != null) {
191 ui.setCallState(mPrimary.getState(), mPrimary.getDisconnectCause(), bluetoothOn,
200 if (mPrimary != null && getUi() != null) {
203 getUi().setCallState(mPrimary.getState(), mPrimary.getDisconnectCause(), bluetoothOn,
219 if (ui == null || mPrimary == null || mPrimary.getState() != Call.State.ACTIVE) {
225 final long callStart = mPrimary.getConnectTime();
275 if (mPrimary != null && callId == mPrimary.getCallId()) {
356 final boolean isGenericConf = isGenericConference(mPrimary);
396 return mPrimary.getGatewayNumber();
409 final ApplicationInfo info = pm.getApplicationInfo(mPrimary.getGatewayPackage(), 0);
421 // TODO: mPrimary can be null because this is called from updatePrimaryDisplayInfo which
424 if (mPrimary == null) {
427 return (Call.State.isDialing(mPrimary.getState()) &&
428 !TextUtils.isEmpty(mPrimary
429 !TextUtils.isEmpty(mPrimary.getGatewayPackage()));