Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorService.cpp167 mSensorPrivacyPolicy = new SensorPrivacyPolicy(this); in SensorService()
500 mSensorPrivacyPolicy->registerSelf(); in onFirstRef()
534 return !mSensorPrivacyPolicy->isSensorPrivacyEnabled() in hasSensorAccessLocked()
575 mSensorPrivacyPolicy->unregisterSelf(); in ~SensorService()
682 mSensorPrivacyPolicy->isSensorPrivacyEnabled() ? "enabled" : "disabled"); in dump()
806 proto.write(SENSOR_PRIVACY, mSensorPrivacyPolicy->isSensorPrivacyEnabled()); in dumpProtoLocked()
872 if (mCurrentOperatingMode == RESTRICTED || mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in enableAllSensorsLocked()
875 mSensorPrivacyPolicy->isSensorPrivacyEnabled() ? "enabled" : "disabled"); in enableAllSensorsLocked()
1644 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in createSensorDirectConnection()
DSensorService.h589 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy; variable
DSensorEventConnection.cpp445 && !mService->mSensorPrivacyPolicy->isSensorPrivacyEnabled(); in hasSensorAccess()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp230 mSensorPrivacyPolicy = new SensorPrivacyPolicy(this, mAttributionAndPermissionUtils); in onFirstRef()
231 mSensorPrivacyPolicy->registerSelf(); in onFirstRef()
351 mSensorPrivacyPolicy->unregisterSelf(); in ~CameraService()
1809 mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in validateClientPermissionsLocked()
2342 return mSensorPrivacyPolicy->isCameraPrivacyEnabled(); in isCameraPrivacyEnabled()
2353 if (mSensorPrivacyPolicy->isCameraPrivacyEnabled(packageName)) { in isCameraPrivacyEnabled()
2355 } else if (mSensorPrivacyPolicy->getCameraPrivacyState() == SensorPrivacyManager::DISABLED) { in isCameraPrivacyEnabled()
2357 } else if (mSensorPrivacyPolicy->getCameraPrivacyState() in isCameraPrivacyEnabled()
2666 mSensorPrivacyPolicy->isCameraPrivacyEnabled(); in connectHelper()
3136 mSensorPrivacyPolicy->registerSelf(); in notifySystemEvent()
[all …]
DCameraService.h929 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy; variable
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp293 mSensorPrivacyPolicy = sensorPrivacyPolicy; in onFirstRef()
359 mSensorPrivacyPolicy->unregisterSelf(); in ~AudioPolicyService()
362 mSensorPrivacyPolicy.clear(); in ~AudioPolicyService()
908 if (mSensorPrivacyPolicy->isSensorPrivacyEnabled()) { in updateUidStates_l()
DAudioPolicyService.h1049 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy GUARDED_BY(mMutex);