Home | History | Annotate | Download | only in telecom

Lines Matching refs:phone

41  * phone calls. Telecom binds to this service while there exists a live (active or incoming) call,
43 * first be set as the default phone app (See {@link TelecomManager#getDefaultDialerPackage()})
87 mPhone = new Phone(new InCallAdapter((IInCallAdapter) msg.obj));
170 private Phone.Listener mPhoneListener = new Phone.Listener() {
173 public void onAudioStateChanged(Phone phone, AudioState audioState) {
177 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) {
183 public void onBringToForeground(Phone phone, boolean showDialpad) {
189 public void onCallAdded(Phone phone, Call call) {
195 public void onCallRemoved(Phone phone, Call call) {
201 public void onCanAddCallChanged(Phone phone, boolean canAddCall) {
207 private Phone mPhone;
220 Phone oldPhone = mPhone;
236 * Obtain the {@code Phone} associated with this {@code InCallService}.
238 * @return The {@code Phone} object associated with this {@code InCallService}, or {@code null}
240 * {@code Phone}.
242 * @deprecated Use direct methods on InCallService instead of {@link Phone}.
246 public Phone getPhone() {
262 * @return Whether the phone supports adding more calls.
269 * Obtains the current phone call audio state.
282 * Obtains the current phone call audio state.
316 * Invoked when the {@code Phone} has been created. This is a signal to the in-call experience
318 * will have only one {@code Phone}, and this method will be called exactly once in the lifetime
321 * @param phone The {@code Phone} object associated with this {@code InCallService}.
323 * @deprecated Use direct methods on InCallService instead of {@link Phone}.
327 public void onPhoneCreated(Phone phone) {
331 * Invoked when a {@code Phone} has been destroyed. This is a signal to the in-call experience
334 * call to {@link #onPhoneCreated(Phone)}.
336 * @param phone The {@code Phone} object associated with this {@code InCallService}.
338 * @deprecated Use direct methods on InCallService instead of {@link Phone}.
342 public void onPhoneDestroyed(Phone phone) {
398 * Called when the ability to add more calls changes. If the phone cannot