Home
last modified time | relevance | path

Searched refs:IDevice (Results 1 - 25 of 34) sorted by relevance

12

/foundation/multimodalinput/input/intention/services/device_manager/include/
H A Ddevice_manager.h48 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 Ddevice.h55 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 Dgpu_resource_util.h27 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 Dgpu_resource_util.cpp36 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 Dinput_device_mgr.h56 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 Ddsoftbus_handler.h100 int32_t DeserializeDevice(std::shared_ptr<IDevice> device, NetPacket &packet);
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dgpu_resource_util_vk.h29 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 Dgpu_resource_util_vk.cpp46 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 Dgpu_resource_util_gles.h29 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 Dgpu_resource_util_gles.cpp44 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 Ddevice_manager.cpp149 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 Ddevice.cpp417 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 Di_device_manager.h33 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 Di_device.h25 class IDevice { class
50 IDevice() = default;
51 virtual ~IDevice() = default;
H A Di_device_observer.h31 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 Dinput_device_mgr.cpp180 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 Ddsoftbus_handler.cpp462 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 Dcooperate_context.cpp80 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 Drender_data_store_default_gpu_resource_data_copy.h31 class IDevice;
77 IDevice& device_;
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/
H A Dintf_device.h144 * 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 Drender_frame_util.h27 class IDevice;
71 IDevice& device_;
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_importer.h46 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 Drender_context.h49 class IDevice;
71 IDevice& GetDevice() const override;
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/
H A Dintf_render_context.h97 virtual IDevice& GetDevice() const = 0;
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_node_context_manager.cpp46 IDevice& dev = createInfo.renderContext.GetDevice(); in RenderNodeContextManager()

Completed in 10 milliseconds

12