/frameworks/native/services/inputflinger/reader/controller/ |
D | PeripheralController.h | 36 bool setLightColor(int32_t lightId, int32_t color) override; 72 virtual bool setLightColor(int32_t color) { return false; } in setLightColor() function 92 bool setLightColor(int32_t color) override; 114 bool setLightColor(int32_t color) override; 128 bool setLightColor(int32_t color) override;
|
D | PeripheralControllerInterface.h | 42 virtual bool setLightColor(int32_t lightId, int32_t color) = 0;
|
D | PeripheralController.cpp | 103 bool PeripheralController::MonoLight::setLightColor(int32_t color) { in setLightColor() function in android::PeripheralController::MonoLight 110 bool PeripheralController::RgbLight::setLightColor(int32_t color) { in setLightColor() function in android::PeripheralController::RgbLight 136 bool PeripheralController::MultiColorLight::setLightColor(int32_t color) { in setLightColor() function in android::PeripheralController::MultiColorLight 540 bool PeripheralController::setLightColor(int32_t lightId, int32_t color) { in setLightColor() function in android::PeripheralController 548 return light->setLightColor(color); in setLightColor()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | InputReaderFuzzer.cpp | 144 bool setLightColor(int32_t deviceId, int32_t lightId, int32_t color) { in setLightColor() function in android::FuzzInputReader 145 return reader->setLightColor(deviceId, lightId, color); in setLightColor() 282 reader->setLightColor(fdp->ConsumeIntegral<int32_t>(), in LLVMFuzzerTestOneInput()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | KeyboardLedController.java | 118 mNative.setLightColor(deviceId, light.getId(), color); in updateMicMuteLedState() 133 mNative.setLightColor(deviceId, light.getId(), color); in updateVolumeMuteLedState()
|
D | NativeInputManagerService.java | 199 void setLightColor(int deviceId, int lightId, int color); in setLightColor() method 532 public native void setLightColor(int deviceId, int lightId, int color); in setLightColor() method in NativeInputManagerService.NativeImpl
|
D | KeyboardBacklightController.java | 553 mNative.setLightColor(mDeviceId, mLight.getId(), Color.argb(toValue, 0, 0, 0)); in setBacklightValue() 562 (animation) -> mNative.setLightColor(mDeviceId, mLight.getId(), in startAnimation()
|
D | InputManagerService.java | 2040 mNative.setLightColor(deviceId, light.getId(), lightState.getColor()); in setLightStateInternal()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | InputMapper.h | 109 virtual bool setLightColor(int32_t lightId, int32_t color) { return true; } in setLightColor() function
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 435 virtual bool setLightColor(int32_t deviceId, int32_t lightId, int32_t color) = 0;
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationTestList.java | 113 phoneCall.setLightColor(0xff0000ff); 737 channel.setLightColor(0xff0000ff); 754 channel.setLightColor(0xffff0000);
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputReader.h | 111 bool setLightColor(int32_t deviceId, int32_t lightId, int32_t color) override;
|
D | InputDevice.h | 121 bool setLightColor(int32_t lightId, int32_t color);
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 517 copy.setLightColor(mLightColor); in copy() 724 public void setLightColor(int argb) { in setLightColor() method in NotificationChannel 1254 setLightColor(safeInt(parser, ATT_LIGHT_COLOR, DEFAULT_LIGHT_COLOR)); in populateFromXml()
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 678 bool InputDevice::setLightColor(int32_t lightId, int32_t color) { in setLightColor() function in android::InputDevice 679 return mController ? mController->setLightColor(lightId, color) : false; in setLightColor()
|
D | InputReader.cpp | 847 bool InputReader::setLightColor(int32_t deviceId, int32_t lightId, int32_t color) { in setLightColor() function in android::InputReader 852 return device->setLightColor(lightId, color); in setLightColor()
|
/frameworks/native/services/inputflinger/tests/ |
D | InterfaceMocks.h | 252 MOCK_METHOD(bool, setLightColor, (int32_t lightId, int32_t color), ());
|
D | InputReader_test.cpp | 1308 bool setLightColor(int32_t lightId, int32_t color) override { in setLightColor() function in android::FakePeripheralController 1402 ASSERT_TRUE(controller.setLightColor(/*lightId=*/1, LIGHT_BRIGHTNESS)); in TEST_F() 1404 ASSERT_TRUE(mReader->setLightColor(deviceId, /*lightId=*/1, LIGHT_BRIGHTNESS)); in TEST_F() 9106 ASSERT_TRUE(controller.setLightColor(lights[0].id, LIGHT_BRIGHTNESS)); in TEST_F() 9149 ASSERT_TRUE(controller.setLightColor(lights[0].id, LIGHT_BRIGHTNESS)); in TEST_F() 9277 ASSERT_TRUE(controller.setLightColor(lights[0].id, LIGHT_COLOR)); in TEST_F() 9313 ASSERT_TRUE(controller.setLightColor(lights[0].id, LIGHT_COLOR)); in TEST_F() 9353 ASSERT_TRUE(controller.setLightColor(lights[0].id, LIGHT_COLOR)); in TEST_F() 9377 ASSERT_TRUE(controller.setLightColor(lights[0].id, LIGHT_COLOR)); in TEST_F() 9402 ASSERT_TRUE(controller.setLightColor(lights[0].id, LIGHT_COLOR)); in TEST_F() [all …]
|
/frameworks/base/tests/Input/src/com/android/server/input/ |
D | KeyboardBacklightControllerTests.kt | 117 `when`(native.setLightColor(anyInt(), anyInt(), anyInt())).then { in createKeyboard()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationChannelTest.java | 715 original.setLightColor(5); in testCopy()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 636 channel2.setLightColor(Color.BLUE); in testChannelXml() 730 channel2.setLightColor(Color.BLUE); in testChannelXmlForBackup() 1196 channel2.setLightColor(Color.BLUE); in testChannelXmlForNonBackup_postMigration() 1281 channel2.setLightColor(Color.BLUE); in testChannelXmlForBackup_postMigration() 1368 channel2.setLightColor(Color.BLUE); in testChannelXmlForBackup_postMigration_noExternal() 2346 update1.setLightColor(Color.GREEN); in testLockFields_lightsAndImportance() 3233 newChannel.setLightColor(Color.BLUE); in testCreateChannel_alreadyExists()
|
D | NotificationRecordTest.java | 193 channel.setLightColor(Color.BLUE); in getNotification()
|
D | NotificationManagerServiceTest.java | 2865 mTestNotificationChannel.setLightColor(Color.CYAN); in testUpdateChannel_notifyGroupHelper() 4762 mTestNotificationChannel.setLightColor(Color.CYAN); in testUpdateChannelNotifyListener()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PreferencesHelper.java | 1393 conversation.setLightColor(updatedParent.getLightColor());
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 2890 im->getInputManager()->getReader().setLightColor(deviceId, lightId, color); in nativeSetLightColor()
|