Home
last modified time | relevance | path

Searched refs:sensorHandle (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/sensors/1.0/
DISensors.hal48 * @param sensorHandle is the handle of the sensor to change.
51 * @return result OK on success, BAD_VALUE if sensorHandle is invalid.
53 activate(int32_t sensorHandle, bool enabled) generates (Result result);
90 * @param sensorHandle handle of sensor to be changed.
96 batch(int32_t sensorHandle,
112 * @param sensorHandle handle of sensor to be flushed.
113 * @return result OK on success and BAD_VALUE if sensorHandle is invalid.
115 flush(int32_t sensorHandle) generates (Result result);
179 * @param sensorHandle handle of sensor to be configured. When combined
180 * with STOP rate, sensorHandle can be -1 to denote all active
[all …]
Dtypes.hal817 int32_t sensorHandle;
973 int32_t sensorHandle;
1212 int32_t sensorHandle;
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp151 if (!sensors->activate(i.sensorHandle, false).isOk()) { in resetHal()
295 .sensorHandle = token, in parseEvents()
512 int32_t sensorHandle, bool enabled);
515 int32_t sensorHandle, in batch() argument
518 return S()->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
521 Return<Result> flush(int32_t sensorHandle) { in flush() argument
522 return S()->flush(sensorHandle); in flush()
537 int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport() argument
539 return S()->configDirectReport(sensorHandle, channelHandle, rate, _hidl_cb); in configDirectReport()
595 Return<Result> SensorsHidlTest::activate(int32_t sensorHandle, bool enabled) { in activate() argument
[all …]
/hardware/interfaces/sensors/1.0/default/
Dconvert.cpp31 dst->sensorHandle = src.handle; in convertFromSensor()
51 dst->handle = src.sensorHandle; in convertToSensor()
71 .sensorHandle = src.sensor, in convertFromSensorEvent()
83 dst->sensorHandle = src.meta_data.sensor; in convertFromSensorEvent()
172 dst->u.dynamic.sensorHandle = src.dynamic_sensor_meta.handle; in convertFromSensorEvent()
213 .sensor = src.sensorHandle, in convertToSensorEvent()
225 dst->meta_data.sensor = src.sensorHandle; in convertToSensorEvent()
316 dst->dynamic_sensor_meta.handle = src.u.dynamic.sensorHandle; in convertToSensorEvent()
DSensors.h62 int32_t sensorHandle, int32_t channelHandle, RateLevel rate,
DSensors.cpp303 int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport() argument
321 sensorHandle, channelHandle, &cfg); in configDirectReport()