Searched refs:BaseSensorObject (Results 1 – 13 of 13) sorted by relevance
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | BaseSensorObject.cpp | 26 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() 52 void BaseSensorObject::generateEvent(const sensors_event_t &e) { in generateEvent()
|
D | BaseSensorObject.h | 31 class BaseSensorObject : virtual public REF_BASE(BaseSensorObject) { in REF_BASE() argument 33 BaseSensorObject(); in REF_BASE() 34 virtual ~BaseSensorObject() = default; in REF_BASE()
|
D | DynamicSensorManager.h | 52 bool registerSensor(sp<BaseSensorObject> sensor); 53 void unregisterSensor(sp<BaseSensorObject> sensor); 67 virtual int submitEvent(sp<BaseSensorObject>, const sensors_event_t &e) override; 78 ConnectionReport(int handle, sp<BaseSensorObject> sensor); 100 using OperateSensorFunc = std::function<int(sp<BaseSensorObject>)>; 121 std::unordered_map<int, wp<BaseSensorObject>> mMap;
|
D | SensorEventCallback.h | 25 class BaseSensorObject; variable 32 virtual int submitEvent(SP(BaseSensorObject) sensor, const sensors_event_t &e) = 0;
|
D | DynamicSensorManager.cpp | 90 [=] (sp<BaseSensorObject> s)->int { in activate() 101 [=] (sp<BaseSensorObject> s)->int { in batch() 125 return operateSensor(handle, [] (sp<BaseSensorObject> s)->int {return s->flush();}); in flush() 134 bool DynamicSensorManager::registerSensor(sp<BaseSensorObject> sensor) { in registerSensor() 161 void DynamicSensorManager::unregisterSensor(sp<BaseSensorObject> sensor) { in unregisterSensor() 182 int DynamicSensorManager::submitEvent(sp<BaseSensorObject> source, const sensors_event_t &e) { in submitEvent() 289 sp<BaseSensorObject> sensor; in operateSensor() 324 int handle, sp<BaseSensorObject> sensor) : in ConnectionReport()
|
D | BaseDynamicSensorDaemon.h | 31 typedef std::vector<sp<BaseSensorObject>> BaseSensorVector;
|
D | Android.bp | 54 "BaseSensorObject.cpp", 148 "BaseSensorObject.cpp", 165 "BaseSensorObject.cpp",
|
D | DummyDynamicAccelDaemon.h | 42 class DummySensor : public BaseSensorObject, public Thread {
|
D | HidRawSensorDevice.cpp | 124 std::set<sp<BaseSensorObject>> set; in getSensors()
|
D | DynamicSensorsSubHal.h | 70 int submitEvent(SP(BaseSensorObject) sensor,
|
D | HidRawSensor.h | 33 class HidRawSensor : public BaseSensorObject {
|
D | DynamicSensorsSubHal.cpp | 166 int DynamicSensorsSubHal::submitEvent(SP(BaseSensorObject) sensor, in submitEvent()
|
/hardware/libhardware/modules/sensors/dynamic_sensor/test/ |
D | HidRawDeviceTest.cpp | 84 virtual int submitEvent(SP(BaseSensorObject) /*sensor*/, const sensors_event_t &e) { in test() argument
|