Searched refs:mHubConnection (Results 1 – 4 of 4) sorted by relevance
48 mHubConnection(HubConnection::getInstance()) { in SensorContext()61 mHubConnection->setRawScale(kScaleAccel, kScaleMag); in SensorContext()62 if (mHubConnection->isDirectReportSupported()) { in SensorContext()67 mOperationHandler.emplace_back(new HubConnectionOperation(mHubConnection)); in SensorContext()106 mHubConnection->releaseWakeLockIfAppropriate(); in poll()108 return mHubConnection->read(data, count); in poll()140 return mHubConnection->addDirectChannel(mem); in register_direct_channel()143 mHubConnection->removeDirectChannel(channel_handle); in register_direct_channel()151 return mHubConnection->configDirectReport(sensor_handle, channel_handle, rate_level); in config_direct_report()225 mHubConnection->setOperationParameter(event->additional_info); in inject_sensor_data()[all …]
131 sp<HubConnection> mHubConnection;137 sp<HubConnection> mHubConnection; member
27 Lefty::Lefty() : mHubConnection(HubConnection::getInstance()) { in Lefty()33 if (mHubConnection->initCheck() == ::android::OK in setLeftyMode()34 && mHubConnection->getAliveCheck() == ::android::OK) { in setLeftyMode()35 mHubConnection->setLeftyMode(enabled); in setLeftyMode()
43 sp<HubConnection> mHubConnection;