Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp63 std::optional<std::int32_t> PeripheralController::Light::getRawLightBrightness(int32_t rawLightId) { in getRawLightBrightness() argument
64 std::optional<RawLightInfo> rawInfoOpt = context.getRawLightInfo(rawLightId); in getRawLightBrightness()
68 std::optional<int32_t> brightnessOpt = context.getLightBrightness(rawLightId); in getRawLightBrightness()
82 ALOGD("getRawLightBrightness rawLightId %d brightness 0x%x ratio %.2f", rawLightId, in getRawLightBrightness()
88 void PeripheralController::Light::setRawLightBrightness(int32_t rawLightId, int32_t brightness) { in setRawLightBrightness() argument
89 std::optional<RawLightInfo> rawInfo = context.getRawLightInfo(rawLightId); in setRawLightBrightness()
101 ALOGD("setRawLightBrightness rawLightId %d brightness 0x%x ratio %.2f", rawLightId, in setRawLightBrightness()
104 context.setLightBrightness(rawLightId, brightness); in setRawLightBrightness()
DPeripheralController.h77 std::optional<std::int32_t> getRawLightBrightness(int32_t rawLightId);
78 void setRawLightBrightness(int32_t rawLightId, int32_t brightness);