Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.h38 std::optional<int32_t> getLightColor(int32_t lightId) override;
73 virtual std::optional<int32_t> getLightColor() { return std::nullopt; } in getLightColor() function
93 std::optional<int32_t> getLightColor() override;
115 std::optional<int32_t> getLightColor() override;
129 std::optional<int32_t> getLightColor() override;
DPeripheralController.cpp147 std::optional<int32_t> PeripheralController::MonoLight::getLightColor() { in getLightColor() function in android::PeripheralController::MonoLight
156 std::optional<int32_t> PeripheralController::RgbLight::getLightColor() { in getLightColor() function in android::PeripheralController::RgbLight
191 std::optional<int32_t> PeripheralController::MultiColorLight::getLightColor() { in getLightColor() function in android::PeripheralController::MultiColorLight
233 dump += StringPrintf(INDENT4 "Color: 0x%x\n", getLightColor().value_or(0)); in dump()
246 dump += StringPrintf(INDENT4 "Color: 0x%x\n", getLightColor().value_or(0)); in dump()
256 dump += StringPrintf(INDENT4 "Color: 0x%x\n", getLightColor().value_or(0)); in dump()
551 std::optional<int32_t> PeripheralController::getLightColor(int32_t lightId) { in getLightColor() function in android::PeripheralController
557 std::optional<int32_t> color = light->getLightColor(); in getLightColor()
DPeripheralControllerInterface.h44 virtual std::optional<int32_t> getLightColor(int32_t lightId) = 0;
/frameworks/native/services/inputflinger/tests/fuzzers/
DInputReaderFuzzer.cpp152 std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) { in getLightColor() function in android::FuzzInputReader
153 return reader->getLightColor(deviceId, lightId); in getLightColor()
273 reader->getLightColor(fdp->ConsumeIntegral<int32_t>(), in LLVMFuzzerTestOneInput()
/frameworks/base/core/java/android/app/
DNotificationChannel.java988 public int getLightColor() { in getLightColor() method in NotificationChannel
1454 if (getLightColor() != DEFAULT_LIGHT_COLOR) { in writeXml()
1455 out.attributeInt(null, ATT_LIGHT_COLOR, getLightColor()); in writeXml()
1545 record.put(ATT_LIGHT_COLOR, Integer.toString(getLightColor())); in toJson()
1685 && getLightColor() == that.getLightColor() in equals()
1713 getLockscreenVisibility(), getSound(), mLights, getLightColor(), in hashCode()
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java195 int getLightColor(int deviceId, int lightId); in getLightColor() method
526 public native int getLightColor(int deviceId, int lightId); in getLightColor() method in NativeInputManagerService.NativeImpl
DKeyboardBacklightController.java546 int fromValue = Color.alpha(mNative.getLightColor(mDeviceId, mLight.getId())); in setBacklightValue()
DInputManagerService.java2084 int color = mNative.getLightColor(deviceId, lightId); in getLightState()
/frameworks/native/services/inputflinger/reader/mapper/
DInputMapper.h111 virtual std::optional<int32_t> getLightColor(int32_t lightId) { return std::nullopt; } in getLightColor() function
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h439 virtual std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) = 0;
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h115 std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) override;
DInputDevice.h123 std::optional<int32_t> getLightColor(int32_t lightId);
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp686 std::optional<int32_t> InputDevice::getLightColor(int32_t lightId) { in getLightColor() function in android::InputDevice
687 return mController ? mController->getLightColor(lightId) : std::nullopt; in getLightColor()
DInputReader.cpp867 std::optional<int32_t> InputReader::getLightColor(int32_t deviceId, int32_t lightId) { in getLightColor() function in android::InputReader
872 return device->getLightColor(lightId); in getLightColor()
/frameworks/native/services/inputflinger/tests/
DInterfaceMocks.h254 MOCK_METHOD(std::optional<int32_t>, getLightColor, (int32_t lightId), ());
DInputReader_test.cpp1313 std::optional<int32_t> getLightColor(int32_t lightId) override { in getLightColor() function in android::FakePeripheralController
1403 ASSERT_EQ(controller.getLightColor(/*lightId=*/1), LIGHT_BRIGHTNESS); in TEST_F()
1405 ASSERT_EQ(mReader->getLightColor(deviceId, /*lightId=*/1), LIGHT_BRIGHTNESS); in TEST_F()
9107 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_BRIGHTNESS); in TEST_F()
9150 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_BRIGHTNESS); in TEST_F()
9278 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
9314 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
9354 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
9378 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
9403 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
/frameworks/base/tests/Input/src/com/android/server/input/
DKeyboardBacklightControllerTests.kt121 `when`(native.getLightColor(anyInt(), anyInt())).thenAnswer { in createKeyboard()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java1391 || oldParent.getLightColor() != updatedParent.getLightColor())) {
1393 conversation.setLightColor(updatedParent.getLightColor());
2297 || original.getLightColor() != update.getLightColor()) {
DNotificationRecord.java302 int channelLightColor = getChannel().getLightColor() != 0 ? getChannel().getLightColor() in calculateLights()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java452 assertEquals(expected.getLightColor(), actual.getLightColor()); in compareChannels()
472 assertEquals(parent.getLightColor(), actual.getLightColor()); in compareChannelsParentChild()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp2875 im->getInputManager()->getReader().getLightColor(deviceId, lightId); in nativeGetLightColor()
/frameworks/base/boot/
Dboot-profile.txt669 Landroid/app/NotificationChannel;->getLightColor()I
Dboot-image-profile.txt2405 HSPLandroid/app/NotificationChannel;->getLightColor()I
/frameworks/base/core/api/
Dcurrent.txt7082 method public int getLightColor();