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

/hardware/invensense/60xx/libsensors/
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 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...]
/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...]
/hardware/invensense/6515/libsensors_iio/
H A DMPLSensor.cpp19 //see also the EXTRA_VERBOSE define in the MPLSensor.h header file
41 #include "MPLSensor.h"
75 * MPLSensor class implementation
82 MPLSensor::MPLSensor(CompassSensor *compass, int (*m_pt2AccelCalLoadFunc)(long *)) function in class:MPLSensor
147 "HAL:MPLSensor constructor : NumSensors = %d", NumSensors);
485 mHandlers[RotationVector] = &MPLSensor::rvHandler;
486 mHandlers[GameRotationVector] = &MPLSensor::grvHandler;
487 mHandlers[LinearAccel] = &MPLSensor::laHandler;
488 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();
561 void setCallbackObject(MPLSensor*);
562 MPLSensor *getCallbackObject();
/hardware/invensense/65xx/libsensors_iio/
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();

Completed in 110 milliseconds