Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DTriState.h24 class TriState {
27 TriState() : mIsSet(false) { } in TriState() function
28 TriState(const TriState<T> &other) : mIsSet(other.mIsSet), mValue(other.mValue) { } in TriState() function
29 explicit TriState(const T &value) : mIsSet(true), mValue(value) { } in TriState() function
49 TriState<T>& operator=(const TriState<T> &other) {
55 TriState<T>& operator=(const T& value) {
61 TriState<T>& operator++() {
68 TriState<T> operator++(int) {
69 TriState<T> tmp(*this);
74 TriState<T>& operator--() {
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
DTriStateTest.cpp24 using HidUtil::TriState;
25 typedef TriState<uint32_t> tri_uint32_t;
26 typedef TriState<int32_t> tri_int32_t;
27 typedef TriState<int16_t> tri_int16_t;