Home
last modified time | relevance | path

Searched refs:isMuted (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/telecomm/java/android/telecom/
DAudioState.java61 private final boolean isMuted; field in AudioState
68 this.isMuted = muted; in AudioState()
74 isMuted = state.isMuted(); in AudioState()
80 isMuted = state.isMuted(); in AudioState()
94 return isMuted() == state.isMuted() && getRoute() == state.getRoute() && in equals()
103 isMuted, in toString()
145 boolean isMuted = source.readByte() == 0 ? false : true;
148 return new AudioState(isMuted, route, supportedRouteMask);
170 destination.writeByte((byte) (isMuted ? 1 : 0)); in writeToParcel()
178 public boolean isMuted() { in isMuted() method in AudioState
[all …]
DCallAudioState.java77 private final boolean isMuted; field in CallAudioState
107 public CallAudioState(boolean isMuted, @CallAudioRoute int route, in CallAudioState() argument
111 this.isMuted = isMuted; in CallAudioState()
120 isMuted = state.isMuted(); in CallAudioState()
130 isMuted = state.isMuted(); in CallAudioState()
154 return Objects.equals(activeBluetoothDevice, state.activeBluetoothDevice) && isMuted() == in equals()
155 state.isMuted() && getRoute() == state.getRoute() && getSupportedRouteMask() == in equals()
167 isMuted, in toString()
177 public boolean isMuted() { in isMuted() method in CallAudioState
178 return isMuted; in isMuted()
[all …]
DCallEventCallback.java54 void onMuteStateChanged(boolean isMuted); in onMuteStateChanged() argument
DConference.java358 public void onMuteStateChanged(boolean isMuted) {} in onMuteStateChanged() argument
802 final void setMuteState(boolean isMuted) { in setMuteState() argument
803 Log.d(this, "setMuteState %s", isMuted); in setMuteState()
804 onMuteStateChanged(isMuted); in setMuteState()
DInCallService.java437 public void onMuteStateChanged(boolean isMuted) { in onMuteStateChanged() argument
438 mHandler.obtainMessage(MSG_ON_MUTE_STATE_CHANGED, isMuted).sendToTarget(); in onMuteStateChanged()
765 public void onMuteStateChanged(boolean isMuted) { in onMuteStateChanged() argument
DCallControl.java289 public void requestMuteState(boolean isMuted, @CallbackExecutor @NonNull Executor executor, in requestMuteState() argument
294 mServerInterface.setMuteState(isMuted, in requestMuteState()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/domain/interactor/
DAudioVolumeInteractor.kt63 suspend fun setMuted(audioStream: AudioStream, isMuted: Boolean) { in <lambda>()
70 if (isMuted) AudioManager.RINGER_MODE_VIBRATE else AudioManager.RINGER_MODE_NORMAL in <lambda>()
73 val mutedChanged = audioRepository.setMuted(audioStream, isMuted) in <lambda>()
74 if (mutedChanged && !isMuted) { in <lambda>()
90 getAudioStream(AudioStream(AudioManager.STREAM_RING)).map { it.isMuted }, in <lambda>()
115 audioStreamModel.isMuted) in <lambda>()
119 } else if (audioStreamModel.isMuted) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/data/repository/
DFakeAudioRepository.kt58 isMuted = false, in getAudioStreamModelState()
70 override suspend fun setMuted(audioStream: AudioStream, isMuted: Boolean): Boolean { in setMuted()
72 return if (modelState.value.isMuted == isMuted) { in setMuted()
75 modelState.update { it.copy(isMuted = isMuted) } in setMuted()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/domain/interactor/
DAudioVolumeInteractorTest.kt75 assertThat(model!!.isMuted).isFalse() in setMuted_mutesStream()
79 assertThat(model!!.isMuted).isTrue() in setMuted_mutesStream()
212 audioStreamModel!!.copy(isAffectedByMute = false, isMuted = false) in streamNotAffectedByMute_isNotMutable()
219 assertThat(audioStreamModel!!.isMuted).isFalse() in streamNotAffectedByMute_isNotMutable()
260 assertThat(audioStreamModel!!.isMuted).isTrue() in testReducingVolumeToMin_mutes()
277 assertThat(audioStreamModel!!.isMuted).isFalse() in testIncreasingVolumeFromMin_unmutes()
/frameworks/base/media/java/android/media/
DVolumeInfo.java58 private VolumeInfo(boolean usesStreamType, boolean hasMuteCommand, boolean isMuted, in VolumeInfo() argument
63 mIsMuted = isMuted; in VolumeInfo()
130 public boolean isMuted() { in isMuted() method in VolumeInfo
244 public @NonNull Builder setMuted(boolean isMuted) { in setMuted() argument
246 mIsMuted = isMuted; in setMuted()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/
DAudioRepository.kt86 suspend fun setMuted(audioStream: AudioStream, isMuted: Boolean): Boolean in <lambda>()
184 isMuted = audioManager.isStreamMute(audioStream.value), in getCurrentAudioStream()
200 override suspend fun setMuted(audioStream: AudioStream, isMuted: Boolean): Boolean { in setMuted()
202 if (isMuted == audioManager.isStreamMute(audioStream.value)) { in setMuted()
207 if (isMuted) AudioManager.ADJUST_MUTE else AudioManager.ADJUST_UNMUTE, in setMuted()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h92 bool isMuted() const { return mMuteCount > 0; } in isMuted() function
128 void setMutedByDevice( bool isMuted) { mIsMutedByDevice = isMuted; } in setMutedByDevice() argument
212 bool isMuted(VolumeSource vs) const in isMuted() function
215 mVolumeActivities.at(vs).isMuted() : false; in isMuted()
259 void setStrategyMutedByDevice(product_strategy_t ps, bool isMuted) in setStrategyMutedByDevice() argument
261 mRoutingActivities[ps].setMutedByDevice(isMuted); in setStrategyMutedByDevice()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/shared/model/
DAudioStreamModel.kt27 val isMuted: Boolean, constant in com.android.settingslib.volume.shared.model.AudioStreamModel
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/volume/slider/ui/viewmodel/
DAudioStreamSliderViewModel.kt133 audioVolumeInteractor.setMuted(audioStream, !audioViewModel.audioStreamModel.isMuted) in <lambda>()
161 if (isMuted) { in <lambda>()
194 if (isAffectedByMute && isMuted) { in <lambda>()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/
DAudioRepositoryTest.kt185 isMuted = false, in adjustingVolume_changesTheStream()
214 isMuted = true, in muteStream_mutesTheStream()
244 isMuted = false, in unmuteStream_unmutesTheStream()
/frameworks/base/core/java/android/hardware/radio/
DITuner.aidl42 boolean isMuted(); in isMuted() method
/frameworks/base/telecomm/java/com/android/internal/telecom/
DICallControl.aidl35 void setMuteState(boolean isMuted, in ResultReceiver callback); in setMuteState() argument
DIInCallService.aidl51 void onMuteStateChanged(boolean isMuted); in onMuteStateChanged() argument
DICallEventCallback.aidl47 void onMuteStateChanged(String callId, boolean isMuted); in onMuteStateChanged() argument
DClientTransactionalServiceWrapper.java263 public void onMuteStateChanged(String callId, boolean isMuted) {
264 handleEventCallback(callId, ON_MUTE_STATE_CHANGED, isMuted);
DIConnectionService.aidl108 void onMuteStateChanged(String activeCallId, boolean isMuted, in Session.Info sessionInfo); in onMuteStateChanged() argument
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/
DCrossDeviceCall.java108 mIsMuted = callAudioState != null && callAudioState.isMuted(); in CrossDeviceCall()
117 public void updateMuted(boolean isMuted) { in updateMuted() argument
118 mIsMuted = isMuted; in updateMuted()
DCallMetadataSyncInCallService.java215 public void onMuteStateChanged(boolean isMuted) { in onMuteStateChanged() argument
219 CrossDeviceSyncController.createCallControlMessage(null, isMuted in onMuteStateChanged()
DCallMetadataSyncConnectionService.java446 public void onMuteStateChanged(boolean isMuted) { in onMuteStateChanged() argument
447 sendCallAction(isMuted ? android.companion.Telecom.MUTE in onMuteStateChanged()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTuner.java166 public boolean isMuted() { in isMuted() method in Tuner

12