Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/display/
DAdaptiveSleepCameraStatePreferenceController.java47 private final SensorPrivacyManager.OnSensorPrivacyChangedListener mPrivacyChangedListener = field in AdaptiveSleepCameraStatePreferenceController
63 mPrivacyManager.addSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStart()
68 mPrivacyManager.removeSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStop()
DSmartAutoRotateCameraStateController.java50 private final SensorPrivacyManager.OnSensorPrivacyChangedListener mPrivacyChangedListener = field in SmartAutoRotateCameraStateController
68 mPrivacyManager.addSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStart()
74 mPrivacyManager.removeSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStop()
DSmartAutoRotatePreferenceController.java67 private final SensorPrivacyManager.OnSensorPrivacyChangedListener mPrivacyChangedListener = field in SmartAutoRotatePreferenceController
135 mPrivacyManager.addSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStart()
145 mPrivacyManager.removeSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStop()
DSmartAutoRotateController.java69 private final SensorPrivacyManager.OnSensorPrivacyChangedListener mPrivacyChangedListener = field in SmartAutoRotateController
144 mPrivacyManager.addSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStart()
156 mPrivacyManager.removeSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStop()
DScreenTimeoutSettings.java88 private SensorPrivacyManager.OnSensorPrivacyChangedListener mPrivacyChangedListener; field in ScreenTimeoutSettings
140 mPrivacyChangedListener = (sensor, enabled) -> mAdaptiveSleepController.updatePreference(); in onAttach()
172 mPrivacyManager.addSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStart()
182 mPrivacyManager.removeSensorPrivacyListener(CAMERA, mPrivacyChangedListener); in onStop()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/
DPhysicalPrivacyUnblockFragment.java47 private final SensorPrivacyManager.OnSensorPrivacyChangedListener mPrivacyChangedListener = field in PhysicalPrivacyUnblockFragment
79 mPrivacyChangedListener); in onViewCreated()
118 mSensorPrivacyManager.removeSensorPrivacyListener(mToggle.sensor, mPrivacyChangedListener); in onDestroyView()
DSensorToggleInfoFragment.java54 private final SensorPrivacyManager.OnSensorPrivacyChangedListener mPrivacyChangedListener = field in SensorToggleInfoFragment
88 mPrivacyChangedListener); in onCreateView()
109 mSensorPrivacyManager.removeSensorPrivacyListener(mToggle.sensor, mPrivacyChangedListener); in onDestroyView()
DSensorFragment.java71 private final SensorPrivacyManager.OnSensorPrivacyChangedListener mPrivacyChangedListener = field in SensorFragment
116 mPrivacyChangedListener); in onStart()
121 mSensorPrivacyManager.removeSensorPrivacyListener(mToggle.sensor, mPrivacyChangedListener); in onStop()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/privacy/
DSensorState.java62 private final SensorPrivacyManager.OnSensorPrivacyChangedListener mPrivacyChangedListener = field in SensorState
106 mPrivacyChangedListener); in addSensorToggleWithInfo()
174 mSensorPrivacyManager.removeSensorPrivacyListener(mToggle.sensor, mPrivacyChangedListener); in onDestroy()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DPermissionAppsFragment.java81 private final SensorPrivacyManager.OnSensorPrivacyChangedListener mPrivacyChangedListener = field in PermissionAppsFragment
114 mSensorPrivacyManager.addSensorPrivacyListener(mPrivacyChangedListener); in onStart()
365 mSensorPrivacyManager.removeSensorPrivacyListener(mPrivacyChangedListener); in onStop()
DAppPermissionsFragment.java87 private final SensorPrivacyManager.OnSensorPrivacyChangedListener mPrivacyChangedListener = field in AppPermissionsFragment
159 mSensorPrivacyManager.addSensorPrivacyListener(mPrivacyChangedListener); in onResume()
367 mSensorPrivacyManager.removeSensorPrivacyListener(mPrivacyChangedListener); in onPause()