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.cpp155 std::optional<int32_t> PeripheralController::MonoLight::getLightColor() { in getLightColor() function in android::PeripheralController::MonoLight
164 std::optional<int32_t> PeripheralController::RgbLight::getLightColor() { in getLightColor() function in android::PeripheralController::RgbLight
199 std::optional<int32_t> PeripheralController::MultiColorLight::getLightColor() { in getLightColor() function in android::PeripheralController::MultiColorLight
241 dump += StringPrintf(INDENT4 "Color: 0x%x\n", getLightColor().value_or(0)); in dump()
254 dump += StringPrintf(INDENT4 "Color: 0x%x\n", getLightColor().value_or(0)); in dump()
264 dump += StringPrintf(INDENT4 "Color: 0x%x\n", getLightColor().value_or(0)); in dump()
565 std::optional<int32_t> PeripheralController::getLightColor(int32_t lightId) { in getLightColor() function in android::PeripheralController
571 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.cpp146 std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) { in getLightColor() function in android::FuzzInputReader
147 return reader->getLightColor(deviceId, lightId); in getLightColor()
260 reader->getLightColor(fdp->ConsumeIntegral<int32_t>(), in LLVMFuzzerTestOneInput()
/frameworks/base/core/java/android/app/
DNotificationChannel.java865 public int getLightColor() { in getLightColor() method in NotificationChannel
1324 if (getLightColor() != DEFAULT_LIGHT_COLOR) { in writeXml()
1325 out.attributeInt(null, ATT_LIGHT_COLOR, getLightColor()); in writeXml()
1411 record.put(ATT_LIGHT_COLOR, Integer.toString(getLightColor())); in toJson()
1531 && getLightColor() == that.getLightColor() in equals()
1559 getLockscreenVisibility(), getSound(), mLights, getLightColor(), in hashCode()
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java172 int getLightColor(int deviceId, int lightId); in getLightColor() method
443 public native int getLightColor(int deviceId, int lightId); in getLightColor() method in NativeInputManagerService.NativeImpl
DKeyboardBacklightController.java624 int fromValue = Color.alpha(mNative.getLightColor(mDeviceId, mLight.getId())); in setBacklightValue()
DInputManagerService.java1947 int color = mNative.getLightColor(deviceId, lightId); in getLightState()
/frameworks/native/services/inputflinger/reader/mapper/
DInputMapper.h108 virtual std::optional<int32_t> getLightColor(int32_t lightId) { return std::nullopt; } in getLightColor() function
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h385 virtual std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) = 0;
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp668 std::optional<int32_t> InputDevice::getLightColor(int32_t lightId) { in getLightColor() function in android::InputDevice
669 return mController ? mController->getLightColor(lightId) : std::nullopt; in getLightColor()
DInputReader.cpp848 std::optional<int32_t> InputReader::getLightColor(int32_t deviceId, int32_t lightId) { in getLightColor() function in android::InputReader
853 return device->getLightColor(lightId); in getLightColor()
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h111 std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) override;
DInputDevice.h121 std::optional<int32_t> getLightColor(int32_t lightId);
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java1260 || oldParent.getLightColor() != updatedParent.getLightColor())) { in maybeUpdateChildConversationChannel()
1262 conversation.setLightColor(updatedParent.getLightColor()); in maybeUpdateChildConversationChannel()
2027 || original.getLightColor() != update.getLightColor()) { in lockFieldsForUpdateLocked()
DNotificationRecord.java293 int channelLightColor = getChannel().getLightColor() != 0 ? getChannel().getLightColor() in calculateLights()
/frameworks/base/tests/Input/src/com/android/server/input/
DKeyboardBacklightControllerTests.kt145 `when`(native.getLightColor(anyInt(), anyInt())).thenAnswer { in createKeyboard()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1319 std::optional<int32_t> getLightColor(int32_t lightId) override { in getLightColor() function in android::FakePeripheralController
1409 ASSERT_EQ(controller.getLightColor(/*lightId=*/1), LIGHT_BRIGHTNESS); in TEST_F()
1411 ASSERT_EQ(mReader->getLightColor(deviceId, /*lightId=*/1), LIGHT_BRIGHTNESS); in TEST_F()
10290 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_BRIGHTNESS); in TEST_F()
10333 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_BRIGHTNESS); in TEST_F()
10461 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
10497 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
10537 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
10561 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
10586 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java428 assertEquals(expected.getLightColor(), actual.getLightColor()); in compareChannels()
448 assertEquals(parent.getLightColor(), actual.getLightColor()); in compareChannelsParentChild()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp2370 im->getInputManager()->getReader().getLightColor(deviceId, lightId); in nativeGetLightColor()
/frameworks/base/config/
Dboot-profile.txt669 Landroid/app/NotificationChannel;->getLightColor()I
Dboot-image-profile.txt2318 HSPLandroid/app/NotificationChannel;->getLightColor()I
/frameworks/base/boot/
Dboot-image-profile.txt2318 HSPLandroid/app/NotificationChannel;->getLightColor()I
/frameworks/base/core/api/
Dcurrent.txt6943 method public int getLightColor();