/foundation/multimodalinput/input/intention/services/device_manager/include/ |
H A D | device_manager.h | 48 std::shared_ptr<IDevice> GetDevice(int32_t id) const override; 52 bool AnyOf(std::function<bool(std::shared_ptr<IDevice>)> pred) override; 56 std::vector<std::shared_ptr<IDevice>> GetKeyboard() override; 77 void OnDeviceRemoved(std::shared_ptr<IDevice> dev); 78 void OnDeviceAdded(std::shared_ptr<IDevice> dev); 82 int32_t RunGetDevice(std::packaged_task<std::shared_ptr<IDevice>(int32_t)> &task, int32_t id) const; 83 std::shared_ptr<IDevice> OnGetDevice(int32_t id) const; 84 std::shared_ptr<IDevice> AddDevice(const std::string &devNode); 85 std::shared_ptr<IDevice> RemoveDevice(const std::string &devNode); 86 std::shared_ptr<IDevice> FindDevic [all...] |
H A D | device.h | 55 class Device final : public IDevice, 91 IDevice::KeyboardType GetKeyboardType() const override; 148 IDevice::KeyboardType keyboardType_ { IDevice::KEYBOARD_TYPE_NONE }; 270 inline IDevice::KeyboardType Device::GetKeyboardType() const in GetKeyboardType()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | gpu_resource_util.h | 27 class IDevice; 34 void CopyGpuResource(const IDevice& device, const GpuResourceManager& gpuResourceMgr, const RenderHandle handle, 36 void DebugBufferName(const IDevice& device, const GpuBuffer& buffer, const BASE_NS::string_view name); 37 void DebugImageName(const IDevice& device, const GpuImage& image, const BASE_NS::string_view name); 38 void DebugSamplerName(const IDevice& device, const GpuSampler& sampler, const BASE_NS::string_view name);
|
H A D | gpu_resource_util.cpp | 36 void CopyGpuResource(const IDevice& device, const GpuResourceManager& gpuResourceMgr, const RenderHandle handle, in CopyGpuResource() 62 void DebugBufferName(const IDevice& device, const GpuBuffer& buffer, const BASE_NS::string_view name) in DebugBufferName() 77 void DebugImageName(const IDevice& device, const GpuImage& image, const BASE_NS::string_view name) in DebugImageName() 92 void DebugSamplerName(const IDevice& device, const GpuSampler& sampler, const BASE_NS::string_view name) in DebugSamplerName()
|
/foundation/multimodalinput/input/intention/cooperate/plugin/include/ |
H A D | input_device_mgr.h | 56 void AddRemoteInputDevice(const std::string &networkId, std::shared_ptr<IDevice> device); 57 void RemoveRemoteInputDevice(const std::string &networkId, std::shared_ptr<IDevice> device); 60 int32_t SerializeDevice(std::shared_ptr<IDevice> device, NetPacket &packet); 61 std::shared_ptr<MMI::InputDevice> Transform(std::shared_ptr<IDevice> device); 64 void DispDeviceInfo(std::shared_ptr<IDevice> device); 65 std::shared_ptr<IDevice> GetRemoteDeviceById(const std::string &networkId, int32_t remoteDeviceId); 71 bool operator()(const std::shared_ptr<IDevice> &one, const std::shared_ptr<IDevice> &other) const in operator ()() 76 std::unordered_map<std::string, std::set<std::shared_ptr<IDevice>, IDeviceCmp>> remoteDevices_;
|
H A D | dsoftbus_handler.h | 100 int32_t DeserializeDevice(std::shared_ptr<IDevice> device, NetPacket &packet);
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | gpu_resource_util_vk.h | 29 class IDevice; 37 const IDevice& device, const VkObjectType objectType, const uint64_t castedHandle, const BASE_NS::string_view name); 38 void DebugBufferNameVk(const IDevice& device, const GpuBuffer& buffer, const BASE_NS::string_view name); 39 void DebugImageNameVk(const IDevice& device, const GpuImage& image, const BASE_NS::string_view name); 40 void DebugSamplerNameVk(const IDevice& device, const GpuSampler& sampler, const BASE_NS::string_view name);
|
H A D | gpu_resource_util_vk.cpp | 46 const IDevice& device, const VkObjectType objectType, const uint64_t castedHandle, const string_view name) in DebugObjectNameVk() 57 void DebugBufferNameVk(const IDevice& device, const GpuBuffer& buffer, const string_view name) in DebugBufferNameVk() 71 void DebugImageNameVk(const IDevice& device, const GpuImage& image, const string_view name) in DebugImageNameVk() 95 void DebugSamplerNameVk(const IDevice& device, const GpuSampler& sampler, const string_view name) in DebugSamplerNameVk()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | gpu_resource_util_gles.h | 29 class IDevice; 32 void DebugBufferNameGLES(const IDevice& device, const GpuBuffer& buffer, const BASE_NS::string_view name); 33 void DebugImageNameGLES(const IDevice& device, const GpuImage& image, const BASE_NS::string_view name); 34 void DebugSamplerNameGLES(const IDevice& device, const GpuSampler& sampler, const BASE_NS::string_view name);
|
H A D | gpu_resource_util_gles.cpp | 44 void DebugBufferNameGLES(const IDevice& device, const GpuBuffer& buffer, const string_view name) in DebugBufferNameGLES() 53 void DebugImageNameGLES(const IDevice& device, const GpuImage& image, const string_view name) in DebugImageNameGLES() 61 void DebugSamplerNameGLES(const IDevice& device, const GpuSampler& sampler, const string_view name) in DebugSamplerNameGLES()
|
/foundation/multimodalinput/input/intention/services/device_manager/src/ |
H A D | device_manager.cpp | 149 std::shared_ptr<IDevice> DeviceManager::FindDevice(const std::string &devPath) in FindDevice() 172 std::shared_ptr<IDevice> DeviceManager::AddDevice(const std::string &devNode) in AddDevice() 194 std::shared_ptr<IDevice> dev = FindDevice(devPath); in AddDevice() 222 std::shared_ptr<IDevice> DeviceManager::RemoveDevice(const std::string &devNode) in RemoveDevice() 228 std::shared_ptr<IDevice> dev = devIter->second; in RemoveDevice() 242 void DeviceManager::OnDeviceAdded(std::shared_ptr<IDevice> dev) in OnDeviceAdded() 264 void DeviceManager::OnDeviceRemoved(std::shared_ptr<IDevice> dev) in OnDeviceRemoved() 296 std::shared_ptr<IDevice> DeviceManager::GetDevice(int32_t id) const in GetDevice() 299 std::packaged_task<std::shared_ptr<IDevice>(int32_t)> task {[this](int32_t id) { in GetDevice() 314 std::shared_ptr<IDevice> DeviceManage [all...] |
H A D | device.cpp | 417 keyboardType_ = static_cast<IDevice::KeyboardType>(stoi(value)); in ConfigItemSwitch() 451 keyboardType_ = IDevice::KEYBOARD_TYPE_ALPHABETICKEYBOARD; in JudgeKeyboardType() 454 keyboardType_ = IDevice::KEYBOARD_TYPE_REMOTECONTROL; in JudgeKeyboardType() 457 keyboardType_ = IDevice::KEYBOARD_TYPE_DIGITALKEYBOARD; in JudgeKeyboardType() 462 keyboardType_ = IDevice::KEYBOARD_TYPE_HANDWRITINGPEN; in JudgeKeyboardType() 465 keyboardType_ = IDevice::KEYBOARD_TYPE_UNKNOWN; in JudgeKeyboardType() 475 keyboardType_ = IDevice::KEYBOARD_TYPE_NONE; in LoadDeviceConfig() 478 if ((keyboardType_ <= IDevice::KEYBOARD_TYPE_NONE) || in LoadDeviceConfig() 479 (keyboardType_ >= IDevice::KEYBOARD_TYPE_MAX)) { in LoadDeviceConfig() 483 keyboardType_ = IDevice in LoadDeviceConfig() [all...] |
/foundation/multimodalinput/input/intention/prototype/include/ |
H A D | i_device_manager.h | 33 virtual std::shared_ptr<IDevice> GetDevice(int32_t id) const = 0; 37 virtual bool AnyOf(std::function<bool(std::shared_ptr<IDevice>)> pred) = 0; 41 virtual std::vector<std::shared_ptr<IDevice>> GetKeyboard() = 0;
|
H A D | i_device.h | 25 class IDevice { class 50 IDevice() = default; 51 virtual ~IDevice() = default;
|
H A D | i_device_observer.h | 31 virtual void OnDeviceAdded(std::shared_ptr<IDevice>) = 0; 32 virtual void OnDeviceRemoved(std::shared_ptr<IDevice>) = 0;
|
/foundation/multimodalinput/input/intention/cooperate/plugin/src/ |
H A D | input_device_mgr.cpp | 180 void InputDeviceMgr::RemoveRemoteInputDevice(const std::string &networkId, std::shared_ptr<IDevice> device) in RemoveRemoteInputDevice() 191 void InputDeviceMgr::AddRemoteInputDevice(const std::string &networkId, std::shared_ptr<IDevice> device) in AddRemoteInputDevice() 213 void InputDeviceMgr::DispDeviceInfo(std::shared_ptr<IDevice> device) in DispDeviceInfo() 243 int32_t InputDeviceMgr::SerializeDevice(std::shared_ptr<IDevice> device, NetPacket &packet) in SerializeDevice() 257 std::shared_ptr<MMI::InputDevice> InputDeviceMgr::Transform(std::shared_ptr<IDevice> device) in Transform() 318 std::shared_ptr<IDevice> InputDeviceMgr::GetRemoteDeviceById(const std::string &networkId, int32_t remoteDeviceId) in GetRemoteDeviceById() 320 std::shared_ptr<IDevice> dev = std::make_shared<Device>(remoteDeviceId); in GetRemoteDeviceById()
|
H A D | dsoftbus_handler.cpp | 462 int32_t DSoftbusHandler::DeserializeDevice(std::shared_ptr<IDevice> device, NetPacket &packet) in DeserializeDevice() 491 device->AddCapability(IDevice::Capability::DEVICE_CAP_POINTER); in DeserializeDevice() 496 device->AddCapability(IDevice::Capability::DEVICE_CAP_KEYBOARD); in DeserializeDevice() 498 int32_t keyboardType { static_cast<int32_t> (IDevice::KeyboardType::KEYBOARD_TYPE_NONE) }; in DeserializeDevice() 500 device->SetKeyboardType(static_cast<IDevice::KeyboardType>(keyboardType)); in DeserializeDevice()
|
H A D | cooperate_context.cpp | 80 void OnDeviceAdded(std::shared_ptr<IDevice> dev) override; 81 void OnDeviceRemoved(std::shared_ptr<IDevice> dev) override; 87 void HotplugObserver::OnDeviceAdded(std::shared_ptr<IDevice> dev) in OnDeviceAdded() 102 void HotplugObserver::OnDeviceRemoved(std::shared_ptr<IDevice> dev) in OnDeviceRemoved()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/datastore/ |
H A D | render_data_store_default_gpu_resource_data_copy.h | 31 class IDevice; 77 IDevice& device_;
|
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/ |
H A D | intf_device.h | 144 * IDevice interface for accessing device. 150 class IDevice { class 235 IDevice() = default; 236 virtual ~IDevice() = default;
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/util/ |
H A D | render_frame_util.h | 27 class IDevice; 71 IDevice& device_;
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_importer.h | 46 class IDevice; 157 RENDER_NS::IDevice& device_; 236 CORE_NS::Entity ImportScene(RENDER_NS::IDevice& device, size_t sceneIndex, const GLTF2::Data& data,
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/ |
H A D | render_context.h | 49 class IDevice; 71 IDevice& GetDevice() const override;
|
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/ |
H A D | intf_render_context.h | 97 virtual IDevice& GetDevice() const = 0;
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | render_node_context_manager.cpp | 46 IDevice& dev = createInfo.renderContext.GetDevice(); in RenderNodeContextManager()
|