Home | History | Annotate | Download | only in sensorhal

Lines Matching defs:mHubConnection

48           mHubConnection(HubConnection::getInstance()) {
61 mHubConnection->setRawScale(kScaleAccel, kScaleMag);
62 if (mHubConnection->isDirectReportSupported()) {
67 mOperationHandler.emplace_back(new HubConnectionOperation(mHubConnection));
106 mHubConnection->releaseWakeLockIfAppropriate();
108 return mHubConnection->read(data, count);
140 return mHubConnection->addDirectChannel(mem);
143 mHubConnection->removeDirectChannel(channel_handle);
151 return mHubConnection->configDirectReport(sensor_handle, channel_handle, rate_level);
225 mHubConnection->setOperationParameter(event->additional_info);
236 return (mHubConnection->initCheck() == OK && mHubConnection->getAliveCheck() == OK);
247 : mHubConnection(hubConnection) {
258 mHubConnection->queueActivate(handle, enabled);
282 mHubConnection->queueSetDelay(handle, delayNsClamped);
308 mHubConnection->queueBatch(handle, sampling_period_ns_clamped,
314 mHubConnection->queueFlush(handle);
323 Callback(sp<HubConnection> hubConnection) : mHubConnection(hubConnection) {}
326 sp<HubConnection> mHubConnection;
331 return (mHubConnection->write(&e, 1) == 1) ? 0 : -ENOSPC;
364 mEventCallback.reset(new Callback(mHubConnection));