Searched refs:SensorPrivacyPolicy (Results 1 – 6 of 6) sorted by relevance
331 class SensorPrivacyPolicy : public hardware::BnSensorPrivacyListener {333 explicit SensorPrivacyPolicy(wp<SensorService> service) in SensorPrivacyPolicy() function357 class MicrophonePrivacyPolicy : public SensorPrivacyPolicy {360 : SensorPrivacyPolicy(service) {} in MicrophonePrivacyPolicy()589 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy;
167 mSensorPrivacyPolicy = new SensorPrivacyPolicy(this); in SensorService()2701 void SensorService::SensorPrivacyPolicy::registerSelf() { in registerSelf()2708 void SensorService::SensorPrivacyPolicy::unregisterSelf() { in unregisterSelf()2714 bool SensorService::SensorPrivacyPolicy::isSensorPrivacyEnabled() { in isSensorPrivacyEnabled()2718 binder::Status SensorService::SensorPrivacyPolicy::onSensorPrivacyChanged(int toggleType __unused, in onSensorPrivacyChanged()
885 class SensorPrivacyPolicy : public hardware::BnSensorPrivacyListener,890 explicit SensorPrivacyPolicy(wp<CameraService> service, in SensorPrivacyPolicy() function929 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy;
230 mSensorPrivacyPolicy = new SensorPrivacyPolicy(this, mAttributionAndPermissionUtils); in onFirstRef()4876 void CameraService::SensorPrivacyPolicy::registerWithSensorPrivacyManager() in registerWithSensorPrivacyManager()4900 void CameraService::SensorPrivacyPolicy::onServiceRegistration(const String16& name, in onServiceRegistration()4909 void CameraService::SensorPrivacyPolicy::registerSelf() { in registerSelf()4921 void CameraService::SensorPrivacyPolicy::unregisterSelf() { in unregisterSelf()4932 bool CameraService::SensorPrivacyPolicy::isSensorPrivacyEnabled() { in isSensorPrivacyEnabled()4941 int CameraService::SensorPrivacyPolicy::getCameraPrivacyState() { in getCameraPrivacyState()4950 bool CameraService::SensorPrivacyPolicy::isCameraPrivacyEnabled() { in isCameraPrivacyEnabled()4957 bool CameraService::SensorPrivacyPolicy::isCameraPrivacyEnabled(const String16& packageName) { in isCameraPrivacyEnabled()4964 binder::Status CameraService::SensorPrivacyPolicy::onSensorPrivacyChanged( in onSensorPrivacyChanged()[all …]
547 class SensorPrivacyPolicy : public hardware::BnSensorPrivacyListener {549 explicit SensorPrivacyPolicy(wp<AudioPolicyService> service) in SensorPrivacyPolicy() function1049 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy GUARDED_BY(mMutex);
288 auto sensorPrivacyPolicy = sp<SensorPrivacyPolicy>::make(this); in onFirstRef()1740 void AudioPolicyService::SensorPrivacyPolicy::registerSelf() { in registerSelf()1746 void AudioPolicyService::SensorPrivacyPolicy::unregisterSelf() { in unregisterSelf()1751 bool AudioPolicyService::SensorPrivacyPolicy::isSensorPrivacyEnabled() { in isSensorPrivacyEnabled()1755 binder::Status AudioPolicyService::SensorPrivacyPolicy::onSensorPrivacyChanged( in onSensorPrivacyChanged()