Searched refs:MPLSensor (Results 1 – 6 of 6) sorted by relevance
48 #define LOCAL_SENSORS (MPLSensor::NumSensors + 1)50 #define LOCAL_SENSORS MPLSensor::NumSensors125 MPLSensor *mplSensor = new MPLSensor(mCompassSensor); in sensors_poll_context_t()149 mPollFds[dmpOrient].fd = ((MPLSensor*) mSensor)->getDmpOrientFd(); in sensors_poll_context_t()153 mPollFds[dmpSign].fd = ((MPLSensor*) mSensor)->getDmpSignificantMotionFd(); in sensors_poll_context_t()157 mPollFds[dmpPed].fd = ((MPLSensor*) mSensor)->getDmpPedometerFd(); in sensors_poll_context_t()211 polltime = ((MPLSensor*) mSensor)->getStepCountPollTime(); in pollEvents()221 ((MPLSensor*) mSensor)->buildMpuEvent(); in pollEvents()224 ((MPLSensor*) mSensor)->buildCompassEvent(); in pollEvents()227 nb = ((MPLSensor*)mSensor)-> in pollEvents()[all …]
172 MPLSensor *MPLSensor::gMPLSensor = NULL;177 if(MPLSensor::gMPLSensor) { in procData_cb_wrapper()178 MPLSensor::gMPLSensor->cbProcData(); in procData_cb_wrapper()182 void setCallbackObject(MPLSensor* gbpt) in setCallbackObject()184 MPLSensor::gMPLSensor = gbpt; in setCallbackObject()187 MPLSensor* getCallbackObject() { in getCallbackObject()188 return MPLSensor::gMPLSensor; in getCallbackObject()204 MPLSensor::MPLSensor(CompassSensor *compass, int (*m_pt2AccelCalLoadFunc)(long *)) in MPLSensor() function in MPLSensor574 mHandlers[RotationVector] = &MPLSensor::rvHandler; in MPLSensor()576 mHandlers[RotationVector] = &MPLSensor::grvHandler; in MPLSensor()[all …]
173 class MPLSensor: public SensorBase175 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();
150 MPLSensor *mplSensor = new MPLSensor(mCompassSensor); in sensors_poll_context_t()177 mPollFds[dmpOrient].fd = ((MPLSensor*) mSensor)->getDmpOrientFd(); in sensors_poll_context_t()181 mPollFds[dmpSign].fd = ((MPLSensor*) mSensor)->getDmpSignificantMotionFd(); in sensors_poll_context_t()185 mPollFds[dmpPed].fd = ((MPLSensor*) mSensor)->getDmpPedometerFd(); in sensors_poll_context_t()248 polltime = ((MPLSensor*) mSensor)->getStepCountPollTime(); in pollEvents()255 if(((MPLSensor*) mSensor)->hasStepCountPendingEvents() == true) { in pollEvents()256 nb = ((MPLSensor*) mSensor)->readDmpPedometerEvents( in pollEvents()272 ((MPLSensor*) mSensor)->buildMpuEvent(); in pollEvents()275 ((MPLSensor*) mSensor)->buildCompassEvent(); in pollEvents()278 nb = ((MPLSensor*)mSensor)-> in pollEvents()[all …]
92 MPLSensor::MPLSensor(CompassSensor *compass, int (*m_pt2AccelCalLoadFunc)(long *)) in MPLSensor() function in MPLSensor513 mHandlers[RotationVector] = &MPLSensor::rvHandler; in MPLSensor()514 mHandlers[GameRotationVector] = &MPLSensor::grvHandler; in MPLSensor()515 mHandlers[LinearAccel] = &MPLSensor::laHandler; in MPLSensor()516 mHandlers[Gravity] = &MPLSensor::gravHandler; in MPLSensor()517 mHandlers[Gyro] = &MPLSensor::gyroHandler; in MPLSensor()518 mHandlers[RawGyro] = &MPLSensor::rawGyroHandler; in MPLSensor()519 mHandlers[Accelerometer] = &MPLSensor::accelHandler; in MPLSensor()520 mHandlers[MagneticField] = &MPLSensor::compassHandler; in MPLSensor()521 mHandlers[RawMagneticField] = &MPLSensor::rawCompassHandler; in MPLSensor()[all …]
174 class MPLSensor: public SensorBase176 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();