/frameworks/base/services/core/java/com/android/server/sensorprivacy/ |
D | SensorPrivacyStateController.java | 41 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()
|
D | SensorPrivacyStateControllerImpl.java | 50 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()
|
D | PersistedState.java | 221 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()
|
D | SensorPrivacyService.java | 703 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/ |
D | SensorPrivacyManager.cpp | 58 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/ |
D | ISensorPrivacyManager.aidl | 23 boolean supportsSensorToggle(int toggleType, int sensor); in supportsSensorToggle() 37 boolean isToggleSensorPrivacyEnabled(int toggleType, int sensor); in isToggleSensorPrivacyEnabled()
|
D | ISensorPrivacyListener.aidl | 23 void onSensorPrivacyChanged(int toggleType, int sensor, boolean enabled); in onSensorPrivacyChanged()
|
/frameworks/base/core/java/android/hardware/ |
D | ISensorPrivacyListener.aidl | 27 void onSensorPrivacyChanged(int toggleType, int sensor, boolean enabled); in onSensorPrivacyChanged()
|
D | ISensorPrivacyManager.aidl | 27 boolean supportsSensorToggle(int toggleType, int sensor); in supportsSensorToggle() 41 boolean isToggleSensorPrivacyEnabled(int toggleType, int sensor); in isToggleSensorPrivacyEnabled()
|
D | SensorPrivacyManager.java | 256 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/ |
D | IndividualSensorPrivacyControllerImpl.java | 114 private void onSensorPrivacyChanged(@Sensor int sensor, @ToggleType int toggleType, in onSensorPrivacyChanged()
|