Lines Matching refs:hwSensor
31 sensor_t hwSensor = {}; in getTestSensorT() local
32 hwSensor.name = "Test "; in getTestSensorT()
33 hwSensor.vendor = hwSensor.name; in getTestSensorT()
34 hwSensor.version = 1; in getTestSensorT()
35 hwSensor.handle = 2; in getTestSensorT()
36 hwSensor.type = SENSOR_TYPE_ACCELEROMETER; in getTestSensorT()
37 hwSensor.maxRange = 10.f; in getTestSensorT()
38 hwSensor.resolution = 1.f; in getTestSensorT()
39 hwSensor.power = 5.f; in getTestSensorT()
40 hwSensor.minDelay = 1000; in getTestSensorT()
41 hwSensor.fifoReservedEventCount = 50; in getTestSensorT()
42 hwSensor.fifoMaxEventCount = 100; in getTestSensorT()
43 hwSensor.stringType = SENSOR_STRING_TYPE_ACCELEROMETER; in getTestSensorT()
44 hwSensor.requiredPermission = ""; in getTestSensorT()
45 hwSensor.maxDelay = 5000; in getTestSensorT()
46 hwSensor.flags = SENSOR_FLAG_CONTINUOUS_MODE; in getTestSensorT()
47 return hwSensor; in getTestSensorT()
51 sensor_t hwSensor = getTestSensorT(); in main() local
52 Sensor sensor1(&hwSensor, SENSORS_DEVICE_API_VERSION_1_4); in main()