Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/inputflinger/reader/controller/
H A 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;
H A 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()
H A DPeripheralControllerInterface.h43 virtual std::optional<int32_t> getLightColor(int32_t lightId) = 0;
/aosp12/frameworks/base/core/java/android/app/
H A DNotificationChannel.java735 public int getLightColor() { in getLightColor() method in NotificationChannel
1071 if (getLightColor() != DEFAULT_LIGHT_COLOR) { in writeXml()
1072 out.attributeInt(null, ATT_LIGHT_COLOR, getLightColor()); in writeXml()
1155 record.put(ATT_LIGHT_COLOR, Integer.toString(getLightColor())); in toJson()
1248 && getLightColor() == that.getLightColor() in equals()
1276 getLockscreenVisibility(), getSound(), mLights, getLightColor(), in hashCode()
/aosp12/frameworks/native/services/inputflinger/reader/mapper/
H A DInputMapper.h82 virtual std::optional<int32_t> getLightColor(int32_t lightId) { return std::nullopt; } in getLightColor() function
/aosp12/frameworks/native/services/inputflinger/include/
H A DInputReaderBase.h139 virtual std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) = 0;
/aosp12/frameworks/native/services/inputflinger/reader/
H A 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()
H A DInputReader.cpp742 std::optional<int32_t> InputReader::getLightColor(int32_t deviceId, int32_t lightId) { in getLightColor() function in android::InputReader
747 return device->getLightColor(lightId); in getLightColor()
/aosp12/frameworks/native/services/inputflinger/reader/include/
H A DInputReader.h110 std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) override;
H A DInputDevice.h104 std::optional<int32_t> getLightColor(int32_t lightId);
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java273 int channelLightColor = getChannel().getLightColor() != 0 ? getChannel().getLightColor() in calculateLights()
H A DPreferencesHelper.java1873 || original.getLightColor() != update.getLightColor()) { in lockFieldsForUpdateLocked()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DPreferencesHelperTest.java325 assertEquals(expected.getLightColor(), actual.getLightColor()); in compareChannels()
344 assertEquals(parent.getLightColor(), actual.getLightColor()); in compareChannelsParentChild()
/aosp12/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp2050 std::optional<int32_t> getLightColor(int32_t lightId) override { in getLightColor() function in android::FakePeripheralController
2120 ASSERT_EQ(controller.getLightColor(1 /* lightId */), LIGHT_BRIGHTNESS); in TEST_F()
2122 ASSERT_EQ(mReader->getLightColor(deviceId, 1 /* lightId */), LIGHT_BRIGHTNESS); in TEST_F()
9095 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_BRIGHTNESS); in TEST_F()
9126 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
9148 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
/aosp12/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp2044 im->getInputManager()->getReader()->getLightColor(deviceId, lightId); in nativeGetLightColor()
/aosp12/frameworks/base/config/
H A Dboot-profile.txt669 Landroid/app/NotificationChannel;->getLightColor()I
H A Dboot-image-profile.txt2261 HSPLandroid/app/NotificationChannel;->getLightColor()I
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt2261 HSPLandroid/app/NotificationChannel;->getLightColor()I
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt6170 method public int getLightColor();