Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/utils/
DSensorPrivacyManagerHelper.java109 public boolean supportsSensorToggle(int sensor) { in supportsSensorToggle() method in SensorPrivacyManagerHelper
110 return mSensorPrivacyManager.supportsSensorToggle(sensor); in supportsSensorToggle()
/packages/apps/Settings/src/com/android/settings/privacy/
DCameraToggleController.java41 return mSensorPrivacyManagerHelper.supportsSensorToggle(getSensor()) in getAvailabilityStatus()
DMicToggleController.java41 return mSensorPrivacyManagerHelper.supportsSensorToggle(getSensor()) in getAvailabilityStatus()
/packages/apps/Car/Settings/src/com/android/car/settings/privacy/
DMuteMicTogglePreferenceController.java93 boolean hasFeatureMicToggle = mSensorPrivacyManager.supportsSensorToggle( in getAvailabilityStatus()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/
DPrivacyToggle.java84 return context.getSystemService(SensorPrivacyManager.class).supportsSensorToggle( in isPresentAndEnabled()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/privacy/
DMuteMicTogglePreferenceControllerTest.java168 .supportsSensorToggle(eq(SensorPrivacyManager.Sensors.MICROPHONE))) in setMicMuteFeatureAvailable()