Home
last modified time | relevance | path

Searched refs:call (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DCallList.java91 final Call call = new Call(telecomCall); in onCallAdded() local
92 Log.d(this, "onCallAdded: callState=" + call.getState()); in onCallAdded()
94 if (call.getState() == Call.State.INCOMING || in onCallAdded()
95 call.getState() == Call.State.CALL_WAITING) { in onCallAdded()
96 onIncoming(call, call.getCannedSmsResponses()); in onCallAdded()
98 onUpdate(call); in onCallAdded()
101 call.logCallInitiationType(); in onCallAdded()
107 Call call = mCallByTelecomCall.get(telecomCall); in onCallRemoved() local
108 Logger.logCall(call); in onCallRemoved()
109 if (updateCallInMap(call)) { in onCallRemoved()
[all …]
DVideoPauseController.java39 public CallContext(Call call) { in CallContext() argument
40 Preconditions.checkNotNull(call); in CallContext()
41 update(call); in CallContext()
44 public void update(Call call) { in update() argument
45 mCall = Preconditions.checkNotNull(call); in update()
46 mState = call.getState(); in update()
47 mVideoState = call.getVideoState(); in update()
143 Call call = null; in onStateChange() local
145 call = callList.getIncomingCall(); in onStateChange()
147 call = callList.getWaitingForAccountCall(); in onStateChange()
[all …]
DTelecomAdapter.java57 Call call = CallList.getInstance().getCallById(callId); in getTelecomCallById() local
58 return call == null ? null : call.getTelecomCall(); in getTelecomCallById()
62 android.telecom.Call call = getTelecomCallById(callId); in answerCall() local
63 if (call != null) { in answerCall()
64 call.answer(videoState); in answerCall()
71 android.telecom.Call call = getTelecomCallById(callId); in rejectCall() local
72 if (call != null) { in rejectCall()
73 call.reject(rejectWithMessage, message); in rejectCall()
80 android.telecom.Call call = getTelecomCallById(callId); in disconnectCall() local
81 if (call != null) { in disconnectCall()
[all …]
DVideoUtils.java27 public static boolean isVideoCall(Call call) { in isVideoCall() argument
28 return call != null && isVideoCall(call.getVideoState()); in isVideoCall()
40 public static boolean isBidirectionalVideoCall(Call call) { in isBidirectionalVideoCall() argument
45 return VideoProfile.isBidirectional(call.getVideoState()); in isBidirectionalVideoCall()
48 public static boolean isIncomingVideoCall(Call call) { in isIncomingVideoCall() argument
49 if (!VideoUtils.isVideoCall(call)) { in isIncomingVideoCall()
52 final int state = call.getState(); in isIncomingVideoCall()
56 public static boolean isActiveVideoCall(Call call) { in isActiveVideoCall() argument
57 return VideoUtils.isVideoCall(call) && call.getState() == Call.State.ACTIVE; in isActiveVideoCall()
60 public static boolean isOutgoingVideoCall(Call call) { in isOutgoingVideoCall() argument
[all …]
DVideoCallPresenter.java385 InCallPresenter.InCallState newState, Call call) { in onIncomingCall() argument
481 private void checkForVideoStateChange(Call call) { in checkForVideoStateChange() argument
482 final boolean isVideoCall = VideoUtils.isVideoCall(call); in checkForVideoStateChange()
483 final boolean hasVideoStateChanged = mCurrentVideoState != call.getVideoState(); in checkForVideoStateChange()
489 + VideoProfile.videoStateToString(call.getVideoState())); in checkForVideoStateChange()
495 updateCameraSelection(call); in checkForVideoStateChange()
498 enterVideoMode(call); in checkForVideoStateChange()
504 private void checkForCallStateChange(Call call) { in checkForCallStateChange() argument
505 final boolean isVideoCall = VideoUtils.isVideoCall(call); in checkForCallStateChange()
506 final boolean hasCallStateChanged = mCurrentCallState != call.getState(); in checkForCallStateChange()
[all …]
DAnswerPresenter.java52 Call call; in onUiShowing() local
53 call = calls.getIncomingCall(); in onUiShowing()
54 if (call != null) { in onUiShowing()
55 processIncomingCall(call); in onUiShowing()
57 call = calls.getVideoUpgradeRequestCall(); in onUiShowing()
58 Log.d(this, "getVideoUpgradeRequestCall call =" + call); in onUiShowing()
59 if (call != null) { in onUiShowing()
61 processVideoUpgradeRequestCall(call); in onUiShowing()
74 public void onIncomingCall(InCallState oldState, InCallState newState, Call call) { in onIncomingCall() argument
83 if (!call.getId().equals(mCallId)) { in onIncomingCall()
[all …]
DStatusBarNotifier.java183 final Call call = getCallToShow(callList); in updateInCallNotification() local
185 if (call != null) { in updateInCallNotification()
186 showNotification(call); in updateInCallNotification()
192 private void showNotification(final Call call) { in showNotification() argument
193 final boolean isIncoming = (call.getState() == Call.State.INCOMING || in showNotification()
194 call.getState() == Call.State.CALL_WAITING); in showNotification()
198 mCallId = call.getId(); in showNotification()
199 CallList.getInstance().addCallUpdateListener(call.getId(), this); in showNotification()
206 mContactInfoCache.findInfo(call, isIncoming, new ContactInfoCacheCallback() { in showNotification()
209 Call call = CallList.getInstance().getCallById(callId); in showNotification()
[all …]
DInCallPresenter.java144 final Call call = mCallList.getCallByTelecomCall(telecomCall);
145 if (call == null) {
149 onPostDialCharWait(call.getId(), remainingPostDialSequence);
155 final Call call = mCallList.getCallByTelecomCall(telecomCall);
156 if (call == null) {
161 listener.onDetailsChanged(call, details);
500 public void onCallAdded(final android.telecom.Call call) { in onCallAdded() argument
501 if (shouldAttemptBlocking(call)) { in onCallAdded()
502 maybeBlockCall(call); in onCallAdded()
504 mCallList.onCallAdded(call); in onCallAdded()
[all …]
DInCallVideoCallCallbackNotifier.java130 public void upgradeToVideoRequest(Call call, int videoState) { in upgradeToVideoRequest() argument
131 Log.d(this, "upgradeToVideoRequest call = " + call + " new video state = " + videoState); in upgradeToVideoRequest()
133 listener.onUpgradeToVideoRequest(call, videoState); in upgradeToVideoRequest()
154 public void peerPausedStateChanged(Call call, boolean paused) { in peerPausedStateChanged() argument
156 listener.onPeerPauseStateChanged(call, paused); in peerPausedStateChanged()
166 public void videoQualityChanged(Call call, int videoQuality) { in videoQualityChanged() argument
168 listener.onVideoQualityChanged(call, videoQuality); in videoQualityChanged()
179 public void peerDimensionsChanged(Call call, int width, int height) { in peerDimensionsChanged() argument
181 listener.onUpdatePeerDimensions(call, width, height); in peerDimensionsChanged()
192 public void cameraDimensionsChanged(Call call, int width, int height) { in cameraDimensionsChanged() argument
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java92 void onCallAdded(Call call); in onCallAdded() argument
93 void onCallRemoved(Call call); in onCallRemoved() argument
94 void onCallStateChanged(Call call, int oldState, int newState); in onCallStateChanged() argument
96 Call call, in onConnectionServiceChanged() argument
99 void onIncomingCallAnswered(Call call); in onIncomingCallAnswered() argument
100 void onIncomingCallRejected(Call call, boolean rejectWithMessage, String textMessage); in onIncomingCallRejected() argument
102 void onRingbackRequested(Call call, boolean ringback); in onRingbackRequested() argument
103 void onIsConferencedChanged(Call call); in onIsConferencedChanged() argument
104 void onIsVoipAudioModeChanged(Call call); in onIsVoipAudioModeChanged() argument
105 void onVideoStateChanged(Call call); in onVideoStateChanged() argument
[all …]
DCallAudioManager.java92 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() argument
93 if (shouldIgnoreCallForAudio(call)) { in onCallStateChanged()
97 Log.d(LOG_TAG, "Call state changed for TC@%s: %s -> %s", call.getId(), in onCallStateChanged()
101 mCallStateToCalls.valueAt(i).remove(call); in onCallStateChanged()
104 mCallStateToCalls.get(newState).add(call); in onCallStateChanged()
109 playToneForDisconnectedCall(call); in onCallStateChanged()
112 onCallLeavingState(call, oldState); in onCallStateChanged()
113 onCallEnteringState(call, newState); in onCallStateChanged()
117 public void onCallAdded(Call call) { in onCallAdded() argument
118 if (shouldIgnoreCallForAudio(call)) { in onCallAdded()
[all …]
DConnectionServiceWrapper.java90 Call call = mCallIdMapper.getCall(callId); in setActive() local
91 if (call != null) { in setActive()
92 mCallsManager.markCallAsActive(call); in setActive()
110 Call call = mCallIdMapper.getCall(callId); in setRinging() local
111 if (call != null) { in setRinging()
112 mCallsManager.markCallAsRinging(call); in setRinging()
130 Call call = mCallIdMapper.getCall(callId); in setVideoProvider() local
131 if (call != null) { in setVideoProvider()
132 call.setVideoProvider(videoProvider); in setVideoProvider()
148 Call call = mCallIdMapper.getCall(callId); in setDialing() local
[all …]
DInCallAdapter.java55 Call call = mCallIdMapper.getCall(callId); in answerCall() local
56 if (call != null) { in answerCall()
57 mCallsManager.answerCall(call, videoState); in answerCall()
78 Call call = mCallIdMapper.getCall(callId); in rejectCall() local
79 if (call != null) { in rejectCall()
80 mCallsManager.rejectCall(call, rejectWithMessage, textMessage); in rejectCall()
101 Call call = mCallIdMapper.getCall(callId); in playDtmfTone() local
102 if (call != null) { in playDtmfTone()
103 mCallsManager.playDtmfTone(call, digit); in playDtmfTone()
124 Call call = mCallIdMapper.getCall(callId); in stopDtmfTone() local
[all …]
DInCallController.java72 public boolean connect(Call call) { return false; } in connect() argument
125 public boolean connect(Call call) { in connect() argument
127 Log.event(call, Log.Events.INFO, "Already connected, ignoring request."); in connect()
133 if (call != null && !call.isIncoming() && !call.isExternalCall()){ in connect()
135 call.getIntentExtras()); in connect()
137 call.getTargetPhoneAccount()); in connect()
227 public boolean connect(Call call) { in connect() argument
230 if (mSubConnection.connect(call)) { in connect()
238 return super.connect(call); in connect()
333 public boolean connect(Call call) { in connect() argument
[all …]
DParcelableCallUtils.java32 public ParcelableCall toParcelableCall(Call call, boolean includeVideoProvider, in toParcelableCall() argument
35 call, includeVideoProvider, phoneAccountRegistrar); in toParcelableCall()
51 Call call, in toParcelableCall() argument
54 int state = getParcelableState(call); in toParcelableCall()
55 int capabilities = convertConnectionToCallCapabilities(call.getConnectionCapabilities()); in toParcelableCall()
56 int properties = convertConnectionToCallProperties(call.getConnectionProperties()); in toParcelableCall()
57 if (call.isConference()) { in toParcelableCall()
61 if (call.isWorkCall()) { in toParcelableCall()
67 phoneAccountRegistrar.isUserSelectedSmsPhoneAccount(call.getTargetPhoneAccount()); in toParcelableCall()
68 if (call.isRespondViaSmsCapable() && isDefaultSmsAccount) { in toParcelableCall()
[all …]
DBluetoothPhoneServiceImpl.java99 Call call = mCallsManager.getRingingCall();
100 if (call != null) {
101 mCallsManager.answerCall(call, call.getVideoState());
121 Call call = mCallsManager.getForegroundCall();
122 if (call != null) {
123 mCallsManager.disconnectCall(call);
142 Call call = mCallsManager.getForegroundCall();
143 if (call != null) {
146 mCallsManager.playDtmfTone(call, (char) dtmf);
147 mCallsManager.stopDtmfTone(call);
[all …]
DPhoneStateBroadcaster.java45 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() argument
46 updateStates(call); in onCallStateChanged()
50 public void onCallAdded(Call call) { in onCallAdded() argument
51 if (call.isExternalCall()) { in onCallAdded()
54 updateStates(call); in onCallAdded()
58 public void onCallRemoved(Call call) { in onCallRemoved() argument
59 if (call.isExternalCall()) { in onCallRemoved()
62 updateStates(call); in onCallRemoved()
74 public void onExternalCallChanged(Call call, boolean isExternalCall) { in onExternalCallChanged() argument
75 updateStates(call); in onExternalCallChanged()
[all …]
DCallsManagerListenerBase.java28 public void onCallAdded(Call call) { in onCallAdded() argument
32 public void onCallRemoved(Call call) { in onCallRemoved() argument
36 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() argument
41 Call call, in onConnectionServiceChanged() argument
47 public void onIncomingCallAnswered(Call call) { in onIncomingCallAnswered() argument
51 public void onIncomingCallRejected(Call call, boolean rejectWithMessage, String textMessage) { in onIncomingCallRejected() argument
60 public void onRingbackRequested(Call call, boolean ringback) { in onRingbackRequested() argument
64 public void onIsConferencedChanged(Call call) { in onIsConferencedChanged() argument
68 public void onIsVoipAudioModeChanged(Call call) { in onIsVoipAudioModeChanged() argument
72 public void onVideoStateChanged(Call call) { in onVideoStateChanged() argument
[all …]
DCallLogManager.java137 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() argument
138 int disconnectCause = call.getDisconnectCause().getCode(); in onCallStateChanged()
149 !call.isConference() && in onCallStateChanged()
152 if (!call.isIncoming()) { in onCallStateChanged()
159 logCall(call, type, true /*showNotificationForMissedCall*/); in onCallStateChanged()
163 void logCall(Call call, int type, boolean showNotificationForMissedCall) { in logCall() argument
165 logCall(call, Calls.MISSED_TYPE, in logCall()
169 mMissedCallNotifier.showMissedCallNotification(call); in logCall()
173 logCall(call, type, null); in logCall()
187 void logCall(Call call, int callLogType, in logCall() argument
[all …]
DCall.java84 void onSuccessfulOutgoingCall(Call call, int callState); in onSuccessfulOutgoingCall() argument
85 void onFailedOutgoingCall(Call call, DisconnectCause disconnectCause); in onFailedOutgoingCall() argument
86 void onSuccessfulIncomingCall(Call call); in onSuccessfulIncomingCall() argument
87 void onFailedIncomingCall(Call call); in onFailedIncomingCall() argument
88 void onSuccessfulUnknownCall(Call call, int callState); in onSuccessfulUnknownCall() argument
89 void onFailedUnknownCall(Call call); in onFailedUnknownCall() argument
90 void onRingbackRequested(Call call, boolean ringbackRequested); in onRingbackRequested() argument
91 void onPostDialWait(Call call, String remaining); in onPostDialWait() argument
92 void onPostDialChar(Call call, char nextChar); in onPostDialChar() argument
93 void onConnectionCapabilitiesChanged(Call call); in onConnectionCapabilitiesChanged() argument
[all …]
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java189 Call call = readCallFromData(data); in onRestore() local
190 if (call != null) { in onRestore()
191 writeCallToProvider(call); in onRestore()
193 Log.d(TAG, "Restored call: " + call); in onRestore()
206 for (Call call : calls) { in runBackup()
207 if (!state.callIds.contains(call.id)) { in runBackup()
210 Log.d(TAG, "Adding call to backup: " + call); in runBackup()
214 addCallToBackup(data, call); in runBackup()
215 state.callIds.add(call.id); in runBackup()
219 callsToRemove.remove(call.id); in runBackup()
[all …]
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestCallList.java38 public void onCallAdded(Call call) {} in onCallAdded() argument
39 public void onCallRemoved(Call call) {} in onCallRemoved() argument
48 public TestVideoCallListener(Call call) { in TestVideoCallListener() argument
49 mCall = call; in TestVideoCallListener()
122 public void addCall(Call call) { in addCall() argument
123 if (mCalls.contains(call)) { in addCall()
127 Log.i(TAG, "addCall: " + call + " " + System.identityHashCode(this)); in addCall()
128 mCalls.add(call); in addCall()
129 call.addListener(this); in addCall()
132 l.onCallAdded(call); in addCall()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioManagerTest.java83 Call call = createIncomingCall(); in testSingleIncomingCallFlowWithoutMTSpeedUp() local
84 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) in testSingleIncomingCallFlowWithoutMTSpeedUp()
90 mCallAudioManager.onIncomingCallAnswered(call); in testSingleIncomingCallFlowWithoutMTSpeedUp()
91 when(call.getState()).thenReturn(CallState.ACTIVE); in testSingleIncomingCallFlowWithoutMTSpeedUp()
92 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.ACTIVE); in testSingleIncomingCallFlowWithoutMTSpeedUp()
109 disconnectCall(call); in testSingleIncomingCallFlowWithoutMTSpeedUp()
112 mCallAudioManager.onCallRemoved(call); in testSingleIncomingCallFlowWithoutMTSpeedUp()
118 Call call = createIncomingCall(); in testSingleIncomingCallFlowWithMTSpeedUp() local
119 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) in testSingleIncomingCallFlowWithMTSpeedUp()
125 mCallAudioManager.onIncomingCallAnswered(call); in testSingleIncomingCallFlowWithMTSpeedUp()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java202 private boolean sendNotificationCustomComponent(Call call, UserHandle userHandle) { in sendNotificationCustomComponent() argument
211 call != null ? call.getPhoneNumber() : null); in sendNotificationCustomComponent()
216 if (count == 1 && call != null) { in sendNotificationCustomComponent()
217 final Uri handleUri = call.getHandle(); in sendNotificationCustomComponent()
264 private void sendNotificationThroughDefaultDialer(Call call, UserHandle userHandle) { in sendNotificationThroughDefaultDialer() argument
270 call != null ? call.getPhoneNumber() : null); in sendNotificationThroughDefaultDialer()
282 public void showMissedCallNotification(Call call) { in showMissedCallNotification() argument
283 final PhoneAccountHandle phoneAccountHandle = call.getTargetPhoneAccount(); in showMissedCallNotification()
293 showMissedCallNotification(call, userHandle); in showMissedCallNotification()
296 private void showMissedCallNotification(Call call, UserHandle userHandle) { in showMissedCallNotification() argument
[all …]
/packages/apps/Email/
DCleanSpec.mk50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*)
51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*)
52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*)
53 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*)
54 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*)
55 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*)
56 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*)
57 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*)
58 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*)
59 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*)
[all …]

12345678910>>...15