Lines Matching refs:on

11  * distributed under the License is distributed on an "AS IS" BASIS,
91 * This implementation focuses on delivering a responsive UI. Most methods are
395 // - STREAM_NOTIFICATION on tablets during this period after a notification stopped
396 // - STREAM_MUSIC on phones during this period after music or talkback/voice search prompt
501 // state on streams affected by ringer mode.
570 Log.e(TAG, "Interrupted while waiting on volume handler.");
772 * on streamType: fixed to STREAM_MUSIC */
792 // Play sounds on STREAM_RING only and if lock screen is not on.
829 // convert one UI step (+/-1) into a number of internal units on the stream alias
873 // no need to persist volume on all streams sharing the same alias
944 // setting volume on master stream type also controls silent mode
1318 // on voice capable devices
1485 // must be called synchronized on mSetModeDeathHandlers
1835 public void setSpeakerphoneOn(boolean on){
1839 mForcedUseForComm = on ? AudioSystem.FORCE_SPEAKER : AudioSystem.FORCE_NONE;
1851 public void setBluetoothScoOn(boolean on){
1855 mForcedUseForComm = on ? AudioSystem.FORCE_BT_SCO : AudioSystem.FORCE_NONE;
1869 public void setBluetoothA2dpOn(boolean on) {
1871 mBluetoothA2dpEnabled = on;
2260 /** see AudioManager.setRemoteSubmixOn(boolean on) */
2261 public void setRemoteSubmixOn(boolean on, int address) {
2264 on ? 1 : 0 /*arg1*/,
2354 * indices on the stream states.
2554 * Queue a message on the given handler's message queue, after acquiring the service wake lock.
2593 // retain the device on the A2DP output as the other must not correspond to an active
2681 // on first call to readSettings() at init time, muteCount() is always 0 so we will
2736 // streams on phones (voice capable devices).
2750 // the initial index should never be 0 for ring and notification streams on phones
2820 // device on aliased stream
2861 // device on aliased stream
2961 // must be called while synchronized on parent VolumeStreamState
3107 // Set this thread up so the handler will work on it
3524 // must be called synchronized on mConnectedDevices
3542 // must be called synchronized on mConnectedDevices
3550 // must be called synchronized on mConnectedDevices
3552 // prevent any activity on the A2DP audio output to avoid unwanted
3563 // must be called synchronized on mConnectedDevices
3568 // must be called synchronized on mConnectedDevices
3591 // power is rapidly turned off/on, this message will be canceled if
3955 AudioSystem.setParameters("screen_state=on");
4125 * Called synchronized on mAudioFocusLock
4164 * Called synchronized on mAudioFocusLock
4341 // sanity check on the incoming key event
4356 // event filtering based on voice-based interactions
4552 // - screen on and device unlocked: action is ACTION_WEB_SEARCH
4630 * Only accessed with a lock on mCurrentRcLock.
4631 * No value wrap-around issues as we only act on equal values.
4689 * Use synchronized on mMainRemote.
4693 * Indicates whether there is remote playback going on. True even if there is no "active"
4696 * Use synchronized on mMainRemote.
4715 * Provides access to the information to display on the remote control.
4775 * synchronized on mRCStack, but also BEFORE on mFocusLock as any change in either
4810 * on RemoteControlClient data
4949 * Called synchronized on mRCStack
5067 * Called synchronized on mRCStack
5082 * - called synchronized mAudioFocusLock then on mRCStack
5088 // this is where we enforce opt-in for information display on the remote controls
5109 * Called synchronized on mAudioFocusLock, then mRCStack
5129 // - focus gain on STREAM_MUSIC stream
5130 // - non-transient focus gain on a stream other than music
5166 // ok to call: synchronized mAudioFocusLock then on mRCStack, mRCStack is not empty
5331 * Access synchronized on mRCStack
5564 * Checks if a remote client is active on the supplied stream type. Update the remote stream
5577 if (DEBUG_RC) Log.d(TAG, "remote playback active on stream " + streamType
5628 // unlike "local" stream volumes, we can't compute the new volume based on the direction,
5844 public void setBluetoothA2dpOnInt(boolean on) {
5846 mBluetoothA2dpEnabled = on;
5910 private void setSafeMediaVolumeEnabled(boolean on) {
5914 if (on && (mSafeMediaVolumeState == SAFE_MEDIA_VOLUME_INACTIVE)) {
5917 } else if (!on && (mSafeMediaVolumeState == SAFE_MEDIA_VOLUME_ACTIVE)) {