Searched refs:MPLSensor (Results 1 - 11 of 11) 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
123 MPLSensor *mplSensor = new MPLSensor(mCompassSensor);
128 * MPLSensor *mplSensor = new MPLSensor(mCompassSensor, AccelLoadConfig);
147 mPollFds[dmpOrient].fd = ((MPLSensor*) mSensor)->getDmpOrientFd();
151 mPollFds[dmpSign].fd = ((MPLSensor*) mSensor)->getDmpSignificantMotionFd();
155 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.h167 /** MPLSensor implementation which fits into the HAL example for crespo provided
169 * WARNING: there may only be one instance of MPLSensor, ever.
172 class MPLSensor: public SensorBase class in inherits:SensorBase
174 typedef int (MPLSensor::*hfunc_t)(sensors_event_t*);
197 MPLSensor(CompassSensor *, int (*m_pt2AccelCalLoadFunc)(long*) = 0);
198 virtual ~MPLSensor();
221 static MPLSensor* gMPLSensor;
554 void setCallbackObject(MPLSensor*);
555 MPLSensor *getCallbackObject();
H A DAndroid.mk53 LOCAL_SRC_FILES += MPLSensor.cpp
/hardware/invensense/60xx/libsensors/
H A DMPLSensor.cpp35 #include "MPLSensor.h"
72 /* Base values for the sensor list, these need to be in the order defined in MPLSensor.h */
102 static MPLSensor* gMPLSensor = NULL;
125 void setCallbackObject(MPLSensor* gbpt)
143 MPLSensor::MPLSensor() : function in class:MPLSensor
159 ALOGV_IF(EXTRA_VERBOSE, "MPLSensor constructor: numSensors = %d", numSensors);
215 //ALOGD("MPLSensor falling back to timerirq for accel data");
251 mHandlers[RotationVector] = &MPLSensor::rvHandler;
252 mHandlers[LinearAccel] = &MPLSensor
[all...]
H A DMPLSensor.h32 /** MPLSensor implementation which fits into the HAL example for crespo provided
34 * * WARNING: there may only be one instance of MPLSensor, ever.
37 class MPLSensor: public SensorBase class in inherits:SensorBase
39 typedef void (MPLSensor::*hfunc_t)(sensors_event_t*, uint32_t*, int);
42 MPLSensor();
43 virtual ~MPLSensor();
138 void setCallbackObject(MPLSensor*);
H A DAndroid.mk31 LOCAL_SRC_FILES := SensorBase.cpp MPLSensor.cpp
/hardware/invensense/60xx/libsensors_iio/
H A DMPLSensor.cpp18 //see also the EXTRA_VERBOSE define in the MPLSensor.h header file
39 #include "MPLSensor.h"
122 MPLSensor *MPLSensor::gMPLSensor = NULL;
127 if(MPLSensor::gMPLSensor) {
128 MPLSensor::gMPLSensor->cbProcData();
132 void setCallbackObject(MPLSensor* gbpt)
134 MPLSensor::gMPLSensor = gbpt;
137 MPLSensor* getCallbackObject() {
138 return MPLSensor
153 MPLSensor::MPLSensor(CompassSensor *compass, int (*m_pt2AccelCalLoadFunc)(long *)) function in class:MPLSensor
1008 enableOneSensor(int en, const char *name, int (MPLSensor::*enabler)(int)) argument
[all...]
H A DMPLSensor.h109 /** MPLSensor implementation which fits into the HAL example for crespo provided
111 * WARNING: there may only be one instance of MPLSensor, ever.
114 class MPLSensor: public SensorBase class in inherits:SensorBase
116 typedef int (MPLSensor::*hfunc_t)(sensors_event_t*);
132 MPLSensor(CompassSensor *, int (*m_pt2AccelCalLoadFunc)(long*) = 0);
133 virtual ~MPLSensor();
151 static MPLSensor* gMPLSensor;
194 int enableOneSensor(int en, const char *name, int (MPLSensor::*enabler)(int));
342 void setCallbackObject(MPLSensor*);
343 MPLSensor *getCallbackObjec
[all...]
H A Dsensors_mpl.cpp34 #include "MPLSensor.h"
40 #define LOCAL_SENSORS (MPLSensor::numSensors + 1)
42 #define LOCAL_SENSORS MPLSensor::numSensors
110 MPLSensor *mplSensor = new MPLSensor(mCompassSensor);
115 * MPLSensor *mplSensor = new MPLSensor(mCompassSensor, AccelLoadConfig);
134 mPollFds[dmpOrient].fd = ((MPLSensor*) mSensor)->getDmpOrientFd();
176 ((MPLSensor*) mSensor)->readCompassEvents(NULL, count);
181 nb = ((MPLSensor*) mSenso
[all...]
H A DAndroid.mk53 LOCAL_SRC_FILES += MPLSensor.cpp

Completed in 667 milliseconds