Home
last modified time | relevance | path

Searched refs:isCameraPrivacyEnabled (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricCameraManager.java31 boolean isCameraPrivacyEnabled(); in isCameraPrivacyEnabled() method
DBiometricCameraManagerImpl.java64 public boolean isCameraPrivacyEnabled() { in isCameraPrivacyEnabled() method in BiometricCameraManagerImpl
DPreAuthInfo.java203 if (biometricCameraManager.isCameraPrivacyEnabled()) { in getStatusForBiometricAuthenticator()
323 cameraPrivacyEnabled = mBiometricCameraManager.isCameraPrivacyEnabled(); in getInternalStatus()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DIndividualSensorPrivacyControllerImpl.java113 public boolean isCameraPrivacyEnabled(String packageName) { in isCameraPrivacyEnabled() method in IndividualSensorPrivacyControllerImpl
114 return mSensorPrivacyManager.isCameraPrivacyEnabled(packageName); in isCameraPrivacyEnabled()
DIndividualSensorPrivacyController.java52 boolean isCameraPrivacyEnabled(String packageName); in isCameraPrivacyEnabled() method
/frameworks/native/libs/sensorprivacy/
DSensorPrivacyManager.cpp168 bool SensorPrivacyManager::isCameraPrivacyEnabled(String16 packageName){ in isCameraPrivacyEnabled() function in android::SensorPrivacyManager
172 service->isCameraPrivacyEnabled(packageName, &result); in isCameraPrivacyEnabled()
/frameworks/native/libs/sensorprivacy/aidl/android/hardware/
DISensorPrivacyManager.aidl53 boolean isCameraPrivacyEnabled(String packageName); in isCameraPrivacyEnabled() method
/frameworks/base/core/java/android/hardware/
DISensorPrivacyManager.aidl62 boolean isCameraPrivacyEnabled(String packageName); in isCameraPrivacyEnabled() method
DSensorPrivacyManager.java737 public boolean isCameraPrivacyEnabled(@NonNull String packageName) { in isCameraPrivacyEnabled() method in SensorPrivacyManager
739 return mService.isCameraPrivacyEnabled(packageName); in isCameraPrivacyEnabled()
/frameworks/native/libs/sensorprivacy/include/sensorprivacy/
DSensorPrivacyManager.h64 bool isCameraPrivacyEnabled(String16 packageName);
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DPreAuthInfoTest.java92 when(mBiometricCameraManager.isCameraPrivacyEnabled()).thenReturn(false); in setup()
98 when(mBiometricCameraManager.isCameraPrivacyEnabled()).thenReturn(true); in testFaceAuthentication_whenCameraPrivacyIsEnabled()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2339 bool CameraService::isCameraPrivacyEnabled(const String16& packageName, const std::string& cam_id, in isCameraPrivacyEnabled() function in android::CameraService
2342 return mSensorPrivacyPolicy->isCameraPrivacyEnabled(); in isCameraPrivacyEnabled()
2353 if (mSensorPrivacyPolicy->isCameraPrivacyEnabled(packageName)) { in isCameraPrivacyEnabled()
2659 bool isCameraPrivacyEnabled; in connectHelper() local
2662 isCameraPrivacyEnabled = this->isCameraPrivacyEnabled( in connectHelper()
2665 isCameraPrivacyEnabled = in connectHelper()
2666 mSensorPrivacyPolicy->isCameraPrivacyEnabled(); in connectHelper()
2671 mOverrideCameraMuteMode || isCameraPrivacyEnabled); in connectHelper()
2672 } else if (isCameraPrivacyEnabled) { in connectHelper()
4275 bool isCameraPrivacyEnabled; in handleAppOpMode() local
[all …]
DCameraService.h901 bool isCameraPrivacyEnabled();
903 bool isCameraPrivacyEnabled(const String16& packageName);
957 bool isCameraPrivacyEnabled(const String16& packageName,const std::string& cameraId,
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserPermissionManager.java202 boolean isCameraPrivacyEnabled = mSensorPrivacyMgrInternal.isSensorPrivacyEnabled( in hasPermission()
205 Slog.d(TAG, "isCameraPrivacyEnabled: " + isCameraPrivacyEnabled); in hasPermission()
207 if (isCameraPrivacyEnabled || !isCameraPermissionGranted(packageName, pid, uid)) { in hasPermission()
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/
DSensorUseStartedActivity.kt224 return sensorPrivacyController.isCameraPrivacyEnabled(packageName) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthController.java1070 boolean isCameraPrivacyEnabled = false; in onBiometricError()
1074 isCameraPrivacyEnabled = true; in onBiometricError()
1080 || isCameraPrivacyEnabled); in onBiometricError()
1094 if (isCameraPrivacyEnabled) { in onBiometricError()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyService.java440 if (!isCameraPrivacyEnabled(packageName)) { in onSensorUseStarted()
979 public boolean isCameraPrivacyEnabled(String packageName) { in isCameraPrivacyEnabled() method in SensorPrivacyService.SensorPrivacyServiceImpl
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java4868 && mSensorPrivacyManager.isCameraPrivacyEnabled(packageName)) { in isOpRestrictedLocked()
/frameworks/base/core/api/
Dsystem-current.txt4855 …droid.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public boolean isCameraPrivacyEnabled(@NonNull S…