Home
last modified time | relevance | path

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

/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
Dinv_gesture_test.c70 char *pedometer_steps; member
224 sprintf(mpu.pedometer_steps, "%s%s", sysfs_path, "/pedometer_steps"); in inv_init_sysfs_attributes()
405 int pedometer_steps; in pedometer_handler() local
412 fp = fopen(mpu.pedometer_steps, "rt"); in pedometer_handler()
413 fscanf(fp, "%d\n", &pedometer_steps); in pedometer_handler()
422 pedometer_steps, pedometer_time); in pedometer_handler()
423 if (pedometer_steps > 10 in pedometer_handler()
428 } else if (last_pedometer_steps != pedometer_steps in pedometer_handler()
431 pedometer_steps, pedometer_time); in pedometer_handler()
434 last_pedometer_steps = pedometer_steps; in pedometer_handler()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c405 int pedometer_steps; in handle_pedometer() local
418 pedometer_steps = read_sysfs_posint("pedometer_steps", dev_dir_name); in handle_pedometer()
425 pedometer_steps, pedometer_time); in handle_pedometer()
426 if (pedometer_steps > 10 in handle_pedometer()
432 } else if (last_pedometer_steps != pedometer_steps in handle_pedometer()
437 pedometer_steps, pedometer_time); in handle_pedometer()
441 last_pedometer_steps = pedometer_steps; in handle_pedometer()
/hardware/invensense/65xx/libsensors_iio/
DMPLSensor.h519 char *pedometer_steps; member
DMPLSensor.cpp5132 sprintf(mpu.pedometer_steps, "%s%s", sysfs_path, in inv_init_sysfs_attributes()
5916 fp = fopen(mpu.pedometer_steps, "r"); in readDmpPedometerEvents()
/hardware/invensense/6515/libsensors_iio/
DMPLSensor.h521 char *pedometer_steps; member
DMPLSensor.cpp5493 sprintf(mpu.pedometer_steps, "%s%s", sysfs_path,
6447 fp = fopen(mpu.pedometer_steps, "r");