Home | History | Annotate | Download | only in telecom

Lines Matching refs:Phone

42  * phone calls. Telecom binds to this service while there exists a live (active or incoming) call,
44 * first be set as the default phone app (See {@link TelecomManager#getDefaultDialerPackage()})
90 mPhone = new Phone(new InCallAdapter((IInCallAdapter) msg.obj));
202 private Phone.Listener mPhoneListener = new Phone.Listener() {
205 public void onAudioStateChanged(Phone phone, AudioState audioState) {
209 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) {
215 public void onBringToForeground(Phone phone, boolean showDialpad) {
221 public void onCallAdded(Phone phone, Call call) {
227 public void onCallRemoved(Phone phone, Call call) {
233 public void onCanAddCallChanged(Phone phone, boolean canAddCall) {
239 public void onSilenceRinger(Phone phone) {
245 private Phone mPhone;
258 Phone oldPhone = mPhone;
274 * Obtain the {@code Phone} associated with this {@code InCallService}.
276 * @return The {@code Phone} object associated with this {@code InCallService}, or {@code null}
278 * {@code Phone}.
280 * @deprecated Use direct methods on InCallService instead of {@link Phone}.
284 public Phone getPhone() {
300 * @return Whether the phone supports adding more calls.
307 * Obtains the current phone call audio state.
320 * Obtains the current phone call audio state.
354 * Invoked when the {@code Phone} has been created. This is a signal to the in-call experience
356 * will have only one {@code Phone}, and this method will be called exactly once in the lifetime
359 * @param phone The {@code Phone} object associated with this {@code InCallService}.
361 * @deprecated Use direct methods on InCallService instead of {@link Phone}.
365 public void onPhoneCreated(Phone phone) {
369 * Invoked when a {@code Phone} has been destroyed. This is a signal to the in-call experience
372 * call to {@link #onPhoneCreated(Phone)}.
374 * @param phone The {@code Phone} object associated with this {@code InCallService}.
376 * @deprecated Use direct methods on InCallService instead of {@link Phone}.
380 public void onPhoneDestroyed(Phone phone) {
436 * Called when the ability to add more calls changes. If the phone cannot