Lines Matching refs:call
34 * 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) {
68 // Do nothing if it is not the right call.
69 if (mCall != call) {
88 * @param call The associated call.
90 void stopTone(Call call) {
91 // Do nothing if it's not the right call.
92 if (mCall != call) {
106 * Runs initialization requires to play local tones during a call.
108 * @param call The call associated with this dtmf session.
110 private void startDtmfSession(Call call) {
111 if (call == null) {
114 final Context context = call.getContext();
123 mCall = call;
134 * @param call The call associated with the session to end.
136 private void endDtmfSession(Call call) {
137 if (call != null && mCall == call) {
139 stopTone(call);