Home
last modified time | relevance | path

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

/device/google/trout/hal/sensors/2.1/
DSensor.cpp38 SensorBase::SensorBase(int32_t sensorHandle, ISensorsEventCallback* callback, SensorType type) in SensorBase() function in android::hardware::sensors::V2_1::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()
132 Result SensorBase::flush() { in flush()
152 result = SensorBase::flush(); in flush()
221 bool SensorBase::isWakeUpSensor() { in isWakeUpSensor()
225 void SensorBase::setOperationMode(OperationMode mode) { in setOperationMode()
233 bool SensorBase::supportsDataInjection() const { in supportsDataInjection()
[all …]
DSensor.h73 class SensorBase {
75 SensorBase(int32_t sensorHandle, ISensorsEventCallback* callback, SensorType type);
76 virtual ~SensorBase();
105 class HWSensorBase : public SensorBase {
DSensorThread.h26 class SensorBase; variable
30 explicit SensorThread(SensorBase*);
48 SensorBase* mSensor;
DSensorThread.cpp22 SensorThread::SensorThread(SensorBase* sensor) in SensorThread()
DSensorsSubHal.h95 std::map<int32_t, std::unique_ptr<SensorBase>> mSensors;
DSensorsSubHal.cpp262 mSensors[sensor->getSensorInfo().sensorHandle] = std::unique_ptr<SensorBase>(sensor); in AddSensor()