Home
last modified time | relevance | path

Searched refs:rawGlobalId (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.h95 std::optional<int32_t> rawGlobalId) in RgbLight()
98 rawGlobalId(rawGlobalId) { in RgbLight()
99 brightness = rawGlobalId.has_value() in RgbLight()
100 ? getRawLightBrightness(rawGlobalId.value()).value_or(MAX_BRIGHTNESS) in RgbLight()
106 std::optional<int32_t> rawGlobalId; member
DPeripheralController.cpp133 if (rawGlobalId.has_value()) { in setLightColor()
134 setRawLightBrightness(rawGlobalId.value(), brightness); in setLightColor()
254 if (rawGlobalId.has_value()) { in dump()
255 dump += StringPrintf(INDENT4 "Raw Global LED: [%d] ", rawGlobalId.value()); in dump()
362 std::optional<int32_t> rawGlobalId = std::nullopt; in configureLights() local
411 rawGlobalId = rawId; in configureLights()
438 std::make_unique<RgbLight>(getDeviceContext(), ++mNextId, rawRgbIds, rawGlobalId); in configureLights()
444 if (rawGlobalId.has_value()) { in configureLights()
445 rawInfos.erase(rawGlobalId.value()); in configureLights()