/frameworks/base/services/core/java/com/android/server/sensorprivacy/ |
D | SensorPrivacyStateController.java | 43 SensorState getState(int toggleType, int userId, int sensor) { in getState() 49 void setState(int toggleType, int userId, int sensor, boolean enabled, Handler callbackHandler, in setState() 57 void setState(int toggleType, int userId, int sensor, int state, Handler callbackHandler, in setState() 118 void onSensorPrivacyChanged(int toggleType, int userId, int sensor, SensorState state); in onSensorPrivacyChanged() 122 void accept(int toggleType, int userId, int sensor, SensorState state); in accept() 134 abstract SensorState getStateLocked(int toggleType, int userId, int sensor); in getStateLocked() 137 abstract void setStateLocked(int toggleType, int userId, int sensor, boolean enabled, in setStateLocked() 142 abstract void setStateLocked(int toggleType, int userId, int sensor, int state, in setStateLocked()
|
D | SensorPrivacyStateControllerImpl.java | 54 SensorState getStateLocked(int toggleType, int userId, int sensor) { in getStateLocked() 67 void setStateLocked(int toggleType, int userId, int sensor, boolean enabled, in setStateLocked() 94 void setStateLocked(int toggleType, int userId, int sensor, int state, in setStateLocked() 119 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 | 740 @SensorPrivacyManager.ToggleType int toggleType) { in showSensorStateChangedActivity() 846 private void setToggleSensorPrivacyStateUnchecked(int toggleType, int userId, int source, in setToggleSensorPrivacyStateUnchecked() 1009 public int getToggleSensorPrivacyState(int toggleType, int sensor) { in getToggleSensorPrivacyState() 1024 private void setToggleSensorPrivacyUnchecked(int toggleType, int userId, int source, in setToggleSensorPrivacyUnchecked() 1202 public boolean isToggleSensorPrivacyEnabled(int toggleType, int sensor) { in isToggleSensorPrivacyEnabled() 1223 private boolean isToggleSensorPrivacyEnabledInternal(int userId, int toggleType, in isToggleSensorPrivacyEnabledInternal() 1231 public boolean supportsSensorToggle(int toggleType, int sensor) { in supportsSensorToggle() 1711 public void handleSensorPrivacyChanged(int userId, int toggleType, int sensor, in handleSensorPrivacyChanged() 1745 public void handleSensorPrivacyChanged(int userId, int toggleType, int sensor, in handleSensorPrivacyChanged()
|
/frameworks/native/libs/sensorprivacy/aidl/android/hardware/ |
D | ISensorPrivacyListener.aidl | 23 void onSensorPrivacyChanged(int toggleType, int sensor, boolean enabled); in onSensorPrivacyChanged() 24 void onSensorPrivacyStateChanged(int toggleType, int sensor, int state); in onSensorPrivacyStateChanged()
|
D | ISensorPrivacyManager.aidl | 23 boolean supportsSensorToggle(int toggleType, int sensor); in supportsSensorToggle() 37 boolean isToggleSensorPrivacyEnabled(int toggleType, int sensor); in isToggleSensorPrivacyEnabled() 47 int getToggleSensorPrivacyState(int toggleType, int sensor); in getToggleSensorPrivacyState()
|
/frameworks/base/core/java/android/hardware/ |
D | ISensorPrivacyListener.aidl | 27 void onSensorPrivacyChanged(int toggleType, int sensor, boolean enabled); in onSensorPrivacyChanged() 28 void onSensorPrivacyStateChanged(int toggleType, int sensor, int state); in onSensorPrivacyStateChanged()
|
D | ISensorPrivacyManager.aidl | 27 boolean supportsSensorToggle(int toggleType, int sensor); in supportsSensorToggle() 41 boolean isToggleSensorPrivacyEnabled(int toggleType, int sensor); in isToggleSensorPrivacyEnabled() 53 int getToggleSensorPrivacyState(int toggleType, int sensor); in getToggleSensorPrivacyState()
|
D | SensorPrivacyManager.java | 285 private SensorPrivacyChangedParams(int toggleType, int sensor, int state) { in SensorPrivacyChangedParams() 296 private SensorPrivacyChangedParams(int toggleType, int sensor, boolean enabled) { in SensorPrivacyChangedParams() 456 public boolean supportsSensorToggle(@ToggleType int toggleType, @Sensors.Sensor int sensor) { in supportsSensorToggle() 677 public boolean isSensorPrivacyEnabled(@ToggleType int toggleType, in isSensorPrivacyEnabled() 717 public @StateTypes.StateType int getSensorPrivacyState(@ToggleType int toggleType, in getSensorPrivacyState()
|
/frameworks/native/libs/sensorprivacy/ |
D | SensorPrivacyManager.cpp | 43 bool SensorPrivacyManager::supportsSensorToggle(int toggleType, int sensor) { in supportsSensorToggle() 121 bool SensorPrivacyManager::isToggleSensorPrivacyEnabled(int toggleType, int sensor) in isToggleSensorPrivacyEnabled() 133 status_t SensorPrivacyManager::isToggleSensorPrivacyEnabled(int toggleType, int sensor, in isToggleSensorPrivacyEnabled() 146 int SensorPrivacyManager::getToggleSensorPrivacyState(int toggleType, int sensor) in getToggleSensorPrivacyState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | IndividualSensorPrivacyControllerImpl.java | 127 private void onSensorPrivacyChanged(@Sensor int sensor, @ToggleType int toggleType, in onSensorPrivacyChanged()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 4965 int toggleType, int sensor, bool enabled) { in onSensorPrivacyChanged()
|