Searched refs:MPLSensor (Results 1 - 8 of 8) sorted by relevance

/hardware/invensense/65xx/libsensors_iio/
H A Dsensors_mpl.cpp34 #include "MPLSensor.h"
48 #define LOCAL_SENSORS (MPLSensor::NumSensors + 1)
50 #define LOCAL_SENSORS MPLSensor::NumSensors
125 MPLSensor *mplSensor = new MPLSensor(mCompassSensor);
130 * MPLSensor *mplSensor = new MPLSensor(mCompassSensor, AccelLoadConfig);
149 mPollFds[dmpOrient].fd = ((MPLSensor*) mSensor)->getDmpOrientFd();
153 mPollFds[dmpSign].fd = ((MPLSensor*) mSensor)->getDmpSignificantMotionFd();
157 mPollFds[dmpPed].fd = ((MPLSensor*) mSenso
[all...]
H A DMPLSensor.cpp20 //see also the EXTRA_VERBOSE define in the MPLSensor.h header file
41 #include "MPLSensor.h"
172 MPLSensor *MPLSensor::gMPLSensor = NULL;
177 if(MPLSensor::gMPLSensor) {
178 MPLSensor::gMPLSensor->cbProcData();
182 void setCallbackObject(MPLSensor* gbpt)
184 MPLSensor::gMPLSensor = gbpt;
187 MPLSensor* getCallbackObject() {
188 return MPLSensor
204 MPLSensor::MPLSensor(CompassSensor *compass, int (*m_pt2AccelCalLoadFunc)(long *)) function in class:MPLSensor
[all...]
H A DMPLSensor.h168 /** MPLSensor implementation which fits into the HAL example for crespo provided
170 * WARNING: there may only be one instance of MPLSensor, ever.
173 class MPLSensor: public SensorBase class in inherits:SensorBase
175 typedef int (MPLSensor::*hfunc_t)(sensors_event_t*);
198 MPLSensor(CompassSensor *, int (*m_pt2AccelCalLoadFunc)(long*) = 0);
199 virtual ~MPLSensor();
224 static MPLSensor* gMPLSensor;
576 void setCallbackObject(MPLSensor*);
577 MPLSensor *getCallbackObject();
H A DAndroid.mk56 LOCAL_SRC_FILES += MPLSensor.cpp
/hardware/invensense/6515/libsensors_iio/
H A Dsensors_mpl.cpp38 #include "MPLSensor.h"
150 MPLSensor *mplSensor = new MPLSensor(mCompassSensor);
158 * MPLSensor *mplSensor = new MPLSensor(mCompassSensor, AccelLoadConfig);
177 mPollFds[dmpOrient].fd = ((MPLSensor*) mSensor)->getDmpOrientFd();
181 mPollFds[dmpSign].fd = ((MPLSensor*) mSensor)->getDmpSignificantMotionFd();
185 mPollFds[dmpPed].fd = ((MPLSensor*) mSensor)->getDmpPedometerFd();
248 polltime = ((MPLSensor*) mSensor)->getStepCountPollTime();
255 if(((MPLSensor*) mSenso
[all...]
H A DMPLSensor.cpp19 //see also the EXTRA_VERBOSE define in the MPLSensor.h header file
42 #include "MPLSensor.h"
85 * MPLSensor class implementation
92 MPLSensor::MPLSensor(CompassSensor *compass, int (*m_pt2AccelCalLoadFunc)(long *)) function in class:MPLSensor
172 "HAL:MPLSensor constructor : NumSensors = %d", NumSensors);
513 mHandlers[RotationVector] = &MPLSensor::rvHandler;
514 mHandlers[GameRotationVector] = &MPLSensor::grvHandler;
515 mHandlers[LinearAccel] = &MPLSensor::laHandler;
516 mHandlers[Gravity] = &MPLSensor
[all...]
H A DMPLSensor.h169 /** MPLSensor implementation which fits into the HAL example for crespo provided
171 * WARNING: there may only be one instance of MPLSensor, ever.
174 class MPLSensor: public SensorBase class in inherits:SensorBase
176 typedef int (MPLSensor::*hfunc_t)(sensors_event_t*);
180 MPLSensor(CompassSensor *, int (*m_pt2AccelCalLoadFunc)(long*) = 0);
181 virtual ~MPLSensor();
591 void setCallbackObject(MPLSensor*);
592 MPLSensor *getCallbackObject();
H A DAndroid.mk68 LOCAL_SRC_FILES += MPLSensor.cpp

Completed in 173 milliseconds