/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | CameraToggleTileTest.kt | 74 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()
|
D | MicrophoneToggleTileTest.kt | 74 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/ |
D | PrivacyChipRepositoryTest.kt | 60 @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/ |
D | HeaderPrivacyIconsControllerTest.kt | 75 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/ |
D | PrivacyChipRepository.kt | 63 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/ |
D | SensorPrivacyToggleTileUserActionInteractor.kt | 44 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/ |
D | CameraToggleTile.java | 65 SafetyCenterManager safetyCenterManager) { in CameraToggleTile() argument 68 keyguardStateController, safetyCenterManager); in CameraToggleTile()
|
D | MicrophoneToggleTile.java | 65 SafetyCenterManager safetyCenterManager) { in MicrophoneToggleTile() argument 68 keyguardStateController, safetyCenterManager); in MicrophoneToggleTile()
|
D | SensorPrivacyToggleTile.java | 88 SafetyCenterManager safetyCenterManager) { in SensorPrivacyToggleTile() argument 93 mIsSafetyCenterEnabled = safetyCenterManager.isSafetyCenterEnabled(); in SensorPrivacyToggleTile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | HeaderPrivacyIconsController.kt | 64 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/ |
D | SensorPrivacyService.java | 704 SafetyCenterManager safetyCenterManager = in showSensorUseReminderNotification() local 706 String action = safetyCenterManager.isSafetyCenterEnabled() in showSensorUseReminderNotification()
|