Home
last modified time | relevance | path

Searched refs:mSensorPrivacyPolicy (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorService.cpp136 mSensorPrivacyPolicy = new SensorPrivacyPolicy(this); in SensorService()
372 mSensorPrivacyPolicy->registerSelf(); in onFirstRef()
406 return !mSensorPrivacyPolicy->isSensorPrivacyEnabled() in hasSensorAccessLocked()
445 mSensorPrivacyPolicy->unregisterSelf(); in ~SensorService()
573 mSensorPrivacyPolicy->isSensorPrivacyEnabled() ? "enabled" : "disabled"); in dump()
697 proto.write(SENSOR_PRIVACY, mSensorPrivacyPolicy->isSensorPrivacyEnabled()); in dumpProtoLocked()
763 if (mCurrentOperatingMode == RESTRICTED || mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in enableAllSensorsLocked()
766 mSensorPrivacyPolicy->isSensorPrivacyEnabled() ? "enabled" : "disabled"); in enableAllSensorsLocked()
1411 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in createSensorDirectConnection()
DSensorService.h510 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy; variable
DSensorEventConnection.cpp443 && !mService->mSensorPrivacyPolicy->isSensorPrivacyEnabled(); in hasSensorAccess()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp186 mSensorPrivacyPolicy = new SensorPrivacyPolicy(this); in onFirstRef()
187 mSensorPrivacyPolicy->registerSelf(); in onFirstRef()
286 mSensorPrivacyPolicy->unregisterSelf(); in ~CameraService()
1309 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in validateClientPermissionsLocked()
2014 mSensorPrivacyPolicy->isCameraPrivacyEnabled(); in connectHelper()
2459 mSensorPrivacyPolicy->registerSelf(); in notifySystemEvent()
3507 sCameraService->mSensorPrivacyPolicy->isCameraPrivacyEnabled(); in handleAppOpMode()
3689 sCameraService->mSensorPrivacyPolicy->isCameraPrivacyEnabled(); in opChanged()
DCameraService.h790 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy; variable
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp262 mSensorPrivacyPolicy = sensorPrivacyPolicy; in onFirstRef()
310 mSensorPrivacyPolicy->unregisterSelf(); in ~AudioPolicyService()
313 mSensorPrivacyPolicy.clear(); in ~AudioPolicyService()
861 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in updateUidStates_l()
DAudioPolicyService.h1052 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy GUARDED_BY(mLock);