/frameworks/av/include/media/ |
H A D | AudioSystem.h | 52 // mute/unmute microphone 60 // mute/unmute audio outputs 61 static status_t setMasterMute(bool mute); 62 static status_t getMasterMute(bool* mute); 70 // mute/unmute stream 71 static status_t setStreamMute(audio_stream_type_t stream, bool mute); 72 static status_t getStreamMute(audio_stream_type_t stream, bool* mute);
|
/frameworks/av/include/radio/ |
H A D | IRadio.h | 40 virtual status_t setMute(bool mute) = 0; 42 virtual status_t getMute(bool *mute) = 0;
|
H A D | Radio.h | 53 status_t setMute(bool mute); 55 status_t getMute(bool *mute);
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
H A D | EffectBundle.cpp | 1810 // mute: enable/disable flag 1814 int32_t VolumeSetMute(EffectContext *pContext, uint32_t mute){ argument 1815 //ALOGV("\tVolumeSetMute start(%d)", mute); 1817 pContext->pBundledContext->bMuteEnabled = mute; 1841 // mute: enable/disable flag 1844 int32_t VolumeGetMute(EffectContext *pContext, uint32_t *mute){ argument 1848 *mute = pContext->pBundledContext->bMuteEnabled; 1980 // mute: enable/disable flag 2856 const uint32_t mute = *(uint32_t *)pValue; local 2857 ALOGVV("%s VOLUME_PARAM_MUTE %d", __func__, mute); [all...] |
/frameworks/av/media/libmedia/ |
H A D | AudioSystem.cpp | 132 status_t AudioSystem::setMasterMute(bool mute) argument 136 af->setMasterMute(mute); 148 status_t AudioSystem::getMasterMute(bool* mute) argument 152 *mute = af->masterMute(); 166 status_t AudioSystem::setStreamMute(audio_stream_type_t stream, bool mute) argument 171 af->setStreamMute(stream, mute); 185 status_t AudioSystem::getStreamMute(audio_stream_type_t stream, bool* mute) argument 190 *mute = af->streamMute(stream);
|
/frameworks/av/radio/ |
H A D | IRadio.cpp | 92 virtual status_t setMute(bool mute) argument 96 data.writeInt32(mute ? 1 : 0); 104 virtual status_t getMute(bool *mute) argument 107 if (mute == NULL) { 116 *mute = muteread != 0; 258 bool mute = data.readInt32() != 0; local 259 status_t status = setMute(mute); 265 bool mute; local 266 status_t status = getMute(&mute); 269 reply->writeInt32(mute [all...] |
H A D | Radio.cpp | 162 status_t Radio::setMute(bool mute) argument 168 return mIRadio->setMute(mute); 171 status_t Radio::getMute(bool *mute) argument 177 return mIRadio->getMute(mute);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 897 bool mute = true; local 905 mute = mute && state; 910 return mute; 928 // Set master mute in the HALs which support it. 940 // Now set the master mute in each playback thread. Playback threads 941 // assigned to HALs which do not have master mute support will apply master 942 // mute during the mix operation. Threads with HALs which do support master 943 // mute will simply ignore the setting. 1038 ALOG_ASSERT(stream != AUDIO_STREAM_PATCH, "attempt to mute AUDIO_STREAM_PATC [all...] |
H A D | AudioFlinger.h | 470 mute(false) 474 bool mute; member in struct:android::AudioFlinger::stream_type_t 548 { return mStreamTypes[stream].mute; }
|
H A D | Threads.cpp | 1723 // If the HAL we are using has support for master volume or master mute, 1724 // then do not attenuate or mute during mixing (just leave the volume at 1.0 1725 // and the mute set to false). 1744 mStreamTypes[stream].mute = mAudioFlinger->streamMute_l(stream); 1776 if (st->mute) { 2134 // Don't apply master mute in SW if our HAL can do it for us. 2153 mStreamTypes[stream].mute = muted; 4315 if (track->isPausing() || mStreamTypes[track->streamType()].mute) { 4826 if (mMasterMute || mStreamTypes[track->streamType()].mute) {
|
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 506 // mute media and sonification strategies and delay device switch by the largest 1210 // a notification so that audio focus effect can propagate, or that a mute/unmute 4218 // mute strategy while moving tracks from one output to another 4479 // skip beacon mute management if a dedicated TTS output is available 4507 // no other playback: unmute when beacon starts playing, mute when it stops 4512 uint32_t AudioPolicyManager::setBeaconMute(bool mute) { argument 4514 mute, mBeaconMuteRefCount, mBeaconPlayingRefCount); 4515 // keep track of muted state to avoid repeating mute/unmute operations 4516 if (mBeaconMuted != mute) { 4517 // mute/unmut 4588 bool mute = shouldMute && (curDevice & device) && (curDevice != device); local [all...] |
H A D | AudioPolicyManager.h | 348 // handle special cases for sonification strategy while in call: mute streams or replace by 430 // mute/unmute strategies using an incompatible device combination 561 uint32_t mBeaconMuteRefCount; // ref count for stream that would mute beacon 635 // returns 0 if no mute/unmute event happened, the largest latency of the device where 636 // the mute/unmute happened 638 uint32_t setBeaconMute(bool mute);
|
/frameworks/av/services/radio/ |
H A D | RadioService.cpp | 606 status_t RadioService::Module::setMute(bool mute) argument 609 if (mute != mMute) { 610 mMute = mute; 616 status_t RadioService::Module::getMute(bool *mute) argument 619 *mute = mMute; 762 status_t RadioService::ModuleClient::setMute(bool mute) argument 776 module->setMute(mute); 780 status_t RadioService::ModuleClient::getMute(bool *mute) argument 791 return module->getMute(mute);
|
H A D | RadioService.h | 80 status_t setMute(bool mute); 82 status_t getMute(bool *mute); 148 virtual status_t setMute(bool mute); 150 virtual status_t getMute(bool *mute);
|
/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiTvClient.java | 201 * Sets system audio mute status. 203 * @param mute {@code true} if muted; otherwise, {@code false} 205 public void setSystemAudioMute(boolean mute) { argument 207 mService.setSystemAudioMute(mute); 209 Log.e(TAG, "failed to set mute: ", e);
|
H A D | IHdmiControlService.aidl | 59 void setSystemAudioMute(boolean mute);
|
/frameworks/base/core/java/android/hardware/radio/ |
H A D | RadioModule.java | 65 public native int setMute(boolean mute); argument
|
H A D | RadioTuner.java | 88 * Set mute state. When muted, the radio tuner audio source is not available for playback on 94 * @param mute the requested mute state. 105 public abstract int setMute(boolean mute); argument 108 * Get mute state. 111 * retrieving the mute state, {@code false} otherwise.
|
/frameworks/base/core/java/android/preference/ |
H A D | SeekBarVolumizer.java | 364 public void postUpdateSlider(int volume, int lastAudibleVolume, boolean mute) { argument 365 final int arg2 = lastAudibleVolume * (mute ? -1 : 1); 374 final boolean mute = mAudioManager.isStreamMute(mStreamType); 375 mUiHandler.postUpdateSlider(volume, lastAudibleVolume, mute);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_Radio.cpp | 664 android_hardware_Radio_setMute(JNIEnv *env, jobject thiz, jboolean mute) argument 671 status_t status = module->setMute((bool)mute); 683 bool mute = true; local 684 status_t status = module->getMute(&mute); 688 return (jboolean)mute;
|
H A D | android_media_AudioSystem.cpp | 532 android_media_AudioSystem_setMasterMute(JNIEnv *env, jobject thiz, jboolean mute) argument 534 return (jint) check_AudioSystem_Command(AudioSystem::setMasterMute(mute)); 540 bool mute; local 541 if (AudioSystem::getMasterMute(&mute) != NO_ERROR) { 542 mute = false; 544 return mute;
|
/frameworks/base/media/java/android/media/ |
H A D | AudioManager.java | 160 * @hide Broadcast intent when a stream mute state changes. 161 * Includes the stream that changed and the new mute state 171 * @hide Broadcast intent when the master mute state changes. 245 * @hide The new master volume mute state for the master mute changed intent. 252 * @hide The new stream volume mute state for the stream mute changed intent. 383 * Toggle the mute state. If muted the stream will be unmuted. If not muted 754 * sound to play when a user holds down volume down to mute. 875 public void setMasterMute(boolean mute, in argument [all...] |
H A D | AudioSystem.java | 87 * Sets the microphone mute on or off. 89 * @param on set <var>true</var> to mute the microphone; 90 * <var>false</var> to turn mute off 96 * Checks whether the microphone mute is on or off. 689 public static native int setMasterMute(boolean mute); argument
|
H A D | IAudioService.aidl | 55 void setMasterMute(boolean mute, int flags, String callingPackage, int userId);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | DemoStatusIcons.java | 100 String mute = args.getString("mute"); 101 if (mute != null) { 102 int iconId = mute.equals("show") ? android.R.drawable.stat_notify_call_mute 104 updateSlot("mute", null, iconId);
|