Home
last modified time | relevance | path

Searched defs:toggleType (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyStateController.java41 SensorState getState(int toggleType, int userId, int sensor) { in getState()
47 void setState(int toggleType, int userId, int sensor, boolean enabled, Handler callbackHandler, in setState()
108 void onSensorPrivacyChanged(int toggleType, int userId, int sensor, SensorState state); in onSensorPrivacyChanged()
112 void accept(int toggleType, int userId, int sensor, SensorState state); in accept()
124 abstract SensorState getStateLocked(int toggleType, int userId, int sensor); in getStateLocked()
127 abstract void setStateLocked(int toggleType, int userId, int sensor, boolean enabled, in setStateLocked()
DSensorPrivacyStateControllerImpl.java50 SensorState getStateLocked(int toggleType, int userId, int sensor) { in getStateLocked()
63 void setStateLocked(int toggleType, int userId, int sensor, boolean enabled, in setStateLocked()
88 private void notifyStateChangeLocked(int toggleType, int userId, int sensor, in notifyStateChangeLocked()
DPersistedState.java221 int toggleType = parser.getAttributeInt(null, XML_ATTRIBUTE_TOGGLE_TYPE); in readPVersion2() local
234 public SensorState getState(int toggleType, int userId, int sensor) { in getState()
238 public SensorState setState(int toggleType, int userId, int sensor, SensorState sensorState) { in setState()
331 int toggleType = mStates.keyAt(i).mType; in dump() local
356 int toggleType = userStates.valueAt(j).first; in dump() local
489 private void addState(int toggleType, int userId, int sensor, int state, in addState()
DSensorPrivacyService.java703 private void setToggleSensorPrivacyUnchecked(int toggleType, int userId, int source, in setToggleSensorPrivacyUnchecked()
865 public boolean isToggleSensorPrivacyEnabled(int toggleType, int sensor) { in isToggleSensorPrivacyEnabled()
886 private boolean isToggleSensorPrivacyEnabledInternal(int userId, int toggleType, in isToggleSensorPrivacyEnabledInternal()
894 public boolean supportsSensorToggle(int toggleType, int sensor) { in supportsSensorToggle()
1327 public void handleSensorPrivacyChanged(int userId, int toggleType, int sensor, in handleSensorPrivacyChanged()
/frameworks/native/libs/sensorprivacy/
DSensorPrivacyManager.cpp58 bool SensorPrivacyManager::supportsSensorToggle(int toggleType, int sensor) { in supportsSensorToggle()
136 bool SensorPrivacyManager::isToggleSensorPrivacyEnabled(int toggleType, int sensor) in isToggleSensorPrivacyEnabled()
148 status_t SensorPrivacyManager::isToggleSensorPrivacyEnabled(int toggleType, int sensor, in isToggleSensorPrivacyEnabled()
/frameworks/native/libs/sensorprivacy/aidl/android/hardware/
DISensorPrivacyManager.aidl23 boolean supportsSensorToggle(int toggleType, int sensor); in supportsSensorToggle()
37 boolean isToggleSensorPrivacyEnabled(int toggleType, int sensor); in isToggleSensorPrivacyEnabled()
DISensorPrivacyListener.aidl23 void onSensorPrivacyChanged(int toggleType, int sensor, boolean enabled); in onSensorPrivacyChanged()
/frameworks/base/core/java/android/hardware/
DISensorPrivacyListener.aidl27 void onSensorPrivacyChanged(int toggleType, int sensor, boolean enabled); in onSensorPrivacyChanged()
DISensorPrivacyManager.aidl27 boolean supportsSensorToggle(int toggleType, int sensor); in supportsSensorToggle()
41 boolean isToggleSensorPrivacyEnabled(int toggleType, int sensor); in isToggleSensorPrivacyEnabled()
DSensorPrivacyManager.java256 private SensorPrivacyChangedParams(int toggleType, int sensor, boolean enabled) { in SensorPrivacyChangedParams()
388 public boolean supportsSensorToggle(@ToggleType int toggleType, @Sensors.Sensor int sensor) { in supportsSensorToggle()
609 public boolean isSensorPrivacyEnabled(@ToggleType int toggleType, in isSensorPrivacyEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DIndividualSensorPrivacyControllerImpl.java114 private void onSensorPrivacyChanged(@Sensor int sensor, @ToggleType int toggleType, in onSensorPrivacyChanged()