Home
last modified time | relevance | path

Searched refs:pip (Results 1 – 25 of 57) sorted by relevance

123

/ohos5.0/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_request_test.cpp92 USBDevicePipe pip; variable
135 USBDevicePipe pip; variable
181 USBDevicePipe pip; variable
224 USBDevicePipe pip; variable
267 USBDevicePipe pip; variable
313 USBDevicePipe pip; variable
359 USBDevicePipe pip; variable
407 USBDevicePipe pip; variable
455 USBDevicePipe pip; variable
506 USBDevicePipe pip; variable
[all …]
/ohos5.0/docs/zh-cn/device-dev/quick-start/
H A Dquickstart-pkg-common-hberr.md8 执行“python3 -m pip install --user ohos-build”出现乱码、段错误(segmentation fault)。
12 pip版本过低。
16 执行如下命令升级pip
20 python3 -m pip install -U pip
28 执行“python3 -m pip install --user ohos-build”提示"cannot import 'sysconfig' from 'distutils'"
52 python3 pip安装兼容性问题。
56 执行如下命令重新安装pip
60 sudo apt remove python3-pip
61 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
62 python get-pip.py
[all …]
H A Dquickstart-pkg-common-proxy.md9 mkdir ~/.pip
10 vim ~/.pip/pip.conf
H A Dquickstart-pkg-install-tool.md19 python3 -m pip install --user build/hb
48 > python3 -m pip uninstall ohos-build
/ohos5.0/docs/en/device-dev/quick-start/
H A Dquickstart-pkg-common-hberr.md8 …During the execution of **python3 -m pip install --user ohos-build**, garbled characters and segme…
12 The pip version does not meet requirements.
16 Run the following command to upgrade pip:
20 python3 -m pip install -U pip
28 …During the execution of **python3 -m pip install --user ohos-build**, the following information is…
52 There is a compatibility issue of python3-pip.
56 Reinstall pip.
60 sudo apt remove python3-pip
61 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
62 python get-pip.py
[all …]
H A Dquickstart-pkg-common-proxy.md9 mkdir ~/.pip
10 vim ~/.pip/pip.conf
H A Dquickstart-pkg-install-tool.md18 python3 -m pip install --user build/hb
47 > python3 -m pip uninstall ohos-build
/ohos5.0/docs/zh-cn/device-dev/faqs/
H A Dfaqs-environment-setup.md12 执行“python3 -m pip install --user ohos-build”出现乱码、段错误(segmentation fault)。
17 pip版本过低。
21 执行如下命令升级pip
24 python3 -m pip install -U pip
32 执行“python3 -m pip install --user ohos-build”提示"cannot import 'sysconfig' from 'distutils'"。
57 python3 pip安装兼容性问题。
61 执行如下命令重新安装pip
64 sudo apt remove python3-pip
65 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
66 python get-pip.py
[all …]
/ohos5.0/build/test/script/
H A Dstart_env.sh20 python -m pip install pytest "$@"
27 if ! pip show pytest-html &> /dev/null; then
29 python -m pip install pytest-html "$@"
36 if ! pip show pytest-metadata &> /dev/null; then
38 python -m pip install pytest-metadata "$@"
45 if ! pip show py &> /dev/null; then
47 python -m pip install py "$@"
/ohos5.0/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_srv_client.h58 int32_t ClaimInterface(USBDevicePipe &pip, const UsbInterface &interface, bool force);
59 int32_t ReleaseInterface(USBDevicePipe &pip, const UsbInterface &interface);
60 …int32_t BulkTransfer(USBDevicePipe &pip, const USBEndpoint &endpoint, std::vector<uint8_t> &buffer…
62 int32_t ControlTransfer(USBDevicePipe &pip, const HDI::Usb::V1_0::UsbCtrlTransfer &ctrl,
66 int32_t SetConfiguration(USBDevicePipe &pip, const USBConfig &config);
70 bool Close(const USBDevicePipe &pip);
71 int32_t PipeRequestWait(USBDevicePipe &pip, int64_t timeOut, UsbRequest &req);
86 int32_t UnRegBulkCallback(USBDevicePipe &pip, const USBEndpoint &endpoint);
87 int32_t BulkRead(USBDevicePipe &pip, const USBEndpoint &endpoint, sptr<Ashmem> &ashmem);
88 int32_t BulkWrite(USBDevicePipe &pip, const USBEndpoint &endpoint, sptr<Ashmem> &ashmem);
[all …]
/ohos5.0/base/usb/usb_manager/test/native/js_unittest/
H A DUsbDevicePipeJsunit.test.js112 pip: null, property in AnonymousFunction0f2356250100.getTransferTestParam.testParam
127 testParam.pip = gPipe
146 testParam.isClaimed = usb.claimInterface(testParam.pip, testParam.interface, true);
151 usb.bulkTransfer(testParam.pip, testParam.inEndpoint, tmpUint8Array, 5000).then(data => {
175 testParam.isClaimed = usb.claimInterface(testParam.pip, testParam.interface, true);
187 usb.bulkTransfer(testParam.pip, testParam.outEndpoint, tmpUint8Array, 5000).then(data => {
359 function callControlTransfer(pip, controlParam, timeout, caseName) {
360 usb.controlTransfer(pip, controlParam, timeout).then(data => {
407 callControlTransfer(testParam.pip, controlParam, timeout, 'control_transfer_test_02 GetStatus')
445 … callControlTransfer(testParam.pip, controlParam, timeout, 'control_transfer_test_04 GetInterface')
[all …]
H A DUsbDevicePipeJsunitEx.test.js114 pip: null, property in AnonymousFunction00f35f820100.getTransferTestParam.testParam
129 testParam.pip = gPipe
148 testParam.isClaimed = usb.claimInterface(testParam.pip, testParam.interface, true);
155 usb.bulkTransfer(TmpTestParam.pip, TmpTestParam.outEndpoint, tmpUint8Array, 5000).then(data => {
179 testParam.isClaimed = usb.claimInterface(testParam.pip, testParam.interface, true);
186 usb.bulkTransfer(TmpTestParam.pip, TmpTestParam.outEndpoint, tmpUint8Array, 5000).then(data => {
210 testParam.isClaimed = usb.claimInterface(testParam.pip, testParam.interface, true);
217 usb.bulkTransfer(TmpTestParam.pip, TmpTestParam.outEndpoint, tmpUint8Array, 5000).then(data => {
/ohos5.0/docs/en/device-dev/faqs/
H A Dfaqs-environment-setup.md12 …After the **python3 -m pip install --user ohos-build** command is executed, garbled characters and…
17 The pip version does not meet requirements.
21 Run the following command to upgrade pip:
24 python3 -m pip install -U pip
32 …During the execution of **python3 -m pip install --user ohos-build**, the following information is…
57 There is a compatibility issue of python3-pip.
61 Reinstall pip.
64 sudo apt remove python3-pip
65 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
66 python get-pip.py
[all …]
/ohos5.0/foundation/window/window_manager/resources/abc/pip/source/
H A DPiPContent.ets16 import pip from '@ohos.pip';
54 this.nodeController = pip.getCustomUIController();
55 this.xComponent = pip.getTypeNode();
66 pip.setTypeNodeEnabled();
70 pip.on('stateChange', (state: number) => {
79 pip.off('stateChange');
106 pip.initXComponentController(this.xComponentController);
/ohos5.0/foundation/window/window_manager/resources/abc/pip/interface/
H A DPiPContent.js16 const pip = requireNapi('pip'); constant
90 this.nodeController = pip.getCustomUIController();
91 this.xComponent = pip.getTypeNode();
102 pip.setTypeNodeEnabled();
105 pip.on('stateChange', (w1) => {
120 pip.off('stateChange');
171 pip.initXComponentController(this.xComponentController);
/ohos5.0/base/usb/usb_manager/
H A DREADME_zh.md41 | int32_t OpenDevice(const UsbDevice &device, USBDevicePipe &pip); | 打开设备,建立连接 |
42 | bool Close(const USBDevicePipe &pip); | 关闭设备,释放与设备相关的所有系统资源 |
44 | int32_t SetConfiguration(USBDevicePipe &pip, const USBConfig &config); | 设置设备当前使用的配置,通过配置值进行指定 |
45 | int32_t ClaimInterface(USBDevicePipe &pip, const UsbInterface &interface, bool force); | 打开接口,并申明…
46 | int32_t ReleaseInterface(USBDevicePipe &pip, const UsbInterface &interface); | 关闭接口,释放接口的占用,在停止数据…
48 | int32_t BulkTransfer(USBDevicePipe &pip, const USBEndpoint &endpoint, std::vector<uint8_t> &vdata…
49 | int32_t ControlTransfer(USBDevicePipe &pip, const UsbCtrlTransfer &ctrl, std::vector<uint8_t> &vd…
52 | int32_t PipeRequestWait(USBDevicePipe &pip, int64_t timeout, UsbRequest &req); | 等待RequestQueue异步…
117 usb.bulkTransfer(this.pip, this.outEndpoint, dataUint8Array, 15000).then(dataLength => {
H A DREADME.md47 | int32_t OpenDevice(const UsbDevice &device, USBDevicePipe &pip); …
48 | bool Close(const USBDevicePipe &pip); …
50 | int32_t SetConfiguration(USBDevicePipe &pip, const USBConfig &config); …
51 | int32_t ClaimInterface(USBDevicePipe &pip, const UsbInterface &interface, bool force); …
52 | int32_t ReleaseInterface(USBDevicePipe &pip, const UsbInterface &interface); …
54 | int32_t BulkTransfer(USBDevicePipe &pip, const USBEndpoint &endpoint, std::vector<uint8_t> &vdata…
55 | int32_t ControlTransfer(USBDevicePipe &pip, const UsbCtrlTransfer &ctrl, std::vector<uint8_t> &vd…
58 | int32_t PipeRequestWait(USBDevicePipe &pip, int64_t timeout, UsbRequest &req); …
136 usb.bulkTransfer(this.pip, this.outEndpoint, dataUint8Array, 15000).then(dataLength => {
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/test/
H A DREADME.md33 pip install selenium==3.141.0
59 pip install pytest
63 pip install easyocr
67 pip install allure-pytest
/ohos5.0/base/usb/usb_manager/interfaces/innerkits/native/src/
H A Dusb_srv_client.cpp397 int32_t UsbSrvClient::RegBulkCallback(USBDevicePipe &pip, const USBEndpoint &endpoint, const sptr<I… in RegBulkCallback() argument
400 const UsbDev tdev = {pip.GetBusNum(), pip.GetDevAddr()}; in RegBulkCallback()
409 int32_t UsbSrvClient::UnRegBulkCallback(USBDevicePipe &pip, const USBEndpoint &endpoint) in UnRegBulkCallback() argument
412 const UsbDev tdev = {pip.GetBusNum(), pip.GetDevAddr()}; in UnRegBulkCallback()
421 int32_t UsbSrvClient::BulkRead(USBDevicePipe &pip, const USBEndpoint &endpoint, sptr<Ashmem> &ashme… in BulkRead() argument
424 const UsbDev tdev = {pip.GetBusNum(), pip.GetDevAddr()}; in BulkRead()
433 int32_t UsbSrvClient::BulkWrite(USBDevicePipe &pip, const USBEndpoint &endpoint, sptr<Ashmem> &ashm… in BulkWrite() argument
436 const UsbDev tdev = {pip.GetBusNum(), pip.GetDevAddr()}; in BulkWrite()
445 int32_t UsbSrvClient::BulkCancel(USBDevicePipe &pip, const USBEndpoint &endpoint) in BulkCancel() argument
448 const UsbDev tdev = {pip.GetBusNum(), pip.GetDevAddr()}; in BulkCancel()
/ohos5.0/base/usb/usb_manager/frameworks/dialog/dialog_ui/usb_right_dialog/src/ohosTest/js/
H A DUsbDevicePipeJsunitEx.test.js127 pip: null, property in UsbDevicePipeJsFunctionsTestEx.AnonymousFunction06e4b06d0100.getTransferTestParam.testParam
142 testParam.pip = gPipe
169 testParam.isClaimed = usbManager.claimInterface(testParam.pip, testParam.interface, true);
208 testParam.isClaimed = usbManager.claimInterface(testParam.pip, testParam.interface, true);
247 testParam.isClaimed = usbManager.claimInterface(testParam.pip, testParam.interface, true);
286 testParam.isClaimed = usbManager.claimInterface(testParam.pip, testParam.interface, true);
290 usbManager.bulkTransfer(testParam.pip).then(data => {
327 testParam.isClaimed = usbManager.claimInterface(testParam.pip, testParam.interface, true);
331 usbManager.bulkTransfer(testParam.pip, testParam.outEndpoint).then(data => {
407 testParam.isClaimed = usbManager.claimInterface(testParam.pip, testParam.interface, true);
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-pipWindow.md141 console.info(`Succeeded in creating pip controller. Data:${data}`);
143 console.error(`Failed to create pip controller. Cause:${err.code}, message:${err.message}`);
208 console.info(`Succeeded in creating pip controller. Data:${data}`);
210 console.error(`Failed to create pip controller. Cause:${err.code}, message:${err.message}`);
532 console.info(`Succeeded in starting pip.`);
534 console.error(`Failed to start pip. Cause:${err.code}, message:${err.message}`);
569 console.info(`Succeeded in stopping pip.`);
571 console.error(`Failed to stop pip. Cause:${err.code}, message:${err.message}`);
/ohos5.0/base/startup/init/test/unittest/loopevent/
H A Dloopserver_unittest.cpp412 TaskHandle pip = test.CreateConnect(PIPE_SERVER.c_str(), TASK_PIPE); variable
413 EXPECT_NE(pip, nullptr);
414 SendMessage(g_loopClient_, pip, FORMAT_STR.c_str(), g_cmd, "connect success");
416 LE_CloseStreamTask(g_loopClient_, pip);
/ohos5.0/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/
H A DREADME.md2 > 1. 在本地python环境中运行`python -m pip install graphviz`,确保安装成功;
/ohos5.0/build/tools/module_dependence/
H A DREADME.md103 # 使用pip安装python3的依赖库
107 sudo apt install python3-pip
/ohos5.0/foundation/window/window_manager/resources/abc/
H A DBUILD.gn15 deps = [ "pip/interface:window_resources_abc_pip" ]

123