Searched refs:SettableDeviceState (Results 1 – 2 of 2) sorted by relevance
65 private List<SettableDeviceState> mSettableDeviceStates;205 public List<SettableDeviceState> getSettableDeviceStates() { in getSettableDeviceStates()333 mSettableDeviceStates.add(new SettableDeviceState(deviceState, isSettable)); in loadDefaults()382 public static class SettableDeviceState { class in DeviceStateRotationLockSettingsManager386 SettableDeviceState(int deviceState, boolean isSettable) { in SettableDeviceState() method in DeviceStateRotationLockSettingsManager.SettableDeviceState404 if (!(o instanceof SettableDeviceState)) return false; in equals()405 SettableDeviceState that = (SettableDeviceState) o; in equals()
34 …ort com.android.settingslib.devicestate.DeviceStateRotationLockSettingsManager.SettableDeviceState;137 List<SettableDeviceState> settableDeviceStates = in getSettableDeviceStates_returnsExpectedValuesInOriginalOrder()142 new SettableDeviceState(/* deviceState= */ 2, /* isSettable= */ true), in getSettableDeviceStates_returnsExpectedValuesInOriginalOrder()143 new SettableDeviceState(/* deviceState= */ 1, /* isSettable= */ false), in getSettableDeviceStates_returnsExpectedValuesInOriginalOrder()144 new SettableDeviceState(/* deviceState= */ 0, /* isSettable= */ true) in getSettableDeviceStates_returnsExpectedValuesInOriginalOrder()