Searched refs:BaseSensorObject (Results 1 – 11 of 11) 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() 51 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 | 50 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;
|
D | SensorEventCallback.h | 25 class BaseSensorObject; variable 32 virtual int submitEvent(SP(BaseSensorObject) sensor, const sensors_event_t &e) = 0;
|
D | DynamicSensorManager.cpp | 90 [&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()
|
D | Android.bp | 36 "BaseSensorObject.cpp", 114 "BaseSensorObject.cpp", 131 "BaseSensorObject.cpp",
|
D | BaseDynamicSensorDaemon.h | 31 typedef std::vector<sp<BaseSensorObject>> BaseSensorVector;
|
D | DummyDynamicAccelDaemon.h | 42 class DummySensor : public BaseSensorObject, public Thread {
|
D | HidRawSensorDevice.cpp | 114 std::set<sp<BaseSensorObject>> set; in getSensors()
|
D | HidRawSensor.h | 33 class HidRawSensor : public BaseSensorObject {
|
/hardware/libhardware/modules/sensors/dynamic_sensor/test/ |
D | HidRawDeviceTest.cpp | 85 virtual int submitEvent(SP(BaseSensorObject) /*sensor*/, const sensors_event_t &e) { in test() argument
|