Home
last modified time | relevance | path

Searched refs:Device (Results 1 - 25 of 125) sorted by relevance

12345

/foundation/multimodalinput/input/intention/services/device_manager/include/
H A Ddevice.h2 * Copyright (c) 2022-2023 Huawei Device Co., Ltd.
55 class Device final : public IDevice,
59 explicit Device(int32_t deviceId);
60 DISALLOW_COPY_AND_MOVE(Device);
61 ~Device();
151 inline int32_t Device::GetFd() const in GetFd()
156 inline void Device::SetId(int32_t id) in SetId()
161 inline void Device::SetDevPath(const std::string &devPath) in SetDevPath()
166 inline void Device::SetSysPath(const std::string &sysPath) in SetSysPath()
171 inline void Device
[all...]
/foundation/multimodalinput/input/intention/services/test/unittest/src/
H A Ddevice_test.cpp2 * Copyright (c) 2024 Huawei Device Co., Ltd.
65 Device *dev = new Device(deviceId); in HWTEST_F()
82 Device *dev = new Device(deviceId); in HWTEST_F()
97 Device *dev = new Device(deviceId); in HWTEST_F()
111 Device *dev = new Device(deviceId); in HWTEST_F()
127 Device *de in HWTEST_F()
[all...]
/foundation/distributedhardware/distributed_input/common/include/
H A Dinput_hub.h2 * Copyright (c) 2021-2023 Huawei Device Co., Ltd.
49 struct Device { struct in OHOS::DistributedHardware::DistributedInput::InputHub
50 Device* next;
60 Device(int fd, const std::string &path);
61 ~Device();
101 void CheckTargetDevicesState(std::vector<Device*> targetDevices);
103 void CheckTargetKeyState(const InputHub::Device *dev, const unsigned long *keyState, const unsigned long len);
104 void SavePressedKeyState(const Device *dev, int32_t keyCode);
117 size_t ReadInputEvent(int32_t readSize, Device &device);
122 int32_t QueryInputDeviceInfo(int fd, std::unique_ptr<Device>
[all...]
H A Dinput_hub.cpp2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
141 std::unique_ptr<Device> device = std::move(*openingDevices_.rbegin()); in ScanAndRecordInputDevices()
148 DHLOGI("Device with this path %{public}s exists, replaced. \n", devPath.c_str()); in ScanAndRecordInputDevices()
192 Device* deviceByFd = GetDeviceByFdLocked(eventItem.data.fd); in GetEvents()
198 Device* device = GetSupportDeviceByFd(eventItem.data.fd); in GetEvents()
224 bool InputHub::IsCuror(Device *device) in IsCuror()
229 bool InputHub::IsTouchPad(Device *device) in IsTouchPad()
245 void InputHub::MatchAndDealEvent(Device *device, const RawEvent &event) in MatchAndDealEvent()
265 void InputHub::DealNormalKeyEvent(Device *device, const RawEvent &event) in DealNormalKeyEvent()
287 void InputHub::RecordDeviceChangeStates(Device *devic
1642 InputHub::Device::Device(int fd, const std::string &path) Device() function in OHOS::DistributedHardware::DistributedInput::InputHub::Device
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Ddevice.cpp2 * Copyright (c) 2024 Huawei Device Co., Ltd.
476 GpuResourceManager& gpuResourceManager, Device::InternalSwapchainData& swapchainData) in CreateDepthBuffer()
486 Device::Device(RenderContext& renderContext, const DeviceCreateInfo& deviceCreateInfo) : renderContext_(renderContext) in Device() function in Device
496 RenderHandleReference Device::CreateSwapchainImpl( in CreateSwapchainImpl()
628 RenderHandleReference Device::CreateSwapchainHandle( in CreateSwapchainHandle()
638 RenderHandleReference Device::CreateSwapchainHandle(const SwapchainCreateInfo& swapchainCreateInfo) in CreateSwapchainHandle()
645 void Device::CreateSwapchain(const SwapchainCreateInfo& swapchainCreateInfo) in CreateSwapchain()
652 void Device::DestroySwapchainImpl(const RenderHandleReference& handle) in DestroySwapchainImpl()
701 void Device
[all...]
H A Dgpu_resource_manager_base.h2 * Copyright (c) 2024 Huawei Device Co., Ltd.
26 class Device;
48 explicit GpuResourceManagerTyped(Device& device);
76 Device& device_;
/foundation/multimodalinput/input/intention/services/device_manager/src/
H A Ddevice.cpp2 * Copyright (c) 2022-2023 Huawei Device Co., Ltd.
39 #define LOG_TAG "Device"
60 Device::Device(int32_t deviceId) in Device() function in OHOS::Msdp::DeviceStatus::Device
64 Device::~Device() in ~Device()
69 int32_t Device::Open() in Open()
105 void Device::Close() in Close()
116 void Device::Dispatch(const struct epoll_event &ev) in Dispatch()
125 void Device
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_connection_manager.h2 * Copyright (C) 2021-2022 Huawei Device Co., Ltd.
38 class Device { class in OHOS::bluetooth::GattConnectionManager
64 explicit StateMachine(GattConnectionManager::Device &device);
71 utility::StateMachine &stateMachine, GattConnectionManager::Device &device);
76 GattConnectionManager::Device &device_;
79 Idle(utility::StateMachine &stateMachine, GattConnectionManager::Device &device);
86 Connecting(utility::StateMachine &stateMachine, GattConnectionManager::Device &device);
93 Connected(utility::StateMachine &stateMachine, GattConnectionManager::Device &device);
100 Disconnecting(utility::StateMachine &stateMachine, GattConnectionManager::Device &device);
107 Disconnected(utility::StateMachine &stateMachine, GattConnectionManager::Device
[all...]
H A Dgatt_connection_manager.cpp2 * Copyright (C) 2021-2022 Huawei Device Co., Ltd.
43 const std::string GattConnectionManager::Device::STATE_IDLE = "IDLE";
44 const std::string GattConnectionManager::Device::STATE_CONNECTING = "CONNECTING";
45 const std::string GattConnectionManager::Device::STATE_CONNECTED = "CONNECTED";
46 const std::string GattConnectionManager::Device::STATE_DISCONNECTING = "DISCONNECTING";
47 const std::string GattConnectionManager::Device::STATE_DISCONNECTED = "DISCONNECTED";
49 using DeviceIterator = std::list<std::unique_ptr<GattConnectionManager::Device>>::iterator;
55 std::list<std::unique_ptr<GattConnectionManager::Device>> devices_ = {};
73 GattConnectionManager::Device *FindOrRegister(
75 GattConnectionManager::Device *FindOrRegiste
685 auto Device = FindDevice(addr, GATT_TRANSPORT_TYPE_LE, devLock); LEConnectionParamterReqImpl() local
721 auto Device = FindDevice(addr, GATT_TRANSPORT_TYPE_LE, devLock); LEConnectionUpdateCompleteImpl() local
884 auto Device = instance.pimpl->FindOrRegister(addr, transport, devLock); ConnectionInComming() local
1113 GattConnectionManager::Device::Device(const uint8_t *addr, uint8_t transport, uint8_t type, bool autoConnect) Device() function in OHOS::bluetooth::GattConnectionManager::Device
1131 GattConnectionManager::Device::Device(const GattDevice &device, bool autoConnect) Device() function in OHOS::bluetooth::GattConnectionManager::Device
[all...]
H A Dgatt_service_base.cpp2 * Copyright (C) 2021 Huawei Device Co., Ltd.
29 if (state.compare(GattConnectionManager::Device::STATE_CONNECTING) == 0) { in ConvertConnectionState()
31 } else if (state.compare(GattConnectionManager::Device::STATE_CONNECTED) == 0) { in ConvertConnectionState()
33 } else if (state.compare(GattConnectionManager::Device::STATE_DISCONNECTING) == 0) { in ConvertConnectionState()
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dpipeline_state_object_vk.h2 * Copyright (c) 2024 Huawei Device Co., Ltd.
28 class Device;
42 GraphicsPipelineStateObjectVk(Device& device, const GpuShaderProgram& gpuShaderProgram,
54 Device& device_;
61 ComputePipelineStateObjectVk(Device& device, const GpuComputeProgram& gpuComputeProgram,
69 Device& device_;
H A Dgpu_query_vk.h2 * Copyright (c) 2024 Huawei Device Co., Ltd.
27 class Device;
36 GpuQueryVk(Device& device, const GpuQueryDesc& desc);
45 Device& device_;
53 BASE_NS::unique_ptr<GpuQuery> CreateGpuQueryVk(Device& device, const GpuQueryDesc& desc);
H A Dgpu_semaphore_vk.h2 * Copyright (c) 2024 Huawei Device Co., Ltd.
27 class Device;
35 explicit GpuSemaphoreVk(Device& device);
36 GpuSemaphoreVk(Device& device, const uint64_t handle);
43 Device& device_;
H A Dgpu_buffer_vk.h2 * Copyright (c) 2024 Huawei Device Co., Ltd.
29 class Device;
42 GpuBufferVk(Device& device, const GpuBufferDesc& desc);
43 GpuBufferVk(Device& device, const GpuAccelerationStructureDesc& desc);
59 Device& device_;
H A Drender_frame_sync_vk.h2 * Copyright (c) 2024 Huawei Device Co., Ltd.
28 class Device;
36 explicit RenderFrameSyncVk(Device& device);
47 Device& device_;
H A Dgpu_sampler_vk.h2 * Copyright (c) 2024 Huawei Device Co., Ltd.
28 class Device;
32 GpuSamplerVk(Device& device, const GpuSamplerDesc& desc);
39 Device& device_;
H A Dgpu_image_vk.h2 * Copyright (c) 2024 Huawei Device Co., Ltd.
44 class Device;
48 GpuImageVk(Device& device, const GpuImageDesc& desc);
50 Device& device, const GpuImageDesc& desc, const GpuImagePlatformData& platformData, const uintptr_t hwBuffer);
68 Device& device_;
H A Dshader_module_vk.h2 * Copyright (c) 2024 Huawei Device Co., Ltd.
28 class Device;
37 ShaderModuleVk(Device& device, const ShaderModuleCreateInfo& createInfo);
51 Device& device_;
H A Dswapchain_vk.h2 * Copyright (c) 2024 Huawei Device Co., Ltd.
29 class Device;
49 SwapchainVk(Device& device, const SwapchainCreateInfo& swapchainCreateInfo);
64 Device& device_;
H A Dgpu_program_vk.h2 * Copyright (c) 2024 Huawei Device Co., Ltd.
29 class Device;
39 GpuShaderProgramVk(Device& aDevice, const GpuShaderProgramCreateData& aCreateData);
62 GpuComputeProgramVk(Device& aDevice, const GpuComputeProgramCreateData& aCreateData);
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dgpu_semaphore_gles.h2 * Copyright (c) 2024 Huawei Device Co., Ltd.
26 class Device;
35 explicit GpuSemaphoreGles(Device& device);
36 GpuSemaphoreGles(Device& device, const uint64_t handle);
H A Dgpu_query_gles.h2 * Copyright (c) 2024 Huawei Device Co., Ltd.
25 class Device;
34 GpuQueryGLES(Device& device, const GpuQueryDesc& desc);
47 BASE_NS::unique_ptr<GpuQuery> CreateGpuQueryGLES(Device& device, const GpuQueryDesc& desc);
H A Dgpu_program_gles.h2 * Copyright (c) 2024 Huawei Device Co., Ltd.
29 class Device;
57 GpuShaderProgramGLES(Device& device, const GpuShaderProgramCreateData& createData);
73 GpuShaderProgramGLES(Device& device);
95 GpuComputeProgramGLES(Device& device, const GpuComputeProgramCreateData& createData);
105 GpuComputeProgramGLES(Device& device);
H A Dgpu_image_gles.h2 * Copyright (c) 2024 Huawei Device Co., Ltd.
27 class Device;
54 GpuImageGLES(Device& device, const GpuImageDesc& desc);
55 GpuImageGLES(Device& device, const GpuImageDesc& desc, const GpuImagePlatformData& platformData);
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnnbackend.h2 * Copyright (c) 2023 Huawei Device Co., Ltd.
31 explicit NNBackend(const std::shared_ptr<Device>& device, size_t backendID);
53 std::shared_ptr<Device> GetDevice() const;
58 std::shared_ptr<Device> m_device;

Completed in 12 milliseconds

12345