Searched refs:SensorPrivacyPolicy (Results 1 – 6 of 6) sorted by relevance
242 class SensorPrivacyPolicy : public hardware::BnSensorPrivacyListener {244 explicit SensorPrivacyPolicy(wp<SensorService> service) in SensorPrivacyPolicy() function488 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy;496 std::map<userid_t, sp<SensorPrivacyPolicy>> mMicSensorPrivacyPolicies;
108 mSensorPrivacyPolicy = new SensorPrivacyPolicy(this); in SensorService()2225 void SensorService::SensorPrivacyPolicy::registerSelf() { in registerSelf()2232 void SensorService::SensorPrivacyPolicy::unregisterSelf() { in unregisterSelf()2243 bool SensorService::SensorPrivacyPolicy::isSensorPrivacyEnabled() { in isSensorPrivacyEnabled()2247 binder::Status SensorService::SensorPrivacyPolicy::onSensorPrivacyChanged(bool enabled) { in onSensorPrivacyChanged()2269 status_t SensorService::SensorPrivacyPolicy::registerSelfForIndividual(int userId) { in registerSelfForIndividual()2291 sp<SensorPrivacyPolicy> userPolicy = new SensorPrivacyPolicy(this); in isMicSensorPrivacyEnabledForUid()
134 sp<SensorPrivacyPolicy> sensorPrivacyPolicy = new SensorPrivacyPolicy(this); in onFirstRef()1473 void AudioPolicyService::SensorPrivacyPolicy::registerSelf() { in registerSelf()1479 void AudioPolicyService::SensorPrivacyPolicy::registerSelfForMicrophoneOnly(int userId) { in registerSelfForMicrophoneOnly()1487 void AudioPolicyService::SensorPrivacyPolicy::unregisterSelf() { in unregisterSelf()1492 bool AudioPolicyService::SensorPrivacyPolicy::isSensorPrivacyEnabled() { in isSensorPrivacyEnabled()1496 binder::Status AudioPolicyService::SensorPrivacyPolicy::onSensorPrivacyChanged(bool enabled) { in onSensorPrivacyChanged()
460 class SensorPrivacyPolicy : public hardware::BnSensorPrivacyListener {462 explicit SensorPrivacyPolicy(wp<AudioPolicyService> service) in SensorPrivacyPolicy() function997 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()3619 void CameraService::SensorPrivacyPolicy::registerSelf() { in registerSelf()3634 void CameraService::SensorPrivacyPolicy::unregisterSelf() { in unregisterSelf()3642 bool CameraService::SensorPrivacyPolicy::isSensorPrivacyEnabled() { in isSensorPrivacyEnabled()3647 bool CameraService::SensorPrivacyPolicy::isCameraPrivacyEnabled(userid_t userId) { in isCameraPrivacyEnabled()3655 binder::Status CameraService::SensorPrivacyPolicy::onSensorPrivacyChanged(bool enabled) { in onSensorPrivacyChanged()3670 void CameraService::SensorPrivacyPolicy::binderDied(const wp<IBinder>& /*who*/) { in binderDied()3676 bool CameraService::SensorPrivacyPolicy::hasCameraPrivacyFeature() { in hasCameraPrivacyFeature()