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()
556 std::optional<int32_t> PeripheralController::getLightColor(int32_t lightId) { in getLightColor() function in android::PeripheralController
562 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.cpp148 std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) { in getLightColor() function in android::FuzzInputReader
149 return reader->getLightColor(deviceId, lightId); in getLightColor()
260 reader->getLightColor(fdp->ConsumeIntegral<int32_t>(), in LLVMFuzzerTestOneInput()
/frameworks/base/core/java/android/app/
DNotificationChannel.java751 public int getLightColor() { in getLightColor() method in NotificationChannel
1153 if (getLightColor() != DEFAULT_LIGHT_COLOR) { in writeXml()
1154 out.attributeInt(null, ATT_LIGHT_COLOR, getLightColor()); in writeXml()
1237 record.put(ATT_LIGHT_COLOR, Integer.toString(getLightColor())); in toJson()
1330 && getLightColor() == that.getLightColor() in equals()
1357 getLockscreenVisibility(), getSound(), mLights, getLightColor(), in hashCode()
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java164 int getLightColor(int deviceId, int lightId); in getLightColor() method
406 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.java2043 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.h371 virtual std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) = 0;
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp623 std::optional<int32_t> InputDevice::getLightColor(int32_t lightId) { in getLightColor() function in android::InputDevice
624 return mController ? mController->getLightColor(lightId) : std::nullopt; in getLightColor()
DInputReader.cpp861 std::optional<int32_t> InputReader::getLightColor(int32_t deviceId, int32_t lightId) { in getLightColor() function in android::InputReader
866 return device->getLightColor(lightId); in getLightColor()
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h114 std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) override;
DInputDevice.h116 std::optional<int32_t> getLightColor(int32_t lightId);
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java1200 || oldParent.getLightColor() != updatedParent.getLightColor())) { in maybeUpdateChildConversationChannel()
1202 conversation.setLightColor(updatedParent.getLightColor()); in maybeUpdateChildConversationChannel()
1965 || original.getLightColor() != update.getLightColor()) { in lockFieldsForUpdateLocked()
DNotificationRecord.java286 int channelLightColor = getChannel().getLightColor() != 0 ? getChannel().getLightColor() in calculateLights()
/frameworks/base/services/tests/servicestests/src/com/android/server/input/
DKeyboardBacklightControllerTests.kt144 `when`(native.getLightColor(anyInt(), anyInt())).thenAnswer { in createKeyboard()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1223 std::optional<int32_t> getLightColor(int32_t lightId) override { in getLightColor() function in android::FakePeripheralController
1313 ASSERT_EQ(controller.getLightColor(/*lightId=*/1), LIGHT_BRIGHTNESS); in TEST_F()
1315 ASSERT_EQ(mReader->getLightColor(deviceId, /*lightId=*/1), LIGHT_BRIGHTNESS); in TEST_F()
11199 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_BRIGHTNESS); in TEST_F()
11220 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_BRIGHTNESS); in TEST_F()
11348 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
11384 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
11424 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
11448 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
11473 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.java396 assertEquals(expected.getLightColor(), actual.getLightColor()); in compareChannels()
415 assertEquals(parent.getLightColor(), actual.getLightColor()); in compareChannelsParentChild()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp2279 im->getInputManager()->getReader().getLightColor(deviceId, lightId); in nativeGetLightColor()
/frameworks/base/config/
Dboot-profile.txt669 Landroid/app/NotificationChannel;->getLightColor()I
Dboot-image-profile.txt2343 HSPLandroid/app/NotificationChannel;->getLightColor()I
/frameworks/base/boot/
Dboot-image-profile.txt2343 HSPLandroid/app/NotificationChannel;->getLightColor()I
/frameworks/base/core/api/
Dcurrent.txt6735 method public int getLightColor();