Searched refs:call (Results 1 - 25 of 349) sorted by last modified time

1234567891011>>

/packages/wallpapers/LivePicker/
H A DAndroid.mk17 LOCAL_PATH := $(call my-dir)
41 LOCAL_SRC_FILES := $(call all-subdir-java-files)
/packages/services/Telecomm/libs/
H A Dguava.jar ... .lang.Object[]) public java.lang.Object call () throws java.lang.Exception java.lang. ...
/packages/services/Telecomm/src/com/android/server/telecom/
H A DBluetoothPhoneServiceImpl.java47 * Bluetooth headset manager for Telecom. This class shares the call state with the bluetooth device
48 * and accepts call-related commands to perform on behalf of the BT device.
70 // Terminate all held or set UDUB("busy") to a waiting call
72 // Terminate all active calls and accepts a waiting/held call
74 // Hold all active calls and accepts a waiting/held call
88 * bluetooth headset code uses to control call.
99 Log.i(TAG, "BT - answering call");
100 Call call = mCallsManager.getRingingCall();
101 if (call != null) {
102 mCallsManager.answerCall(call, VideoProfil
567 sendClccForCall(Call call, boolean shouldLog) argument
655 getIndexForCall(Call call) argument
[all...]
H A DCall.java62 * Encapsulates all aspects of a given phone call throughout its lifecycle, starting
63 * from the time the call intent was received by Telecom (vs. the time the call was
82 * Listener for events on the call.
86 void onSuccessfulOutgoingCall(Call call, int callState); argument
87 void onFailedOutgoingCall(Call call, DisconnectCause disconnectCause); argument
88 void onSuccessfulIncomingCall(Call call); argument
89 void onFailedIncomingCall(Call call); argument
90 void onSuccessfulUnknownCall(Call call, int callState); argument
91 void onFailedUnknownCall(Call call); argument
92 onRingbackRequested(Call call, boolean ringbackRequested) argument
93 onPostDialWait(Call call, String remaining) argument
94 onPostDialChar(Call call, char nextChar) argument
95 onConnectionCapabilitiesChanged(Call call) argument
96 onConnectionPropertiesChanged(Call call) argument
97 onParentChanged(Call call) argument
98 onChildrenChanged(Call call) argument
99 onCannedSmsResponsesLoaded(Call call) argument
100 onVideoCallProviderChanged(Call call) argument
101 onCallerInfoChanged(Call call) argument
102 onIsVoipAudioModeChanged(Call call) argument
103 onStatusHintsChanged(Call call) argument
106 onHandleChanged(Call call) argument
107 onCallerDisplayNameChanged(Call call) argument
108 onVideoStateChanged(Call call, int previousVideoState, int newVideoState) argument
109 onTargetPhoneAccountChanged(Call call) argument
110 onConnectionManagerPhoneAccountChanged(Call call) argument
111 onPhoneAccountChanged(Call call) argument
112 onConferenceableCallsChanged(Call call) argument
113 onCanceledViaNewOutgoingCallBroadcast(Call call, long disconnectionTimeout) argument
114 onHoldToneRequested(Call call) argument
115 onConnectionEvent(Call call, String event, Bundle extras) argument
116 onExternalCallChanged(Call call, boolean isExternalCall) argument
121 onSuccessfulOutgoingCall(Call call, int callState) argument
123 onFailedOutgoingCall(Call call, DisconnectCause disconnectCause) argument
125 onSuccessfulIncomingCall(Call call) argument
127 onFailedIncomingCall(Call call) argument
129 onSuccessfulUnknownCall(Call call, int callState) argument
131 onFailedUnknownCall(Call call) argument
133 onRingbackRequested(Call call, boolean ringbackRequested) argument
135 onPostDialWait(Call call, String remaining) argument
137 onPostDialChar(Call call, char nextChar) argument
139 onConnectionCapabilitiesChanged(Call call) argument
141 onConnectionPropertiesChanged(Call call) argument
143 onParentChanged(Call call) argument
145 onChildrenChanged(Call call) argument
147 onCannedSmsResponsesLoaded(Call call) argument
149 onVideoCallProviderChanged(Call call) argument
151 onCallerInfoChanged(Call call) argument
153 onIsVoipAudioModeChanged(Call call) argument
155 onStatusHintsChanged(Call call) argument
161 onHandleChanged(Call call) argument
163 onCallerDisplayNameChanged(Call call) argument
165 onVideoStateChanged(Call call, int previousVideoState, int newVideoState) argument
167 onTargetPhoneAccountChanged(Call call) argument
169 onConnectionManagerPhoneAccountChanged(Call call) argument
171 onPhoneAccountChanged(Call call) argument
173 onConferenceableCallsChanged(Call call) argument
175 onCanceledViaNewOutgoingCallBroadcast(Call call, long disconnectionTimeout) argument
180 onHoldToneRequested(Call call) argument
182 onConnectionEvent(Call call, String event, Bundle extras) argument
184 onExternalCallChanged(Call call, boolean isExternalCall) argument
1762 addChildCall(Call call) argument
1777 removeChildCall(Call call) argument
[all...]
H A DCallAudioManager.java93 public void onCallStateChanged(Call call, int oldState, int newState) { argument
94 if (shouldIgnoreCallForAudio(call)) {
98 Log.d(LOG_TAG, "Call state changed for TC@%s: %s -> %s", call.getId(),
102 mCallStateToCalls.valueAt(i).remove(call);
105 mCallStateToCalls.get(newState).add(call);
110 playToneForDisconnectedCall(call);
113 onCallLeavingState(call, oldState);
114 onCallEnteringState(call, newState);
118 public void onCallAdded(Call call) { argument
119 if (shouldIgnoreCallForAudio(call)) {
127 onCallRemoved(Call call) argument
135 addCall(Call call) argument
153 removeCall(Call call) argument
180 onExternalCallChanged(Call call, boolean isExternalCall) argument
206 shouldIgnoreCallForAudio(Call call) argument
211 onIncomingCallAnswered(Call call) argument
241 onSessionModifyRequestReceived(Call call, VideoProfile videoProfile) argument
273 onHoldToneRequested(Call call) argument
278 onIsVoipAudioModeChanged(Call call) argument
288 onRingbackRequested(Call call, boolean shouldRingback) argument
297 onIncomingCallRejected(Call call, boolean rejectWithMessage, String message) argument
302 onIsConferencedChanged(Call call) argument
323 onConnectionServiceChanged(Call call, ConnectionServiceWrapper oldCs, ConnectionServiceWrapper newCs) argument
330 onVideoStateChanged(Call call, int previousVideoState, int newVideoState) argument
498 onCallLeavingState(Call call, int state) argument
520 onCallEnteringState(Call call, int state) argument
629 playToneForDisconnectedCall(Call call) argument
673 playRingbackForCall(Call call) argument
679 stopRingbackForCall(Call call) argument
734 maybeStopRingingAndCallWaitingForAnsweredOrRejectedCall(Call call) argument
[all...]
H A DCallAudioRouteStateMachine.java44 * This class describes the available routes of a call as a state machine.
159 * ensures changes to the notification interruption filter made by the user during a call are
1033 // Omit setting mWasOnSpeaker to true here, since this does not reflect a call
1235 Log.e(this, new IllegalArgumentException(), "Route %d specified when supported call" +
1318 * Sets whether notifications should be suppressed or not. Used when in a call to ensure the
1454 Call call = mCallsManager.getForegroundCall();
1455 if (call != null && call.getConnectionService() != null) {
1456 call.getConnectionService().onCallAudioStateChanged(call, newCallAudioStat
[all...]
H A DCallIdMapper.java25 /** Utility to map {@link Call} objects to unique IDs. IDs are generated when a call is added. */
81 String getCallId(Call call); argument
92 // Use the old call's ID for the new call.
97 void addCall(Call call, String id) { argument
98 if (call == null) {
101 mCalls.put(id, call);
104 void addCall(Call call) { argument
105 addCall(call, mCallInfo.getCallId(call));
108 removeCall(Call call) argument
119 getCallId(Call call) argument
[all...]
H A DCallIntentProcessor.java25 * captures call intents for individual users and forwards it to the {@link CallIntentProcessor}
57 * Whether or not the dialer initiating this outgoing call is the default dialer, or system
63 * The user initiating the outgoing call.
93 * @param intent Call intent containing data about the handle to call.
120 // Ensure call subject is passed on to the connection service.
133 // Show the toast to warn user that it is a personal call though initiated in work profile.
141 Call call = callsManager
144 if (call != null) {
148 // process will be running throughout the duration of the phone call and should never
151 context, callsManager, call, inten
230 disconnectCallAndShowErrorDialog( Context context, Call call, int errorCode) argument
[all...]
H A DCallLogManager.java46 * caller details to the call log. All logging activity will be performed asynchronously in a
57 * Parameter object to hold the arguments to add a call in the call log DB.
64 * @param callType The type of call (e.g INCOMING_TYPE). @see
66 * @param features The features of the call (e.g. FEATURES_VIDEO). @see
68 * @param creationDate Time when the call was created (milliseconds since epoch).
69 * @param durationInMillis Duration of the call (milliseconds).
71 * @param logCallCompletedListener optional callback called after the call is logged.
137 public void onCallStateChanged(Call call, int oldState, int newState) { argument
138 int disconnectCause = call
169 logCall(Call call, int type, boolean showNotificationForMissedCall) argument
193 logCall(Call call, int callLogType, @Nullable LogCallCompletedListener logCallCompletedListener) argument
313 getLogNumber(Call call) argument
[all...]
H A DCallsManager.java95 void onCallAdded(Call call); argument
96 void onCallRemoved(Call call); argument
97 void onCallStateChanged(Call call, int oldState, int newState); argument
99 Call call,
102 void onIncomingCallAnswered(Call call); argument
103 void onIncomingCallRejected(Call call, boolean rejectWithMessage, String textMessage); argument
105 void onRingbackRequested(Call call, boolean ringback); argument
106 void onIsConferencedChanged(Call call); argument
107 void onIsVoipAudioModeChanged(Call call); argument
108 void onVideoStateChanged(Call call, in argument
98 onConnectionServiceChanged( Call call, ConnectionServiceWrapper oldService, ConnectionServiceWrapper newService) argument
110 onSessionModifyRequestReceived(Call call, VideoProfile videoProfile) argument
111 onHoldToneRequested(Call call) argument
112 onExternalCallChanged(Call call, boolean isExternalCall) argument
330 onSuccessfulOutgoingCall(Call call, int callState) argument
349 onFailedOutgoingCall(Call call, DisconnectCause disconnectCause) argument
455 onFailedIncomingCall(Call call) argument
461 onSuccessfulUnknownCall(Call call, int callState) argument
468 onFailedUnknownCall(Call call) argument
475 onRingbackRequested(Call call, boolean ringback) argument
482 onPostDialWait(Call call, String remaining) argument
487 onPostDialChar(final Call call, char nextChar) argument
523 onParentChanged(Call call) argument
532 onChildrenChanged(Call call) argument
541 onIsVoipAudioModeChanged(Call call) argument
548 onVideoStateChanged(Call call, int previousVideoState, int newVideoState) argument
555 onCanceledViaNewOutgoingCallBroadcast(final Call call, long disconnectionTimeout) argument
580 onVideoCallProviderChanged(Call call) argument
599 onSessionModifyRequestReceived(Call call, VideoProfile videoProfile) argument
623 onHoldToneRequested(Call call) argument
968 placeOutgoingCall(Call call, Uri handle, GatewayInfo gatewayInfo, boolean speakerphoneOn, int videoState) argument
1035 conference(Call call, Call otherCall) argument
1048 answerCall(Call call, int videoState) argument
1142 rejectCall(Call call, boolean rejectWithMessage, String textMessage) argument
1159 playDtmfTone(Call call, char digit) argument
1172 stopDtmfTone(Call call) argument
1184 postDialContinue(Call call, boolean proceed) argument
1198 disconnectCall(Call call) argument
1227 holdCall(Call call) argument
1242 unholdCall(Call call) argument
1319 onExternalCallChanged(Call call, boolean isExternalCall) argument
1326 handleCallTechnologyChange(Call call) argument
1339 handleChildAddressChange(Call call) argument
1375 phoneAccountSelected(Call call, PhoneAccountHandle account, boolean setDefault) argument
1410 markCallAsRinging(Call call) argument
1414 markCallAsDialing(Call call) argument
1419 markCallAsPulling(Call call) argument
1424 markCallAsActive(Call call) argument
1429 markCallAsOnHold(Call call) argument
1439 markCallAsDisconnected(Call call, DisconnectCause disconnectCause) argument
1447 markCallAsRemoved(Call call) argument
1768 addCall(Call call) argument
1794 removeCall(Call call) argument
1832 setCallState(Call call, int newState, String tag) argument
1949 makeRoomForOutgoingCall(Call call, boolean isEmergency) argument
2069 maybeMoveToSpeakerPhone(Call call) argument
2242 maybeShowErrorDialogOnDisconnect(Call call) argument
2257 setIntentExtrasAndStartTime(Call call, Bundle extras) argument
[all...]
H A DCallsManagerListenerBase.java28 public void onCallAdded(Call call) { argument
32 public void onCallRemoved(Call call) { argument
36 public void onCallStateChanged(Call call, int oldState, int newState) { argument
41 Call call,
47 public void onIncomingCallAnswered(Call call) { argument
51 public void onIncomingCallRejected(Call call, boolean rejectWithMessage, String textMessage) { argument
60 public void onRingbackRequested(Call call, boolean ringback) { argument
64 public void onIsConferencedChanged(Call call) { argument
68 public void onIsVoipAudioModeChanged(Call call) { argument
72 public void onVideoStateChanged(Call call, in argument
40 onConnectionServiceChanged( Call call, ConnectionServiceWrapper oldService, ConnectionServiceWrapper newService) argument
80 onSessionModifyRequestReceived(Call call, VideoProfile videoProfile) argument
85 onHoldToneRequested(Call call) argument
89 onExternalCallChanged(Call call, boolean isExternalCall) argument
[all...]
H A DConnectionServiceWrapper.java91 Call call = mCallIdMapper.getCall(callId);
92 if (call != null) {
93 mCallsManager.markCallAsActive(call);
95 // Log.w(this, "setActive, unknown call id: %s", msg.obj);
111 Call call = mCallIdMapper.getCall(callId);
112 if (call != null) {
113 mCallsManager.markCallAsRinging(call);
115 // Log.w(this, "setRinging, unknown call id: %s", msg.obj);
131 Call call = mCallIdMapper.getCall(callId);
132 if (call !
810 createConnection(final Call call, final CreateConnectionResponse response) argument
862 abort(Call call) argument
879 silence(Call call) argument
891 hold(Call call) argument
903 unhold(Call call) argument
928 disconnect(Call call) argument
940 answer(Call call, int videoState) argument
956 reject(Call call, boolean rejectWithMessage, String message) argument
974 playDtmfTone(Call call, char digit) argument
986 stopDtmfTone(Call call) argument
997 addCall(Call call) argument
1011 removeCall(Call call) argument
1024 removeCall(Call call, DisconnectCause disconnectCause) argument
1033 onPostDialContinue(Call call, boolean proceed) argument
1044 conference(final Call call, Call otherCall) argument
1056 splitFromConference(Call call) argument
1067 mergeConference(Call call) argument
1078 swapConference(Call call) argument
1089 pullExternalCall(Call call) argument
1100 sendCallEvent(Call call, String event, Bundle extras) argument
1111 onExtrasChanged(Call call, Bundle extras) argument
[all...]
H A DCreateConnectionProcessor.java39 * call. In either case, this class cycles through a set of connection services until:
40 * - a connection service returns a newly created connection in which case the call is displayed
42 * - a connection service cancels the process, in which case the call is aborted
47 // Describes information required to attempt to make a phone call
53 // for attempting to make the actual phone call
103 Call call, ConnectionServiceRepository repository, CreateConnectionResponse response,
105 Log.v(this, "CreateConnectionProcessor created for Call = %s", call);
106 mCall = call;
296 // If we are possibly attempting to call a local emergency number, ensure that the
302 // Phone accounts in profile do not handle emergency call, us
102 CreateConnectionProcessor( Call call, ConnectionServiceRepository repository, CreateConnectionResponse response, PhoneAccountRegistrar phoneAccountRegistrar, Context context) argument
[all...]
H A DCreateConnectionTimeout.java30 * Registers a timeout for a call and disconnects the call when the timeout expires.
42 ConnectionServiceWrapper service, Call call) {
47 mCall = call;
70 // Timeout is only supported for SIM call managers that are set by the carrier.
73 Log.d(this, "isTimeoutNeededForCall, not a system sim call manager");
107 Log.i(this, "run, call timed out, calling disconnect");
113 static boolean isCallBeingPlaced(Call call) { argument
114 int state = call.getState();
41 CreateConnectionTimeout(Context context, PhoneAccountRegistrar phoneAccountRegistrar, ConnectionServiceWrapper service, Call call) argument
H A DDtmfLocalTonePlayer.java34 * class employs a concept of a call "session" that starts and stops when the foreground call
41 /** The current call associated with an existing dtmf session. */
64 * @param call The associated call.
67 void playTone(Call call, char c) { argument
68 // Do nothing if it is not the right call.
69 if (mCall != call) {
88 * @param call The associated call
90 stopTone(Call call) argument
110 startDtmfSession(Call call) argument
136 endDtmfSession(Call call) argument
[all...]
H A DHeadsetMediaButton.java110 * Handles the wired headset button while in-call.
128 public void onCallAdded(Call call) { argument
129 if (call.isExternalCall()) {
137 public void onCallRemoved(Call call) { argument
138 if (call.isExternalCall()) {
148 public void onExternalCallChanged(Call call, boolean isExternalCall) { argument
150 onCallRemoved(call);
152 onCallAdded(call);
H A DInCallAdapter.java28 * Receives call commands and updates from in-call app and passes them through to CallsManager.
29 * {@link InCallController} creates an instance of this class and passes it to the in-call app after
30 * binding to it. This adapter can receive commands and updates until the in-call app is unbound.
55 Call call = mCallIdMapper.getCall(callId);
56 if (call != null) {
57 mCallsManager.answerCall(call, videoState);
59 Log.w(this, "answerCall, unknown call id: %s", callId);
78 Call call = mCallIdMapper.getCall(callId);
79 if (call !
[all...]
H A DInCallController.java60 * can send updates to the in-call app. This class is created and owned by CallsManager and retains
61 * a binding to the {@link IInCallService} (implemented by the in-call app).
72 public boolean connect(Call call) { return false; } argument
179 public boolean connect(Call call) { argument
181 Log.event(call, Log.Events.INFO, "Already connected, ignoring request.");
187 if (call != null && !call.isIncoming() && !call.isExternalCall()){
189 call.getIntentExtras());
191 call
288 connect(Call call) argument
394 connect(Call call) argument
460 connect(Call call) argument
639 onCallAdded(Call call) argument
673 onCallRemoved(Call call) argument
696 onExternalCallChanged(Call call, boolean isExternalCall) argument
757 onCallStateChanged(Call call, int oldState, int newState) argument
762 onConnectionServiceChanged( Call call, ConnectionServiceWrapper oldService, ConnectionServiceWrapper newService) argument
797 onPostDialWait(Call call, String remaining) argument
810 onIsConferencedChanged(Call call) argument
839 notifyConnectionEvent(Call call, String event, Bundle extras) argument
877 bindToServices(Call call) argument
1146 updateCall(Call call) argument
1157 updateCall(Call call, boolean videoProviderChanged) argument
1189 addCall(Call call) argument
[all...]
H A DInCallWakeLockController.java22 * Handles acquisition and release of wake locks relating to call state.
39 public void onCallAdded(Call call) { argument
40 if (call.isExternalCall()) {
47 public void onCallRemoved(Call call) { argument
48 if (call.isExternalCall()) {
55 public void onCallStateChanged(Call call, int oldState, int newState) { argument
56 if (call.isExternalCall()) {
63 // We grab a full lock as long as there exists a ringing call.
H A DLog.java287 public CallEventRecord(Call call) { argument
288 mCall = call;
353 // If the data is another call, then change the data to the call's CallEvent
369 pw.println("Timings (average for this call, milliseconds):");
649 * Log.continueSession(...) call.
728 public static void event(Call call, String event) { argument
729 event(call, event, null);
732 public static void event(Call call, String event, Object data) { argument
736 if (call
751 event(Call call, String event, String format, Object... args) argument
[all...]
H A DMissedCallNotifier.java28 void showMissedCallNotification(Call call); argument
H A DNewOutgoingCallIntentBroadcaster.java45 * are being dialed, (2) redirect a call (change the number being dialed), or (3) prevent a call
54 * Calls to emergency numbers are still broadcast for informative purposes. The call is placed
61 * need to be copied from the source call intent to the destination intent in order to
77 * Whether or not the outgoing call intent originated from the default phone application. If
83 public NewOutgoingCallIntentBroadcaster(Context context, CallsManager callsManager, Call call, argument
88 mCall = call;
96 * Processes the result of the outgoing call broadcast intent, and performs callbacks to
110 // used as the actual number to call. (If null, no call wil
[all...]
H A DParcelableCallUtils.java34 public ParcelableCall toParcelableCall(Call call, boolean includeVideoProvider, argument
37 call, includeVideoProvider, phoneAccountRegistrar, false);
44 * @param call The {@link Call} to parcel.
50 * @param supportsExternalCalls Indicates whether the call should be parcelled for an
54 Call call,
58 return toParcelableCall(call, includeVideoProvider, phoneAccountRegistrar,
65 * @param call The {@link Call} to parcel.
71 * @param supportsExternalCalls Indicates whether the call should be parcelled for an
74 * override to whatever is defined in the call.
75 * @return The {@link ParcelableCall} containing all call informatio
53 toParcelableCall( Call call, boolean includeVideoProvider, PhoneAccountRegistrar phoneAccountRegistrar, boolean supportsExternalCalls) argument
77 toParcelableCall( Call call, boolean includeVideoProvider, PhoneAccountRegistrar phoneAccountRegistrar, boolean supportsExternalCalls, int overrideState) argument
181 getParcelableState(Call call, boolean supportsExternalCalls) argument
[all...]
H A DPhoneAccountRegistrar.java191 * @param uriScheme The URI scheme for the outgoing call.
311 Log.w(this, "Trying to set non-call-provider default outgoing %s",
406 * If it is a outgoing call, sim call manager of call-initiating user is returned.
407 * Otherwise, we return the sim call manager of the user associated with the
409 * @return phone account handle of sim call manager based on the ongoing call.
411 public PhoneAccountHandle getSimCallManagerFromCall(Call call) { argument
412 if (call
[all...]
H A DPhoneStateBroadcaster.java26 * Send a {@link TelephonyManager#ACTION_PHONE_STATE_CHANGED} broadcast when the call state
45 public void onCallStateChanged(Call call, int oldState, int newState) { argument
46 if (call.isExternalCall()) {
49 updateStates(call);
53 public void onCallAdded(Call call) { argument
54 if (call.isExternalCall()) {
57 updateStates(call);
61 public void onCallRemoved(Call call) { argument
62 if (call.isExternalCall()) {
65 updateStates(call);
77 onExternalCallChanged(Call call, boolean isExternalCall) argument
81 updateStates(Call call) argument
100 sendPhoneStateChangedBroadcast(Call call, int phoneState) argument
[all...]

Completed in 208 milliseconds

1234567891011>>