Searched defs:call (Results 1 - 25 of 68) sorted by relevance

123

/packages/apps/InCallUI/src/com/android/incallui/
H A DCallUtils.java37 public static boolean isVideoCall(Call call) { argument
38 return call != null && isVideoCall(call.getVideoState());
46 public static boolean isIncomingVideoCall(Call call) { argument
47 if (!CallUtils.isVideoCall(call)) {
50 final int state = call.getState();
54 public static boolean isActiveVideoCall(Call call) { argument
55 return CallUtils.isVideoCall(call) && call.getState() == Call.State.ACTIVE;
58 public static boolean isOutgoingVideoCall(Call call) { argument
67 isAudioCall(Call call) argument
72 canVideoPause(Call call) argument
76 makeVideoPauseProfile(Call call) argument
82 makeVideoUnPauseProfile(Call call) argument
[all...]
H A DInCallServiceImpl.java29 * dialing (outgoing), and active calls. When the last call is disconnected, Telecomm will unbind to
45 public void onCallAdded(Call call) { argument
46 CallList.getInstance().onCallAdded(call);
47 InCallPresenter.getInstance().onCallAdded(call);
51 public void onCallRemoved(Call call) { argument
52 CallList.getInstance().onCallRemoved(call);
53 InCallPresenter.getInstance().onCallRemoved(call);
H A DCallerInfoUtils.java33 * This is called to get caller info for a call. This will return a CallerInfo
34 * object immediately based off information in the call, but
38 public static CallerInfo getCallerInfoForCall(Context context, Call call, argument
40 CallerInfo info = buildCallerInfo(context, call);
42 // TODO: Have phoneapp send a Uri when it knows the contact that triggered this call.
45 // Start the query with the number provided from the call.
47 CallerInfoAsyncQuery.startQuery(QUERY_TOKEN, context, info, listener, call);
52 public static CallerInfo buildCallerInfo(Context context, Call call) { argument
57 info.cnapName = call.getCnapName();
59 info.numberPresentation = call
90 isVoiceMailNumber(Context context, Call call) argument
[all...]
H A DConferenceManagerPresenter.java32 * Logic for call buttons.
44 // register for call state changes last
62 final Call call = callList.getActiveOrBackgroundCall();
63 if (call != null && call.isConferenceCall()) {
65 String.valueOf(call.getChildCallIds().size()));
77 public void onDetailsChanged(Call call, android.telecom.Call.Details details) { argument
83 if (call.can(android.telecom.Call.Details.CAPABILITY_DISCONNECT_FROM_CONFERENCE)
85 || call.can(android.telecom.Call.Details.CAPABILITY_SEPARATE_FROM_CONFERENCE)
87 getUi().refreshCall(call);
97 onIncomingCall(InCallState oldState, InCallState newState, Call call) argument
142 refreshCall(Call call) argument
[all...]
H A DInCallVideoCallCallback.java31 * The call associated with this {@link InCallVideoCallCallback}.
36 * Creates an instance of the call video client, specifying the call it is related to.
38 * @param call The call.
40 public InCallVideoCallCallback(Call call) { argument
41 mCall = call;
47 * @param videoProfile The requested video call profile.
116 * Handles a call session event.
137 * Handles a change to the video quality of the call
[all...]
H A DConferenceManagerFragment.java32 * Fragment that allows the user to manage a conference call.
135 public void refreshCall(Call call) { argument
136 mConferenceParticipantListAdapter.refreshCall(call);
/packages/services/Telecomm/src/com/android/server/telecom/
H A DInCallToneMonitor.java26 * Monitors events from CallsManager and plays in-call tones for events which require them, such as
27 * different type of call disconnections (busy tone, congestion tone, etc).
40 public void onCallStateChanged(Call call, int oldState, int newState) { argument
41 if (mCallsManager.getForegroundCall() != call) {
46 if (newState == CallState.DISCONNECTED && call.getDisconnectCause() != null) {
49 Log.v(this, "Disconnect cause: %s.", call.getDisconnectCause());
51 switch(call.getDisconnectCause().getTone()) {
75 Log.d(this, "Found a disconnected call with tone to play %d.", toneToPlay);
85 * state of the call by the peer. If the request involves the peer turning their camera on,
86 * the call waitin
92 onSessionModifyRequestReceived(Call call, VideoProfile videoProfile) argument
[all...]
H A DMissedCallNotifier.java26 void showMissedCallNotification(Call call); argument
H A DProximitySensorManager.java46 public void onCallRemoved(Call call) { argument
51 super.onCallRemoved(call);
59 Log.w(this, "Asking to turn on prox sensor without a call? I don't think so.");
H A DInCallWakeLockController.java25 * Handles acquisition and release of wake locks relating to call state.
49 public void onCallAdded(Call call) { argument
54 public void onCallRemoved(Call call) { argument
59 public void onCallStateChanged(Call call, int oldState, int newState) { argument
64 // We grab a full lock as long as there exists a ringing call.
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
51 * already a ringing call, don't broadcast EXTRA_STATE_OFFHOOK.
53 sendPhoneStateChangedBroadcast(call, TelephonyManager.CALL_STATE_OFFHOOK);
58 public void onCallAdded(Call call) { argument
59 if (call.getState() == CallState.RINGING) {
60 sendPhoneStateChangedBroadcast(call, TelephonyManager.CALL_STATE_RINGING);
65 public void onCallRemoved(Call call) { argument
67 // calls in the call list.
75 sendPhoneStateChangedBroadcast(call, callStat
82 sendPhoneStateChangedBroadcast(Call call, int phoneState) argument
[all...]
H A DStatusBarNotifier.java46 public void onCallRemoved(Call call) { argument
H A DCallIntentProcessor.java23 * captures call intents for individual users and forwards it to the {@link CallIntentProcessor}
31 * Whether or not the dialer initiating this outgoing call is the default dialer, or system
61 * @param intent Call intent containing data about the handle to call.
91 // Ensure call subject is passed on to the connection service.
100 Call call = callsManager.startOutgoingCall(handle, phoneAccountHandle, clientExtras);
102 if (call != null) {
106 // process will be running throughout the duration of the phone call and should never
109 context, callsManager, call, intent, isPrivilegedDialer);
113 if (!success && call != null) {
114 disconnectCallAndShowErrorDialog(context, call, resul
164 disconnectCallAndShowErrorDialog( Context context, Call call, int errorCode) argument
[all...]
H A DCreateConnectionTimeout.java29 * Registers a timeout for a call and disconnects the call when the timeout expires.
41 ConnectionServiceWrapper service, Call call) {
45 mCall = call;
67 // Timeout is only supported for SIM call managers that are set by the carrier.
70 Log.d(this, "isTimeoutNeededForCall, not a system sim call manager");
103 Log.i(this, "run, call timed out, calling disconnect");
109 static boolean isCallBeingPlaced(Call call) { argument
110 int state = call.getState();
40 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. */
72 * @param call The associated call.
75 void playTone(Call call, char c) { argument
76 // Do nothing if it is not the right call.
77 if (mCall != call) {
96 * @param call The associated call
98 stopTone(Call call) argument
118 startDtmfSession(Call call) argument
144 endDtmfSession(Call call) argument
[all...]
H A DHeadsetMediaButton.java110 * Handles the wired headset button while in-call.
128 public void onCallAdded(Call call) { argument
134 public void onCallRemoved(Call call) { argument
H A DRespondViaSmsManager.java128 public void onIncomingCallRejected(Call call, boolean rejectWithMessage, String textMessage) { argument
129 if (rejectWithMessage && call.getHandle() != null) {
131 call.getTargetPhoneAccount());
132 rejectCallWithMessage(call.getContext(), call.getHandle().getSchemeSpecificPart(),
149 // be visible! (That's because we're about to dismiss the call
155 // (2) Artificially delay the dismissCallScreen() call by 3
164 * Reject the call with the specified message. If message is null this call is ignored.
H A DRingbackPlayer.java23 * audio for a call, whereas most tones play as simple timed events. This means ringback must be
34 * The current call for which the ringback tone is being played.
62 Call call,
67 if (shouldStartRinging(call)) {
68 startRingbackForCall(call);
70 stopRingbackForCall(call);
75 public void onRingbackRequested(Call call, boolean ignored) { argument
76 if (shouldStartRinging(call)) {
77 startRingbackForCall(call);
79 stopRingbackForCall(call);
61 onConnectionServiceChanged( Call call, ConnectionServiceWrapper oldService, ConnectionServiceWrapper newService) argument
88 startRingbackForCall(Call call) argument
115 stopRingbackForCall(Call call) argument
131 shouldStartRinging(Call call) argument
[all...]
H A DCallIdMapper.java23 /** Utility to map {@link Call} objects to unique IDs. IDs are generated when a call is added. */
86 // Use the old call's ID for the new call.
91 void addCall(Call call, String id) { argument
92 if (call == null) {
95 mCalls.put(id, call);
98 void addCall(Call call) { argument
99 addCall(call, getNewId());
102 void removeCall(Call call) { argument
103 if (call
113 getCallId(Call call) 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
64 public void onRingbackRequested(Call call, boolean ringback) { argument
68 public void onIsConferencedChanged(Call call) { argument
72 public void onIsVoipAudioModeChanged(Call call) { argument
76 public void onVideoStateChanged(Call call) { argument
40 onConnectionServiceChanged( Call call, ConnectionServiceWrapper oldService, ConnectionServiceWrapper newService) argument
84 onSessionModifyRequestReceived(Call call, VideoProfile videoProfile) argument
[all...]
H A DNewOutgoingCallIntentBroadcaster.java43 * are being dialed, (2) redirect a call (change the number being dialed), or (3) prevent a call
52 * 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
82 NewOutgoingCallIntentBroadcaster(Context context, CallsManager callsManager, Call call, argument
86 mCall = call;
92 * Processes the result of the outgoing call broadcast intent, and performs callbacks to
103 // actual number to call. (If null, no call wil
[all...]
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/
H A DInstallPackageTaskTest.java150 public Bundle call(String method, String request, Bundle args) { method in class:InstallPackageTaskTest.MyMockContentProvider
/packages/apps/Camera/tests/src/com/android/camera/activity/
H A DCameraTestCase.java72 public Object call() throws Exception { method in class:CameraTestCase.TakePictureCallable
92 public Object call() throws Exception { method in class:CameraTestCase.AutoFocusCallable
140 // Mock takePicture call.
145 // Mock autoFocus call.
/packages/apps/Camera2/tests_camera/src/com/android/camera/activity/
H A DCameraTestCase.java72 public Object call() throws Exception { method in class:CameraTestCase.TakePictureCallable
92 public Object call() throws Exception { method in class:CameraTestCase.AutoFocusCallable
140 // Mock takePicture call.
145 // Mock autoFocus call.
/packages/apps/Messaging/tests/src/com/android/messaging/
H A DFakeContentProvider.java173 public Bundle call(final String callingPkg, final String method, final String arg, method in class:FakeContentProvider

Completed in 1619 milliseconds

123