Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.h39 std::optional<int32_t> getLightColor(int32_t lightId) override;
73 virtual std::optional<int32_t> getLightColor() { return std::nullopt; } in getLightColor() function
90 std::optional<int32_t> getLightColor() override;
112 std::optional<int32_t> getLightColor() override;
123 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.h45 virtual std::optional<int32_t> getLightColor(int32_t lightId) = 0;
/frameworks/base/core/java/android/app/
DNotificationChannel.java741 public int getLightColor() { in getLightColor() method in NotificationChannel
1061 if (getLightColor() != DEFAULT_LIGHT_COLOR) { in writeXml()
1062 out.attributeInt(null, ATT_LIGHT_COLOR, getLightColor()); in writeXml()
1145 record.put(ATT_LIGHT_COLOR, Integer.toString(getLightColor())); in toJson()
1238 && getLightColor() == that.getLightColor() in equals()
1265 getLockscreenVisibility(), getSound(), mLights, getLightColor(), in hashCode()
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java139 int getLightColor(int deviceId, int lightId); in getLightColor() method
332 public native int getLightColor(int deviceId, int lightId); in getLightColor() method in NativeInputManagerService.NativeImpl
DInputManagerService.java2627 int color = mNative.getLightColor(deviceId, lightId); in getLightState()
/frameworks/native/services/inputflinger/reader/mapper/
DInputMapper.h85 virtual std::optional<int32_t> getLightColor(int32_t lightId) { return std::nullopt; } in getLightColor() function
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h141 virtual std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) = 0;
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp571 std::optional<int32_t> InputDevice::getLightColor(int32_t lightId) { in getLightColor() function in android::InputDevice
572 return mController ? mController->getLightColor(lightId) : std::nullopt; in getLightColor()
DInputReader.cpp749 std::optional<int32_t> InputReader::getLightColor(int32_t deviceId, int32_t lightId) { in getLightColor() function in android::InputReader
754 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.h108 std::optional<int32_t> getLightColor(int32_t lightId);
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java283 int channelLightColor = getChannel().getLightColor() != 0 ? getChannel().getLightColor() in calculateLights()
DPreferencesHelper.java1872 || original.getLightColor() != update.getLightColor()) { in lockFieldsForUpdateLocked()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java352 assertEquals(expected.getLightColor(), actual.getLightColor()); in compareChannels()
371 assertEquals(parent.getLightColor(), actual.getLightColor()); in compareChannelsParentChild()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2186 std::optional<int32_t> getLightColor(int32_t lightId) override { in getLightColor() function in android::FakePeripheralController
2259 ASSERT_EQ(controller.getLightColor(1 /* lightId */), LIGHT_BRIGHTNESS); in TEST_F()
2261 ASSERT_EQ(mReader->getLightColor(deviceId, 1 /* lightId */), LIGHT_BRIGHTNESS); in TEST_F()
9983 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_BRIGHTNESS); in TEST_F()
10014 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F()
10036 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.cpp2056 im->getInputManager()->getReader().getLightColor(deviceId, lightId); in nativeGetLightColor()
/frameworks/base/config/
Dboot-profile.txt669 Landroid/app/NotificationChannel;->getLightColor()I
Dboot-image-profile.txt2297 HSPLandroid/app/NotificationChannel;->getLightColor()I
/frameworks/base/boot/
Dboot-image-profile.txt2297 HSPLandroid/app/NotificationChannel;->getLightColor()I
/frameworks/base/core/api/
Dcurrent.txt6408 method public int getLightColor();