Lines Matching refs:ringer
58 * (like starting the Ringer and Incoming Call UI, playing in-call tones,
139 private Ringer mRinger;
175 /* package */ static CallNotifier init(PhoneGlobals app, Phone phone, Ringer ringer,
180 sInstance = new CallNotifier(app, phone, ringer, callLogger, callStateMonitor,
190 private CallNotifier(PhoneGlobals app, Phone phone, Ringer ringer, CallLogger callLogger,
205 mRinger = ringer;
414 // ringer and going to the in-call UI. The intent should contain
528 // TODO: cache the custom ringer object so that subsequent
550 // query the callerinfo to try to get the ringer.
582 * starts the ringer, and brings up the "incoming call" UI.
586 * configured the Ringer object to use the custom ringtone (if there
587 * is one) for this caller. So we just tell the Ringer to start, and
594 * (We still tell the Ringer to start, but it's going to use the
616 // start the ringer here, since there won't be any future
622 // to our handler. (And we will correctly stop the ringer when we
626 // Don't start the ringer *or* bring up the "incoming call" UI.
726 // Since we're now in-call, the Ringer should definitely *not*
728 // already stopped the ringer explicitly back in
837 if (DBG) log("custom ringtone found, setting up ringer.");
838 Ringer r = mRinger;
880 log("custom ringtone found (in fallback cache), setting up ringer: "
888 // the chance to call Ringer.setCustomRingtoneUri()).
889 log("Failed to find fallback cache. Use default ringer tone.");
927 // Stop the ringer if it was ringing (for an incoming call that
930 // TODO: We technically *shouldn't* stop the ringer if the
933 // It's safest to just unconditionally stop the ringer here.
938 // call connection hence we should *not* be stopping the ringer being played for
1162 * Indicates whether or not this ringer is ringing.
1179 * Restarts the ringer after having previously silenced it.
1181 * (This is a no-op if the ringer is actually still ringing, or if the
1191 // for the WAITING state also. We only allow the ringer for