Searched defs:led (Results 1 - 6 of 6) sorted by relevance
/frameworks/native/libs/input/ |
H A D | KeyLayoutMap.cpp | 217 } else if (keywordToken == "led") { 416 ALOGE("%s: Expected led %s number, got '%s'.", mTokenizer->getLocation().string(), 423 ALOGE("%s: Duplicate entry for led %s '%s'.", mTokenizer->getLocation().string(), 438 ALOGD("Parsed led %s: code=%d, ledCode=%d.", 442 Led led; local 443 led.ledCode = ledCode; 444 map.add(code, led);
|
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.cpp | 1725 * - android.led.transmit = defaulted ON 1730 uint8_t led = entry.data.u8[i]; local 1732 switch(led) { 1751 * - android.led.transmit = android.permission.CAMERA_DISABLE_TRANSMIT
|
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 532 bool EventHub::hasLed(int32_t deviceId, int32_t led) const { 536 if (device && mapLed(device, led, &sc) == NO_ERROR) { 544 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) { argument 547 setLedStateLocked(device, led, on); 550 void EventHub::setLedStateLocked(Device* device, int32_t led, bool on) { argument 552 if (device && device->hasValidFd() && mapLed(device, led, &sc) != NAME_NOT_FOUND) { 1587 status_t EventHub::mapLed(Device* device, int32_t led, int32_t* outScanCode) const { argument 1593 if(device->keyMap.keyLayoutMap->findScanCodeForLed(led, &scanCode) != NAME_NOT_FOUND) {
|
H A D | InputReader.cpp | 2551 void KeyboardInputMapper::initializeLedState(LedState& ledState, int32_t led) { argument 2552 ledState.avail = getEventHub()->hasLed(getDeviceId(), led); 2566 int32_t led, int32_t modifier, bool reset) { 2570 getEventHub()->setLedState(getDeviceId(), led, desiredState); local 2565 updateLedStateForModifier(LedState& ledState, int32_t led, int32_t modifier, bool reset) argument
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 2075 * - android.led.transmit = defaulted ON 2082 uint8_t led = entry.data.u8[i]; local 2084 switch(led) {
|
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 527 void addLed(int32_t deviceId, int32_t led, bool initialState) { 529 device->leds.add(led, initialState); 532 bool getLedState(int32_t deviceId, int32_t led) { 534 return device->leds.valueFor(led); 754 virtual bool hasLed(int32_t deviceId, int32_t led) const { 756 return device && device->leds.indexOfKey(led) >= 0; 759 virtual void setLedState(int32_t deviceId, int32_t led, bool on) { argument 762 ssize_t index = device->leds.indexOfKey(led); 764 device->leds.replaceValueAt(led, on); 768 "was not present. led [all...] |
Completed in 100 milliseconds