Searched refs:mSensors (Results 1 – 7 of 7) sorted by relevance
65 for (const auto& sensor : mSensors) { in getSensorsList()76 for (auto sensor : mSensors) { in setOperationMode()83 auto sensor = mSensors.find(sensorHandle); in activate()84 if (sensor != mSensors.end()) { in activate()98 for (auto sensor : mSensors) { in initialize()142 auto sensor = mSensors.find(sensorHandle); in batch()143 if (sensor != mSensors.end()) { in batch()151 auto sensor = mSensors.find(sensorHandle); in flush()152 if (sensor != mSensors.end()) { in flush()159 auto sensor = mSensors.find(event.sensorHandle); in injectSensorData()[all …]
96 mSensors[sensor->getSensorInfo().sensorHandle] = sensor; in AddSensor()142 std::map<int32_t, std::shared_ptr<Sensor>> mSensors; member
68 mSensors.emplace(packet.id/* report id*/, s); in HidRawSensorDevice()73 if (mSensors.size() == 0) { in HidRawSensorDevice()99 auto i = mSensors.find(usageId); in threadLoop()100 if (i == mSensors.end()) { in threadLoop()115 for (const auto &s : mSensors) { in getSensors()
46 std::unordered_map<unsigned int/*reportId*/, sp<HidRawSensor>> mSensors; variable
54 mSensors = ISensors::getService( in resetHal()56 if (mSensors == nullptr) { in resetHal()77 mSensors->initialize(*mEventQueue->getDesc(), *mWakeLockQueue->getDesc(), in resetHal()81 if (!mSensors->getSensorsList([&](const hidl_vec<SensorInfo>& list) { sensorList = list; }) in resetHal()89 if (!mSensors->activate(i.sensorHandle, false).isOk()) { in resetHal()103 mSensors = nullptr; in resetHal()
84 sp<android::hardware::sensors::V2_0::ISensors> mSensors; variable
156 return SensorsHidlEnvironmentV2_0::Instance()->mSensors; in getSensors()