Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorService.cpp95 mSensorPrivacyPolicy = new SensorPrivacyPolicy(this); in SensorService()
296 mSensorPrivacyPolicy->registerSelf(); in onFirstRef()
349 mSensorPrivacyPolicy->unregisterSelf(); in ~SensorService()
474 mSensorPrivacyPolicy->isSensorPrivacyEnabled() ? "enabled" : "disabled"); in dump()
547 if (mCurrentOperatingMode == RESTRICTED || mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in enableAllSensorsLocked()
550 mSensorPrivacyPolicy->isSensorPrivacyEnabled() ? "enabled" : "disabled"); in enableAllSensorsLocked()
1168 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in createSensorDirectConnection()
DSensorService.h348 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy; variable
DSensorEventConnection.cpp387 return mHasSensorAccess && !mService->mSensorPrivacyPolicy->isSensorPrivacyEnabled(); in hasSensorAccess()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp160 mSensorPrivacyPolicy = new SensorPrivacyPolicy(this); in onFirstRef()
161 mSensorPrivacyPolicy->registerSelf(); in onFirstRef()
249 mSensorPrivacyPolicy->unregisterSelf(); in ~CameraService()
994 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in validateClientPermissionsLocked()
1684 mSensorPrivacyPolicy->registerSelf(); in notifySystemEvent()
DCameraService.h601 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy; variable
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h858 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy; variable