Home
last modified time | relevance | path

Searched refs:safetyCenterManager (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DCameraToggleTileTest.kt74 private lateinit var safetyCenterManager: SafetyCenterManager variable in com.android.systemui.qs.tiles.CameraToggleTileTest
97 safetyCenterManager) in setUp()
128 whenever(safetyCenterManager.isSafetyCenterEnabled).thenReturn(true) in testLongClickIntent_safetyCenterEnabled()
141 safetyCenterManager) in testLongClickIntent_safetyCenterEnabled()
149 whenever(safetyCenterManager.isSafetyCenterEnabled).thenReturn(false) in testLongClickIntent_safetyCenterDisabled()
162 safetyCenterManager) in testLongClickIntent_safetyCenterDisabled()
DMicrophoneToggleTileTest.kt74 private lateinit var safetyCenterManager: SafetyCenterManager variable in com.android.systemui.qs.tiles.MicrophoneToggleTileTest
98 safetyCenterManager) in setUp()
127 whenever(safetyCenterManager.isSafetyCenterEnabled).thenReturn(true) in testLongClickIntent_safetyCenterEnabled()
140 safetyCenterManager) in testLongClickIntent_safetyCenterEnabled()
148 whenever(safetyCenterManager.isSafetyCenterEnabled).thenReturn(false) in testLongClickIntent_safetyCenterDisabled()
161 safetyCenterManager) in testLongClickIntent_safetyCenterDisabled()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/data/repository/
DPrivacyChipRepositoryTest.kt60 @Mock private lateinit var safetyCenterManager: SafetyCenterManager variable in com.android.systemui.shade.data.repository.PrivacyChipRepositoryTest
99 whenever(safetyCenterManager.isSafetyCenterEnabled).thenReturn(true) in isSafetyCenterEnabled_updates()
171 whenever(safetyCenterManager.isSafetyCenterEnabled).thenReturn(isSafetyCenterEnabled) in setUpUnderTest()
180 safetyCenterManager = safetyCenterManager, in setUpUnderTest()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DHeaderPrivacyIconsControllerTest.kt75 private lateinit var safetyCenterManager: SafetyCenterManager in eq() variable in com.android.systemui.qs.HeaderPrivacyIconsControllerTest
114 safetyCenterManager, in eq()
169 whenever(safetyCenterManager.isSafetyCenterEnabled).thenReturn(false) in eq()
182 whenever(safetyCenterManager.isSafetyCenterEnabled).thenReturn(false) in eq()
196 whenever(safetyCenterManager.isSafetyCenterEnabled).thenReturn(true) in eq()
217 whenever(safetyCenterManager.isSafetyCenterEnabled).thenReturn(true) in eq()
235 whenever(safetyCenterManager.isSafetyCenterEnabled).thenReturn(false) in eq()
244 whenever(safetyCenterManager.isSafetyCenterEnabled).thenReturn(false) in eq()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/data/repository/
DPrivacyChipRepository.kt63 private val safetyCenterManager: SafetyCenterManager, constant
73 map = { _, _ -> safetyCenterManager.isSafetyCenterEnabled } in _()
75 .onStart { emit(safetyCenterManager.isSafetyCenterEnabled) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/sensorprivacy/domain/
DSensorPrivacyToggleTileUserActionInteractor.kt44 private val safetyCenterManager: SafetyCenterManager, constant in com.android.systemui.qs.tiles.impl.sensorprivacy.domain.SensorPrivacyToggleTileUserActionInteractor
76 if (safetyCenterManager.isSafetyCenterEnabled) { in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DCameraToggleTile.java65 SafetyCenterManager safetyCenterManager) { in CameraToggleTile() argument
68 keyguardStateController, safetyCenterManager); in CameraToggleTile()
DMicrophoneToggleTile.java65 SafetyCenterManager safetyCenterManager) { in MicrophoneToggleTile() argument
68 keyguardStateController, safetyCenterManager); in MicrophoneToggleTile()
DSensorPrivacyToggleTile.java88 SafetyCenterManager safetyCenterManager) { in SensorPrivacyToggleTile() argument
93 mIsSafetyCenterEnabled = safetyCenterManager.isSafetyCenterEnabled(); in SensorPrivacyToggleTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DHeaderPrivacyIconsController.kt64 private val safetyCenterManager: SafetyCenterManager, in onChipVisibilityRefreshed() constant in com.android.systemui.qs.HeaderPrivacyIconsController
81 safetyCenterEnabled = safetyCenterManager.isSafetyCenterEnabled() in onChipVisibilityRefreshed()
101 safetyCenterEnabled = safetyCenterManager.isSafetyCenterEnabled() in onChipVisibilityRefreshed()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyService.java704 SafetyCenterManager safetyCenterManager = in showSensorUseReminderNotification() local
706 String action = safetyCenterManager.isSafetyCenterEnabled() in showSensorUseReminderNotification()