Lines Matching refs:mode
52 * allowed to run in a mode other than {@link #MODE_ON_HOLD}. The others will
57 * should set the audio mode to {@link AudioManager#MODE_IN_COMMUNICATION}
65 * This mode is similar to {@link #MODE_NORMAL} except the speaker and
71 * This mode is similar to {@link #MODE_NORMAL} except the microphone is
77 * This mode indicates that the speaker, the microphone, and all
86 * This mode is similar to {@link #MODE_NORMAL} except the echo suppression
118 * Returns the current mode.
125 * Changes the current mode. It must be one of {@link #MODE_ON_HOLD},
129 * @param mode The mode to change to.
130 * @throws IllegalArgumentException if the mode is invalid.
132 public void setMode(int mode) {
133 if (mode < 0 || mode > MODE_LAST) {
134 throw new IllegalArgumentException("Invalid mode");
137 nativeSetMode(mode);
138 mMode = mode;
142 private native void nativeSetMode(int mode);
161 private native int nativeAdd(int mode, int socket, String remoteAddress,