Home
last modified time | relevance | path

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

123

/frameworks/base/services/core/java/com/android/server/hdmi/
DVolumeControlAction.java142 boolean mute = HdmiUtils.isAudioStatusMute(cmd); 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.java95 boolean mute = HdmiUtils.isAudioStatusMute(cmd); in handleReportAudioStatus()
97 tv().setAudioStatus(mute, volume); in handleReportAudioStatus()
99 if (!(tv().isSystemAudioActivated() ^ mute)) { in handleReportAudioStatus()
DHdmiCecLocalDeviceTv.java682 boolean mute = HdmiUtils.isAudioStatusMute(message); in handleReportAudioStatus()
684 setAudioStatus(mute, volume); in handleReportAudioStatus()
985 void setAudioStatus(boolean mute, int volume) { in setAudioStatus() argument
990 mSystemAudioMute = mute; in setAudioStatus()
994 mService.setAudioStatus(mute, in setAudioStatus()
997 mute ? HdmiControlManager.AVR_VOLUME_MUTED : volume); in setAudioStatus()
1035 void changeMute(boolean mute) { in changeMute() argument
1041 HdmiLogger.debug("[A]:Change mute:%b", mute); in changeMute()
1043 if (mSystemAudioMute == mute) { in changeMute()
1056 HdmiCecKeycode.getMuteKey(mute)); in changeMute()
/frameworks/wilhelm/src/itf/
DIVolume.cpp80 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.cpp22 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.cpp23 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.cpp97 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/base/services/core/java/com/android/server/broadcastradio/hal2/
DTunerSession.java117 public void setMuted(boolean mute) { in setMuted() argument
120 if (mIsMuted == mute) return; in setMuted()
121 mIsMuted = mute; in setMuted()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTuner.java148 public void setMuted(boolean mute) { in setMuted() argument
154 if (mIsMuted == mute) return; in setMuted()
155 mIsMuted = mute; in setMuted()
/frameworks/base/core/java/android/os/
DIExternalVibrationController.aidl33 boolean mute(); in mute() method
DExternalVibration.java92 public boolean mute() { in mute() method in ExternalVibration
94 mController.mute(); in mute()
/frameworks/base/services/core/java/com/android/server/am/
DAppErrorDialog.java132 final TextView mute = findViewById(com.android.internal.R.id.aerr_mute); in onCreate() local
133 mute.setOnClickListener(this); in onCreate()
134 mute.setVisibility(showMute ? View.VISIBLE : View.GONE); in onCreate()
/frameworks/av/media/libaudiohal/impl/
DDeviceHalHidl.cpp157 [&](Result r, bool mute) { in getMicMute() argument
160 *state = mute; in getMicMute()
175 [&](Result r, bool mute) { in getMasterMute() argument
178 *state = mute; in getMasterMute()
/frameworks/base/core/java/android/hardware/radio/
DITuner.aidl40 void setMuted(boolean mute); in setMuted() argument
DTunerAdapter.java103 public int setMute(boolean mute) { in setMute() argument
105 mTuner.setMuted(mute); in setMute()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDemoStatusIcons.java138 String mute = args.getString("mute"); in dispatchDemoCommand() local
139 if (mute != null) { in dispatchDemoCommand()
140 int iconId = mute.equals("show") ? android.R.drawable.stat_notify_call_mute in dispatchDemoCommand()
/frameworks/base/telecomm/java/android/telecom/
DInCallAdapter.java132 public void mute(boolean shouldMute) { in mute() method in InCallAdapter
134 mAdapter.mute(shouldMute); in mute()
/frameworks/av/include/media/
DAudioSystem.h72 static status_t setMasterMute(bool mute);
73 static status_t getMasterMute(bool* mute);
82 static status_t setStreamMute(audio_stream_type_t stream, bool mute);
83 static status_t getStreamMute(audio_stream_type_t stream, bool* mute);
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h72 static status_t setMasterMute(bool mute);
73 static status_t getMasterMute(bool* mute);
82 static status_t setStreamMute(audio_stream_type_t stream, bool mute);
83 static status_t getStreamMute(audio_stream_type_t stream, bool* mute);
/frameworks/base/media/jni/soundpool/
DSoundPool.h126 void mute(bool muting);
175 void mute(bool muting);
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java492 public void postUpdateSlider(int volume, int lastAudibleVolume, boolean mute) { in postUpdateSlider() argument
493 … obtainMessage(UPDATE_SLIDER, volume, lastAudibleVolume, new Boolean(mute)).sendToTarget(); in postUpdateSlider()
501 final boolean mute = mAudioManager.isStreamMute(mStreamType); in updateSlider()
502 mUiHandler.postUpdateSlider(volume, lastAudibleVolume, mute); in updateSlider()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiTvClient.java206 public void setSystemAudioMute(boolean mute) {
208 mService.setSystemAudioMute(mute);
DIHdmiControlService.aidl61 void setSystemAudioMute(boolean mute); in setSystemAudioMute() argument
/frameworks/base/telecomm/java/com/android/internal/telecom/
DIInCallAdapter.aidl43 void mute(boolean shouldMute); in mute() method
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCall.java254 setMute(boolean mute) { in setMute() argument
259 imsCall.setMute(mute); in setMute()

123