Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorService.cpp97 mSensorPrivacyPolicy = new SensorPrivacyPolicy(this); in SensorService()
297 mSensorPrivacyPolicy->registerSelf(); in onFirstRef()
327 return !mSensorPrivacyPolicy->isSensorPrivacyEnabled() in hasSensorAccessLocked()
366 mSensorPrivacyPolicy->unregisterSelf(); in ~SensorService()
493 mSensorPrivacyPolicy->isSensorPrivacyEnabled() ? "enabled" : "disabled"); in dump()
617 proto.write(SENSOR_PRIVACY, mSensorPrivacyPolicy->isSensorPrivacyEnabled()); in dumpProtoLocked()
682 if (mCurrentOperatingMode == RESTRICTED || mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in enableAllSensorsLocked()
685 mSensorPrivacyPolicy->isSensorPrivacyEnabled() ? "enabled" : "disabled"); in enableAllSensorsLocked()
1281 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in createSensorDirectConnection()
DSensorService.h422 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy; variable
DSensorEventConnection.cpp441 && !mService->mSensorPrivacyPolicy->isSensorPrivacyEnabled(); in hasSensorAccess()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp88 mSensorPrivacyPolicy = sensorPrivacyPolicy; in onFirstRef()
106 mSensorPrivacyPolicy->unregisterSelf(); in ~AudioPolicyService()
109 mSensorPrivacyPolicy.clear(); in ~AudioPolicyService()
472 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in updateUidStates_l()
DAudioPolicyService.h899 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy GUARDED_BY(mLock);
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp171 mSensorPrivacyPolicy = new SensorPrivacyPolicy(this); in onFirstRef()
172 mSensorPrivacyPolicy->registerSelf(); in onFirstRef()
266 mSensorPrivacyPolicy->unregisterSelf(); in ~CameraService()
1181 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in validateClientPermissionsLocked()
2001 mSensorPrivacyPolicy->registerSelf(); in notifySystemEvent()
DCameraService.h670 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy; variable