/aosp12/frameworks/native/services/inputflinger/reader/controller/ |
H A D | PeripheralController.h | 38 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 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()
|
H A D | PeripheralControllerInterface.h | 43 virtual std::optional<int32_t> getLightColor(int32_t lightId) = 0;
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | NotificationChannel.java | 735 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 D | InputMapper.h | 82 virtual std::optional<int32_t> getLightColor(int32_t lightId) { return std::nullopt; } in getLightColor() function
|
/aosp12/frameworks/native/services/inputflinger/include/ |
H A D | InputReaderBase.h | 139 virtual std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) = 0;
|
/aosp12/frameworks/native/services/inputflinger/reader/ |
H A D | InputDevice.cpp | 547 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 D | InputReader.cpp | 742 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 D | InputReader.h | 110 std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) override;
|
H A D | InputDevice.h | 104 std::optional<int32_t> getLightColor(int32_t lightId);
|
/aosp12/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationRecord.java | 273 int channelLightColor = getChannel().getLightColor() != 0 ? getChannel().getLightColor() in calculateLights()
|
H A D | PreferencesHelper.java | 1873 || original.getLightColor() != update.getLightColor()) { in lockFieldsForUpdateLocked()
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | PreferencesHelperTest.java | 325 assertEquals(expected.getLightColor(), actual.getLightColor()); in compareChannels() 344 assertEquals(parent.getLightColor(), actual.getLightColor()); in compareChannelsParentChild()
|
/aosp12/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 2050 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 D | com_android_server_input_InputManagerService.cpp | 2044 im->getInputManager()->getReader()->getLightColor(deviceId, lightId); in nativeGetLightColor()
|
/aosp12/frameworks/base/config/ |
H A D | boot-profile.txt | 669 Landroid/app/NotificationChannel;->getLightColor()I
|
H A D | boot-image-profile.txt | 2261 HSPLandroid/app/NotificationChannel;->getLightColor()I
|
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/aosp12/frameworks/base/boot/ |
H A D | boot-image-profile.txt | 2261 HSPLandroid/app/NotificationChannel;->getLightColor()I
|
/aosp12/frameworks/base/core/api/ |
H A D | current.txt | 6170 method public int getLightColor();
|