Searched refs:mSensors (Results 1 – 11 of 11) 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
59 for (const auto& sensor : mSensors) { in getSensorsList()68 for (auto sensor : mSensors) { in setOperationMode()76 auto sensor = mSensors.find(sensorHandle); in activate()77 if (sensor != mSensors.end()) { in activate()86 auto sensor = mSensors.find(sensorHandle); in batch()87 if (sensor != mSensors.end()) { in batch()95 auto sensor = mSensors.find(sensorHandle); in flush()96 if (sensor != mSensors.end()) { in flush()103 auto sensor = mSensors.find(event.sensorHandle); in injectSensorData()104 if (sensor != mSensors.end()) { in injectSensorData()[all …]
93 mSensors[sensor->getSensorInfo().sensorHandle] = sensor; in AddSensor()99 std::map<int32_t, std::shared_ptr<Sensor>> mSensors; variable
61 mSensors = ISensors::getService(mServiceName); in resetHal()62 if (mSensors == nullptr) { in resetHal()65 mSensors->linkToDeath(mDeathRecipient, 0 /* cookie */); in resetHal()84 mSensors->initialize(*mEventQueue->getDesc(), *mWakeLockQueue->getDesc(), in resetHal()88 if (!mSensors->getSensorsList([&](const hidl_vec<SensorInfo>& list) { sensorList = list; }) in resetHal()96 if (!mSensors->activate(i.sensorHandle, false).isOk()) { in resetHal()110 mSensors = nullptr; in resetHal()
81 sp<android::hardware::sensors::V2_0::ISensors> mSensors; variable
169 return mEnvironment->mSensors; in getSensors()
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
100 for (const auto& iter : mSensors) { in getSensorsList()299 stream << " # of non-dynamic sensors across all subhals: " << mSensors.size() << std::endl; in debug()408 mSensors[sensor.sensorHandle] = sensor; in initializeSensorList()466 for (const auto& sensorEntry : mSensors) { in disableAllSensors()655 if (mSensors[sensorHandle].flags & static_cast<uint32_t>(V1_0::SensorFlagBits::WAKE_UP)) { in countNumWakeupEvents()
127 const SensorInfo& getSensorInfo(int32_t sensorHandle) { return mSensors[sensorHandle]; } in getSensorInfo()180 std::map<int32_t, SensorInfo> mSensors; variable