Home
last modified time | relevance | path

Searched refs:mPrivacyManager (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/display/
DAdaptiveSleepCameraStatePreferenceController.java38 private final SensorPrivacyManager mPrivacyManager; field in AdaptiveSleepCameraStatePreferenceController
42 mPrivacyManager = SensorPrivacyManager.getInstance(context); in AdaptiveSleepCameraStatePreferenceController()
43 mPrivacyManager.addSensorPrivacyListener(CAMERA, in AdaptiveSleepCameraStatePreferenceController()
63 return mPrivacyManager.isSensorPrivacyEnabled(CAMERA); in isCameraLocked()
81 p -> mPrivacyManager.setSensorPrivacy(DIALOG, CAMERA, false)); in initializePreference()
DSmartAutoRotateCameraStateController.java41 private final SensorPrivacyManager mPrivacyManager; field in SmartAutoRotateCameraStateController
46 mPrivacyManager = SensorPrivacyManager.getInstance(context); in SmartAutoRotateCameraStateController()
47 mPrivacyManager.addSensorPrivacyListener(CAMERA, (sensor, enabled) -> { in SmartAutoRotateCameraStateController()
57 return mPrivacyManager.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.CAMERA); in isCameraLocked()
67 mPrivacyManager.setSensorPrivacy(DIALOG, CAMERA, false); in displayPreference()
DSmartAutoRotatePreferenceController.java54 private final SensorPrivacyManager mPrivacyManager; field in SmartAutoRotatePreferenceController
65 mPrivacyManager = SensorPrivacyManager.getInstance(context); in SmartAutoRotatePreferenceController()
66 mPrivacyManager in SmartAutoRotatePreferenceController()
116 return mPrivacyManager.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.CAMERA); in isCameraLocked()
DSmartAutoRotateController.java57 private final SensorPrivacyManager mPrivacyManager; field in SmartAutoRotateController
71 mPrivacyManager = SensorPrivacyManager.getInstance(context); in SmartAutoRotateController()
72 mPrivacyManager in SmartAutoRotateController()
104 return mPrivacyManager.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.CAMERA); in isCameraLocked()
DAdaptiveSleepPreferenceController.java52 private final SensorPrivacyManager mPrivacyManager; field in AdaptiveSleepPreferenceController
66 mPrivacyManager = SensorPrivacyManager.getInstance(context); in AdaptiveSleepPreferenceController()
133 return mPrivacyManager.isSensorPrivacyEnabled(CAMERA); in isCameraLocked()
DScreenTimeoutSettings.java79 private SensorPrivacyManager mPrivacyManager; field in ScreenTimeoutSettings
133 mPrivacyManager = SensorPrivacyManager.getInstance(context); in onAttach()
134 mPrivacyManager.addSensorPrivacyListener(CAMERA, in onAttach()