/frameworks/native/services/inputflinger/reader/controller/ |
D | PeripheralController.h | 38 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;
|
D | PeripheralController.cpp | 155 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() 565 std::optional<int32_t> PeripheralController::getLightColor(int32_t lightId) { in getLightColor() function in android::PeripheralController 571 std::optional<int32_t> color = light->getLightColor(); in getLightColor()
|
D | PeripheralControllerInterface.h | 44 virtual std::optional<int32_t> getLightColor(int32_t lightId) = 0;
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | InputReaderFuzzer.cpp | 146 std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) { in getLightColor() function in android::FuzzInputReader 147 return reader->getLightColor(deviceId, lightId); in getLightColor() 260 reader->getLightColor(fdp->ConsumeIntegral<int32_t>(), in LLVMFuzzerTestOneInput()
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 865 public int getLightColor() { in getLightColor() method in NotificationChannel 1324 if (getLightColor() != DEFAULT_LIGHT_COLOR) { in writeXml() 1325 out.attributeInt(null, ATT_LIGHT_COLOR, getLightColor()); in writeXml() 1411 record.put(ATT_LIGHT_COLOR, Integer.toString(getLightColor())); in toJson() 1531 && getLightColor() == that.getLightColor() in equals() 1559 getLockscreenVisibility(), getSound(), mLights, getLightColor(), in hashCode()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | NativeInputManagerService.java | 172 int getLightColor(int deviceId, int lightId); in getLightColor() method 443 public native int getLightColor(int deviceId, int lightId); in getLightColor() method in NativeInputManagerService.NativeImpl
|
D | KeyboardBacklightController.java | 624 int fromValue = Color.alpha(mNative.getLightColor(mDeviceId, mLight.getId())); in setBacklightValue()
|
D | InputManagerService.java | 1947 int color = mNative.getLightColor(deviceId, lightId); in getLightState()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | InputMapper.h | 108 virtual std::optional<int32_t> getLightColor(int32_t lightId) { return std::nullopt; } in getLightColor() function
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 385 virtual std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) = 0;
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 668 std::optional<int32_t> InputDevice::getLightColor(int32_t lightId) { in getLightColor() function in android::InputDevice 669 return mController ? mController->getLightColor(lightId) : std::nullopt; in getLightColor()
|
D | InputReader.cpp | 848 std::optional<int32_t> InputReader::getLightColor(int32_t deviceId, int32_t lightId) { in getLightColor() function in android::InputReader 853 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 | 121 std::optional<int32_t> getLightColor(int32_t lightId);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PreferencesHelper.java | 1260 || oldParent.getLightColor() != updatedParent.getLightColor())) { in maybeUpdateChildConversationChannel() 1262 conversation.setLightColor(updatedParent.getLightColor()); in maybeUpdateChildConversationChannel() 2027 || original.getLightColor() != update.getLightColor()) { in lockFieldsForUpdateLocked()
|
D | NotificationRecord.java | 293 int channelLightColor = getChannel().getLightColor() != 0 ? getChannel().getLightColor() in calculateLights()
|
/frameworks/base/tests/Input/src/com/android/server/input/ |
D | KeyboardBacklightControllerTests.kt | 145 `when`(native.getLightColor(anyInt(), anyInt())).thenAnswer { in createKeyboard()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 1319 std::optional<int32_t> getLightColor(int32_t lightId) override { in getLightColor() function in android::FakePeripheralController 1409 ASSERT_EQ(controller.getLightColor(/*lightId=*/1), LIGHT_BRIGHTNESS); in TEST_F() 1411 ASSERT_EQ(mReader->getLightColor(deviceId, /*lightId=*/1), LIGHT_BRIGHTNESS); in TEST_F() 10290 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_BRIGHTNESS); in TEST_F() 10333 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_BRIGHTNESS); in TEST_F() 10461 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F() 10497 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F() 10537 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F() 10561 ASSERT_EQ(controller.getLightColor(lights[0].id).value_or(-1), LIGHT_COLOR); in TEST_F() 10586 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/ |
D | PreferencesHelperTest.java | 428 assertEquals(expected.getLightColor(), actual.getLightColor()); in compareChannels() 448 assertEquals(parent.getLightColor(), actual.getLightColor()); in compareChannelsParentChild()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 2370 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 | 2318 HSPLandroid/app/NotificationChannel;->getLightColor()I
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 2318 HSPLandroid/app/NotificationChannel;->getLightColor()I
|
/frameworks/base/core/api/ |
D | current.txt | 6943 method public int getLightColor();
|