HomeSort by relevance Sort by last modified time
    Searched refs:tempFp (Results 1 - 3 of 3) sorted by null

  /hardware/invensense/65xx/libsensors_iio/
CompassSensor.IIO.primary.cpp 146 FILE *tempFp = NULL;
154 tempFp = fopen(compassSysFs.trigger_name, "r");
155 if (tempFp == NULL) {
158 if (fscanf(tempFp, "%s", iio_trigger_name) < 0) {
161 fclose(tempFp);
167 tempFp = fopen(compassSysFs.current_trigger, "w");
168 if (tempFp == NULL) {
171 if (fprintf(tempFp, "%s", iio_trigger_name) < 0 || fclose(tempFp) < 0) {
179 tempFp = fopen(compassSysFs.buffer_length, "w")
    [all...]
MPLSensor.cpp 636 FILE *tempFp = NULL;
643 tempFp = fopen(mpu.in_timestamp_en, "w");
644 if (tempFp == NULL) {
647 if(fprintf(tempFp, "%d", 1) < 0 || fclose(tempFp) < 0) {
654 tempFp = fopen(mpu.buffer_length, "w");
655 if (tempFp == NULL) {
658 if (fprintf(tempFp, "%d", IIO_BUFFER_LENGTH) < 0 || fclose(tempFp) < 0) {
    [all...]
  /hardware/invensense/60xx/libsensors_iio/
MPLSensor.cpp 374 FILE *tempFp = NULL;
382 tempFp = fopen(mpu.trigger_name, "r");
383 if (tempFp == NULL) {
386 if (fscanf(tempFp, "%s", iio_trigger_name) < 0) {
389 fclose(tempFp);
394 tempFp = fopen(mpu.current_trigger, "w");
395 if (tempFp == NULL) {
398 if (fprintf(tempFp, "%s", iio_trigger_name) < 0 || fclose(tempFp) < 0) {
    [all...]

Completed in 455 milliseconds