Home
last modified time | relevance | path

Searched refs:mute (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/hdmi/
DVolumeControlAction.java142 boolean mute = (params[0] & 0x80) == 0x80; in handleReportAudioStatus()
145 mLastAvrMute = mute; in handleReportAudioStatus()
146 if (shouldUpdateAudioVolume(mute)) { in handleReportAudioStatus()
147 HdmiLogger.debug("Force volume change[mute:%b, volume=%d]", mute, volume); in handleReportAudioStatus()
148 tv().setAudioStatus(mute, volume); in handleReportAudioStatus()
155 private boolean shouldUpdateAudioVolume(boolean mute) { in shouldUpdateAudioVolume() argument
157 if (mute) { in shouldUpdateAudioVolume()
DSystemAudioStatusAction.java97 boolean mute = (params[0] & 0x80) == 0x80; in handleReportAudioStatus()
99 tv().setAudioStatus(mute, volume); in handleReportAudioStatus()
101 if (!(tv().isSystemAudioActivated() ^ mute)) { in handleReportAudioStatus()
DHdmiCecLocalDeviceTv.java708 int mute = params[0] & 0x80; in handleReportAudioStatus() local
710 setAudioStatus(mute == 0x80, volume); in handleReportAudioStatus()
1014 void setAudioStatus(boolean mute, int volume) { in setAudioStatus() argument
1016 mSystemAudioMute = mute; in setAudioStatus()
1020 mService.setAudioStatus(mute, in setAudioStatus()
1023 mute ? HdmiControlManager.AVR_VOLUME_MUTED : volume); in setAudioStatus()
1057 void changeMute(boolean mute) { in changeMute() argument
1059 HdmiLogger.debug("[A]:Change mute:%b", mute); in changeMute()
1061 if (mSystemAudioMute == mute) { in changeMute()
1074 mute ? HdmiCecKeycode.CEC_KEYCODE_MUTE_FUNCTION : in changeMute()
/frameworks/wilhelm/src/itf/
DIVolume.c80 static SLresult IVolume_SetMute(SLVolumeItf self, SLboolean mute) in IVolume_SetMute() argument
85 mute = SL_BOOLEAN_FALSE != mute; // normalize in IVolume_SetMute()
88 if (oldMute != mute) { in IVolume_SetMute()
89 thiz->mMute = (SLuint8) mute; in IVolume_SetMute()
109 SLboolean mute = thiz->mMute; in IVolume_GetMute() local
111 *pMute = mute; in IVolume_GetMute()
DIMuteSolo.c22 static SLresult IMuteSolo_SetChannelMute(SLMuteSoloItf self, SLuint8 chan, SLboolean mute) in IMuteSolo_SetChannelMute() argument
43 if (mute) { in IMuteSolo_SetChannelMute()
71 SLboolean mute; in IMuteSolo_GetChannelMute() local
75 mute = SL_BOOLEAN_FALSE; in IMuteSolo_GetChannelMute()
78 mute = SL_BOOLEAN_FALSE; in IMuteSolo_GetChannelMute()
82 mute = (SLboolean) ((mask >> chan) & 1); in IMuteSolo_GetChannelMute()
86 *pMute = mute; in IMuteSolo_GetChannelMute()
DIMIDIMuteSolo.c23 SLboolean mute) in IMIDIMuteSolo_SetChannelMute() argument
33 if (mute) in IMIDIMuteSolo_SetChannelMute()
126 static SLresult IMIDIMuteSolo_SetTrackMute(SLMIDIMuteSoloItf self, SLuint16 track, SLboolean mute) in IMIDIMuteSolo_SetTrackMute() argument
137 if (mute) in IMIDIMuteSolo_SetTrackMute()
DI3DSource.c97 static SLresult I3DSource_SetRolloffMaxDistanceMute(SL3DSourceItf self, SLboolean mute) in I3DSource_SetRolloffMaxDistanceMute() argument
103 thiz->mRolloffMaxDistanceMute = SL_BOOLEAN_FALSE != mute; // normalize in I3DSource_SetRolloffMaxDistanceMute()
120 SLboolean mute = thiz->mRolloffMaxDistanceMute; in I3DSource_GetRolloffMaxDistanceMute() local
122 *pMute = mute; in I3DSource_GetRolloffMaxDistanceMute()
/frameworks/av/radio/
DIRadio.cpp92 virtual status_t setMute(bool mute) in setMute() argument
96 data.writeInt32(mute ? 1 : 0); in setMute()
104 virtual status_t getMute(bool *mute) in getMute() argument
107 if (mute == NULL) { in getMute()
116 *mute = muteread != 0; in getMute()
258 bool mute = data.readInt32() != 0; in onTransact() local
259 status_t status = setMute(mute); in onTransact()
265 bool mute; in onTransact() local
266 status_t status = getMute(&mute); in onTransact()
269 reply->writeInt32(mute ? 1 : 0); in onTransact()
DRadio.cpp162 status_t Radio::setMute(bool mute) in setMute() argument
168 return mIRadio->setMute(mute); in setMute()
171 status_t Radio::getMute(bool *mute) in getMute() argument
177 return mIRadio->getMute(mute); in getMute()
/frameworks/av/services/radio/
DRadioService.h80 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);
DRadioService.cpp605 status_t RadioService::Module::setMute(bool mute) in setMute() argument
608 if (mute != mMute) { in setMute()
609 mMute = mute; in setMute()
615 status_t RadioService::Module::getMute(bool *mute) in getMute() argument
618 *mute = mMute; in getMute()
761 status_t RadioService::ModuleClient::setMute(bool mute) in setMute() argument
775 module->setMute(mute); in setMute()
779 status_t RadioService::ModuleClient::getMute(bool *mute) in getMute() argument
790 return module->getMute(mute); in getMute()
/frameworks/av/include/radio/
DIRadio.h40 virtual status_t setMute(bool mute) = 0;
42 virtual status_t getMute(bool *mute) = 0;
DRadio.h53 status_t setMute(bool mute);
55 status_t getMute(bool *mute);
/frameworks/base/telecomm/java/android/telecom/
DInCallAdapter.java114 public void mute(boolean shouldMute) { in mute() method in InCallAdapter
116 mAdapter.mute(shouldMute); in mute()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDemoStatusIcons.java100 String mute = args.getString("mute"); in dispatchDemoCommand() local
101 if (mute != null) { in dispatchDemoCommand()
102 int iconId = mute.equals("show") ? android.R.drawable.stat_notify_call_mute in dispatchDemoCommand()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java349 public void postUpdateSlider(int volume, int lastAudibleVolume, boolean mute) {
350 final int arg2 = lastAudibleVolume * (mute ? -1 : 1);
359 final boolean mute = mAudioManager.isStreamMute(mStreamType);
360 mUiHandler.postUpdateSlider(volume, lastAudibleVolume, mute);
/frameworks/av/include/media/
DAudioSystem.h56 static status_t setMasterMute(bool mute);
57 static status_t getMasterMute(bool* mute);
66 static status_t setStreamMute(audio_stream_type_t stream, bool mute);
67 static status_t getStreamMute(audio_stream_type_t stream, bool* mute);
/frameworks/base/telecomm/java/com/android/internal/telecom/
DIInCallAdapter.aidl39 void mute(boolean shouldMute); in mute() method
/frameworks/base/core/java/android/hardware/radio/
DRadioTuner.java105 public abstract int setMute(boolean mute); in setMute() argument
/frameworks/av/media/libmedia/
DAudioSystem.cpp129 status_t AudioSystem::setMasterMute(bool mute) in setMasterMute() argument
133 af->setMasterMute(mute); in setMasterMute()
145 status_t AudioSystem::getMasterMute(bool* mute) in getMasterMute() argument
149 *mute = af->masterMute(); in getMasterMute()
163 status_t AudioSystem::setStreamMute(audio_stream_type_t stream, bool mute) in setStreamMute() argument
168 af->setStreamMute(stream, mute); in setStreamMute()
182 status_t AudioSystem::getStreamMute(audio_stream_type_t stream, bool* mute) in getStreamMute() argument
187 *mute = af->streamMute(stream); in getStreamMute()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiTvClient.java205 public void setSystemAudioMute(boolean mute) {
207 mService.setSystemAudioMute(mute);
DIHdmiControlService.aidl59 void setSystemAudioMute(boolean mute); in setSystemAudioMute() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCall.java265 setMute(boolean mute) { in setMute() argument
270 imsCall.setMute(mute); in setMute()
/frameworks/base/docs/html/guide/topics/media/jet/
Djetcreator_manual.jd178 perhaps with small variations (using the mute/un-mute feature) until activity
202 <h3>2.1.4 Mute/Un-mute Synchronization</h3>
431 mute flag settings.</p>
494 mute flags, repeat and transpose settings and audition the segment as it will
499 <p><b>Note</b>: the audition attributes (mute flags, repeat and transpose) are <i
544 checkbox will mute that track. </li>
664 Mute/UnMute will mute or unmute the track that the event is assigned to</p>
679 single track of a segment when triggered, then mute that track at the end of
680 the trigger segment. Therefore you should make sure the mute flag is set to
681 mute the track that a trigger event will be unmuting when receiving a trigger event.
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_Radio.cpp646 android_hardware_Radio_setMute(JNIEnv *env, jobject thiz, jboolean mute) in android_hardware_Radio_setMute() argument
653 status_t status = module->setMute((bool)mute); in android_hardware_Radio_setMute()
665 bool mute = true; in android_hardware_Radio_getMute() local
666 status_t status = module->getMute(&mute); in android_hardware_Radio_getMute()
670 return (jboolean)mute; in android_hardware_Radio_getMute()

12