Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.h100 std::optional<int32_t> rawGlobalId) in RgbLight()
101 : Light(context, "RGB", id, type), rawRgbIds(rawRgbIds), rawGlobalId(rawGlobalId) { in RgbLight()
102 brightness = rawGlobalId.has_value() in RgbLight()
103 ? getRawLightBrightness(rawGlobalId.value()).value_or(MAX_BRIGHTNESS) in RgbLight()
111 std::optional<int32_t> rawGlobalId; member
DPeripheralController.cpp137 if (rawGlobalId.has_value()) { in setLightColor()
138 setRawLightBrightness(rawGlobalId.value(), brightness); in setLightColor()
257 if (rawGlobalId.has_value()) { in dump()
258 dump += StringPrintf(INDENT4 "Raw Global LED: [%d] ", rawGlobalId.value()); in dump()
400 std::optional<int32_t> rawGlobalId = std::nullopt; in configureLights() local
459 rawGlobalId = rawId; in configureLights()
491 (!rawGlobalId.has_value() || in configureLights()
492 keyboardBacklightIds.find(rawGlobalId.value()) != keyboardBacklightIds.end()); in configureLights()
499 rawRgbIds, rawGlobalId); in configureLights()
505 if (rawGlobalId.has_value()) { in configureLights()
[all …]