Lines Matching defs:compass
30 // TODO: include corresponding header file for 3rd party compass sensor
47 0, "/sys/class/compass/akm8963/enable_mag", getTimestamp());
48 write_sysfs_int((char*)"/sys/class/compass/akm8963/enable_mag", 0);
57 0, "/sys/class/compass/akm8963/enable_mag", getTimestamp());
58 write_sysfs_int((char*)"/sys/class/compass/akm8963/enable_mag", 0);
100 // TODO: return if 3rd-party compass is enabled
154 const char *compass = COMPASS_NAME;
156 if (compass) {
157 if (!strcmp(compass, "AKM8963")) {
164 if (!strcmp(compass, "AKM8975")) {
173 LOGE("HAL:unsupported compass id %s -- "
174 "this implementation only supports AKM compasses", compass);
181 // TODO: specify compass sensor's mounting matrix for MPL