Lines Matching refs:Call
82 public void onCallAdded(Phone phone, Call call) { } in onCallAdded()
93 public void onCallRemoved(Phone phone, Call call) { } in onCallRemoved()
118 private final Map<String, Call> mCallByTelecomCallId = new ArrayMap<>();
122 private final List<Call> mCalls = new CopyOnWriteArrayList<>();
125 private final List<Call> mUnmodifiableCalls = Collections.unmodifiableList(mCalls);
150 && parcelableCall.getState() == Call.STATE_AUDIO_PROCESSING) { in internalAddCall()
155 Call call = mCallByTelecomCallId.get(parcelableCall.getId()); in internalAddCall()
157 call = new Call(this, parcelableCall.getId(), mInCallAdapter, in internalAddCall()
171 final void internalRemoveCall(Call call) { in internalRemoveCall()
184 && parcelableCall.getState() == Call.STATE_AUDIO_PROCESSING) { in internalUpdateCall()
186 Call call = mCallByTelecomCallId.get(parcelableCall.getId()); in internalUpdateCall()
193 Call call = mCallByTelecomCallId.get(parcelableCall.getId()); in internalUpdateCall()
202 if (mTargetSdkVersion < SDK_VERSION_R && (parcelableCall.getState() == Call.STATE_ACTIVE in internalUpdateCall()
203 || parcelableCall.getState() == Call.STATE_SIMULATED_RINGING)) { in internalUpdateCall()
211 Call call = mCallByTelecomCallId.get(telecomId); in internalSetPostDialWait()
224 final Call internalGetCallByTelecomId(String telecomId) { in internalGetCallByTelecomId()
244 Call call = mCallByTelecomCallId.get(telecomId); in internalOnConnectionEvent()
251 Call call = mCallByTelecomCallId.get(callId); in internalOnRttUpgradeRequest()
258 Call call = mCallByTelecomCallId.get(callId); in internalOnRttInitiationFailure()
265 Call call = mCallByTelecomCallId.get(callId); in internalOnHandoverFailed()
272 Call call = mCallByTelecomCallId.get(callId); in internalOnHandoverComplete()
282 for (Call call : mCalls) { in destroy()
287 if (call.getState() != Call.STATE_DISCONNECTED) { in destroy()
318 public final List<Call> getCalls() { in getCalls()
416 private void fireCallAdded(Call call) { in fireCallAdded()
422 private void fireCallRemoved(Call call) { in fireCallRemoved()