Home
last modified time | relevance | path

Searched refs:BaseSensorObject (Results 1 – 11 of 11) sorted by relevance

/hardware/libhardware/modules/sensors/dynamic_sensor/
DBaseSensorObject.cpp26 BaseSensorObject::BaseSensorObject() : mCallback(nullptr) { in BaseSensorObject() function in android::SensorHalExt::BaseSensorObject
29 bool BaseSensorObject::setEventCallback(SensorEventCallback* callback) { in setEventCallback()
37 void BaseSensorObject::getUuid(uint8_t* uuid) const { in getUuid()
42 int BaseSensorObject::flush() { in flush()
51 void BaseSensorObject::generateEvent(const sensors_event_t &e) { in generateEvent()
DBaseSensorObject.h31 class BaseSensorObject : virtual public REF_BASE(BaseSensorObject) { in REF_BASE() argument
33 BaseSensorObject(); in REF_BASE()
34 virtual ~BaseSensorObject() = default; in REF_BASE()
DDynamicSensorManager.h50 bool registerSensor(sp<BaseSensorObject> sensor);
51 void unregisterSensor(sp<BaseSensorObject> sensor);
65 virtual int submitEvent(sp<BaseSensorObject>, const sensors_event_t &e) override;
76 ConnectionReport(int handle, sp<BaseSensorObject> sensor);
103 sp<BaseSensorObject> s = i->second.promote(); in operateSensor()
126 std::unordered_map<int, wp<BaseSensorObject>> mMap;
DSensorEventCallback.h25 class BaseSensorObject; variable
32 virtual int submitEvent(SP(BaseSensorObject) sensor, const sensors_event_t &e) = 0;
DDynamicSensorManager.cpp90 [&enable] (sp<BaseSensorObject> s)->int { in activate()
101 [&sample_period, &batch_period] (sp<BaseSensorObject> s)->int { in batch()
121 return operateSensor(handle, [] (sp<BaseSensorObject> s)->int {return s->flush();}); in flush()
130 bool DynamicSensorManager::registerSensor(sp<BaseSensorObject> sensor) { in registerSensor()
157 void DynamicSensorManager::unregisterSensor(sp<BaseSensorObject> sensor) { in unregisterSensor()
178 int DynamicSensorManager::submitEvent(sp<BaseSensorObject> source, const sensors_event_t &e) { in submitEvent()
239 int handle, sp<BaseSensorObject> sensor) : in ConnectionReport()
DAndroid.bp36 "BaseSensorObject.cpp",
114 "BaseSensorObject.cpp",
131 "BaseSensorObject.cpp",
DBaseDynamicSensorDaemon.h31 typedef std::vector<sp<BaseSensorObject>> BaseSensorVector;
DDummyDynamicAccelDaemon.h42 class DummySensor : public BaseSensorObject, public Thread {
DHidRawSensorDevice.cpp114 std::set<sp<BaseSensorObject>> set; in getSensors()
DHidRawSensor.h33 class HidRawSensor : public BaseSensorObject {
/hardware/libhardware/modules/sensors/dynamic_sensor/test/
DHidRawDeviceTest.cpp85 virtual int submitEvent(SP(BaseSensorObject) /*sensor*/, const sensors_event_t &e) { in test() argument