/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/ |
D | inv_self_test.c | 254 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/ |
D | ThreadCreationWrapper.h | 33 ThreadFuncArgs(void (*start)(void*), void* arg) : fptr(start), args(arg) {} in ThreadFuncArgs() 36 threadEntryFunc fptr; member
|
D | ThreadCreationWrapper.cpp | 21 threadArgs->fptr(threadArgs->args); in threadFunc()
|
/hardware/invensense/65xx/libsensors_iio/ |
D | CompassSensor.IIO.9150.cpp | 89 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()
|
D | CompassSensor.IIO.primary.cpp | 52 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()
|
D | MPLSensor.cpp | 897 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/ |
D | CompassSensor.IIO.primary.cpp | 52 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()
|
D | CompassSensor.IIO.9150.cpp | 89 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()
|
D | MPLSensor.cpp | 167 FILE *fptr; in MPLSensor() local 839 FILE *fptr; in loadDMP() local 854 fptr = fopen(mpu.dmp_firmware, "w"); in loadDMP() 855 if(fptr == NULL) { in loadDMP() 858 if (inv_load_dmp(fptr) < 0) { in loadDMP() 863 if (fclose(fptr) < 0) { in loadDMP() 879 FILE *fptr; in inv_get_sensors_orientation() local 884 fptr = fopen(mpu.gyro_orient, "r"); in inv_get_sensors_orientation() 885 if (fptr != NULL) { in inv_get_sensors_orientation() 887 if (fscanf(fptr, "%d,%d,%d,%d,%d,%d,%d,%d,%d", in inv_get_sensors_orientation() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.cpp | 701 bool& eosFlag, PortMode* portMode, portreconfig fptr, in testEOS() argument 742 if (fptr) { in testEOS() 743 ASSERT_NO_FATAL_FAILURE((*fptr)( in testEOS()
|
D | media_hidl_test_common.h | 414 portreconfig fptr = nullptr, OMX_U32 kPortIndexInput = 0,
|