Searched refs:SensorEnableGuard (Results 1 – 1 of 1) sorted by relevance
81 class SensorEnableGuard { class83 SensorEnableGuard(const sp<SensorEventQueue>& queue, int32_t sensor) in SensorEnableGuard() function in android::media::__anon57b4a7480110::SensorEnableGuard86 ~SensorEnableGuard() { in ~SensorEnableGuard()95 SensorEnableGuard(const SensorEnableGuard&) = delete;96 SensorEnableGuard& operator=(const SensorEnableGuard&) = delete;99 SensorEnableGuard(SensorEnableGuard&& other) : mQueue(other.mQueue), mSensor(other.mSensor) { in SensorEnableGuard() function in android::media::__anon57b4a7480110::SensorEnableGuard147 mEnabledSensors.emplace(sensor, SensorEnableGuard(mQueue.get(), sensor)); in startSensor()175 std::map<int32_t, SensorEnableGuard> mEnabledSensors;