Lines Matching refs:sensor
35 auto sensor = mSensors.find(in_sensorHandle); in activate() local
36 if (sensor != mSensors.end()) { in activate()
37 sensor->second->activate(in_enabled); in activate()
46 auto sensor = mSensors.find(in_sensorHandle); in batch() local
47 if (sensor != mSensors.end()) { in batch()
48 sensor->second->batch(in_samplingPeriodNs); in batch()
65 auto sensor = mSensors.find(in_sensorHandle); in flush() local
66 if (sensor != mSensors.end()) { in flush()
67 return sensor->second->flush(); in flush()
74 for (const auto& sensor : mSensors) { in getSensorsList() local
75 _aidl_return->push_back(sensor.second->getSensorInfo()); in getSensorsList()
91 for (auto sensor : mSensors) { in initialize() local
92 sensor.second->activate(false); in initialize()
129 auto sensor = mSensors.find(in_event.sensorHandle); in injectSensorData() local
130 if (sensor != mSensors.end()) { in injectSensorData()
131 return sensor->second->injectEvent(in_event); in injectSensorData()
144 for (auto sensor : mSensors) { in setOperationMode() local
145 sensor.second->setOperationMode(in_mode); in setOperationMode()