Searched refs:mSensorPrivacyPolicy (Results 1 – 7 of 7) sorted by relevance
136 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()
510 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy; variable
443 && !mService->mSensorPrivacyPolicy->isSensorPrivacyEnabled(); in hasSensorAccess()
186 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()
790 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy; variable
262 mSensorPrivacyPolicy = sensorPrivacyPolicy; in onFirstRef()310 mSensorPrivacyPolicy->unregisterSelf(); in ~AudioPolicyService()313 mSensorPrivacyPolicy.clear(); in ~AudioPolicyService()861 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in updateUidStates_l()
1052 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy GUARDED_BY(mLock);