Home
last modified time | relevance | path

Searched refs:muted (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAudioServiceTest.java103 for (boolean muted : new boolean[] { true, false}) { in testMuteMicrophone()
104 testAudioSystem.configureIsMicrophoneMuted(!muted); in testMuteMicrophone()
105 mAudioService.setMicrophoneMute(muted, mContext.getOpPackageName(), in testMuteMicrophone()
108 muted, mAudioService.isMicrophoneMuted()); in testMuteMicrophone()
128 for (boolean muted : new boolean[] { true, false}) { in testMuteMicrophoneWhenFail()
129 testAudioSystem.configureIsMicrophoneMuted(!muted); in testMuteMicrophoneWhenFail()
130 mAudioService.setMicrophoneMute(muted, mContext.getOpPackageName(), in testMuteMicrophoneWhenFail()
133 !muted, mAudioService.isMicrophoneMuted()); in testMuteMicrophoneWhenFail()
DNoOpAudioSystemAdapter.java38 public void configureIsMicrophoneMuted(boolean muted) { in configureIsMicrophoneMuted() argument
39 mIsMicMuted = muted; in configureIsMicrophoneMuted()
152 public int setMasterMute(boolean muted) { in setMasterMute() argument
DNoOpSystemServerAdapter.java44 public void broadcastMasterMuteStatus(boolean muted) { in broadcastMasterMuteStatus() argument
/frameworks/av/services/audioflinger/datapath/
DVolumeInterface.h27 virtual void setMasterMute(bool muted) = 0;
29 virtual void setStreamMute(audio_stream_type_t stream, bool muted) = 0;
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DVolumeDialogController.java91 public boolean muted; field in VolumeDialogController.StreamState
103 rt.muted = muted; in copy()
168 if (ss.muted) sb.append(" [MUTED]"); in toString()
/frameworks/av/media/libaudioclient/aidl/android/media/
DTrackInternalMuteInfo.aidl22 boolean muted;
DIAudioFlingerService.aidl88 void setMasterMute(boolean muted); in setMasterMute() argument
101 void setStreamMute(AudioStreamType stream, boolean muted); in setStreamMute() argument
/frameworks/base/telecomm/java/android/telecom/
DAudioState.java67 public AudioState(boolean muted, int route, int supportedRouteMask) { in AudioState() argument
68 this.isMuted = muted; in AudioState()
DCallAudioState.java100 public CallAudioState(boolean muted, @CallAudioRoute int route, in CallAudioState() argument
102 this(muted, route, supportedRouteMask, null, Collections.emptyList()); in CallAudioState()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java70 void onMuted(boolean muted, boolean zenMuted); in onMuted() argument
569 final boolean muted = ((Boolean)msg.obj).booleanValue(); in handleMessage()
570 if (muted != mMuted) { in handleMessage()
571 mMuted = muted; in handleMessage()
682 final boolean muted = mAudioManager.isStreamMute(mStreamType) in updateVolumeSlider()
684 mUiHandler.postUpdateSlider(streamValue, mLastAudibleStreamVolume, muted); in updateVolumeSlider()
DVolumePreference.java174 public void onMuted(boolean muted, boolean zenMuted) { in onMuted() argument
/frameworks/base/services/core/java/com/android/server/audio/
DSystemServerAdapter.java149 /*package*/ void broadcastMasterMuteStatus(boolean muted) { in broadcastMasterMuteStatus() argument
151 intent.putExtra(AudioManager.EXTRA_MASTER_VOLUME_MUTED, muted); in broadcastMasterMuteStatus()
/frameworks/base/core/java/android/view/flags/
Dscroll_feedback_flags.aconfig15 … will be used, and the HapticScrollFeedbackProvider logic for rotary encoder haptic will be muted."
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp497 bool muted, VolumeSource vs, const StreamTypeVector &streamTypes, in setSwMute() argument
505 float volumeAmpl = muted ? 0.0f : Volume::DbToAmpl(0); in setSwMute()
507 mIoHandle, vs, muted, getActiveVolumeSources().size()); in setSwMute()
517 bool SwAudioOutputDescriptor::setVolume(float volumeDb, bool muted, in setVolume() argument
526 volumeDb, muted, vs, streamTypes, deviceTypes, delayMs, force, isVoiceVolSrc)) { in setVolume()
548 const bool canMute = muted && (volumeDb != 0.0f) && !streamTypes.empty(); in setVolume()
833 bool HwAudioOutputDescriptor::setVolume(float volumeDb, bool muted, in setVolume() argument
841 volumeDb, muted, volumeSource, streams, deviceTypes, delayMs, force, isVoiceVolSrc); in setVolume()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h165 virtual bool setVolume(float volumeDb, bool muted,
397 void setSwMute(bool muted, VolumeSource vs, const StreamTypeVector &streams,
400 virtual bool setVolume(float volumeDb, bool muted,
516 virtual bool setVolume(float volumeDb, bool muted,
DClientDescriptor.h176 bool setInternalMute(bool muted) { in setInternalMute() argument
177 const bool result = (mInternalMute != muted); in setInternalMute()
178 mInternalMute = muted; in setInternalMute()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java614 private boolean updateStreamMuteW(int stream, boolean muted) {
616 if (ss.muted == muted) return false;
617 ss.muted = muted;
619 Events.writeEvent(Events.EVENT_MUTE_CHANGED, stream, muted);
621 if (muted && isRinger(stream)) {
1232 final boolean muted = intent in onReceive()
1235 + " muted=" + muted); in onReceive()
1236 changed = updateStreamMuteW(stream, muted); in onReceive()
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsCallSessionImplBase.java229 public void setMute(boolean muted) {
230 executeMethodAsync(() -> ImsCallSessionImplBase.this.setMute(muted), "setMute");
498 public void setMute(boolean muted) { in setMute() argument
/frameworks/base/telephony/java/com/android/ims/internal/
DIImsCallSession.aidl104 void setMute(boolean muted); in setMute() argument
/frameworks/av/services/audioflinger/
DPlaybackTracks.h224 void setInternalMute(bool muted) final { mInternalMute = muted; } in setInternalMute() argument
347 bool setMute(bool muted);
DThreads.h998 void setMasterMute(bool muted) final;
1000 void setStreamMute(audio_stream_type_t stream, bool muted) final EXCLUDES_ThreadBase_Mutex;
1323 void setMasterMute_l(bool muted) REQUIRES(mutex()) { mMasterMute = muted; } in setMasterMute_l() argument
2372 void setMasterMute(bool muted) final EXCLUDES_ThreadBase_Mutex;
2374 void setStreamMute(audio_stream_type_t stream, bool muted) final EXCLUDES_ThreadBase_Mutex;
2377 void setMasterMute_l(bool muted) REQUIRES(mutex()) { mMasterMute = muted; } in setMasterMute_l() argument
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h217 virtual status_t setMasterMute(bool muted) = 0;
230 virtual status_t setStreamMute(audio_stream_type_t stream, bool muted) = 0;
419 status_t setMasterMute(bool muted) override;
426 status_t setStreamMute(audio_stream_type_t stream, bool muted) override;
668 Status setMasterMute(bool muted) override;
675 Status setStreamMute(media::audio::common::AudioStreamType stream, bool muted) override;
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp307 status_t AudioFlingerClientAdapter::setMasterMute(bool muted) { in setMasterMute() argument
308 return statusTFromBinderStatus(mDelegate->setMasterMute(muted)); in setMasterMute()
347 status_t AudioFlingerClientAdapter::setStreamMute(audio_stream_type_t stream, bool muted) { in setStreamMute() argument
350 return statusTFromBinderStatus(mDelegate->setStreamMute(streamAidl, muted)); in setStreamMute()
1006 Status AudioFlingerServerAdapter::setMasterMute(bool muted) { in setMasterMute() argument
1007 return Status::fromStatusT(mDelegate->setMasterMute(muted)); in setMasterMute()
1037 Status AudioFlingerServerAdapter::setStreamMute(AudioStreamType stream, bool muted) { in setStreamMute() argument
1040 return Status::fromStatusT(mDelegate->setStreamMute(streamLegacy, muted)); in setStreamMute()
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyManagerTestClient.h246 trackInternalMute.muted; in setTracksInternalMute()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCallManager.java1000 public void setMute(boolean muted) { in setMute() argument
1002 Rlog.d(LOG_TAG, " setMute(" + muted + ")"); in setMute()
1007 getActiveFgCall().getPhone().setMute(muted); in setMute()
1011 Rlog.d(LOG_TAG, "End setMute(" + muted + ")"); in setMute()

12