Searched refs:mPrivacyManager (Results 1 – 6 of 6) sorted by relevance
38 private final SensorPrivacyManager mPrivacyManager; field in AdaptiveSleepCameraStatePreferenceController42 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()
41 private final SensorPrivacyManager mPrivacyManager; field in SmartAutoRotateCameraStateController46 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()
54 private final SensorPrivacyManager mPrivacyManager; field in SmartAutoRotatePreferenceController65 mPrivacyManager = SensorPrivacyManager.getInstance(context); in SmartAutoRotatePreferenceController()66 mPrivacyManager in SmartAutoRotatePreferenceController()116 return mPrivacyManager.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.CAMERA); in isCameraLocked()
57 private final SensorPrivacyManager mPrivacyManager; field in SmartAutoRotateController71 mPrivacyManager = SensorPrivacyManager.getInstance(context); in SmartAutoRotateController()72 mPrivacyManager in SmartAutoRotateController()104 return mPrivacyManager.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.CAMERA); in isCameraLocked()
52 private final SensorPrivacyManager mPrivacyManager; field in AdaptiveSleepPreferenceController66 mPrivacyManager = SensorPrivacyManager.getInstance(context); in AdaptiveSleepPreferenceController()133 return mPrivacyManager.isSensorPrivacyEnabled(CAMERA); in isCameraLocked()
79 private SensorPrivacyManager mPrivacyManager; field in ScreenTimeoutSettings133 mPrivacyManager = SensorPrivacyManager.getInstance(context); in onAttach()134 mPrivacyManager.addSensorPrivacyListener(CAMERA, in onAttach()