Lines Matching refs:HubConnection
87 Mutex HubConnection::sInstanceLock;
90 HubConnection *HubConnection::sInstance = NULL;
92 HubConnection *HubConnection::getInstance() in getInstance()
96 sInstance = new HubConnection; in getInstance()
116 HubConnection::HubConnection() in HubConnection() function in android::HubConnection
276 HubConnection::~HubConnection() in ~HubConnection()
281 void HubConnection::onFirstRef() in onFirstRef()
288 void HubConnection::enableSchedFifoMode() { in enableSchedFifoMode()
296 status_t HubConnection::initCheck() const in initCheck()
301 status_t HubConnection::getAliveCheck() in getAliveCheck()
422 void HubConnection::saveSensorSettings() const { in saveSensorSettings()
479 ssize_t HubConnection::sendCmd(const void *buf, size_t count) in sendCmd()
498 void HubConnection::setLeftyMode(bool enable) { in setLeftyMode()
554 sensors_event_t *HubConnection::initEv(sensors_event_t *ev, uint64_t timestamp, uint32_t type, uint… in initEv()
565 ssize_t HubConnection::decrementIfWakeEventLocked(int32_t sensor) in decrementIfWakeEventLocked()
578 void HubConnection::protectIfWakeEventLocked(int32_t sensor) in protectIfWakeEventLocked()
589 void HubConnection::releaseWakeLockIfAppropriate() in releaseWakeLockIfAppropriate()
599 void HubConnection::processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct OneAxi… in processSample()
659 uint8_t HubConnection::magAccuracyUpdate(sensors_vec_t *sv) in magAccuracyUpdate()
676 void HubConnection::processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct RawThr… in processSample()
783 void HubConnection::processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct ThreeA… in processSample()
971 void HubConnection::discardInotifyEvent() { in discardInotifyEvent()
981 void HubConnection::waitOnNanohubLock() { in waitOnNanohubLock()
997 void HubConnection::restoreSensorState() in restoreSensorState()
1034 void HubConnection::postOsLog(uint8_t *buf, ssize_t len) in postOsLog()
1062 void HubConnection::processAppData(uint8_t *buf, ssize_t len) { in processAppData()
1088 ssize_t HubConnection::processBuf(uint8_t *buf, size_t len) in processBuf()
1375 void HubConnection::sendCalibrationOffsets() in sendCalibrationOffsets()
1483 bool HubConnection::threadLoop() { in threadLoop()
1552 void HubConnection::initConfigCmd(struct ConfigCmd *cmd, int handle) in initConfigCmd()
1591 void HubConnection::queueActivate(int handle, bool enable) in queueActivate()
1622 void HubConnection::queueSetDelay(int handle, nsecs_t sampling_period_ns) in queueSetDelay()
1650 void HubConnection::queueBatch( in queueBatch()
1685 void HubConnection::queueFlush(int handle) in queueFlush()
1691 void HubConnection::queueFlushInternal(int handle, bool internal) in queueFlushInternal()
1729 void HubConnection::queueDataInternal(int handle, void *data, size_t length) in queueDataInternal()
1752 void HubConnection::queueData(int handle, void *data, size_t length) in queueData()
1758 void HubConnection::setOperationParameter(const additional_info_event_t &info) { in setOperationParameter()
1786 void HubConnection::initNanohubLock() { in initNanohubLock()
1809 ssize_t HubConnection::read(sensors_event_t *ev, size_t size) { in read()
1828 ssize_t HubConnection::write(const sensors_event_t *ev, size_t n) { in write()
1850 void HubConnection::queueUsbMagBias() in queueUsbMagBias()
1872 status_t HubConnection::initializeUinputNode() in initializeUinputNode()
1916 void HubConnection::sendFolioEvent(int32_t data) { in sendFolioEvent()
1950 void HubConnection::sendDirectReportEvent(const sensors_event_t *nev, size_t n) { in sendDirectReportEvent()
1979 void HubConnection::mergeDirectReportRequest(struct ConfigCmd *cmd, int handle) { in mergeDirectReportRequest()
2008 int HubConnection::addDirectChannel(const struct sensors_direct_mem_t *mem) { in addDirectChannel()
2043 int HubConnection::removeDirectChannel(int channel_handle) { in removeDirectChannel()
2064 int HubConnection::stopAllDirectReportOnChannel( in stopAllDirectReportOnChannel()
2099 int HubConnection::configDirectReport(int sensor_handle, int channel_handle, int rate_level) { in configDirectReport()
2144 bool HubConnection::isDirectReportSupported() const { in isDirectReportSupported()
2148 void HubConnection::updateSampleRate(int handle, int reason) { in updateSampleRate()
2184 bool HubConnection::isSampleIntervalSatisfied(int handle, uint64_t timestamp) { in isSampleIntervalSatisfied()
2201 uint64_t HubConnection::rateLevelToDeviceSamplingPeriodNs(int handle, int rateLevel) const { in rateLevelToDeviceSamplingPeriodNs()
2222 int HubConnection::addDirectChannel(const struct sensors_direct_mem_t *) { in addDirectChannel()
2226 int HubConnection::removeDirectChannel(int) { in removeDirectChannel()
2230 int HubConnection::configDirectReport(int, int, int) { in configDirectReport()
2234 void HubConnection::sendDirectReportEvent(const sensors_event_t *, size_t) { in sendDirectReportEvent()
2237 void HubConnection::mergeDirectReportRequest(struct ConfigCmd *, int) { in mergeDirectReportRequest()
2240 bool HubConnection::isDirectReportSupported() const { in isDirectReportSupported()
2244 void HubConnection::updateSampleRate(int, int) { in updateSampleRate()
2247 bool HubConnection::isSampleIntervalSatisfied(int, uint64_t) { in isSampleIntervalSatisfied()