Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp93 std::optional<RawLightInfo> rawInfo = context.getRawLightInfo(rawLightId); in setRawLightBrightness() local
94 if (!rawInfo.has_value()) { in setRawLightBrightness()
98 int rawMaxBrightness = rawInfo->maxBrightness.value_or(MAX_BRIGHTNESS); in setRawLightBrightness()
338 std::optional<RawLightInfo> rawInfo = getDeviceContext().getRawLightInfo(rawId); in dump() local
339 if (!rawInfo.has_value()) { in dump()
343 dump += StringPrintf(INDENT4 "%s", rawInfo->name.c_str()); in dump()
344 dump += StringPrintf(INDENT4 "%s", rawInfo->flags.string().c_str()); in dump()
345 dump += StringPrintf(INDENT4 "%d", rawInfo->maxBrightness.value_or(MAX_BRIGHTNESS)); in dump()
386 std::optional<RawBatteryInfo> rawInfo = getDeviceContext().getRawBatteryInfo(rawId); in configureBattries() local
387 if (!rawInfo.has_value()) { in configureBattries()
[all …]