Home
last modified time | relevance | path

Searched refs:mSensorPrivacyManager (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DIndividualSensorPrivacyControllerImpl.java43 private final @NonNull SensorPrivacyManager mSensorPrivacyManager; field in IndividualSensorPrivacyControllerImpl
51 mSensorPrivacyManager = sensorPrivacyManager; in IndividualSensorPrivacyControllerImpl()
56 mSensorPrivacyManager.addSensorPrivacyListener( in init()
71 boolean softwarePrivacyEnabled = mSensorPrivacyManager.isSensorPrivacyEnabled( in init()
73 boolean hardwarePrivacyEnabled = mSensorPrivacyManager.isSensorPrivacyEnabled( in init()
82 return mSensorPrivacyManager.supportsSensorToggle(sensor); in supportsSensorToggle()
97 mSensorPrivacyManager.setSensorPrivacyForProfileGroup(source, sensor, blocked); in setSensorBlocked()
102 mSensorPrivacyManager.suppressSensorPrivacyReminders(sensor, suppress); in suppressSensorPrivacyReminders()
107 return mSensorPrivacyManager.requiresAuthentication(); in requiresAuthentication()
114 return mSensorPrivacyManager.isCameraPrivacyEnabled(packageName); in isCameraPrivacyEnabled()
DSensorPrivacyControllerImpl.java35 private SensorPrivacyManager mSensorPrivacyManager; field in SensorPrivacyControllerImpl
44 mSensorPrivacyManager = sensorPrivacyManager; in SensorPrivacyControllerImpl()
49 mSensorPrivacyEnabled = mSensorPrivacyManager.isAllSensorPrivacyEnabled(); in init()
50 mSensorPrivacyManager.addAllSensorPrivacyListener(this); in init()
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricCameraManagerImpl.java30 private final SensorPrivacyManager mSensorPrivacyManager; field in BiometricCameraManagerImpl
49 mSensorPrivacyManager = sensorPrivacyManager; in BiometricCameraManagerImpl()
65 return mSensorPrivacyManager != null && mSensorPrivacyManager in isCameraPrivacyEnabled()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DFaceDetectClient.java61 @Nullable private SensorPrivacyManager mSensorPrivacyManager; field in FaceDetectClient
90 mSensorPrivacyManager = sensorPrivacyManager; in FaceDetectClient()
124 if (mSensorPrivacyManager != null in startHalOperation()
125 && mSensorPrivacyManager in startHalOperation()
DFaceAuthenticationClient.java92 private final SensorPrivacyManager mSensorPrivacyManager; field in FaceAuthenticationClient
137 mSensorPrivacyManager = sensorPrivacyManager; in FaceAuthenticationClient()
171 if (mSensorPrivacyManager != null in startHalOperation()
172 && mSensorPrivacyManager in startHalOperation()
/frameworks/base/services/core/java/com/android/server/input/
DKeyboardLedController.java57 private SensorPrivacyManager mSensorPrivacyManager; field in KeyboardLedController
94 || mSensorPrivacyManager.areAnySensorPrivacyTogglesEnabled(Sensors.MICROPHONE); in updateMicMuteLedState()
120 mSensorPrivacyManager = Objects.requireNonNull( in systemRunning()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthController.java174 @NonNull private final SensorPrivacyManager mSensorPrivacyManager; field in AuthController
792 mSensorPrivacyManager = context.getSystemService(SensorPrivacyManager.class); in AuthController()
1072 && mSensorPrivacyManager.isSensorPrivacyEnabled( in onBiometricError()
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DTestPhoneWindowManager.java141 @Mock private SensorPrivacyManager mSensorPrivacyManager; field in TestPhoneWindowManager
306 doReturn(mSensorPrivacyManager).when(mContext).getSystemService( in setUp()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java444 SensorPrivacyManager mSensorPrivacyManager; field in PhoneWindowManager
2216 mSensorPrivacyManager = mContext.getSystemService(SensorPrivacyManager.class);
3908 if (mSensorPrivacyManager.supportsSensorToggle(
3911 boolean isEnabled = mSensorPrivacyManager.isSensorPrivacyEnabled(
3915 mSensorPrivacyManager.setSensorPrivacy(SensorPrivacyManager.Sensors.MICROPHONE,
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java362 private final SensorPrivacyManager mSensorPrivacyManager; field in KeyguardUpdateMonitor
1240 boolean cameraPrivacyEnabled = mSensorPrivacyManager.isSensorPrivacyEnabled( in handleFaceError()
2186 mSensorPrivacyManager = sensorPrivacyManager; in KeyguardUpdateMonitor()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java240 private SensorPrivacyManager mSensorPrivacyManager; field in KeyguardUpdateMonitorTest
2433 mDreamManager, mDevicePolicyManager, mSensorPrivacyManager, mTelephonyManager, in TestableKeyguardUpdateMonitor()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java230 private SensorPrivacyManager mSensorPrivacyManager; field in AppOpsService
1156 mSensorPrivacyManager = SensorPrivacyManager.getInstance(mContext); in systemReady()
4868 && mSensorPrivacyManager.isCameraPrivacyEnabled(packageName)) { in isOpRestrictedLocked()