Home
last modified time | relevance | path

Searched refs:setLightColor (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.h36 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;
DPeripheralControllerInterface.h42 virtual bool setLightColor(int32_t lightId, int32_t color) = 0;
DPeripheralController.cpp103 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/
DInputReaderFuzzer.cpp144 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/
DKeyboardLedController.java118 mNative.setLightColor(deviceId, light.getId(), color); in updateMicMuteLedState()
133 mNative.setLightColor(deviceId, light.getId(), color); in updateVolumeMuteLedState()
DNativeInputManagerService.java199 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
DKeyboardBacklightController.java553 mNative.setLightColor(mDeviceId, mLight.getId(), Color.argb(toValue, 0, 0, 0)); in setBacklightValue()
562 (animation) -> mNative.setLightColor(mDeviceId, mLight.getId(), in startAnimation()
DInputManagerService.java2040 mNative.setLightColor(deviceId, light.getId(), lightState.getColor()); in setLightStateInternal()
/frameworks/native/services/inputflinger/reader/mapper/
DInputMapper.h109 virtual bool setLightColor(int32_t lightId, int32_t color) { return true; } in setLightColor() function
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h435 virtual bool setLightColor(int32_t deviceId, int32_t lightId, int32_t color) = 0;
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java113 phoneCall.setLightColor(0xff0000ff);
737 channel.setLightColor(0xff0000ff);
754 channel.setLightColor(0xffff0000);
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h111 bool setLightColor(int32_t deviceId, int32_t lightId, int32_t color) override;
DInputDevice.h121 bool setLightColor(int32_t lightId, int32_t color);
/frameworks/base/core/java/android/app/
DNotificationChannel.java517 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/
DInputDevice.cpp678 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()
DInputReader.cpp847 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/
DInterfaceMocks.h252 MOCK_METHOD(bool, setLightColor, (int32_t lightId, int32_t color), ());
DInputReader_test.cpp1308 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/
DKeyboardBacklightControllerTests.kt117 `when`(native.setLightColor(anyInt(), anyInt(), anyInt())).then { in createKeyboard()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationChannelTest.java715 original.setLightColor(5); in testCopy()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java636 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()
DNotificationRecordTest.java193 channel.setLightColor(Color.BLUE); in getNotification()
DNotificationManagerServiceTest.java2865 mTestNotificationChannel.setLightColor(Color.CYAN); in testUpdateChannel_notifyGroupHelper()
4762 mTestNotificationChannel.setLightColor(Color.CYAN); in testUpdateChannelNotifyListener()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java1393 conversation.setLightColor(updatedParent.getLightColor());
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp2890 im->getInputManager()->getReader().setLightColor(deviceId, lightId, color); in nativeSetLightColor()

12