Lines Matching refs:mHubConnection

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()
236 return (mHubConnection->initCheck() == OK && mHubConnection->getAliveCheck() == OK); in getHubAlive()
247 : mHubConnection(hubConnection) { in HubConnectionOperation()
258 mHubConnection->queueActivate(handle, enabled); in activate()
282 mHubConnection->queueSetDelay(handle, delayNsClamped); in setDelay()
308 mHubConnection->queueBatch(handle, sampling_period_ns_clamped, in batch()
314 mHubConnection->queueFlush(handle); in flush()
323 Callback(sp<HubConnection> hubConnection) : mHubConnection(hubConnection) {} in Callback()
326 sp<HubConnection> mHubConnection; member in __anonff3b30990111::Callback
331 return (mHubConnection->write(&e, 1) == 1) ? 0 : -ENOSPC; in submitEvent()
364 mEventCallback.reset(new Callback(mHubConnection)); in initializeHalExtension()