Home
last modified time | relevance | path

Searched refs:SensorPrivacyPolicy (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorService.h331 class SensorPrivacyPolicy : public hardware::BnSensorPrivacyListener {
333 explicit SensorPrivacyPolicy(wp<SensorService> service) in SensorPrivacyPolicy() function
357 class MicrophonePrivacyPolicy : public SensorPrivacyPolicy {
360 : SensorPrivacyPolicy(service) {} in MicrophonePrivacyPolicy()
589 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy;
DSensorService.cpp167 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()
/frameworks/av/services/camera/libcameraservice/
DCameraService.h885 class SensorPrivacyPolicy : public hardware::BnSensorPrivacyListener,
890 explicit SensorPrivacyPolicy(wp<CameraService> service, in SensorPrivacyPolicy() function
929 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy;
DCameraService.cpp230 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 …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h547 class SensorPrivacyPolicy : public hardware::BnSensorPrivacyListener {
549 explicit SensorPrivacyPolicy(wp<AudioPolicyService> service) in SensorPrivacyPolicy() function
1049 sp<SensorPrivacyPolicy> mSensorPrivacyPolicy GUARDED_BY(mMutex);
DAudioPolicyService.cpp288 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()