Searched refs:SensorPrivacyPolicy (Results 1 – 6 of 6) sorted by relevance
241 class SensorPrivacyPolicy : public hardware::BnSensorPrivacyListener {243 explicit SensorPrivacyPolicy(wp<SensorService> service) in SensorPrivacyPolicy() function487 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy;495 std::map<userid_t, sp<SensorPrivacyPolicy>> mMicSensorPrivacyPolicies;
108 mSensorPrivacyPolicy = new SensorPrivacyPolicy(this); in SensorService()2233 void SensorService::SensorPrivacyPolicy::registerSelf() { in registerSelf()2240 void SensorService::SensorPrivacyPolicy::unregisterSelf() { in unregisterSelf()2251 bool SensorService::SensorPrivacyPolicy::isSensorPrivacyEnabled() { in isSensorPrivacyEnabled()2255 binder::Status SensorService::SensorPrivacyPolicy::onSensorPrivacyChanged(bool enabled) { in onSensorPrivacyChanged()2277 status_t SensorService::SensorPrivacyPolicy::registerSelfForIndividual(int userId) { in registerSelfForIndividual()2299 sp<SensorPrivacyPolicy> userPolicy = new SensorPrivacyPolicy(this); in isMicSensorPrivacyEnabledForUid()
133 sp<SensorPrivacyPolicy> sensorPrivacyPolicy = new SensorPrivacyPolicy(this); in onFirstRef()1405 void AudioPolicyService::SensorPrivacyPolicy::registerSelf() { in registerSelf()1411 void AudioPolicyService::SensorPrivacyPolicy::registerSelfForMicrophoneOnly(int userId) { in registerSelfForMicrophoneOnly()1419 void AudioPolicyService::SensorPrivacyPolicy::unregisterSelf() { in unregisterSelf()1424 bool AudioPolicyService::SensorPrivacyPolicy::isSensorPrivacyEnabled() { in isSensorPrivacyEnabled()1428 binder::Status AudioPolicyService::SensorPrivacyPolicy::onSensorPrivacyChanged(bool enabled) { in onSensorPrivacyChanged()
443 class SensorPrivacyPolicy : public hardware::BnSensorPrivacyListener {445 explicit SensorPrivacyPolicy(wp<AudioPolicyService> service) in SensorPrivacyPolicy() function977 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy GUARDED_BY(mLock);
690 class SensorPrivacyPolicy : public hardware::BnSensorPrivacyListener,693 explicit SensorPrivacyPolicy(wp<CameraService> service) in SensorPrivacyPolicy() function719 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy;
179 mSensorPrivacyPolicy = new SensorPrivacyPolicy(this); in onFirstRef()3615 void CameraService::SensorPrivacyPolicy::registerSelf() { in registerSelf()3630 void CameraService::SensorPrivacyPolicy::unregisterSelf() { in unregisterSelf()3638 bool CameraService::SensorPrivacyPolicy::isSensorPrivacyEnabled() { in isSensorPrivacyEnabled()3643 bool CameraService::SensorPrivacyPolicy::isCameraPrivacyEnabled(userid_t userId) { in isCameraPrivacyEnabled()3651 binder::Status CameraService::SensorPrivacyPolicy::onSensorPrivacyChanged(bool enabled) { in onSensorPrivacyChanged()3666 void CameraService::SensorPrivacyPolicy::binderDied(const wp<IBinder>& /*who*/) { in binderDied()3672 bool CameraService::SensorPrivacyPolicy::hasCameraPrivacyFeature() { in hasCameraPrivacyFeature()