Home
last modified time | relevance | path

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

/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
Dinv_self_test.c254 FILE *fptr; in main() local
284 fptr = fopen(mpu.self_test, "r"); in main()
285 if (fptr) { in main()
286 fscanf(fptr, "%d", &self_test_status); in main()
292 fclose(fptr); in main()
316 fptr= fopen(MLCAL_FILE, "rb"); in main()
317 if (!fptr) { in main()
322 fread(buffer, 1, packet_sz, fptr); in main()
323 fclose(fptr); in main()
380 fptr = fopen(mpu.self_test, "r"); in main()
[all …]
/hardware/interfaces/gnss/1.0/default/
DThreadCreationWrapper.h33 ThreadFuncArgs(void (*start)(void*), void* arg) : fptr(start), args(arg) {} in ThreadFuncArgs()
36 threadEntryFunc fptr; member
DThreadCreationWrapper.cpp21 threadArgs->fptr(threadArgs->args); in threadFunc()
/hardware/invensense/65xx/libsensors_iio/
DCompassSensor.IIO.9150.cpp89 FILE *fptr; in CompassSensor() local
90 fptr = fopen(compassSysFs.compass_orient, "r"); in CompassSensor()
91 if (fptr != NULL) { in CompassSensor()
93 if (fscanf(fptr, "%d,%d,%d,%d,%d,%d,%d,%d,%d", in CompassSensor()
95 &om[6], &om[7], &om[8]) < 0 || fclose(fptr) < 0) { in CompassSensor()
DCompassSensor.IIO.primary.cpp52 FILE *fptr; in CompassSensor() local
106 fptr = fopen(compassSysFs.compass_orient, "r"); in CompassSensor()
107 if (fptr != NULL) { in CompassSensor()
109 if (fscanf(fptr, "%d,%d,%d,%d,%d,%d,%d,%d,%d", in CompassSensor()
111 &om[6], &om[7], &om[8]) < 0 || fclose(fptr)) { in CompassSensor()
134 if (fptr == NULL) { in CompassSensor()
DMPLSensor.cpp897 FILE *fptr; in loadDMP() local
913 fptr = fopen(mpu.dmp_firmware, "w"); in loadDMP()
914 if(fptr == NULL) { in loadDMP()
917 if (inv_load_dmp(fptr) < 0 || fclose(fptr) < 0) { in loadDMP()
935 FILE *fptr; in inv_get_sensors_orientation() local
940 fptr = fopen(mpu.gyro_orient, "r"); in inv_get_sensors_orientation()
941 if (fptr != NULL) { in inv_get_sensors_orientation()
943 if (fscanf(fptr, "%d,%d,%d,%d,%d,%d,%d,%d,%d", in inv_get_sensors_orientation()
945 &om[6], &om[7], &om[8]) < 0 || fclose(fptr) < 0) { in inv_get_sensors_orientation()
968 fptr = fopen(mpu.accel_orient, "r"); in inv_get_sensors_orientation()
[all …]
/hardware/invensense/6515/libsensors_iio/
DCompassSensor.IIO.primary.cpp52 FILE *fptr; in CompassSensor() local
106 fptr = fopen(compassSysFs.compass_orient, "r"); in CompassSensor()
107 if (fptr != NULL) { in CompassSensor()
109 if (fscanf(fptr, "%d,%d,%d,%d,%d,%d,%d,%d,%d", in CompassSensor()
111 &om[6], &om[7], &om[8]) < 0 || fclose(fptr)) { in CompassSensor()
134 if (fptr == NULL) { in CompassSensor()
DCompassSensor.IIO.9150.cpp89 FILE *fptr; in CompassSensor() local
90 fptr = fopen(compassSysFs.compass_orient, "r"); in CompassSensor()
91 if (fptr != NULL) { in CompassSensor()
93 if (fscanf(fptr, "%d,%d,%d,%d,%d,%d,%d,%d,%d", in CompassSensor()
95 &om[6], &om[7], &om[8]) < 0 || fclose(fptr) < 0) { in CompassSensor()
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp701 bool& eosFlag, PortMode* portMode, portreconfig fptr, in testEOS() argument
742 if (fptr) { in testEOS()
743 ASSERT_NO_FATAL_FAILURE((*fptr)( in testEOS()
Dmedia_hidl_test_common.h414 portreconfig fptr = nullptr, OMX_U32 kPortIndexInput = 0,