Searched refs:RawLightInfo (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/services/inputflinger/reader/controller/ |
D | PeripheralController.cpp | 68 std::optional<RawLightInfo> rawInfoOpt = context.getRawLightInfo(rawLightId); in getRawLightBrightness() 93 std::optional<RawLightInfo> rawInfo = context.getRawLightInfo(rawLightId); in setRawLightBrightness() 336 std::unordered_map<int32_t, RawLightInfo> rawInfos; in dump() 338 std::optional<RawLightInfo> rawInfo = getDeviceContext().getRawLightInfo(rawId); in dump() 413 std::unordered_map<int32_t, RawLightInfo> rawInfos; in configureLights() 415 std::optional<RawLightInfo> rawInfo = getDeviceContext().getRawLightInfo(rawId); in configureLights()
|
/frameworks/native/services/inputflinger/reader/include/ |
D | EventHub.h | 197 struct RawLightInfo { struct 205 bool operator==(const RawLightInfo&) const = default; argument 206 bool operator!=(const RawLightInfo&) const = default; 328 virtual std::optional<RawLightInfo> getRawLightInfo(int32_t deviceId, 542 std::optional<RawLightInfo> getRawLightInfo(int32_t deviceId, 621 std::unordered_map<int32_t /*lightId*/, RawLightInfo> lightInfos; 761 const std::unordered_map<int32_t, RawLightInfo>& getLightInfoLocked(int32_t deviceId) const
|
D | InputDevice.h | 349 inline std::optional<RawLightInfo> getRawLightInfo(int32_t lightId) { in getRawLightInfo()
|
/frameworks/native/services/inputflinger/tests/ |
D | FakeEventHub.h | 91 std::unordered_map<int32_t, RawLightInfo> mRawLightInfos; 143 void addRawLightInfo(int32_t rawId, RawLightInfo&& info); 216 std::optional<RawLightInfo> getRawLightInfo(int32_t deviceId, int32_t lightId) const override;
|
D | InterfaceMocks.h | 115 MOCK_METHOD(std::optional<RawLightInfo>, getRawLightInfo, (int32_t deviceId, int32_t lightId),
|
D | FakeEventHub.cpp | 180 void FakeEventHub::addRawLightInfo(int32_t rawId, RawLightInfo&& info) { in addRawLightInfo() 595 std::optional<RawLightInfo> FakeEventHub::getRawLightInfo(int32_t deviceId, int32_t lightId) const { in getRawLightInfo()
|
D | InputReader_test.cpp | 683 RawLightInfo infoMonolight = {.id = 123, in TEST_F() 1398 RawLightInfo info = {.id = 1, in TEST_F() 10274 RawLightInfo infoMono = {.id = 1, in TEST_F() 10294 RawLightInfo infoMono = {.id = 1, in TEST_F() 10316 RawLightInfo infoMono = {.id = 1, in TEST_F() 10337 RawLightInfo infoMono = {.id = 1, in TEST_F() 10359 RawLightInfo infoMono = {.id = 1, in TEST_F() 10380 RawLightInfo infoMono = {.id = 1, in TEST_F() 10409 RawLightInfo infoMono = {.id = 1, in TEST_F() 10432 RawLightInfo infoRed = {.id = 1, in TEST_F() [all …]
|
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 405 static std::unordered_map<int32_t /*lightId*/, RawLightInfo> readLightsConfiguration( in readLightsConfiguration() 407 std::unordered_map<int32_t, RawLightInfo> lightInfos; in readLightsConfiguration() 412 RawLightInfo info; in readLightsConfiguration() 1307 const std::unordered_map<int32_t, RawLightInfo>& EventHub::getLightInfoLocked( in getLightInfoLocked() 1309 static const std::unordered_map<int32_t, RawLightInfo> EMPTY_LIGHT_INFO = {}; in getLightInfoLocked() 1328 std::optional<RawLightInfo> EventHub::getRawLightInfo(int32_t deviceId, int32_t lightId) const { in getRawLightInfo() 1633 std::unordered_map<int32_t, RawLightInfo> newLightInfos = in isChanged()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | MapperHelpers.h | 169 std::optional<RawLightInfo> getRawLightInfo(int32_t deviceId, int32_t lightId) const override { in getRawLightInfo()
|