Lines Matching refs:on

11  * distributed under the License is distributed on an "AS IS" BASIS,
104 * This implementation focuses on delivering a responsive UI. Most methods are
627 // state on streams affected by ringer mode.
737 Log.e(TAG, "Interrupted while waiting on volume handler.");
987 // Play sounds on STREAM_RING only.
1068 // convert one UI step (+/-1) into a number of internal units on the stream alias
1221 // setting volume on master stream type also controls silent mode
1443 // If Hdmi-CEC system audio mode is on, we show volume bar only when TV
1606 * call must be synchronized on mRmtSbmxFullVolDeathHandlers
1621 /** call synchronized on mRmtSbmxFullVolDeathHandlers */
1810 public void setMicrophoneMute(boolean on, String callingPackage) {
1819 AudioSystem.muteMicrophone(on);
1821 sendMsg(mAudioHandler, MSG_PERSIST_MICROPHONE_MUTE, SENDMSG_REPLACE, on ? 1
1930 // on voice capable devices or devices that support vibration
2114 // must be called synchronized on mSetModeDeathHandlers
2465 public void setSpeakerphoneOn(boolean on){
2470 if (on) {
2490 public void setBluetoothScoOn(boolean on){
2495 if (on) {
2513 public void setBluetoothA2dpOn(boolean on) {
2515 mBluetoothA2dpEnabled = on;
2551 // and this must be done on behalf of system server to make sure permissions are granted.
2568 // and this must be done on behalf of system server to make sure permissions are granted.
3096 * indices on the stream states.
3360 * Queue a message on the given handler's message queue, after acquiring the service wake lock.
3410 // retain the device on the A2DP output as the other must not correspond to an active
3509 // force maximum volume on all streams if fixed volume property
3623 // device on aliased stream
3888 // Set this thread up so the handler will work on it
3917 // Make sure volume is also maxed out on A2DP device for aliased stream
4476 // must be called synchronized on mConnectedDevices
4497 // must be called synchronized on mConnectedDevices
4516 // must be called synchronized on mConnectedDevices
4518 // prevent any activity on the A2DP audio output to avoid unwanted
4529 // must be called synchronized on mConnectedDevices
4538 // must be called synchronized on mConnectedDevices
4546 // must be called synchronized on mConnectedDevices
4551 // must be called synchronized on mConnectedDevices
4578 // power is rapidly turned off/on, this message will be canceled if
4807 // Television devices without CEC service apply software volume on HDMI output
5063 AudioSystem.setParameters("screen_state=on");
5066 //reduce wakeups (save current) by only listening when display is on
5292 public void setBluetoothA2dpOnInt(boolean on) {
5294 mBluetoothA2dpEnabled = on;
5358 private void setSafeMediaVolumeEnabled(boolean on) {
5362 if (on && (mSafeMediaVolumeState == SAFE_MEDIA_VOLUME_INACTIVE)) {
5365 } else if (!on && (mSafeMediaVolumeState == SAFE_MEDIA_VOLUME_ACTIVE)) {
5435 // If Hdmi Cec's system audio mode is on, audio service should notify volume change
5444 // Television devices without CEC service apply software volume on HDMI output
5469 public int setHdmiSystemAudioSupported(boolean on) {
5479 if (mHdmiSystemAudioSupported != on) {
5480 mHdmiSystemAudioSupported = on;
5482 on ? AudioSystem.FORCE_HDMI_SYSTEM_AUDIO_ENFORCED :
5505 // - STREAM_NOTIFICATION on tablets during this period after a notification stopped
5506 // - STREAM_MUSIC on phones during this period after music or talkback/voice search prompt
6004 private int mAudioPolicyCounter = 0; // always accessed synchronized on mAudioPolicies