Home | History | Annotate | Download | only in phone

Lines Matching refs:EARPIECE

52     private int mAudioMode = AudioMode.EARPIECE;
53 private int mPreviousMode = AudioMode.EARPIECE;
116 // changes WIRED_OR_EARPIECE to appropriate single entry WIRED_HEADSET or EARPIECE
148 // Wired headset and earpiece work the same way
149 } else if (AudioMode.EARPIECE == mode || AudioMode.WIRED_HEADSET == mode) {
224 newMode = AudioMode.EARPIECE;
236 newMode = pluggedIn ? AudioMode.WIRED_HEADSET : AudioMode.EARPIECE;
244 * Changes WIRED_OR_EARPIECE to appropriate single entry WIRED_HEADSET or EARPIECE.
256 Log.wtf(LOG_TAG, "One of wired headset or earpiece should always be valid.");
257 // assume earpiece in this case.
258 mode = AudioMode.EARPIECE;
305 int mode = AudioMode.EARPIECE;
365 supportedModes |= AudioMode.EARPIECE;