Home
last modified time | relevance | path

Searched refs:TypeUserSensor (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DPersistedState.java76 private ArrayMap<TypeUserSensor, SensorState> mStates = new ArrayMap<>();
235 return mStates.get(new TypeUserSensor(toggleType, userId, sensor)); in getState()
239 return mStates.put(new TypeUserSensor(toggleType, userId, sensor), sensorState); in setState()
242 private static class TypeUserSensor { class in PersistedState
248 TypeUserSensor(int type, int userId, int sensor) { in TypeUserSensor() method in PersistedState.TypeUserSensor
254 TypeUserSensor(TypeUserSensor typeUserSensor) { in TypeUserSensor() method in PersistedState.TypeUserSensor
261 if (!(o instanceof TypeUserSensor)) return false; in equals()
262 TypeUserSensor that = (TypeUserSensor) o; in equals()
275 ArrayMap<TypeUserSensor, SensorState> statesCopy = new ArrayMap<>(); in schedulePersist()
277 statesCopy.put(new TypeUserSensor(mStates.keyAt(i)), in schedulePersist()
[all …]
/frameworks/base/services/
Dart-wear-profile22590 PLcom/android/server/sensorprivacy/PersistedState$TypeUserSensor;-><init>(III)V
22591 PLcom/android/server/sensorprivacy/PersistedState$TypeUserSensor;->hashCode()I