Lines Matching defs:Phone
37 public final class Phone {
43 * @param phone The {@code Phone} calling this method.
46 * @deprecated Use {@link #onCallAudioStateChanged(Phone, CallAudioState)} instead.
49 public void onAudioStateChanged(Phone phone, AudioState audioState) { }
54 * @param phone The {@code Phone} calling this method.
57 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) { }
64 * @param phone The {@code Phone} calling this method.
67 public void onBringToForeground(Phone phone, boolean showDialpad) { }
76 * @param phone The {@code Phone} calling this method.
79 public void onCallAdded(Phone phone, Call call) { }
87 * @param phone The {@code Phone} calling this method.
90 public void onCallRemoved(Phone phone, Call call) { }
93 * Called when the {@code Phone} ability to add more calls changes. If the phone cannot
97 * @param phone The {@code Phone} calling this method.
100 public void onCanAddCallChanged(Phone phone, boolean canAddCall) { }
105 * @param phone The {@code Phone} calling this method.
107 public void onSilenceRinger(Phone phone) { }
135 Phone(InCallAdapter adapter, String callingPackage, int targetSdkVersion) {
225 * Called to destroy the phone and cleanup any lingering calls.
240 * Adds a listener to this {@code Phone}.
249 * Removes a listener from this {@code Phone}.
269 * Returns if the {@code Phone} can support additional calls.
271 * @return Whether the phone supports adding more calls.
325 * Obtains the current phone call audio state of the {@code Phone}.
336 * Obtains the current phone call audio state of the {@code Phone}.