HomeSort by relevance Sort by last modified time
    Searched refs:mHubConnection (Results 1 - 6 of 6) sorted by null

  /device/google/contexthub/lefty/
Lefty.cpp 27 Lefty::Lefty() : mHubConnection(HubConnection::getInstance()) {
33 if (mHubConnection->initCheck() == ::android::OK
34 && mHubConnection->getAliveCheck() == ::android::OK) {
35 mHubConnection->setLeftyMode(enabled);
Lefty.h 43 sp<HubConnection> mHubConnection;
  /device/google/contexthub/sensorhal/
sensors.cpp 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)
    [all...]
activity.cpp 99 : mHubConnection(HubConnection::getInstance()),
117 mHubConnection->setActivityCallback(this);
122 mHubConnection->queueActivate(i, false /* enable */);
128 mHubConnection->setActivityCallback(NULL);
347 mHubConnection->queueBatch(sensor_index, 1000000, max_report_latency_ns);
348 mHubConnection->queueActivate(sensor_index, true /* enable */);
359 mHubConnection->queueActivate(sensor_index, false /* enable */);
382 mHubConnection->queueFlush(i);
390 return mHubConnection->initCheck() == OK
391 && mHubConnection->getAliveCheck() == OK
    [all...]
activity.h 57 android::sp<android::HubConnection> mHubConnection;
sensors.h 131 sp<HubConnection> mHubConnection;
137 sp<HubConnection> mHubConnection;

Completed in 84 milliseconds