Lines Matching refs:lightId
925 std::optional<RawLightInfo> getRawLightInfo(int32_t deviceId, int32_t lightId) override { in getRawLightInfo() argument
926 auto it = mRawLightInfos.find(lightId); in getRawLightInfo()
933 void setLightBrightness(int32_t deviceId, int32_t lightId, int32_t brightness) override { in setLightBrightness() argument
934 mLightBrightness.emplace(lightId, brightness); in setLightBrightness()
937 void setLightIntensities(int32_t deviceId, int32_t lightId, in setLightIntensities() argument
939 mLightIntensities.emplace(lightId, intensities); in setLightIntensities()
942 std::optional<int32_t> getLightBrightness(int32_t deviceId, int32_t lightId) override { in getLightBrightness() argument
943 auto lightIt = mLightBrightness.find(lightId); in getLightBrightness()
951 int32_t deviceId, int32_t lightId) override { in getLightIntensities() argument
952 auto lightIt = mLightIntensities.find(lightId); in getLightIntensities()
2029 bool setLightColor(int32_t lightId, int32_t color) override { in setLightColor() argument
2030 getDeviceContext().setLightBrightness(lightId, color >> 24); in setLightColor()
2034 std::optional<int32_t> getLightColor(int32_t lightId) override { in getLightColor() argument
2035 std::optional<int32_t> result = getDeviceContext().getLightBrightness(lightId); in getLightColor()
2042 bool setLightPlayerId(int32_t lightId, int32_t playerId) override { return true; } in setLightPlayerId() argument
2044 std::optional<int32_t> getLightPlayerId(int32_t lightId) override { return std::nullopt; } in getLightPlayerId() argument