Home
last modified time | relevance | path

Searched refs:SensorBase (Results 1 – 6 of 6) sorted by relevance

/device/google/trout/hal/sensors/2.0/
DSensorThread.h26 class SensorBase; variable
30 explicit SensorThread(SensorBase*);
48 SensorBase* mSensor;
DSensor.cpp38 SensorBase::SensorBase(int32_t sensorHandle, ISensorsEventCallback* callback, SensorType type) in SensorBase() function in android::hardware::sensors::V2_0::subhal::implementation::SensorBase
68 SensorBase::~SensorBase() { in ~SensorBase()
72 bool SensorBase::isEnabled() const { in isEnabled()
76 OperationMode SensorBase::getOperationMode() const { in getOperationMode()
84 const SensorInfo& SensorBase::getSensorInfo() const { in getSensorInfo()
130 Result SensorBase::flush() { in flush()
149 SensorBase::flush(); in flush()
218 bool SensorBase::isWakeUpSensor() { in isWakeUpSensor()
222 void SensorBase::setOperationMode(OperationMode mode) { in setOperationMode()
230 bool SensorBase::supportsDataInjection() const { in supportsDataInjection()
[all …]
DSensor.h70 class SensorBase {
72 SensorBase(int32_t sensorHandle, ISensorsEventCallback* callback, SensorType type);
73 virtual ~SensorBase();
102 class HWSensorBase : public SensorBase {
DSensorThread.cpp22 SensorThread::SensorThread(SensorBase* sensor) in SensorThread()
DSensorsSubHal.h91 std::map<int32_t, std::unique_ptr<SensorBase>> mSensors;
DSensorsSubHal.cpp256 mSensors[sensor->getSensorInfo().sensorHandle] = std::unique_ptr<SensorBase>(sensor); in AddSensor()