Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSensorPrivacyController.java33 boolean isSensorPrivacyEnabled(); in isSensorPrivacyEnabled() method
DIndividualSensorPrivacyControllerImpl.java71 boolean softwarePrivacyEnabled = mSensorPrivacyManager.isSensorPrivacyEnabled( in init()
73 boolean hardwarePrivacyEnabled = mSensorPrivacyManager.isSensorPrivacyEnabled( in init()
DSensorPrivacyControllerImpl.java56 public boolean isSensorPrivacyEnabled() { in isSensorPrivacyEnabled() method in SensorPrivacyControllerImpl
/frameworks/base/core/java/android/hardware/
DSensorPrivacyManagerInternal.java49 public abstract boolean isSensorPrivacyEnabled(int userId, int sensor); in isSensorPrivacyEnabled() method in SensorPrivacyManagerInternal
DISensorPrivacyManager.aidl37 boolean isSensorPrivacyEnabled(); in isSensorPrivacyEnabled() method
DSensorPrivacyManager.java664 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/
DSensorPrivacyManager.cpp97 bool SensorPrivacyManager::isSensorPrivacyEnabled() in isSensorPrivacyEnabled() function in android::SensorPrivacyManager
102 service->isSensorPrivacyEnabled(&result); in isSensorPrivacyEnabled()
/frameworks/native/libs/sensorprivacy/aidl/android/hardware/
DISensorPrivacyManager.aidl33 boolean isSensorPrivacyEnabled(); in isSensorPrivacyEnabled() method
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricCameraManagerImpl.java66 .isSensorPrivacyEnabled(SensorPrivacyManager.TOGGLE_TYPE_SOFTWARE, CAMERA); in isCameraPrivacyEnabled()
/frameworks/native/libs/sensorprivacy/include/sensorprivacy/
DSensorPrivacyManager.h58 bool isSensorPrivacyEnabled();
/frameworks/base/packages/SystemUI/src/com/android/systemui/camera/data/repository/
DCameraSensorPrivacyRepository.kt74 .onStart { emit(isSensorPrivacyEnabled(SensorPrivacyManager.TOGGLE_TYPE_SOFTWARE, CAMERA)) } in SensorPrivacyManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DRotationLockTileTest.java144 when(mPrivacyManager.isSensorPrivacyEnabled(CAMERA)).thenReturn(false); in setUp()
196 when(mPrivacyManager.isSensorPrivacyEnabled(CAMERA)).thenReturn(true); in testSecondaryString_cameraDisabled_isEmpty()
/frameworks/native/services/sensorservice/
DSensorService.cpp534 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
DSensorService.h338 bool isSensorPrivacyEnabled();
DSensorEventConnection.cpp445 && !mService->mSensorPrivacyPolicy->isSensorPrivacyEnabled(); in hasSensorAccess()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DFaceDetectClient.java126 .isSensorPrivacyEnabled(SensorPrivacyManager.TOGGLE_TYPE_SOFTWARE, in startHalOperation()
DFaceAuthenticationClient.java173 .isSensorPrivacyEnabled(SensorPrivacyManager.TOGGLE_TYPE_SOFTWARE, in startHalOperation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DRotationLockTile.java150 final boolean cameraLocked = mPrivacyManager.isSensorPrivacyEnabled(CAMERA); in handleUpdateState()
/frameworks/base/services/core/java/com/android/server/rotationresolver/
DRotationResolverManagerService.java190 final boolean isCameraAvailable = !mPrivacyManager.isSensorPrivacyEnabled( in resolveRotation()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserPermissionManager.java202 boolean isCameraPrivacyEnabled = mSensorPrivacyMgrInternal.isSensorPrivacyEnabled( in hasPermission()
213 if (device.getHasAudioCapture() && mSensorPrivacyMgrInternal.isSensorPrivacyEnabled( in hasPermission()
/frameworks/base/services/core/java/com/android/server/attention/
DAttentionManagerService.java280 if (mPrivacyManager.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.CAMERA)) { in checkAttention()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp908 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/
DSensorPrivacyService.java1196 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/
DPhoneStatusBarPolicy.java346 mSensorPrivacyController.isSensorPrivacyEnabled()); in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthController.java1072 && mSensorPrivacyManager.isSensorPrivacyEnabled( in onBiometricError()

12