Home | History | Annotate | Download | only in telecom

Lines Matching refs:Phone

44  * phone calls. Telecom binds to this service while there exists a live (active or incoming) call,
46 * first be set as the default phone app (See {@link TelecomManager#getDefaultDialerPackage()})
80 * to see if they would like your application to be the new default phone app. See the
117 mPhone = new Phone(new InCallAdapter((IInCallAdapter) msg.obj), callingPackage,
273 private Phone.Listener mPhoneListener = new Phone.Listener() {
276 public void onAudioStateChanged(Phone phone, AudioState audioState) {
280 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) {
286 public void onBringToForeground(Phone phone, boolean showDialpad) {
292 public void onCallAdded(Phone phone, Call call) {
298 public void onCallRemoved(Phone phone, Call call) {
304 public void onCanAddCallChanged(Phone phone, boolean canAddCall) {
310 public void onSilenceRinger(Phone phone) {
316 private Phone mPhone;
329 Phone oldPhone = mPhone;
345 * Obtain the {@code Phone} associated with this {@code InCallService}.
347 * @return The {@code Phone} object associated with this {@code InCallService}, or {@code null}
349 * {@code Phone}.
351 * @deprecated Use direct methods on InCallService instead of {@link Phone}.
355 public Phone getPhone() {
371 * @return Whether the phone supports adding more calls.
378 * Obtains the current phone call audio state.
391 * Obtains the current phone call audio state.
440 Phone} has been created. This is a signal to the in-call experience
442 * will have only one {@code Phone}, and this method will be called exactly once in the lifetime
445 * @param phone The {@code Phone} object associated with this {@code InCallService}.
447 * @deprecated Use direct methods on InCallService instead of {@link Phone}.
451 public void onPhoneCreated(Phone phone) {
455 * Invoked when a {@code Phone} has been destroyed. This is a signal to the in-call experience
458 * call to {@link #onPhoneCreated(Phone)}.
460 * @param phone The {@code Phone} object associated with this {@code InCallService}.
462 * @deprecated Use direct methods on InCallService instead of {@link Phone}.
466 public void onPhoneDestroyed(Phone phone) {
522 * Called when the ability to add more calls changes. If the phone cannot