Searched defs:mute (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/wilhelm/src/itf/
H A DIMIDIMuteSolo.cpp23 SLboolean mute)
33 if (mute)
126 static SLresult IMIDIMuteSolo_SetTrackMute(SLMIDIMuteSoloItf self, SLuint16 track, SLboolean mute) argument
137 if (mute)
22 IMIDIMuteSolo_SetChannelMute(SLMIDIMuteSoloItf self, SLuint8 channel, SLboolean mute) argument
H A DIMuteSolo.cpp22 static SLresult IMuteSolo_SetChannelMute(SLMuteSoloItf self, SLuint8 chan, SLboolean mute) argument
43 if (mute) {
71 SLboolean mute; local
75 mute = SL_BOOLEAN_FALSE;
78 mute = SL_BOOLEAN_FALSE;
82 mute = (SLboolean) ((mask >> chan) & 1);
86 *pMute = mute;
H A DIVolume.cpp80 static SLresult IVolume_SetMute(SLVolumeItf self, SLboolean mute) argument
85 mute = SL_BOOLEAN_FALSE != mute; // normalize
88 if (oldMute != mute) {
89 thiz->mMute = (SLuint8) mute;
109 SLboolean mute = thiz->mMute; local
111 *pMute = mute;
H A DI3DSource.cpp97 static SLresult I3DSource_SetRolloffMaxDistanceMute(SL3DSourceItf self, SLboolean mute) argument
103 thiz->mRolloffMaxDistanceMute = SL_BOOLEAN_FALSE != mute; // normalize
120 SLboolean mute = thiz->mRolloffMaxDistanceMute; local
122 *pMute = mute;
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DVolumeControlAction.java142 boolean mute = (params[0] & 0x80) == 0x80;
145 mLastAvrMute = mute;
146 if (shouldUpdateAudioVolume(mute)) {
147 HdmiLogger.debug("Force volume change[mute:%b, volume=%d]", mute, volume);
148 tv().setAudioStatus(mute, volume);
155 private boolean shouldUpdateAudioVolume(boolean mute) { argument
156 // Do nothing if in mute.
157 if (mute) {
H A DHdmiCecLocalDeviceTv.java702 int mute = params[0] & 0x80;
704 setAudioStatus(mute == 0x80, volume);
1005 void setAudioStatus(boolean mute, int volume) { argument
1007 mSystemAudioMute = mute;
1011 mService.setAudioStatus(mute,
1014 mute ? HdmiControlManager.AVR_VOLUME_MUTED : volume);
1048 void changeMute(boolean mute) { argument
1050 HdmiLogger.debug("[A]:Change mute:%b", mute);
1052 if (mSystemAudioMute == mute) {
[all...]
/frameworks/av/radio/
H A DIRadio.cpp93 virtual status_t setMute(bool mute) argument
97 data.writeInt32(mute ? 1 : 0);
105 virtual status_t getMute(bool *mute) argument
108 if (mute == NULL) {
117 *mute = muteread != 0;
256 bool mute = data.readInt32() != 0; local
257 status_t status = setMute(mute);
263 bool mute; local
264 status_t status = getMute(&mute);
267 reply->writeInt32(mute
[all...]
H A DRadio.cpp162 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/base/core/java/android/hardware/hdmi/
H A DHdmiTvClient.java201 * 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);
/frameworks/base/core/java/android/hardware/radio/
H A DRadioModule.java68 public native int setMute(boolean mute); argument
H A DRadioTuner.java91 * Set mute state. When muted, the radio tuner audio source is not available for playback on
97 * @param mute the requested mute state.
108 public abstract int setMute(boolean mute); argument
111 * Get mute state.
114 * retrieving the mute state, {@code false} otherwise.
/frameworks/base/telecomm/java/android/telecom/
H A DInCallAdapter.java117 public void mute(boolean shouldMute) { method in class:InCallAdapter
119 mAdapter.mute(shouldMute);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCall.java248 setMute(boolean mute) { argument
253 imsCall.setMute(mute);
H A DImsPhoneCallTracker.java265 private boolean mDesiredMute = false; // false = mute off
1358 public void setMute(boolean mute) { argument
1359 mDesiredMute = mute;
1360 mForegroundCall.setMute(mute);
/frameworks/av/services/radio/
H A DRadioService.cpp605 status_t RadioService::Module::setMute(bool mute) argument
608 if (mute != mMute) {
609 mMute = mute;
615 status_t RadioService::Module::getMute(bool *mute) argument
618 *mute = mMute;
772 status_t RadioService::ModuleClient::setMute(bool mute) argument
789 module->setMute(mute);
793 status_t RadioService::ModuleClient::getMute(bool *mute) argument
807 return module->getMute(mute);
/frameworks/base/core/java/android/preference/
H A DSeekBarVolumizer.java364 public void postUpdateSlider(int volume, int lastAudibleVolume, boolean mute) { argument
365 obtainMessage(UPDATE_SLIDER, volume, lastAudibleVolume, new Boolean(mute)).sendToTarget();
373 final boolean mute = mAudioManager.isStreamMute(mStreamType);
374 mUiHandler.postUpdateSlider(volume, lastAudibleVolume, mute);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DGsmCdmaCallTracker.java89 private boolean mDesiredMute = false; // false = mute off
1210 public void setMute(boolean mute) { argument
1211 mDesiredMute = mute;
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h529 mute(false)
533 bool mute; member in struct:android::AudioFlinger::stream_type_t
634 { return mStreamTypes[stream].mute; }
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp370 void SoundPool::mute(bool muting) function in class:android::SoundPool
372 ALOGV("mute(%d)", muting);
378 (*iter)->mute(muting);
1059 void SoundChannel::mute(bool muting) function in class:android::SoundChannel
/frameworks/av/media/libaudioclient/
H A DAudioSystem.cpp135 status_t AudioSystem::setMasterMute(bool mute) argument
139 af->setMasterMute(mute);
151 status_t AudioSystem::getMasterMute(bool* mute) argument
155 *mute = af->masterMute();
169 status_t AudioSystem::setStreamMute(audio_stream_type_t stream, bool mute) argument
174 af->setStreamMute(stream, mute);
188 status_t AudioSystem::getStreamMute(audio_stream_type_t stream, bool* mute) argument
193 *mute = af->streamMute(stream);
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp1783 // mute: enable/disable flag
1787 int32_t VolumeSetMute(EffectContext *pContext, uint32_t mute){ argument
1788 //ALOGV("\tVolumeSetMute start(%d)", mute);
1790 pContext->pBundledContext->bMuteEnabled = mute;
1814 // mute: enable/disable flag
1817 int32_t VolumeGetMute(EffectContext *pContext, uint32_t *mute){ argument
1821 *mute = pContext->pBundledContext->bMuteEnabled;
1953 // mute: enable/disable flag
2691 uint32_t mute; local
2708 mute
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_Radio.cpp667 android_hardware_Radio_setMute(JNIEnv *env, jobject thiz, jboolean mute) argument
674 status_t status = module->setMute((bool)mute);
686 bool mute = true; local
687 status_t status = module->getMute(&mute);
691 return (jboolean)mute;
H A Dandroid_media_AudioSystem.cpp550 android_media_AudioSystem_setMasterMute(JNIEnv *env, jobject thiz, jboolean mute) argument
552 return (jint) check_AudioSystem_Command(AudioSystem::setMasterMute(mute));
558 bool mute; local
559 if (AudioSystem::getMasterMute(&mute) != NO_ERROR) {
560 mute = false;
562 return mute;
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogControllerImpl.java257 public void setStreamMute(int stream, boolean mute) { argument
259 mWorker.obtainMessage(W.SET_STREAM_MUTE, stream, mute ? 1 : 0).sendToTarget();
491 private void onSetStreamMuteW(int stream, boolean mute) { argument
492 mAudio.adjustStreamVolume(stream, mute ? AudioManager.ADJUST_MUTE
/frameworks/base/services/core/java/com/android/server/notification/
H A DZenModeHelper.java766 applyRestrictions(false /*mute*/, usage);
777 private void applyRestrictions(boolean mute, int usage) { argument
780 mute ? AppOpsManager.MODE_IGNORED : AppOpsManager.MODE_ALLOWED,
783 mute ? AppOpsManager.MODE_IGNORED : AppOpsManager.MODE_ALLOWED,

Completed in 522 milliseconds

12