Searched refs:mSensorPrivacyPolicy (Results 1 – 7 of 7) sorted by relevance
97 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()
422 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy; variable
441 && !mService->mSensorPrivacyPolicy->isSensorPrivacyEnabled(); in hasSensorAccess()
88 mSensorPrivacyPolicy = sensorPrivacyPolicy; in onFirstRef()106 mSensorPrivacyPolicy->unregisterSelf(); in ~AudioPolicyService()109 mSensorPrivacyPolicy.clear(); in ~AudioPolicyService()472 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in updateUidStates_l()
899 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy GUARDED_BY(mLock);
171 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()
670 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy; variable