Lines Matching refs:InputDevice
195 std::shared_ptr<InputDevice> device = createDeviceLocked(eventHubId, identifier); in addDeviceLocked()
239 std::shared_ptr<InputDevice> device = std::move(deviceIt->second); in removeDeviceLocked()
277 std::shared_ptr<InputDevice> InputReader::createDeviceLocked( in createDeviceLocked()
284 std::shared_ptr<InputDevice> device; in createDeviceLocked()
289 device = std::make_shared<InputDevice>(&mContext, deviceId, bumpGenerationLocked(), in createDeviceLocked()
304 std::shared_ptr<InputDevice>& device = deviceIt->second; in processEventsForDeviceLocked()
313 InputDevice* InputReader::findInputDeviceLocked(int32_t deviceId) { in findInputDeviceLocked()
326 std::shared_ptr<InputDevice>& device = devicePair.second; in timeoutExpiredLocked()
364 std::shared_ptr<InputDevice>& device = devicePair.second; in refreshConfigurationLocked()
386 std::shared_ptr<InputDevice>& device = devicePair.second; in updateGlobalMetaStateLocked()
398 std::shared_ptr<InputDevice>& device = devicePair.second; in updateLedMetaStateLocked()
413 std::shared_ptr<InputDevice>& device = devicePair.second; in getExternalStylusDevicesLocked()
422 std::shared_ptr<InputDevice>& device = devicePair.second; in dispatchExternalStylusStateLocked()
514 return getStateLocked(deviceId, sourceMask, keyCode, &InputDevice::getKeyCodeState); in getKeyCodeState()
520 return getStateLocked(deviceId, sourceMask, scanCode, &InputDevice::getScanCodeState); in getScanCodeState()
526 return getStateLocked(deviceId, sourceMask, switchCode, &InputDevice::getSwitchState); in getSwitchState()
533 InputDevice* device = findInputDeviceLocked(deviceId); in getStateLocked()
539 std::shared_ptr<InputDevice>& device = devicePair.second; in getStateLocked()
557 InputDevice* device = findInputDeviceLocked(deviceId); in toggleCapsLockState()
583 InputDevice* device = findInputDeviceLocked(deviceId); in markSupportedKeyCodesLocked()
589 std::shared_ptr<InputDevice>& device = devicePair.second; in markSupportedKeyCodesLocked()
615 InputDevice* device = findInputDeviceLocked(deviceId); in vibrate()
624 InputDevice* device = findInputDeviceLocked(deviceId); in cancelVibrate()
633 InputDevice* device = findInputDeviceLocked(deviceId); in isVibrating()
643 InputDevice* device = findInputDeviceLocked(deviceId); in getVibratorIds()
653 InputDevice* device = findInputDeviceLocked(deviceId); in disableSensor()
664 InputDevice* device = findInputDeviceLocked(deviceId); in enableSensor()
674 InputDevice* device = findInputDeviceLocked(deviceId); in flushSensor()
683 InputDevice* device = findInputDeviceLocked(deviceId); in getBatteryCapacity()
693 InputDevice* device = findInputDeviceLocked(deviceId); in getBatteryStatus()
703 InputDevice* device = findInputDeviceLocked(deviceId); in getLights()
714 InputDevice* device = findInputDeviceLocked(deviceId); in getSensors()
725 InputDevice* device = findInputDeviceLocked(deviceId); in setLightColor()
735 InputDevice* device = findInputDeviceLocked(deviceId); in setLightPlayerId()
745 InputDevice* device = findInputDeviceLocked(deviceId); in getLightColor()
755 InputDevice* device = findInputDeviceLocked(deviceId); in getLightPlayerId()
765 InputDevice* device = findInputDeviceLocked(deviceId); in isInputDeviceEnabled()
776 InputDevice* device = findInputDeviceLocked(deviceId); in canDispatchToDisplay()
811 const std::shared_ptr<InputDevice>& device = devicePair.first; in dump()