Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.h38 std::optional<int32_t> getLightColor(int32_t lightId) override;
71 virtual std::optional<int32_t> getLightColor() { return std::nullopt; } in getLightColor() function
88 std::optional<int32_t> getLightColor() override;
110 std::optional<int32_t> getLightColor() override;
121 std::optional<int32_t> getLightColor() override;
DPeripheralController.cpp151 std::optional<int32_t> PeripheralController::MonoLight::getLightColor() { in getLightColor() function in android::PeripheralController::MonoLight
160 std::optional<int32_t> PeripheralController::RgbLight::getLightColor() { in getLightColor() function in android::PeripheralController::RgbLight
195 std::optional<int32_t> PeripheralController::MultiColorLight::getLightColor() { in getLightColor() function in android::PeripheralController::MultiColorLight
238 dump += StringPrintf(INDENT4 "Color: 0x%x\n", getLightColor().value_or(0)); in dump()
251 dump += StringPrintf(INDENT4 "Color: 0x%x\n", getLightColor().value_or(0)); in dump()
261 dump += StringPrintf(INDENT4 "Color: 0x%x\n", getLightColor().value_or(0)); in dump()
495 std::optional<int32_t> PeripheralController::getLightColor(int32_t lightId) { in getLightColor() function in android::PeripheralController
501 std::optional<int32_t> color = light->getLightColor(); in getLightColor()
DPeripheralControllerInterface.h43 virtual std::optional<int32_t> getLightColor(int32_t lightId) = 0;
/frameworks/base/core/java/android/app/
DNotificationChannel.java744 public int getLightColor() { in getLightColor() method in NotificationChannel
1081 if (getLightColor() != DEFAULT_LIGHT_COLOR) { in writeXml()
1082 out.attributeInt(null, ATT_LIGHT_COLOR, getLightColor()); in writeXml()
1165 record.put(ATT_LIGHT_COLOR, Integer.toString(getLightColor())); in toJson()
1258 && getLightColor() == that.getLightColor() in equals()
1286 getLockscreenVisibility(), getSound(), mLights, getLightColor(), in hashCode()
/frameworks/native/services/inputflinger/reader/mapper/
DInputMapper.h82 virtual std::optional<int32_t> getLightColor(int32_t lightId) { return std::nullopt; } in getLightColor() function
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java137 screenshotChannel.setLightColor(legacySS.getLightColor()); in createScreenshotChannel()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h139 virtual std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) = 0;
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp547 std::optional<int32_t> InputDevice::getLightColor(int32_t lightId) { in getLightColor() function in android::InputDevice
548 return mController ? mController->getLightColor(lightId) : std::nullopt; in getLightColor()
DInputReader.cpp736 std::optional<int32_t> InputReader::getLightColor(int32_t deviceId, int32_t lightId) { in getLightColor() function in android::InputReader
741 return device->getLightColor(lightId); in getLightColor()
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h110 std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) override;
DInputDevice.h104 std::optional<int32_t> getLightColor(int32_t lightId);
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java269 int channelLightColor = getChannel().getLightColor() != 0 ? getChannel().getLightColor() in calculateLights()
DPreferencesHelper.java1871 || original.getLightColor() != update.getLightColor()) { in lockFieldsForUpdateLocked()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java324 assertEquals(expected.getLightColor(), actual.getLightColor()); in compareChannels()
343 assertEquals(parent.getLightColor(), actual.getLightColor()); in compareChannelsParentChild()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2034 std::optional<int32_t> getLightColor(int32_t lightId) override { in getLightColor() function in android::FakePeripheralController
2104 ASSERT_EQ(controller.getLightColor(1 /* lightId */), LIGHT_BRIGHTNESS); in TEST_F()
2106 ASSERT_EQ(mReader->getLightColor(deviceId, 1 /* lightId */), LIGHT_BRIGHTNESS); in TEST_F()
8813 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_BRIGHTNESS); in TEST_F()
8844 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
8866 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp2043 im->getInputManager()->getReader()->getLightColor(deviceId, lightId); in nativeGetLightColor()
/frameworks/base/config/
Dboot-profile.txt669 Landroid/app/NotificationChannel;->getLightColor()I
Dboot-image-profile.txt2261 HSPLandroid/app/NotificationChannel;->getLightColor()I
/frameworks/base/boot/
Dboot-image-profile.txt2261 HSPLandroid/app/NotificationChannel;->getLightColor()I
/frameworks/base/core/api/
Dcurrent.txt6165 method public int getLightColor();