/frameworks/native/services/inputflinger/reader/controller/ |
D | PeripheralController.h | 39 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;
|
D | PeripheralController.cpp | 151 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()
|
D | PeripheralControllerInterface.h | 45 virtual std::optional<int32_t> getLightColor(int32_t lightId) = 0;
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 741 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/ |
D | NativeInputManagerService.java | 139 int getLightColor(int deviceId, int lightId); in getLightColor() method 332 public native int getLightColor(int deviceId, int lightId); in getLightColor() method in NativeInputManagerService.NativeImpl
|
D | InputManagerService.java | 2627 int color = mNative.getLightColor(deviceId, lightId); in getLightState()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | InputMapper.h | 85 virtual std::optional<int32_t> getLightColor(int32_t lightId) { return std::nullopt; } in getLightColor() function
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 141 virtual std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) = 0;
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 571 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()
|
D | InputReader.cpp | 749 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/ |
D | InputReader.h | 111 std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) override;
|
D | InputDevice.h | 108 std::optional<int32_t> getLightColor(int32_t lightId);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 283 int channelLightColor = getChannel().getLightColor() != 0 ? getChannel().getLightColor() in calculateLights()
|
D | PreferencesHelper.java | 1872 || original.getLightColor() != update.getLightColor()) { in lockFieldsForUpdateLocked()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 352 assertEquals(expected.getLightColor(), actual.getLightColor()); in compareChannels() 371 assertEquals(parent.getLightColor(), actual.getLightColor()); in compareChannelsParentChild()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 2186 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/ |
D | com_android_server_input_InputManagerService.cpp | 2056 im->getInputManager()->getReader().getLightColor(deviceId, lightId); in nativeGetLightColor()
|
/frameworks/base/config/ |
D | boot-profile.txt | 669 Landroid/app/NotificationChannel;->getLightColor()I
|
D | boot-image-profile.txt | 2297 HSPLandroid/app/NotificationChannel;->getLightColor()I
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 2297 HSPLandroid/app/NotificationChannel;->getLightColor()I
|
/frameworks/base/core/api/ |
D | current.txt | 6408 method public int getLightColor();
|