/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SensorPrivacyController.java | 33 boolean isSensorPrivacyEnabled(); in isSensorPrivacyEnabled() method
|
D | IndividualSensorPrivacyControllerImpl.java | 71 boolean softwarePrivacyEnabled = mSensorPrivacyManager.isSensorPrivacyEnabled( in init() 73 boolean hardwarePrivacyEnabled = mSensorPrivacyManager.isSensorPrivacyEnabled( in init()
|
D | SensorPrivacyControllerImpl.java | 56 public boolean isSensorPrivacyEnabled() { in isSensorPrivacyEnabled() method in SensorPrivacyControllerImpl
|
/frameworks/base/core/java/android/hardware/ |
D | SensorPrivacyManagerInternal.java | 49 public abstract boolean isSensorPrivacyEnabled(int userId, int sensor); in isSensorPrivacyEnabled() method in SensorPrivacyManagerInternal
|
D | ISensorPrivacyManager.aidl | 37 boolean isSensorPrivacyEnabled(); in isSensorPrivacyEnabled() method
|
D | SensorPrivacyManager.java | 664 public boolean isSensorPrivacyEnabled(@Sensors.Sensor int sensor) { in isSensorPrivacyEnabled() method in SensorPrivacyManager 665 return isSensorPrivacyEnabled(TOGGLE_TYPE_SOFTWARE, sensor); in isSensorPrivacyEnabled() 677 public boolean isSensorPrivacyEnabled(@ToggleType int toggleType, in isSensorPrivacyEnabled() method in SensorPrivacyManager 1117 return mService.isSensorPrivacyEnabled(); in isAllSensorPrivacyEnabled()
|
/frameworks/native/libs/sensorprivacy/ |
D | SensorPrivacyManager.cpp | 97 bool SensorPrivacyManager::isSensorPrivacyEnabled() in isSensorPrivacyEnabled() function in android::SensorPrivacyManager 102 service->isSensorPrivacyEnabled(&result); in isSensorPrivacyEnabled()
|
/frameworks/native/libs/sensorprivacy/aidl/android/hardware/ |
D | ISensorPrivacyManager.aidl | 33 boolean isSensorPrivacyEnabled(); in isSensorPrivacyEnabled() method
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | BiometricCameraManagerImpl.java | 66 .isSensorPrivacyEnabled(SensorPrivacyManager.TOGGLE_TYPE_SOFTWARE, CAMERA); in isCameraPrivacyEnabled()
|
/frameworks/native/libs/sensorprivacy/include/sensorprivacy/ |
D | SensorPrivacyManager.h | 58 bool isSensorPrivacyEnabled();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/camera/data/repository/ |
D | CameraSensorPrivacyRepository.kt | 74 .onStart { emit(isSensorPrivacyEnabled(SensorPrivacyManager.TOGGLE_TYPE_SOFTWARE, CAMERA)) } in SensorPrivacyManager()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | RotationLockTileTest.java | 144 when(mPrivacyManager.isSensorPrivacyEnabled(CAMERA)).thenReturn(false); in setUp() 196 when(mPrivacyManager.isSensorPrivacyEnabled(CAMERA)).thenReturn(true); in testSecondaryString_cameraDisabled_isEmpty()
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 534 return !mSensorPrivacyPolicy->isSensorPrivacyEnabled() in hasSensorAccessLocked() 682 mSensorPrivacyPolicy->isSensorPrivacyEnabled() ? "enabled" : "disabled"); in dump() 806 proto.write(SENSOR_PRIVACY, mSensorPrivacyPolicy->isSensorPrivacyEnabled()); in dumpProtoLocked() 872 if (mCurrentOperatingMode == RESTRICTED || mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in enableAllSensorsLocked() 875 mSensorPrivacyPolicy->isSensorPrivacyEnabled() ? "enabled" : "disabled"); in enableAllSensorsLocked() 1644 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in createSensorDirectConnection() 2674 if (mMicSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in adjustSamplingPeriodBasedOnMicAndPermission() 2694 if (mMicSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in adjustRateLevelBasedOnMicAndPermission() 2704 mSensorPrivacyEnabled = spm.isSensorPrivacyEnabled(); in registerSelf() 2714 bool SensorService::SensorPrivacyPolicy::isSensorPrivacyEnabled() { in isSensorPrivacyEnabled() function in android::SensorService::SensorPrivacyPolicy
|
D | SensorService.h | 338 bool isSensorPrivacyEnabled();
|
D | SensorEventConnection.cpp | 445 && !mService->mSensorPrivacyPolicy->isSensorPrivacyEnabled(); in hasSensorAccess()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/ |
D | FaceDetectClient.java | 126 .isSensorPrivacyEnabled(SensorPrivacyManager.TOGGLE_TYPE_SOFTWARE, in startHalOperation()
|
D | FaceAuthenticationClient.java | 173 .isSensorPrivacyEnabled(SensorPrivacyManager.TOGGLE_TYPE_SOFTWARE, in startHalOperation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | RotationLockTile.java | 150 final boolean cameraLocked = mPrivacyManager.isSensorPrivacyEnabled(CAMERA); in handleUpdateState()
|
/frameworks/base/services/core/java/com/android/server/rotationresolver/ |
D | RotationResolverManagerService.java | 190 final boolean isCameraAvailable = !mPrivacyManager.isSensorPrivacyEnabled( in resolveRotation()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbUserPermissionManager.java | 202 boolean isCameraPrivacyEnabled = mSensorPrivacyMgrInternal.isSensorPrivacyEnabled( in hasPermission() 213 if (device.getHasAudioCapture() && mSensorPrivacyMgrInternal.isSensorPrivacyEnabled( in hasPermission()
|
/frameworks/base/services/core/java/com/android/server/attention/ |
D | AttentionManagerService.java | 280 if (mPrivacyManager.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.CAMERA)) { in checkAttention()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 908 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in updateUidStates_l() 1742 mSensorPrivacyEnabled = spm.isSensorPrivacyEnabled(); in registerSelf() 1751 bool AudioPolicyService::SensorPrivacyPolicy::isSensorPrivacyEnabled() { in isSensorPrivacyEnabled() function in android::AudioPolicyService::SensorPrivacyPolicy
|
/frameworks/base/services/core/java/com/android/server/sensorprivacy/ |
D | SensorPrivacyService.java | 1196 public boolean isSensorPrivacyEnabled() { in isSensorPrivacyEnabled() method in SensorPrivacyService.SensorPrivacyServiceImpl 1883 public boolean isSensorPrivacyEnabled(int userId, int sensor) { in isSensorPrivacyEnabled() method in SensorPrivacyService.SensorPrivacyManagerInternalImpl
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 346 mSensorPrivacyController.isSensorPrivacyEnabled()); in init()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthController.java | 1072 && mSensorPrivacyManager.isSensorPrivacyEnabled( in onBiometricError()
|