Home
last modified time | relevance | path

Searched refs:HardwareSensor (Results 1 – 3 of 3) sorted by relevance

/aosp12/frameworks/native/services/sensorservice/
H A DSensorInterface.cpp45 HardwareSensor::HardwareSensor(const sensor_t& sensor): in HardwareSensor() function in android::HardwareSensor
49 HardwareSensor::HardwareSensor(const sensor_t& sensor, const uint8_t (&uuid)[16]): in HardwareSensor() function in android::HardwareSensor
53 HardwareSensor::~HardwareSensor() { in ~HardwareSensor()
56 bool HardwareSensor::process(sensors_event_t* outEvent, in process()
62 status_t HardwareSensor::activate(void* ident, bool enabled) { in activate()
66 status_t HardwareSensor::batch(void* ident, int /*handle*/, int flags, in batch()
72 status_t HardwareSensor::flush(void* ident, int handle) { in flush()
76 status_t HardwareSensor::setDelay(void* ident, int handle, int64_t ns) { in setDelay()
80 void HardwareSensor::autoDisable(void *ident, int handle) { in autoDisable()
91 : HardwareSensor(sensor), mSensorService(service) { in ProximitySensor()
[all …]
H A DSensorInterface.h77 class HardwareSensor : public BaseSensor {
79 explicit HardwareSensor(const sensor_t& sensor);
80 HardwareSensor(const sensor_t& sensor, const uint8_t (&uuid)[16]);
82 virtual ~HardwareSensor();
107 class ProximitySensor : public HardwareSensor {
H A DSensorService.cpp211 registerSensor(new HardwareSensor(list[i])); in onFirstRef()
1038 SensorInterface *si = new HardwareSensor(s, uuid); in threadLoop()