Lines Matching refs:Call

32 import com.android.incallui.Call.State;
51 public CallContext(Call call) {
56 public void update(Call call) {
75 public Call getCall() {
81 private Call mCall;
157 Call call = null;
199 * Call swap: Where the new primary call is incoming, pause video on the previous primary call.
203 private void onPrimaryCallChanged(Call call) {
233 public void onIncomingCall(InCallState oldState, InCallState newState, Call call) {
234 log("onIncomingCall, OldState=" + oldState + " NewState=" + newState + " Call=" + call);
248 private void updatePrimaryCallContext(Call call) {
282 public void onUpgradeToVideoRequest(Call call, int videoState) {
291 public void onUpgradeToVideoSuccess(Call call) {
302 public void onUpgradeToVideoFail(int status, Call call) {
312 public void onDowngradeToAudio(Call call) {
357 * @param call Call to be paused/resumed.
360 private void sendRequest(Call call, boolean resume) {
362 if (!call.can(android.telecom.Call.Details.CAPABILITY_CAN_PAUSE_VIDEO)) {
381 * @return {@code true} if the {@link Call} is the same as the one referenced in the
384 private static boolean areSame(Call call, CallContext callContext) {
400 return isVideoCall(callContext) && callContext.getState() == Call.State.ACTIVE;
429 private static boolean isIncomingCall(Call call) {
430 return call != null && (call.getState() == Call.State.CALL_WAITING
431 || call.getState() == Call.State.INCOMING);
441 return call != null && Call.State.isDialing(call.getState());
451 return call != null && call.getState() == Call.State.ONHOLD;