/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | MuteQuickAffordanceCoreStartableTest.kt | 99 val ringerModeInternal = mock<MutableLiveData<Int>>() in <lambda>() constant 100 whenever(ringerModeTracker.ringerModeInternal).thenReturn(ringerModeInternal) in <lambda>() 114 val ringerModeInternal = mock<MutableLiveData<Int>>() in <lambda>() constant 116 whenever(ringerModeTracker.ringerModeInternal).thenReturn(ringerModeInternal) in <lambda>() 121 verify(ringerModeInternal).observeForever(observerCaptor.capture()) in <lambda>() 134 val ringerModeInternal = mock<MutableLiveData<Int>>() in <lambda>() constant 136 whenever(ringerModeTracker.ringerModeInternal).thenReturn(ringerModeInternal) in <lambda>() 144 verify(ringerModeInternal).observeForever(observerCaptor.capture()) in <lambda>() 157 val ringerModeInternal = mock<MutableLiveData<Int>>() in <lambda>() constant 158 whenever(ringerModeTracker.ringerModeInternal).thenReturn(ringerModeInternal) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | MuteQuickAffordanceConfigTest.kt | 115 whenever(audioManager.ringerModeInternal).thenReturn(AudioManager.RINGER_MODE_NORMAL) in <lambda>() 117 whenever(audioManager.ringerModeInternal).thenReturn(AudioManager.RINGER_MODE_SILENT) in <lambda>() 122 verify(audioManager, times(2)).ringerModeInternal = ringerModeCapture.capture() in <lambda>() 133 whenever(audioManager.ringerModeInternal).thenReturn(AudioManager.RINGER_MODE_NORMAL) in <lambda>() 138 verify(audioManager).ringerModeInternal = ringerModeCapture.capture() in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | MuteQuickAffordanceConfig.kt | 73 ringerModeTracker.ringerModeInternal in <lambda>() 108 val currentRingerMode = audioManager.ringerModeInternal in <lambda>() 117 audioManager.ringerModeInternal = newRingerMode in <lambda>() 146 ringerModeTracker.ringerModeInternal.value ?: DEFAULT_LAST_NON_SILENT_VALUE in <lambda>()
|
D | MuteQuickAffordanceCoreStartable.kt | 65 ringerModeTracker.ringerModeInternal.observeForever(observer) in <lambda>() 67 ringerModeTracker.ringerModeInternal.removeObserver(observer) in <lambda>()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | VolumeDialogController.java | 120 public int ringerModeInternal; field in VolumeDialogController.State 137 rt.ringerModeInternal = ringerModeInternal; in copy() 172 sep(sb, indent); sb.append("ringerModeInternal:").append(ringerModeInternal); in toString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | RingerModeTracker.kt | 24 val ringerModeInternal: LiveData<Int> constant
|
D | RingerModeTrackerImpl.kt | 47 override val ringerModeInternal: LiveData<Int> = RingerModeLiveData( constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/ |
D | VolumeDialogImplTest.java | 381 initialSilentState.ringerModeInternal = AudioManager.RINGER_MODE_SILENT; in testVibrateOnRingerChangedToVibrate() 384 vibrateState.ringerModeInternal = AudioManager.RINGER_MODE_VIBRATE; in testVibrateOnRingerChangedToVibrate() 402 initialUnsetState.ringerModeInternal = -1; in testNoVibrateOnRingerInitialization() 408 vibrateState.ringerModeInternal = AudioManager.RINGER_MODE_VIBRATE; in testNoVibrateOnRingerInitialization() 422 initialUnsetState.ringerModeInternal = AudioManager.RINGER_MODE_NORMAL; in testSelectVibrateFromDrawer() 438 initialUnsetState.ringerModeInternal = AudioManager.RINGER_MODE_NORMAL; in testSelectMuteFromDrawer() 454 initialUnsetState.ringerModeInternal = AudioManager.RINGER_MODE_VIBRATE; in testSelectNormalFromDrawer() 636 state.ringerModeInternal = ringerMode; in assertRingerContainerDescribesItsState()
|
/frameworks/base/media/java/android/media/ |
D | AudioManagerInternal.java | 78 int ringerModeInternal, VolumePolicy policy); in onSetRingerModeExternal() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogImpl.java | 898 if (mState.ringerModeInternal == AudioManager.RINGER_MODE_NORMAL) { in initRow() 1074 mState.ringerModeInternal == RINGER_MODE_VIBRATE ? INVISIBLE : VISIBLE); in showRingerDrawer() 1076 mState.ringerModeInternal == RINGER_MODE_SILENT ? INVISIBLE : VISIBLE); in showRingerDrawer() 1078 mState.ringerModeInternal == RINGER_MODE_NORMAL ? INVISIBLE : VISIBLE); in showRingerDrawer() 1087 getTranslationInDrawerForRingerMode(mState.ringerModeInternal)); in showRingerDrawer() 1090 getTranslationInDrawerForRingerMode(mState.ringerModeInternal)); in showRingerDrawer() 1103 final int ringerDrawerAnimationDuration = mState.ringerModeInternal == RINGER_MODE_VIBRATE in showRingerDrawer() 1113 .setStartDelay(mState.ringerModeInternal == RINGER_MODE_VIBRATE in showRingerDrawer() 1126 getDrawerIconViewForMode(mState.ringerModeInternal).setVisibility(VISIBLE)); in showRingerDrawer() 1134 .translationY(getTranslationInDrawerForRingerMode(mState.ringerModeInternal)) in showRingerDrawer() [all …]
|
D | VolumeDialogControllerImpl.java | 698 if (rm == mState.ringerModeInternal) return false; in updateRingerModeInternalW() 699 mState.ringerModeInternal = rm; in updateRingerModeInternalW() 702 if (mState.ringerModeInternal == RINGER_MODE_NORMAL) { in updateRingerModeInternalW() 1112 mState.ringerModeInternal = rm; 1127 RingerModeLiveData ringerModeInternal) { in RingerModeObservers() argument 1129 mRingerModeInternal = ringerModeInternal; in RingerModeObservers() 1144 mState.ringerModeInternal = initialValue; in init()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/ |
D | AudioRepository.kt | 129 .map { RingerMode(audioManager.ringerModeInternal) } in <lambda>() 130 .onStart { emit(RingerMode(audioManager.ringerModeInternal)) } in <lambda>() 135 RingerMode(audioManager.ringerModeInternal),
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/ |
D | AudioRepositoryTest.kt | 83 `when`(audioManager.ringerModeInternal).thenReturn(AudioManager.RINGER_MODE_NORMAL) in setup() 136 `when`(audioManager.ringerModeInternal).thenReturn(AudioManager.RINGER_MODE_SILENT) in ringerModeChanges_repositoryEmits()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 434 final Integer ringerModeInternal = in updateVolumeZen() local 436 if (ringerModeInternal != null) { in updateVolumeZen() 437 if (ringerModeInternal == AudioManager.RINGER_MODE_VIBRATE) { in updateVolumeZen() 439 } else if (ringerModeInternal == AudioManager.RINGER_MODE_SILENT) { in updateVolumeZen()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 2264 final int ringerModeInternal = mAudioManager.getRingerModeInternal(); in applyZenToRingerMode() local 2265 int newRingerModeInternal = ringerModeInternal; in applyZenToRingerMode() 2269 if (ringerModeInternal != AudioManager.RINGER_MODE_SILENT) { in applyZenToRingerMode() 2270 setPreviousRingerModeSetting(ringerModeInternal); in applyZenToRingerMode() 2278 if (ringerModeInternal == AudioManager.RINGER_MODE_SILENT) { in applyZenToRingerMode() 2500 @Nullable String caller, int ringerModeInternal, VolumePolicy policy) { in onSetRingerModeExternal() argument 2503 final boolean isVibrate = ringerModeInternal == AudioManager.RINGER_MODE_VIBRATE; in onSetRingerModeExternal() 2515 ringerModeInternalOut = ringerModeInternal; in onSetRingerModeExternal() 2531 ringerModeInternal, ringerModeInternalOut); in onSetRingerModeExternal()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 5700 final int ringerModeInternal = getRingerModeInternal(); in setRingerMode() local 5706 ringerMode, caller, ringerModeInternal, mVolumePolicy); in setRingerMode() 5708 if (ringerMode != ringerModeInternal) { in setRingerMode() 5712 if (ringerMode != ringerModeInternal) { in setRingerMode() 5716 ringerMode = mRingerModeDelegate.onSetRingerModeInternal(ringerModeInternal, in setRingerMode()
|