Searched refs:mPrivacyManager (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Settings/src/com/android/settings/display/ |
D | AdaptiveSleepCameraStatePreferenceController.java | 44 private final SensorPrivacyManager mPrivacyManager; field in AdaptiveSleepCameraStatePreferenceController 56 mPrivacyManager = SensorPrivacyManager.getInstance(context); in AdaptiveSleepCameraStatePreferenceController() 63 mPrivacyManager.addSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStart() 68 mPrivacyManager.removeSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStop() 86 return mPrivacyManager.isSensorPrivacyEnabled(CAMERA); in isCameraLocked() 104 p -> mPrivacyManager.setSensorPrivacy(DIALOG, CAMERA, false)); in initializePreference()
|
D | SmartAutoRotateCameraStateController.java | 47 private final SensorPrivacyManager mPrivacyManager; field in SmartAutoRotateCameraStateController 63 mPrivacyManager = SensorPrivacyManager.getInstance(context); in SmartAutoRotateCameraStateController() 68 mPrivacyManager.addSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStart() 74 mPrivacyManager.removeSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStop() 79 return mPrivacyManager.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.CAMERA); in isCameraLocked() 89 mPrivacyManager.setSensorPrivacy(DIALOG, CAMERA, false); in displayPreference()
|
D | SmartAutoRotatePreferenceController.java | 58 private final SensorPrivacyManager mPrivacyManager; field in SmartAutoRotatePreferenceController 80 mPrivacyManager = SensorPrivacyManager.getInstance(context); in SmartAutoRotatePreferenceController() 135 mPrivacyManager.addSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStart() 145 mPrivacyManager.removeSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStop() 154 return mPrivacyManager.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.CAMERA); in isCameraLocked()
|
D | SmartAutoRotateController.java | 60 private final SensorPrivacyManager mPrivacyManager; field in SmartAutoRotateController 85 mPrivacyManager = SensorPrivacyManager.getInstance(context); in SmartAutoRotateController() 121 return mPrivacyManager.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.CAMERA); in isCameraLocked() 144 mPrivacyManager.addSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStart() 156 mPrivacyManager.removeSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStop()
|
D | AdaptiveSleepPreferenceController.java | 52 private final SensorPrivacyManager mPrivacyManager; field in AdaptiveSleepPreferenceController 66 mPrivacyManager = SensorPrivacyManager.getInstance(context); in AdaptiveSleepPreferenceController() 133 return mPrivacyManager.isSensorPrivacyEnabled(CAMERA); in isCameraLocked()
|
D | ScreenTimeoutSettings.java | 77 private SensorPrivacyManager mPrivacyManager; field in ScreenTimeoutSettings 139 mPrivacyManager = SensorPrivacyManager.getInstance(context); in onAttach() 172 mPrivacyManager.addSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStart() 182 mPrivacyManager.removeSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStop()
|