Home
last modified time | relevance | path

Searched refs:Device (Results 1 – 25 of 6763) sorted by relevance

12345678910>>...271

/ohos5.0/foundation/multimodalinput/input/intention/services/device_manager/include/
H A Ddevice.h55 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()
176 inline void Device::SetBus(int32_t bus) in SetBus()
220 inline int32_t Device::GetId() const in GetId()
240 inline int32_t Device::GetBus() const in GetBus()
280 inline bool Device::IsKeyboard() const in IsKeyboard()
[all …]
/ohos5.0/base/msdp/device_status/intention/services/device_manager/include/
H A Ddevice.h55 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()
176 inline void Device::SetBus(int32_t bus) in SetBus()
220 inline int32_t Device::GetId() const in GetId()
240 inline int32_t Device::GetBus() const in GetBus()
280 inline bool Device::IsKeyboard() const in IsKeyboard()
[all …]
/ohos5.0/foundation/multimodalinput/input/intention/services/test/unittest/src/
H A Ddevice_test.cpp65 Device *dev = new Device(deviceId);
82 Device *dev = new Device(deviceId);
97 Device *dev = new Device(deviceId);
111 Device *dev = new Device(deviceId);
127 Device *dev = new Device(deviceId);
143 Device *dev = new Device(deviceId);
160 Device *dev = new Device(deviceId);
178 Device *dev = new Device(deviceId);
197 Device *dev = new Device(deviceId);
216 Device *dev = new Device(deviceId);
[all …]
/ohos5.0/foundation/distributedhardware/distributed_input/common/include/
H A Dinput_hub.h49 struct Device { struct
50 Device* next; argument
60 Device(int fd, const std::string &path); argument
61 ~Device();
146 void CloseDeviceLocked(Device &device);
147 void CloseDeviceForAllLocked(Device &device);
155 Device* GetDeviceByFdLocked(int fd);
156 Device* GetSupportDeviceByFd(int fd);
161 bool IsCuror(Device *device);
163 bool IsTouchPad(Device *device);
[all …]
/ohos5.0/base/msdp/device_status/test/unittest/intention/services/src/
H A Ddevice_test.cpp62 Device *dev = new Device(deviceId);
79 Device *dev = new Device(deviceId);
94 Device *dev = new Device(deviceId);
108 Device *dev = new Device(deviceId);
124 Device *dev = new Device(deviceId);
140 Device *dev = new Device(deviceId);
157 Device *dev = new Device(deviceId);
175 Device *dev = new Device(deviceId);
194 Device *dev = new Device(deviceId);
213 Device *dev = new Device(deviceId);
[all …]
/ohos5.0/docs/zh-cn/device-dev/quick-start/
H A Dquickstart-ide-env-win.md5 …可以搭建一套Windows+Ubuntu混合开发的环境,其中使用Windows平台的DevEco Device Tool可视化界面进行相关操作,通过远程连接的方式对接Ubuntu下的DevEco
13 - 建议Windows和Ubuntu系统上安装的DevEco Device Tool为最新版本,且版本号需相同。
21 1. 下载[DevEco Device Tool](https://device.harmonyos.com/cn/ide#download)最新Windows版本软件包。
23 2. 解压DevEco Device Tool压缩包,双击安装包程序,单击**下一步**进行安装。
27 4. 设置DevEco Device Tool的安装路径,请注意安装路径不能包含中文字符,**不建议安装到C盘目录**,单击**下一步**。
46 6. 依赖的工具安装完成后,单击**安装**,开始安装DevEco Device Tool。
48 7. 继续等待DevEco Device Tool安装向导自动安装DevEco Device Tool插件,直至安装完成,单击**完成**,关闭DevEco Device Tool安装向导。
52 8. 打开Visual Studio Code,进入DevEco Device Tool工具界面。至此,DevEco Device Tool Windows开发环境安装完成。
H A Dquickstart-ide-env-ubuntu.md5 …可以搭建一套Windows+Ubuntu混合开发的环境,其中使用Windows平台的DevEco Device Tool可视化界面进行相关操作,通过远程连接的方式对接Ubuntu下的DevEco
10 …uawei.com/consumer/cn/training/course/video/C101639988048536240),然后再根据本章节进行DevEco Device Tool工具的安装。
19 - 建议Ubuntu和Windows系统上安装的DevEco Device Tool为最新版本,且版本号需相同。
44 2. 下载[DevEco Device Tool](https://device.harmonyos.com/cn/ide#download)最新Linux版本软件包。
46 3. 解压DevEco Device Tool软件包并对解压后的文件夹进行赋权。
47 1. 进入DevEco Device Tool软件包目录,执行如下命令解压软件包,其中devicetool-linux-tool-{Version}.zip为软件包名称,请根据实际进行修改。
58 4. 执行如下命令,安装DevEco Device Tool,其中devicetool-linux-tool-{Version}.sh请根据实际进行修改。
68 安装完成后,当界面输出“DevEco Device Tool successfully installed.”时,表示DevEco Device Tool安装成功。
H A Dquickstart-ide-3861-burn.md4 烧录是指将编译后的程序文件下载到开发板上的动作,为后续的程序调试提供基础。DevEco Device Tool提供一键烧录功能,操作简单,能快捷、高效的完成程序烧录,提升烧录的效率。
7 Hi3861V100的镜像烧录通过Windows环境进行烧录,开发者启动烧录操作后,DevEco Device Tool通过Remote远程模式,将Ubuntu环境下编译生成的待烧录程序文件拷贝至W…
21 2. 在DevEco Device Tool中,选择**REMOTE DEVELOPMENT > Local PC**,查看远程计算机(Ubuntu开发环境)与本地计算机(Windows开发环…
23 …5432904](figures/zh-cn_image_0000001275432904.png),则点击绿色按钮进行连接。连接时DevEco Device Tool会重启服务,因此请不要在下载…
34 - 如工具无法通过**Download**方式安装,表示该工具未被DevEco Device Tool收录,需要开发者自行下载到本地后单击**Import**导入。
41 …- upload_partitions:选择待烧录的文件名称。DevEco Device Tool已预置默认的烧录文件信息,如果需要修改待烧录文件地址,可点击每个待烧录文件后的![zh-cn_im…
/ohos5.0/foundation/multimodalinput/input/intention/services/device_manager/src/
H A Ddevice.cpp60 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()
125 void Device::QueryDeviceInfo() in QueryDeviceInfo()
263 void Device::CheckPointers() in CheckPointers()
278 void Device::CheckAbs() in CheckAbs()
294 void Device::CheckJoystick() in CheckJoystick()
302 void Device::CheckMt() in CheckMt()
314 void Device::CheckAdditional() in CheckAdditional()
[all …]
/ohos5.0/base/msdp/device_status/intention/services/device_manager/src/
H A Ddevice.cpp60 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()
125 void Device::QueryDeviceInfo() in QueryDeviceInfo()
263 void Device::CheckPointers() in CheckPointers()
278 void Device::CheckAbs() in CheckAbs()
294 void Device::CheckJoystick() in CheckJoystick()
302 void Device::CheckMt() in CheckMt()
314 void Device::CheckAdditional() in CheckAdditional()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Ddevice.cpp486 Device::Device(RenderContext& renderContext, const DeviceCreateInfo& deviceCreateInfo) : renderCont… in Device() function in Device
701 void Device::DestroySwapchain() in DestroySwapchain()
727 void Device::FrameStart() in FrameStart()
732 void Device::FrameEnd() {} in FrameEnd()
734 void Device::SetDeviceStatus(const bool status) in SetDeviceStatus()
739 bool Device::GetDeviceStatus() const in GetDeviceStatus()
743 uint64_t Device::GetFrameCount() const in GetFrameCount()
768 bool Device::HasSwapchain() const in HasSwapchain()
788 Device::SwapchainData Device::GetSwapchainData(const RenderHandle handle) const in GetSwapchainData()
831 bool Device::GetRenderFrameRunning() const in GetRenderFrameRunning()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_connection_manager.cpp218 return Device::STATE_IDLE; in GetDeviceState()
686 if (Device == nullptr || in LEConnectionParamterReqImpl()
722 if (Device != nullptr) { in LEConnectionUpdateCompleteImpl()
723 Device->ProcessMessage(Device::StateMachine::MSG_RESPONSE_CONNECTION_PRIORITY, 0, &res); in LEConnectionUpdateCompleteImpl()
885 if (Device != nullptr) { in ConnectionInComming()
887 Device->ProcessMessage(Device::StateMachine::MSG_CONNECT_COMPLETE, connectHandle, data); in ConnectionInComming()
1113 GattConnectionManager::Device::Device(const uint8_t *addr, uint8_t transport, uint8_t type, bool au… in Device() function in OHOS::bluetooth::GattConnectionManager::Device
1131 GattConnectionManager::Device::Device(const GattDevice &device, bool autoConnect) in Device() function in OHOS::bluetooth::GattConnectionManager::Device
1179 GattConnectionManager::Device::~Device() in ~Device()
1184 GattConnectionManager::Device::StateMachine::StateMachine(GattConnectionManager::Device &device) in StateMachine()
[all …]
H A Dgatt_connection_manager.h38 class Device {
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);
115 Device(const uint8_t *addr, uint8_t transport, uint8_t type, bool autoConnect = false);
116 explicit Device(const GattDevice &device, bool autoConnect = false);
117 ~Device();
143 Device() = delete;
144 BT_DISALLOW_COPY_AND_ASSIGN(Device);
[all …]
/ohos5.0/drivers/external_device_manager/services/native/driver_extension_manager/src/device_manager/
H A Ddevice.cpp25 std::string Device::GetBundleName(const std::string &bundleInfo) in GetBundleName()
36 std::string Device::GetAbilityName(const std::string &bundleInfo) in GetAbilityName()
47 int32_t Device::Connect() in Connect()
53 std::string bundleName = Device::GetBundleName(bundleInfo); in Connect()
54 std::string abilityName = Device::GetAbilityName(bundleInfo); in Connect()
104 std::string bundleName = Device::GetBundleName(bundleInfo); in Connect()
118 int32_t Device::Disconnect() in Disconnect()
128 std::string bundleName = Device::GetBundleName(bundleInfo); in Disconnect()
156 void Device::OnDisconnect(int resultCode) in OnDisconnect()
175 std::string bundleName = Device::GetBundleName(bundleInfo); in OnDisconnect()
[all …]
H A Detx_device_mgr.cpp30 std::string Device::stiching_ = "-";
96 deviceId, Device::GetAbilityName(bundleInfo).c_str(), ret); in AddDevIdOfBundleInfoMap()
135 deviceId, Device::GetAbilityName(bundleInfo).c_str(), ret); in RemoveDevIdOfBundleInfoMap()
169 std::string startStr = bundleName + Device::GetStiching(); in DeleteBundlesOfBundleInfoMap()
222 Device::GetAbilityName(bundleInfo), userId); in ClearMatchedDrivers()
231 shared_ptr<Device> device; in RegisterDevice()
252 device = make_shared<Device>(devInfo); in RegisterDevice()
291 shared_ptr<Device> device; in UnRegisterDevice()
349 vector<shared_ptr<Device>> ExtDeviceManager::QueryAllDevices() in QueryAllDevices()
351 vector<shared_ptr<Device>> devices; in QueryAllDevices()
[all …]
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/missionCenterDemo/dmsDemo/entry/src/main/ets/Util/
H A DRemoteMissionManager.ets2 * Copyright (c) 2023 Huawei Device Co., Ltd.
17 import Device from './Device';
28 startSyncRemoteMissions(Device: Device){
30 let networkId: string = CommonTools.getInstance().getNetworkId(Device);
39 Device.updateMissionInfos()
45 registerMissionListener(Device: Device){
50 Device.updateMissionInfos()
59 let networkId: string = CommonTools.getInstance().getNetworkId(Device);
66 self.startSyncRemoteMissions(Device)
H A DLocalMissionManager.ets2 * Copyright (c) 2023 Huawei Device Co., Ltd.
17 import Device from './Device';
25 registerMissionListener(Device: Device){
29 Device.updateMissionInfos()
33 Device.updateMissionInfos()
37 Device.updateMissionInfos()
41 Device.updateMissionInfos()
52 Device.updateMissionInfos()
/ohos5.0/docs/en/device-dev/quick-start/
H A Dquickstart-ide-env-win.md5 … environment, you can enjoy the benefits of both DevEco Device Tool for Windows and DevEco Device
13 - DevEco Device Tool: latest and same version installed on both Ubuntu and Windows
17 … uses DevEco Device Tool of the 3.1 Release version as an example. The supported features and oper…
22 1. Download the latest version of [DevEco Device Tool](https://device.harmonyos.com/cn/ide#download…
24 2. Decompress the DevEco Device Tool package, double-click the installer, and then click **Next**.
28 4. Set the installation path for DevEco Device Tool and click **Next**. Make sure the path does not…
42 6. Click **Install** to install DevEco Device Tool.
44 7. Wait for the DevEco Device Tool setup wizard to automatically install DevEco Device Tool. After …
46 …om Visual Studio Code, access the DevEco Device Tool page. Now you can conduct your development in…
/ohos5.0/drivers/external_device_manager/services/native/driver_extension_manager/include/device_manager/
H A Detx_device_mgr.h41 vector<shared_ptr<Device>> QueryAllDevices();
42 vector<shared_ptr<Device>> QueryDevicesById(const uint64_t deviceId);
45 void RemoveDeviceOfDeviceMap(shared_ptr<Device> device);
54 int32_t AddDevIdOfBundleInfoMap(shared_ptr<Device> device, string &bundleInfo);
55 int32_t RemoveDevIdOfBundleInfoMap(shared_ptr<Device> device, string &bundleInfo);
56 std::shared_ptr<Device> QueryDeviceByDeviceID(uint64_t deviceId);
59 unordered_map<BusType, unordered_map<uint64_t, shared_ptr<Device>>> deviceMap_;
/ohos5.0/docs/zh-cn/device-dev/get-code/
H A Dgettools-overview.md3 为了方便开发者进行设备开发,OpenHarmony提供了HUAWEI DevEco Device Tool(以下简称DevEco Device Tool)一站式集成开发环境,同时借助了应用容器引擎D…
9Device Tool | DevEco Device Tool是OpenHarmony面向智能设备开发者提供的一站式集成开发环境,支持OpenHarmony的组件按需定制,支持代码编辑、编译、烧…
/ohos5.0/drivers/interface/input/v1_0/
H A DInputTypes.idl2 * Copyright (c) 2022 Huawei Device Co., Ltd.
54 unsigned int devIndex; /**< Device index */
55 unsigned int devType; /**< Device type */
84 String devName; /**< Device name */
96 unsigned long[] devProp; /**< Device properties */
116 unsigned int devIndex; /**< Device index */
117 unsigned int devType; /**< Device type */
121 struct DevAttr attrSet; /**< Device attributes */
122 struct DevAbility abilitySet; /**< Device abilities */
137 unsigned int devIndex; /**< Device index */
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/input_v1_0/foo/input/v1_0/
H A DInputTypes.idl2 * Copyright (c) 2022 Huawei Device Co., Ltd.
54 unsigned int devIndex; /**< Device index */
55 unsigned int devType; /**< Device type */
84 String devName; /**< Device name */
96 unsigned long[] devProp; /**< Device properties */
116 unsigned int devIndex; /**< Device index */
117 unsigned int devType; /**< Device type */
121 struct DevAttr attrSet; /**< Device attributes */
122 struct DevAbility abilitySet; /**< Device abilities */
137 unsigned int devIndex; /**< Device index */
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-mdm-kit/
H A DReadme-EN.md1 # MDM Kit (Enterprise Device Management Service)
5 …- [@ohos.enterprise.adminManager (Enterprise Device Management)](js-apis-enterprise-adminManager.m…
10 …- [@ohos.enterprise.deviceControl (Device Control Management)](js-apis-enterprise-deviceControl.md)
11 - [@ohos.enterprise.deviceInfo (Device Information Management)](js-apis-enterprise-deviceInfo.md)
12 …- [@ohos.enterprise.deviceSettings (Device Settings Management)](js-apis-enterprise-deviceSettings…
23 …- [@ohos.enterprise.adminManager (Enterprise Device Management) (System API)](js-apis-enterprise-a…
29 …- [@ohos.enterprise.deviceControl (Device Control) (System API)](js-apis-enterprise-deviceControl-…
30 …- [@ohos.enterprise.deviceInfo (Device Information Management) (System API)](js-apis-enterprise-de…
31 …- [@ohos.enterprise.deviceSettings (Device Settings) (System API)](js-apis-enterprise-deviceSettin…
39 - [Enterprise Device Management Error Codes](errorcode-enterpriseDeviceManager.md)
/ohos5.0/drivers/interface/huks/v1_0/
H A DIHuks.idl2 * Copyright (c) 2023 Huawei Device Co., Ltd.
84 * HUKS Device Development.
101 * HUKS Device Development.
104 * HUKS Device Development.
107 * HUKS Device Development.
125 * HUKS Device Development.
131 * HUKS Device Development.
134 * HUKS Device Development.
150 * HUKS Device Development.
153 * HUKS Device Development.
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/huks_v1_0/foo/huks/v1_0/
H A DIHuks.idl2 * Copyright (c) 2023 Huawei Device Co., Ltd.
84 * HUKS Device Development.
101 * HUKS Device Development.
104 * HUKS Device Development.
107 * HUKS Device Development.
125 * HUKS Device Development.
131 * HUKS Device Development.
134 * HUKS Device Development.
150 * HUKS Device Development.
153 * HUKS Device Development.
[all …]

12345678910>>...271