Home
last modified time | relevance | path

Searched refs:SensorInfo (Results 1 – 10 of 10) sorted by relevance

/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorManager.cpp27 using android::hardware::sensors::V1_0::SensorInfo;
356 return reinterpret_cast<const SensorInfo *>(sensor)->name.c_str(); in ASensor_getName()
361 return reinterpret_cast<const SensorInfo *>(sensor)->vendor.c_str(); in ASensor_getVendor()
367 reinterpret_cast<const SensorInfo *>(sensor)->type); in ASensor_getType()
372 return reinterpret_cast<const SensorInfo *>(sensor)->resolution; in ASensor_getResolution()
377 return reinterpret_cast<const SensorInfo *>(sensor)->minDelay; in ASensor_getMinDelay()
382 return reinterpret_cast<const SensorInfo *>(sensor)->fifoMaxEventCount; in ASensor_getFifoMaxEventCount()
387 return reinterpret_cast<const SensorInfo *>(sensor)->fifoReservedEventCount; in ASensor_getFifoReservedEventCount()
392 return reinterpret_cast<const SensorInfo *>(sensor)->typeAsString.c_str(); in ASensor_getStringType()
397 return reinterpret_cast<const SensorInfo *>(sensor)->maxRange; in ASensor_getMaxRange()
[all …]
DASensorManager.h59 using SensorInfo = android::hardware::sensors::V1_0::SensorInfo; member
68 android::hardware::hidl_vec<SensorInfo> mSensors;
DASensorEventQueue.cpp26 using android::hardware::sensors::V1_0::SensorInfo;
44 reinterpret_cast<const SensorInfo *>(sensor)->sensorHandle, in registerSensor()
77 reinterpret_cast<const SensorInfo *>(sensor)->sensorHandle); in disableSensor()
/frameworks/native/services/sensorservice/hidl/
Dutils.cpp29 using ::android::hardware::sensors::V1_0::SensorInfo;
31 SensorInfo convertSensor(const Sensor& src) { in convertSensor()
32 SensorInfo dst; in convertSensor()
Dutils.h30 ::android::hardware::sensors::V1_0::SensorInfo convertSensor(const ::android::Sensor &src);
DSensorManager.cpp41 using ::android::hardware::sensors::V1_0::SensorInfo;
74 hidl_vec<SensorInfo> ret; in getSensorList()
/frameworks/native/services/sensorservice/
DSensorDevice.h116 const hardware::hidl_vec<hardware::sensors::V2_1::SensorInfo> &dynamicSensorsAdded);
266 using SensorInfo = hardware::sensors::V2_1::SensorInfo; variable
272 const hardware::hidl_vec<SensorInfo> &dynamicSensorsAdded,
DSensorDevice.cpp98 using SensorInfo = ::android::hardware::sensors::V2_1::SensorInfo; typedef
101 const hidl_vec<SensorInfo> &dynamicSensorsAdded) override { in onDynamicSensorsConnected_2_1()
106 const hidl_vec<V1_0::SensorInfo> &dynamicSensorsAdded) override { in onDynamicSensorsConnected()
609 const hidl_vec<SensorInfo> &dynamicSensorsAdded) { in onDynamicSensorsConnected()
613 const SensorInfo &info = dynamicSensorsAdded[i]; in onDynamicSensorsConnected()
1169 const hidl_vec<SensorInfo> &dynamicSensorsAdded, in convertToSensorEventsAndQuantize()
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/
DVtsHalSensorManagerV1_0TargetTest.cpp47 using ::android::hardware::sensors::V1_0::SensorInfo;
109 android::base::Result<std::vector<SensorInfo>> GetSensorList( in GetSensorList()
110 const std::function<bool(SensorInfo)> &pred = nullptr) { in GetSensorList()
112 std::vector<SensorInfo> out_info; in GetSensorList()
/frameworks/hardware/interfaces/sensorservice/1.0/
DISensorManager.hal23 import android.hardware.sensors@1.0::SensorInfo;
40 getSensorList() generates (vec<SensorInfo> list, Result result);
51 generates (SensorInfo sensor, Result result);