Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAudioServiceTest.java75 for (boolean muted : new boolean[] { true, false}) { in testMuteMicrophone()
76 testAudioSystem.configureIsMicrophoneMuted(!muted); in testMuteMicrophone()
77 mAudioService.setMicrophoneMute(muted, mContext.getOpPackageName(), in testMuteMicrophone()
80 muted, mAudioService.isMicrophoneMuted()); in testMuteMicrophone()
100 for (boolean muted : new boolean[] { true, false}) { in testMuteMicrophoneWhenFail()
101 testAudioSystem.configureIsMicrophoneMuted(!muted); in testMuteMicrophoneWhenFail()
102 mAudioService.setMicrophoneMute(muted, mContext.getOpPackageName(), in testMuteMicrophoneWhenFail()
105 !muted, mAudioService.isMicrophoneMuted()); in testMuteMicrophoneWhenFail()
DNoOpAudioSystemAdapter.java34 public void configureIsMicrophoneMuted(boolean muted) { in configureIsMicrophoneMuted() argument
35 mIsMicMuted = muted; in configureIsMicrophoneMuted()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DVolumeDialogController.java75 public boolean muted; field in VolumeDialogController.StreamState
87 rt.muted = muted; in copy()
152 if (ss.muted) sb.append(" [MUTED]"); in toString()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java66 void onMuted(boolean muted, boolean zenMuted); in onMuted() argument
480 final boolean muted = ((Boolean)msg.obj).booleanValue(); in handleMessage()
481 if (muted != mMuted) { in handleMessage()
482 mMuted = muted; in handleMessage()
584 final boolean muted = mAudioManager.isStreamMute(mStreamType) in updateVolumeSlider()
586 mUiHandler.postUpdateSlider(streamValue, mLastAudibleStreamVolume, muted); in updateVolumeSlider()
DVolumePreference.java174 public void onMuted(boolean muted, boolean zenMuted) { in onMuted() 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.java98 public CallAudioState(boolean muted, @CallAudioRoute int route, in CallAudioState() argument
100 this(muted, route, supportedRouteMask, null, Collections.emptyList()); in CallAudioState()
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsCallSessionImplBase.java156 public void setMute(boolean muted) {
157 ImsCallSessionImplBase.this.setMute(muted);
369 public void setMute(boolean muted) { in setMute() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java366 public void setMute(boolean muted) { in setMute() argument
368 mForegroundCall.setMute(muted); in setMute()
628 void setMute(boolean muted) { in setMute() argument
629 if (SC_DBG) log("setMute: muted=" + muted); in setMute()
631 ((SipConnection) c).setMute(muted); in setMute()
918 void setMute(boolean muted) { in setMute() argument
919 if ((mSipAudioCall != null) && (muted != mSipAudioCall.isMuted())) { in setMute()
920 if (SCN_DBG) log("setState: prev muted=" + !muted + " new muted=" + muted); in setMute()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java582 private boolean updateStreamMuteW(int stream, boolean muted) {
584 if (ss.muted == muted) return false;
585 ss.muted = muted;
587 Events.writeEvent(Events.EVENT_MUTE_CHANGED, stream, muted);
589 if (muted && isRinger(stream)) {
1130 final boolean muted = intent in onReceive()
1133 + " muted=" + muted); in onReceive()
1134 changed = updateStreamMuteW(stream, muted); in onReceive()
/frameworks/av/services/audioflinger/
DThreads.h728 virtual void setMasterMute(bool muted) = 0;
730 virtual void setStreamMute(audio_stream_type_t stream, bool muted) = 0;
841 virtual void setMasterMute(bool muted);
843 virtual void setStreamMute(audio_stream_type_t stream, bool muted);
1031 void setMasterMute_l(bool muted) { mMasterMute = muted; } in setMasterMute_l() argument
1888 virtual void setMasterMute(bool muted);
1890 virtual void setStreamMute(audio_stream_type_t stream, bool muted);
1893 void setMasterMute_l(bool muted) { mMasterMute = muted; } in setMasterMute_l() argument
DAudioFlinger.h151 virtual status_t setMasterMute(bool muted);
162 virtual status_t setStreamMute(audio_stream_type_t stream, bool muted);
DAudioFlinger.cpp1256 status_t AudioFlinger::setMasterMute(bool muted) in setMasterMute() argument
1269 mMasterMute = muted; in setMasterMute()
1279 dev->hwDevice()->setMasterMute(muted); in setMasterMute()
1291 volumeInterfaces[i]->setMasterMute(muted); in setMasterMute()
1374 status_t AudioFlinger::setStreamMute(audio_stream_type_t stream, bool muted) in setStreamMute() argument
1393 mStreamTypes[stream].mute = muted; in setStreamMute()
1396 volumeInterfaces[i]->setStreamMute(stream, muted); in setStreamMute()
/frameworks/base/telephony/java/com/android/ims/internal/
DIImsCallSession.aidl100 void setMute(boolean muted); in setMute() argument
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h380 virtual status_t setMasterMute(bool muted) = 0;
393 virtual status_t setStreamMute(audio_stream_type_t stream, bool muted) = 0;
/frameworks/base/telephony/java/android/telephony/ims/
DImsCallSession.java708 public void setMute(boolean muted) { in setMute() argument
714 miSession.setMute(muted); in setMute()
/frameworks/base/core/proto/android/providers/settings/
Dsystem.proto231 // type's bit will be set to 1 if it should be muted when going into an
235 // to 1 if it should be muted when a mute request is received.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCallManager.java1008 public void setMute(boolean muted) { in setMute() argument
1010 Rlog.d(LOG_TAG, " setMute(" + muted + ")"); in setMute()
1015 getActiveFgCall().getPhone().setMute(muted); in setMute()
1019 Rlog.d(LOG_TAG, "End setMute(" + muted + ")"); in setMute()
DPhoneInternalInterface.java799 void setMute(boolean muted); in setMute() argument
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java1068 public void setMute(boolean muted) throws ImsException { in setMute() argument
1070 if (mMute != muted) { in setMute()
1071 logi("setMute :: turning mute " + (muted ? "on" : "off")); in setMute()
1072 mMute = muted; in setMute()
1075 mSession.setMute(muted); in setMute()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java1238 int muted = cursor.getInt(4); in jsonPostFrequencies() local
1247 row.put("muted", muted); in jsonPostFrequencies()
1269 int muted = cursor.getInt(4); in printPostFrequencies() local
1273 ",day=" + day + ",count=" + count + ",muted=" + muted + "/" + noisy + in printPostFrequencies()
/frameworks/base/media/java/android/media/
DAudioAttributes.java1073 public @NonNull Builder setHapticChannelsMuted(boolean muted) { in setHapticChannelsMuted() argument
1074 mMuteHapticChannels = muted; in setHapticChannelsMuted()
/frameworks/base/telephony/java/android/telephony/ims/compat/stub/
DImsCallSessionImplBase.java144 public void setMute(boolean muted) { in setMute() argument
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp225 virtual status_t setMasterMute(bool muted) in setMasterMute() argument
229 data.writeInt32(muted); in setMasterMute()
290 virtual status_t setStreamMute(audio_stream_type_t stream, bool muted) in setStreamMute() argument
295 data.writeInt32(muted); in setStreamMute()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java2966 private void sendMasterMuteUpdate(boolean muted, int flags) { in sendMasterMuteUpdate() argument
2968 broadcastMasterMuteStatus(muted); in sendMasterMuteUpdate()
2971 private void broadcastMasterMuteStatus(boolean muted) { in broadcastMasterMuteStatus() argument
2973 intent.putExtra(AudioManager.EXTRA_MASTER_VOLUME_MUTED, muted); in broadcastMasterMuteStatus()
3321 final boolean muted = isMicrophoneSupposedToBeMuted(); in setMicrophoneMuteNoCallerCheck()
3323 Log.d(TAG, String.format("Mic mute %b, user=%d", muted, userId)); in setMicrophoneMuteNoCallerCheck()
3329 final int ret = mAudioSystem.muteMicrophone(muted); in setMicrophoneMuteNoCallerCheck()
3334 Log.e(TAG, "Error changing mic mute state to " + muted + " current:" in setMicrophoneMuteNoCallerCheck()
3343 .set(MediaMetrics.Property.REQUEST, muted in setMicrophoneMuteNoCallerCheck()
3354 if (muted != currentMute) { in setMicrophoneMuteNoCallerCheck()

12