Home
last modified time | relevance | path

Searched refs:RawLightInfo (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp64 std::optional<RawLightInfo> rawInfoOpt = context.getRawLightInfo(rawLightId); in getRawLightBrightness()
89 std::optional<RawLightInfo> rawInfo = context.getRawLightInfo(rawLightId); in setRawLightBrightness()
298 std::unordered_map<int32_t, RawLightInfo> rawInfos; in dump()
300 std::optional<RawLightInfo> rawInfo = getDeviceContext().getRawLightInfo(rawId); in dump()
373 std::unordered_map<int32_t, RawLightInfo> rawInfos; in configureLights()
375 std::optional<RawLightInfo> rawInfo = getDeviceContext().getRawLightInfo(rawId); in configureLights()
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h187 struct RawLightInfo { struct
294 virtual std::optional<RawLightInfo> getRawLightInfo(int32_t deviceId, int32_t lightId) = 0;
472 std::optional<RawLightInfo> getRawLightInfo(int32_t deviceId, int32_t lightId) override final;
547 std::unordered_map<int32_t, RawLightInfo> lightInfos;
670 const std::unordered_map<int32_t, RawLightInfo>& getLightInfoLocked(int32_t deviceId) const
DInputDevice.h291 inline std::optional<RawLightInfo> getRawLightInfo(int32_t lightId) { in getRawLightInfo()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp593 RawLightInfo info; in configureLightsLocked()
1089 const std::unordered_map<int32_t, RawLightInfo>& EventHub::getLightInfoLocked( in getLightInfoLocked()
1091 static const std::unordered_map<int32_t, RawLightInfo> EMPTY_LIGHT_INFO = {}; in getLightInfoLocked()
1110 std::optional<RawLightInfo> EventHub::getRawLightInfo(int32_t deviceId, int32_t lightId) { in getRawLightInfo()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp503 std::unordered_map<int32_t, RawLightInfo> mRawLightInfos;
665 void addRawLightInfo(int32_t rawId, RawLightInfo&& info) { in addRawLightInfo()
1031 std::optional<RawLightInfo> getRawLightInfo(int32_t deviceId, int32_t lightId) override { in getRawLightInfo()
2248 RawLightInfo info = {.id = 1, in TEST_F()
9968 RawLightInfo infoMono = {.id = 1, in TEST_F()
9987 RawLightInfo infoRed = {.id = 1, in TEST_F()
9992 RawLightInfo infoGreen = {.id = 2, in TEST_F()
9997 RawLightInfo infoBlue = {.id = 3, in TEST_F()
10018 RawLightInfo infoColor = {.id = 1, in TEST_F()
10040 RawLightInfo info1 = {.id = 1, in TEST_F()
[all …]