Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSensorPrivacyController.java33 boolean isSensorPrivacyEnabled(); in isSensorPrivacyEnabled() method
DSensorPrivacyControllerImpl.java55 public boolean isSensorPrivacyEnabled() { in isSensorPrivacyEnabled() method in SensorPrivacyControllerImpl
DIndividualSensorPrivacyControllerImpl.java51 mState.put(sensor, mSensorPrivacyManager.isSensorPrivacyEnabled(sensor)); in init()
/frameworks/base/core/java/android/hardware/
DSensorPrivacyManagerInternal.java49 public abstract boolean isSensorPrivacyEnabled(int userId, int sensor); in isSensorPrivacyEnabled() method in SensorPrivacyManagerInternal
DSensorPrivacyManager.java384 public boolean isSensorPrivacyEnabled(@Sensors.Sensor int sensor) { in isSensorPrivacyEnabled() method in SensorPrivacyManager
385 return isSensorPrivacyEnabled(sensor, UserHandle.USER_CURRENT); in isSensorPrivacyEnabled()
396 public boolean isSensorPrivacyEnabled(@Sensors.Sensor int sensor, @UserIdInt int userId) { in isSensorPrivacyEnabled() method in SensorPrivacyManager
628 return mService.isSensorPrivacyEnabled(); in isAllSensorPrivacyEnabled()
DISensorPrivacyManager.aidl38 boolean isSensorPrivacyEnabled(); in isSensorPrivacyEnabled() method
/frameworks/native/libs/sensorprivacy/
DSensorPrivacyManager.cpp112 bool SensorPrivacyManager::isSensorPrivacyEnabled() in isSensorPrivacyEnabled() function in android::SensorPrivacyManager
117 service->isSensorPrivacyEnabled(&result); in isSensorPrivacyEnabled()
/frameworks/native/libs/sensorprivacy/aidl/android/hardware/
DISensorPrivacyManager.aidl33 boolean isSensorPrivacyEnabled(); in isSensorPrivacyEnabled() method
/frameworks/native/libs/sensorprivacy/include/sensorprivacy/
DSensorPrivacyManager.h47 bool isSensorPrivacyEnabled();
/frameworks/native/services/sensorservice/
DSensorService.cpp342 return !mSensorPrivacyPolicy->isSensorPrivacyEnabled() in hasSensorAccessLocked()
511 mSensorPrivacyPolicy->isSensorPrivacyEnabled() ? "enabled" : "disabled"); in dump()
635 proto.write(SENSOR_PRIVACY, mSensorPrivacyPolicy->isSensorPrivacyEnabled()); in dumpProtoLocked()
704 if (mCurrentOperatingMode == RESTRICTED || mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in enableAllSensorsLocked()
707 mSensorPrivacyPolicy->isSensorPrivacyEnabled() ? "enabled" : "disabled"); in enableAllSensorsLocked()
1349 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in createSensorDirectConnection()
2236 mSensorPrivacyEnabled = spm.isSensorPrivacyEnabled(); in registerSelf()
2251 bool SensorService::SensorPrivacyPolicy::isSensorPrivacyEnabled() { in isSensorPrivacyEnabled() function in android::SensorService::SensorPrivacyPolicy
2305 return mMicSensorPrivacyPolicies[userId]->isSensorPrivacyEnabled(); in isMicSensorPrivacyEnabledForUid()
DSensorService.h250 bool isSensorPrivacyEnabled();
DSensorEventConnection.cpp443 && !mService->mSensorPrivacyPolicy->isSensorPrivacyEnabled(); in hasSensorAccess()
/frameworks/base/services/core/java/com/android/server/rotationresolver/
DRotationResolverManagerService.java166 final boolean isCameraAvailable = !mPrivacyManager.isSensorPrivacyEnabled( in resolveRotation()
/frameworks/base/services/core/java/com/android/server/
DSensorPrivacyService.java882 public boolean isSensorPrivacyEnabled() { in isSensorPrivacyEnabled() method in SensorPrivacyService.SensorPrivacyServiceImpl
884 return isSensorPrivacyEnabled(USER_SYSTEM); in isSensorPrivacyEnabled()
887 private boolean isSensorPrivacyEnabled(@UserIdInt int userId) { in isSensorPrivacyEnabled() method in SensorPrivacyService.SensorPrivacyServiceImpl
1106 null, XML_ATTRIBUTE_ENABLED, isSensorPrivacyEnabled(userId)); in persistSensorPrivacyStateLocked()
1836 public boolean isSensorPrivacyEnabled(int userId, int sensor) { in isSensorPrivacyEnabled() method in SensorPrivacyService.SensorPrivacyManagerInternalImpl
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserPermissionManager.java199 boolean isCameraPrivacyEnabled = mSensorPrivacyMgrInternal.isSensorPrivacyEnabled( in hasPermission()
210 if (device.getHasAudioCapture() && mSensorPrivacyMgrInternal.isSensorPrivacyEnabled( in hasPermission()
/frameworks/base/services/core/java/com/android/server/attention/
DAttentionManagerService.java255 if (mPrivacyManager.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.CAMERA)) { in checkAttention()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp590 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in updateUidStates_l()
1407 mSensorPrivacyEnabled = spm.isSensorPrivacyEnabled(); in registerSelf()
1424 bool AudioPolicyService::SensorPrivacyPolicy::isSensorPrivacyEnabled() { in isSensorPrivacyEnabled() function in android::AudioPolicyService::SensorPrivacyPolicy
DAudioPolicyService.h452 bool isSensorPrivacyEnabled();
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubService.java1100 boolean isEnabled = mSensorPrivacyManagerInternal.isSensorPrivacyEnabled(
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java323 mSensorPrivacyController.isSensorPrivacyEnabled()); in init()
/frameworks/av/services/camera/libcameraservice/
DCameraService.h699 bool isSensorPrivacyEnabled();
DCameraService.cpp1231 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in validateClientPermissionsLocked()
3622 mSensorPrivacyEnabled = mSpm.isSensorPrivacyEnabled(); in registerSelf()
3638 bool CameraService::SensorPrivacyPolicy::isSensorPrivacyEnabled() { in isSensorPrivacyEnabled() function in android::CameraService::SensorPrivacyPolicy
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskSupervisor.java1234 final boolean cameraPrivacyEnabled = spmi.isSensorPrivacyEnabled( in getActionRestrictionForCallingPackage()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java7859 .isSensorPrivacyEnabled(getCurrentUserId(), in onReceive()
/frameworks/base/core/api/
Dsystem-current.txt3121 …ion(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY) public boolean isSensorPrivacyEnabled(int);

12