Home
last modified time | relevance | path

Searched refs:isSensorPrivacyEnabled (Results 1 – 25 of 26) sorted by relevance

12

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DIndividualSensorPrivacyControllerImpl.java65 boolean softwarePrivacyEnabled = mSensorPrivacyManager.isSensorPrivacyEnabled( in init()
67 boolean hardwarePrivacyEnabled = mSensorPrivacyManager.isSensorPrivacyEnabled( in init()
H A DSensorPrivacyController.java33 boolean isSensorPrivacyEnabled(); in isSensorPrivacyEnabled() method
H A DSensorPrivacyControllerImpl.java56 public boolean isSensorPrivacyEnabled() { in isSensorPrivacyEnabled() method in SensorPrivacyControllerImpl
/aosp14/frameworks/base/core/java/android/hardware/
H A DSensorPrivacyManagerInternal.java49 public abstract boolean isSensorPrivacyEnabled(int userId, int sensor); in isSensorPrivacyEnabled() method in SensorPrivacyManagerInternal
H A DISensorPrivacyManager.aidl37 boolean isSensorPrivacyEnabled(); in isSensorPrivacyEnabled() method
H A DSensorPrivacyManager.java603 public boolean isSensorPrivacyEnabled(@Sensors.Sensor int sensor) { in isSensorPrivacyEnabled() method in SensorPrivacyManager
604 return isSensorPrivacyEnabled(TOGGLE_TYPE_SOFTWARE, sensor); in isSensorPrivacyEnabled()
616 public boolean isSensorPrivacyEnabled(@ToggleType int toggleType, in isSensorPrivacyEnabled() method in SensorPrivacyManager
908 return mService.isSensorPrivacyEnabled(); in isAllSensorPrivacyEnabled()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/
H A DBiometricCameraManagerImpl.java66 .isSensorPrivacyEnabled(SensorPrivacyManager.TOGGLE_TYPE_SOFTWARE, CAMERA); in isCameraPrivacyEnabled()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
H A DRotationLockTileTest.java144 when(mPrivacyManager.isSensorPrivacyEnabled(CAMERA)).thenReturn(false); in setUp()
196 when(mPrivacyManager.isSensorPrivacyEnabled(CAMERA)).thenReturn(true); in testSecondaryString_cameraDisabled_isEmpty()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
H A DFaceDetectClient.java106 .isSensorPrivacyEnabled(SensorPrivacyManager.TOGGLE_TYPE_SOFTWARE, in startHalOperation()
H A DFaceAuthenticationClient.java149 .isSensorPrivacyEnabled(SensorPrivacyManager.TOGGLE_TYPE_SOFTWARE, in startHalOperation()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DRotationLockTile.java150 final boolean cameraLocked = mPrivacyManager.isSensorPrivacyEnabled(CAMERA); in handleUpdateState()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
H A DFaceAuthenticationClient.java117 .isSensorPrivacyEnabled(SensorPrivacyManager.TOGGLE_TYPE_SOFTWARE, in startHalOperation()
/aosp14/frameworks/base/services/core/java/com/android/server/rotationresolver/
H A DRotationResolverManagerService.java190 final boolean isCameraAvailable = !mPrivacyManager.isSensorPrivacyEnabled( in resolveRotation()
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbUserPermissionManager.java202 boolean isCameraPrivacyEnabled = mSensorPrivacyMgrInternal.isSensorPrivacyEnabled( in hasPermission()
213 if (device.getHasAudioCapture() && mSensorPrivacyMgrInternal.isSensorPrivacyEnabled( in hasPermission()
/aosp14/frameworks/base/services/core/java/com/android/server/sensorprivacy/
H A DSensorPrivacyService.java918 public boolean isSensorPrivacyEnabled() { in isSensorPrivacyEnabled() method in SensorPrivacyService.SensorPrivacyServiceImpl
1546 public boolean isSensorPrivacyEnabled(int userId, int sensor) { in isSensorPrivacyEnabled() method in SensorPrivacyService.SensorPrivacyManagerInternalImpl
/aosp14/frameworks/base/services/core/java/com/android/server/attention/
H A DAttentionManagerService.java274 if (mPrivacyManager.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.CAMERA)) { in checkAttention()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java341 mSensorPrivacyController.isSensorPrivacyEnabled()); in init()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthController.java1083 && mSensorPrivacyManager.isSensorPrivacyEnabled( in onBiometricError()
/aosp14/frameworks/base/services/core/java/com/android/server/location/contexthub/
H A DContextHubService.java1474 mSensorPrivacyManagerInternal.isSensorPrivacyEnabled(
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DActivityTaskSupervisor.java1348 final boolean cameraPrivacyEnabled = spmi.isSensorPrivacyEnabled( in getActionRestrictionForCallingPackage()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardUpdateMonitor.java1359 boolean cameraPrivacyEnabled = mSensorPrivacyManager.isSensorPrivacyEnabled( in handleFaceError()
/aosp14/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java3445 boolean isEnabled = mSensorPrivacyManager.isSensorPrivacyEnabled(
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java9630 .isSensorPrivacyEnabled(getCurrentUserId(), in onReceive()
/aosp14/frameworks/base/core/api/
H A Dsystem-current.txt4349 …ion(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public boolean isSensorPrivacyEnabled(int);
4350 …ndroid.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public boolean isSensorPrivacyEnabled(int, int);
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt8044 HSPLandroid/hardware/SensorPrivacyManager;->isSensorPrivacyEnabled(II)Z

12