From 32c5975b91577edf2f40065b5037bf760ca237df Mon Sep 17 00:00:00 2001 From: Yangys Date: Wed, 12 Apr 2023 18:16:20 +0800 Subject: [PATCH] Docs Update Signed-off-by: Yangys --- .idea/.gitignore | 8 + .idea/deployment.xml | 21 + .idea/docs.iml | 8 + .idea/modules.xml | 8 + .idea/vcs.xml | 6 + LICENSE | 0 docker/CHANGELOG.md | 0 docker/CHANGELOG_en.md | 0 docker/Dockerfile | 0 docker/README.md | 0 docker/README_en.md | 0 docker/sources.list | 0 en/application-dev/connectivity/Readme-EN.md | 0 .../connectivity/ipc-rpc-overview.md | 0 .../connectivity/subscribe-remote-state.md | 0 en/application-dev/media/Readme-EN.md | 0 en/application-dev/media/audio-overview.md | 0 .../reference/apis/js-apis-process.md | 0 .../reference/apis/js-apis-url.md | 0 .../reference/apis/js-apis-util.md | 0 .../ui/ui-js-building-ui-layout-comment.md | 0 ...enHarmony-JavaScript-coding-style-guide.md | 0 .../OpenHarmony-c-coding-style-guide.md | 0 .../OpenHarmony-cpp-coding-style-guide.md | 0 en/contribute/Readme-EN.md | 0 en/contribute/code-of-conduct.md | 0 en/contribute/communication-in-community.md | 0 en/contribute/contribution-process.md | 0 en/contribute/documentation-contribution.md | 0 en/contribute/figures/figure2.png | Bin en/contribute/figures/figure3.png | Bin .../public_sys-resources/icon-caution.gif | Bin .../public_sys-resources/icon-danger.gif | Bin .../public_sys-resources/icon-note.gif | Bin .../public_sys-resources/icon-notice.gif | Bin .../public_sys-resources/icon-tip.gif | Bin .../public_sys-resources/icon-warning.gif | Bin en/contribute/writing-instructions.md | 0 .../public_sys-resources/icon-caution.gif | Bin .../faqs/public_sys-resources/icon-danger.gif | Bin .../faqs/public_sys-resources/icon-note.gif | Bin .../faqs/public_sys-resources/icon-notice.gif | Bin .../faqs/public_sys-resources/icon-tip.gif | Bin .../public_sys-resources/icon-warning.gif | Bin .../porting/porting-thirdparty-cmake.md | 0 en/readme/account.md | 0 en/readme/dsoftbus.md | 0 ...tecture-of-the-globalization-subsystem.png | Bin en/readme/figures/dsoftbus.png | Bin ...us_architecture-of-telephony-subsystem.png | Bin .../figures/en-us_image_0000001079026550.png | Bin .../figures/en-us_image_0000001106694563.png | Bin .../figures/en-us_image_0000001162500331.png | Bin .../figures/en-us_image_0000001163462711.png | Bin en/readme/figures/subsystem-architecture.png | Bin en/readme/globalization.md | 0 en/readme/misc-services.md | 0 en/readme/multimedia.md | 0 en/readme/pan-sensor.md | 0 en/readme/telephony.md | 0 .../application-dev/connectivity/Readme-CN.md | 0 .../ipc-rpc-development-guideline.md | 0 .../connectivity/ipc-rpc-overview.md | 0 .../connectivity/subscribe-remote-state.md | 0 zh-cn/application-dev/media/Readme-CN.md | 0 .../public_sys-resources/icon-caution.gif | Bin .../public_sys-resources/icon-danger.gif | Bin .../public_sys-resources/icon-note.gif | Bin .../public_sys-resources/icon-notice.gif | Bin .../public_sys-resources/icon-tip.gif | Bin .../public_sys-resources/icon-warning.gif | Bin .../application-dev/quick-start/Readme-CN.md | 0 .../reference/apis/Readme-CN.md | 0 .../reference/apis/js-apis-Bundle.md | 0 .../js-apis-app-ability-missionManager.md | 0 ...js-apis-application-environmentCallback.md | 0 .../reference/apis/js-apis-avsession.md | 0 ...js-apis-bundleManager-overlayModuleInfo.md | 0 .../reference/apis/js-apis-cert.md | 0 .../reference/apis/js-apis-cooperate.md | 0 .../apis/js-apis-distributedMissionManager.md | 0 .../reference/apis/js-apis-http.md | 38 +- .../reference/apis/js-apis-huks.md | 0 .../reference/apis/js-apis-inputconsumer.md | 0 .../reference/apis/js-apis-inputdevice.md | 0 .../reference/apis/js-apis-inputevent.md | 0 .../apis/js-apis-inputeventclient.md | 0 .../reference/apis/js-apis-inputmonitor.md | 0 .../reference/apis/js-apis-keycode.md | 0 .../reference/apis/js-apis-keyevent.md | 0 .../reference/apis/js-apis-mouseevent.md | 0 .../reference/apis/js-apis-net-connection.md | 59 +- .../reference/apis/js-apis-net-mdns.md | 2 +- .../reference/apis/js-apis-net-sharing.md | 32 +- .../reference/apis/js-apis-overlay.md | 0 .../reference/apis/js-apis-pointer.md | 0 .../reference/apis/js-apis-process.md | 0 .../reference/apis/js-apis-socket.md | 997 +++++++++--------- .../apis/js-apis-system-capability.md | 0 .../apis/js-apis-system-parameter.md | 0 .../apis/js-apis-system-parameterEnhance.md | 0 .../reference/apis/js-apis-touchevent.md | 0 .../reference/apis/js-apis-url.md | 0 .../reference/apis/js-apis-util.md | 0 .../reference/apis/js-apis-webSocket.md | 158 ++- .../reference/apis/js-apis-webgl.md | 0 .../reference/apis/js-apis-webgl2.md | 0 .../arkui-ts/figures/progressMask.PNG | Bin .../figures/zh-cn_image1_0000001219982725.png | Bin .../figures/zh-cn_image_0000001238832405.png | Bin .../arkui-ts/ts-basic-components-web.md | 0 .../reference/errorcodes/errorcode-cert.md | 0 .../errorcode-colorspace-manager.md | 0 .../errorcodes/errorcode-crypto-framework.md | 0 .../reference/errorcodes/errorcode-display.md | 0 .../reference/errorcodes/errorcode-sensor.md | 0 .../errorcodes/errorcode-vibrator.md | 0 .../reference/errorcodes/errorcode-window.md | 0 .../reference/errorcodes/errorcode-zlib.md | 0 .../security/cert-guidelines.md | 0 .../application-dev/security/cert-overview.md | 0 .../application-dev/security/huks-overview.md | 0 zh-cn/application-dev/tools/restool.md | 0 zh-cn/application-dev/ui/Readme-CN.md | 0 .../figures/zh-cn_image_0000001063148757.gif | Bin .../figures/zh-cn_image_0000001063442797.png | Bin .../figures/zh-cn_image_0000001064068638.gif | Bin .../figures/zh-cn_image_0000001070558189.png | Bin .../figures/zh-cn_image_0000001070693737.png | Bin .../figures/zh-cn_image_0000001070707559.png | Bin .../figures/zh-cn_image_0000001071134933.png | Bin .../ui/ui-js-building-ui-animation.md | 0 .../ui/ui-js-building-ui-component.md | 0 .../ui/ui-js-building-ui-event.md | 0 .../ui/ui-js-building-ui-interactions.md | 0 .../ui/ui-js-building-ui-layout-comment.md | 0 ...s-building-ui-layout-external-container.md | 0 .../ui/ui-js-building-ui-layout-image.md | 0 .../ui/ui-js-building-ui-layout-text.md | 0 .../ui/ui-js-custom-components.md | 0 zh-cn/application-dev/ui/ui-js-overview.md | 0 zh-cn/contribute/FAQ.md | 0 .../OpenHarmony-64bits-coding-guide.md | 0 ...enHarmony-JavaScript-coding-style-guide.md | 0 .../OpenHarmony-c-coding-style-guide.md | 0 .../OpenHarmony-cpp-coding-style-guide.md | 0 .../OpenHarmony-hdf-coding-guide.md | 0 zh-cn/contribute/Readme-CN.md | 0 ...4\347\250\213\344\273\223\345\272\223.png" | Bin ...2\345\233\276\347\244\272\344\276\213.png" | Bin ...\346\227\240\346\240\207\351\242\2301.png" | Bin ...\346\227\240\346\240\207\351\242\2302.png" | Bin ...\346\227\240\346\240\207\351\242\2303.png" | Bin ...\346\227\240\346\240\207\351\242\2304.png" | Bin ...5\350\211\262\347\244\272\344\276\213.png" | Bin .../public_sys-resources/icon-caution.gif | Bin .../public_sys-resources/icon-danger.gif | Bin .../public_sys-resources/icon-note.gif | Bin .../public_sys-resources/icon-notice.gif | Bin .../public_sys-resources/icon-tip.gif | Bin .../public_sys-resources/icon-warning.gif | Bin .../style-guide-content-elements.md | 0 zh-cn/contribute/template/faq-template.md | 0 .../contribute/template/tutorial-template.md | 0 ...31\344\275\234\350\247\204\350\214\203.md" | 0 ...02\344\270\216\350\264\241\347\214\256.md" | 0 ...32\344\270\216\344\272\244\346\265\201.md" | 0 ...57\350\257\201\350\257\264\346\230\216.md" | 0 ...25\345\205\245\346\214\207\345\257\274.md" | 0 ...14\344\270\272\345\207\206\345\210\231.md" | 0 ...41\347\214\256\344\273\243\347\240\201.md" | 0 ...41\347\214\256\346\226\207\346\241\243.md" | 0 ...41\347\214\256\346\265\201\347\250\213.md" | 0 zh-cn/design/OpenHarmony-API-governance.md | 0 ...00\345\217\221\346\214\207\345\215\227.md" | 0 zh-cn/design/figures/API-Lifecycle.png | Bin zh-cn/design/figures/API-Review-Process.png | Bin .../figures/API-Scope-And-Definition.png | Bin zh-cn/device-dev/driver/Readme-CN.md | 0 .../driver/driver-hdf-development.md | 0 .../device-dev/driver/driver-hdf-overview.md | 0 .../driver/driver-hdf-servicemanage.md | 0 .../driver/driver-peripherals-camera-des.md | 0 .../driver/driver-peripherals-sensor-des.md | 0 .../driver/driver-peripherals-vibrator-des.md | 0 .../driver/driver-platform-adc-des.md | 0 .../driver/driver-platform-adc-develop.md | 0 .../driver/driver-platform-gpio-develop.md | 0 .../driver/driver-platform-hdmi-des.md | 0 .../driver/driver-platform-hdmi-develop.md | 0 .../driver/driver-platform-i2c-develop.md | 0 .../driver/driver-platform-i3c-des.md | 0 .../driver/driver-platform-i3c-develop.md | 0 .../driver/driver-platform-mipicsi-des.md | 0 .../driver/driver-platform-mipicsi-develop.md | 0 .../driver/driver-platform-mipidsi-develop.md | 0 .../driver/driver-platform-mmc-develop.md | 0 .../driver/driver-platform-pin-develop.md | 0 .../driver/driver-platform-pwm-develop.md | 0 .../driver/driver-platform-regulator-des.md | 0 .../driver-platform-regulator-develop.md | 0 .../driver/driver-platform-rtc-develop.md | 0 .../driver/driver-platform-sdio-develop.md | 0 .../driver/driver-platform-spi-develop.md | 0 .../driver/driver-platform-uart-develop.md | 0 .../driver-platform-watchdog-develop.md | 0 ...5\347\244\272\346\204\217\345\233\276.png" | Bin ...5\347\244\272\346\204\217\345\233\276.png" | Bin ...0\346\265\201\347\250\213\345\233\276.png" | Bin ...7\347\244\272\346\204\217\345\233\276.png" | Bin ...5\346\224\266\346\216\245\345\217\243.png" | Bin ...5\346\224\266\346\216\245\345\217\243.png" | Bin ...0\346\265\201\347\250\213\345\233\276.png" | Bin ...1\345\212\250\346\250\241\345\236\213.png" | Bin ...0\346\265\201\347\250\213\345\233\276.png" | Bin ...7\347\244\272\346\204\217\345\233\276.png" | Bin ...7\347\244\272\346\204\217\345\233\276.png" | Bin ...0\346\265\201\347\250\213\345\233\276.png" | Bin ...0\346\265\201\347\250\213\345\233\276.png" | Bin ...7\347\244\272\346\204\217\345\233\276.png" | Bin ...0\346\265\201\347\250\213\345\233\276.png" | Bin ...0\346\265\201\347\250\213\345\233\276.png" | Bin .../MIPI-DSI\346\216\245\345\217\243.png" | Bin ...0\346\241\206\346\236\266\345\233\276.png" | Bin ...0\346\265\201\347\250\213\345\233\276.png" | Bin ...0\346\265\201\347\250\213\345\233\276.png" | Bin ...0\346\265\201\347\250\213\345\233\276.png" | Bin ...0\346\265\201\347\250\213\345\233\276.png" | Bin ...5\347\244\272\346\204\217\345\233\276.png" | Bin ...5\347\244\272\346\204\217\345\233\276.png" | Bin ...0\346\265\201\347\250\213\345\233\276.png" | Bin ...0\346\250\241\345\236\213\345\233\276.png" | Bin ...0\350\277\220\350\241\214\345\233\276.png" | Bin .../figures/TTL\346\216\245\345\217\243.png" | Bin ...0\346\265\201\347\250\213\345\233\276.png" | Bin ...0\346\250\241\345\236\213\345\233\276.png" | Bin ...0\350\277\220\350\241\214\345\233\276.png" | Bin .../figures/WLAN\346\241\206\346\236\266.png" | Bin ...3\346\241\206\346\236\266\345\233\276.png" | Bin ...1\345\212\250\346\250\241\345\236\213.png" | Bin ...1\345\212\250\346\250\241\345\236\213.png" | Bin ...7\347\273\223\346\236\204\345\233\276.png" | Bin ...0\346\265\201\347\250\213\345\233\276.png" | Bin ...0\346\265\201\347\250\213\345\233\276.png" | Bin .../device-dev/faqs/figures/download-zlib.png | Bin zh-cn/device-dev/get-code/Readme-CN.md | 0 zh-cn/device-dev/guide/Readme-CN.md | 0 ...device-camera-control-demo-previewguide.md | 0 .../device-camera-control-demo-videoguide.md | 0 .../guide/device-camera-visual-details.md | 0 .../guide/device-camera-visual-faqs.md | 0 ...D\351\227\252\347\203\201\345\233\276.gif" | Bin .../guide/figures/device-wlan-sdk-files.png | Bin .../guide/figures/empty-feature-ability.png | Bin ...7\345\212\250\347\244\272\344\276\213.png" | Bin ...5\347\250\213\347\233\256\345\275\225.png" | Bin ...5\347\250\213\347\233\256\345\275\225.png" | Bin ...3\346\226\207\344\273\266\345\233\276.png" | Bin ...7\346\240\217\346\225\210\346\236\234.png" | Bin ...0\346\240\217\346\225\210\346\236\234.png" | Bin .../figures/\346\241\214\351\235\242.png" | Bin ...3\345\212\240\351\241\265\351\235\242.png" | Bin ...2\346\225\210\346\236\234\345\233\276.gif" | Bin ...3\345\215\260\346\227\245\345\277\227.png" | Bin ...3\345\215\260\346\227\245\345\277\227.png" | Bin ...5\351\235\242\345\220\215\347\247\260.png" | Bin ...3\345\215\260\346\227\245\345\277\227.png" | Bin ...3\345\215\260\346\227\245\345\277\227.png" | Bin ...0\346\225\210\346\236\234\345\233\276.png" | Bin ...4\350\247\210\346\225\210\346\236\234.jpg" | Bin zh-cn/device-dev/kernel/Readme-CN.md | 0 .../kernel/kernel-mini-debug-shell.md | 0 .../porting/figures/cst85_hb_set.png | Bin .../porting/figures/cst85_kconfig.png | Bin .../figures/dayu200/dayu200-audio-01.png | Bin .../figures/dayu200/dayu200-audio-02.png | Bin .../porting/figures/dayu200/dayu200-bt-02.png | Bin .../figures/dayu200/dayu200-camera-02.png | Bin .../figures/dayu200/dayu200-camera-03.png | Bin .../figures/dayu200/dayu200-lcd-01.png | Bin .../figures/dayu200/dayu200-wifi-01.png | Bin .../figures/dayu200/dayu200-wifi-04.png | Bin .../figures/dayu200/dayu200-wifi-05.png | Bin .../figures/dayu200/dayu200-wifi-06.png | Bin .../figures/dayu200/dayu200-wifi-07.png | Bin .../figures/dayu200/dayu200-wifi-08.png | Bin .../figures/dayu200/dayu200-wifi-09.png | Bin .../porting/figures/w800_select.png | Bin .../porting/porting-asr582x-combo-demo.md | 0 zh-cn/device-dev/porting/porting-chip-faqs.md | 0 .../porting/porting-cst85f01-combo-demo.md | 0 .../porting-dayu200-on_standard-demo.md | 0 .../porting/porting-thirdparty-overview.md | 0 .../porting/porting-w800-combo-demo.md | 0 zh-cn/device-dev/security/Readme-CN.md | 0 .../subsys-app-privilege-config-guide.md | 0 .../subsys-application-framework-demo.md | 0 .../subsystems/subsys-boot-bootstrap.md | 0 .../device-dev/subsystems/subsys-boot-ref.md | 0 .../subsystems/subsys-dfx-hilog-lite.md | 0 .../subsystems/subsys-dfx-hilog-rich.md | 0 .../subsystems/subsys-graphics-overview.md | 0 .../subsys-multimedia-camera-preview-guide.md | 0 .../subsys-multimedia-camera-record-guide.md | 0 .../subsys-multimedia-video-overview.md | 0 .../subsys-multimedia-video-play-guide.md | 0 .../subsys-multimedia-video-record-guide.md | 0 .../subsys-preinstall-app-config-guide.md | 0 .../subsystems/subsys-remote-start.md | 0 .../subsystems/subsys-sensor-demo.md | 0 ...FX\345\255\220\347\263\273\347\273\237.md" | 0 ...le\345\255\220\347\263\273\347\273\237.md" | 0 ...41\345\255\220\347\263\273\347\273\237.md" | 0 ...TS\345\255\220\347\263\273\347\273\237.md" | 0 ...0\345\217\221\347\233\256\345\275\225.png" | Bin ...0\346\236\266\346\236\204\345\233\276.png" | Bin .../figures/Page\344\270\216AbilitySlice.png" | Bin zh-cn/readme/figures/aafwk.png | Bin zh-cn/readme/figures/appexecfwk.png | Bin .../figures/cesfwk_architecture_diagram.png | Bin zh-cn/readme/figures/dp-architecture_zh.png | Bin zh-cn/readme/figures/first_layout.png | Bin .../page-ability-lifecycle-callbacks.png | Bin .../readme/figures/page-ability-lifecycle.png | Bin zh-cn/readme/figures/samgr-architecture.png | Bin .../service-ability-lifecycle-callbacks.jpg | Bin .../figures/service-ability-lifecycle.png | Bin ...cn_architecture-of-telephony-subsystem.png | Bin .../figures/zh-cn_image_0000001077953992.png | Bin .../figures/zh-cn_image_0000001078959750.png | Bin .../figures/zh-cn_image_0000001079026550.png | Bin .../figures/zh-cn_image_0000001079207198.png | Bin .../figures/zh-cn_image_0000001106694563.png | Bin .../figures/zh-cn_image_0000001111659738.png | Bin .../figures/zh-cn_image_0000001115819528.png | Bin .../figures/zh-cn_image_0000001136682635.png | Bin .../figures/zh-cn_image_0000001162307895.png | Bin .../figures/zh-cn_image_0000001162500331.png | Bin .../figures/zh-cn_image_0000001162757669.png | Bin ...0\347\273\223\346\236\204\345\233\276.png" | Bin ...7\346\236\266\346\236\204\345\233\276.png" | Bin ...6\345\220\210\346\225\210\346\236\234.gif" | Bin ...346\236\266\346\236\204\345\233\276-0.jpg" | Bin ...346\236\266\346\236\204\345\233\276-3.png" | Bin ...346\236\266\346\236\204\345\233\276-4.png" | Bin ...346\236\266\346\236\204\345\233\276-5.png" | Bin ...7\346\236\266\346\236\204\345\233\276.png" | Bin ...0\347\224\273\346\225\210\346\236\234.gif" | Bin ...1\346\240\267\344\276\213\345\233\276.png" | Bin ...0\347\224\273\346\225\210\346\236\234.gif" | Bin .../public_sys-resources/icon-caution.gif | Bin .../public_sys-resources/icon-danger.gif | Bin .../readme/public_sys-resources/icon-note.gif | Bin .../public_sys-resources/icon-notice.gif | Bin .../readme/public_sys-resources/icon-tip.gif | Bin .../public_sys-resources/icon-warning.gif | Bin ...45\345\255\220\347\263\273\347\273\237.md" | 0 ...33\345\255\220\347\263\273\347\273\237.md" | 0 ...26\345\255\220\347\263\273\347\273\237.md" | 0 ...61\345\237\272\347\241\200\345\272\223.md" | 0 ...06\345\255\220\347\263\273\347\273\237.md" | 0 ...77\345\255\220\347\263\273\347\273\237.md" | 0 ...06\345\255\220\347\263\273\347\273\237.md" | 0 ...15\345\255\220\347\263\273\347\273\237.md" | 0 ...23\345\255\220\347\263\273\347\273\237.md" | 0 ...50\345\255\220\347\263\273\347\273\237.md" | 0 ...67\345\255\220\347\263\273\347\273\237.md" | 0 ...or\345\255\220\347\263\273\347\273\237.md" | 0 ...25\345\255\220\347\263\273\347\273\237.md" | 0 ...76\345\255\220\347\263\273\347\273\237.md" | 0 ...06\345\255\220\347\263\273\347\273\237.md" | 0 ...66\345\255\220\347\263\273\347\273\237.md" | 0 zh-cn/release-notes/OpenHarmony-1-0.md | 0 zh-cn/release-notes/OpenHarmony-1-1-0-LTS.md | 0 zh-cn/release-notes/OpenHarmony-1-1-1-LTS.md | 0 .../release-notes/OpenHarmony-v3.1-release.md | 0 .../changelog-security.md | 0 .../changelogs-device-usb.md | 0 .../changelogs-multimodalinput.md | 0 .../OpenHarmony_4.0.2.1/changelogs-usb.md | 0 .../OpenHarmony_4.0.3.2/changelogs-startup.md | 0 .../changelogs-miscdevice.md | 0 .../OpenHarmony_4.0.6.1/changelog-huks.md | 0 .../OpenHarmony_4.0.6.2/changelogs-global.md | 0 .../Release-version-definitions.md | 0 385 files changed, 662 insertions(+), 675 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/deployment.xml create mode 100644 .idea/docs.iml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml mode change 100755 => 100644 LICENSE mode change 100755 => 100644 docker/CHANGELOG.md mode change 100755 => 100644 docker/CHANGELOG_en.md mode change 100755 => 100644 docker/Dockerfile mode change 100755 => 100644 docker/README.md mode change 100755 => 100644 docker/README_en.md mode change 100755 => 100644 docker/sources.list mode change 100755 => 100644 en/application-dev/connectivity/Readme-EN.md mode change 100755 => 100644 en/application-dev/connectivity/ipc-rpc-overview.md mode change 100755 => 100644 en/application-dev/connectivity/subscribe-remote-state.md mode change 100755 => 100644 en/application-dev/media/Readme-EN.md mode change 100755 => 100644 en/application-dev/media/audio-overview.md mode change 100755 => 100644 en/application-dev/reference/apis/js-apis-process.md mode change 100755 => 100644 en/application-dev/reference/apis/js-apis-url.md mode change 100755 => 100644 en/application-dev/reference/apis/js-apis-util.md mode change 100755 => 100644 en/application-dev/ui/ui-js-building-ui-layout-comment.md mode change 100755 => 100644 en/contribute/OpenHarmony-JavaScript-coding-style-guide.md mode change 100755 => 100644 en/contribute/OpenHarmony-c-coding-style-guide.md mode change 100755 => 100644 en/contribute/OpenHarmony-cpp-coding-style-guide.md mode change 100755 => 100644 en/contribute/Readme-EN.md mode change 100755 => 100644 en/contribute/code-of-conduct.md mode change 100755 => 100644 en/contribute/communication-in-community.md mode change 100755 => 100644 en/contribute/contribution-process.md mode change 100755 => 100644 en/contribute/documentation-contribution.md mode change 100755 => 100644 en/contribute/figures/figure2.png mode change 100755 => 100644 en/contribute/figures/figure3.png mode change 100755 => 100644 en/contribute/public_sys-resources/icon-caution.gif mode change 100755 => 100644 en/contribute/public_sys-resources/icon-danger.gif mode change 100755 => 100644 en/contribute/public_sys-resources/icon-note.gif mode change 100755 => 100644 en/contribute/public_sys-resources/icon-notice.gif mode change 100755 => 100644 en/contribute/public_sys-resources/icon-tip.gif mode change 100755 => 100644 en/contribute/public_sys-resources/icon-warning.gif mode change 100755 => 100644 en/contribute/writing-instructions.md mode change 100755 => 100644 en/device-dev/faqs/public_sys-resources/icon-caution.gif mode change 100755 => 100644 en/device-dev/faqs/public_sys-resources/icon-danger.gif mode change 100755 => 100644 en/device-dev/faqs/public_sys-resources/icon-note.gif mode change 100755 => 100644 en/device-dev/faqs/public_sys-resources/icon-notice.gif mode change 100755 => 100644 en/device-dev/faqs/public_sys-resources/icon-tip.gif mode change 100755 => 100644 en/device-dev/faqs/public_sys-resources/icon-warning.gif mode change 100755 => 100644 en/device-dev/porting/porting-thirdparty-cmake.md mode change 100755 => 100644 en/readme/account.md mode change 100755 => 100644 en/readme/dsoftbus.md mode change 100755 => 100644 en/readme/figures/architecture-of-the-globalization-subsystem.png mode change 100755 => 100644 en/readme/figures/dsoftbus.png mode change 100755 => 100644 en/readme/figures/en-us_architecture-of-telephony-subsystem.png mode change 100755 => 100644 en/readme/figures/en-us_image_0000001079026550.png mode change 100755 => 100644 en/readme/figures/en-us_image_0000001106694563.png mode change 100755 => 100644 en/readme/figures/en-us_image_0000001162500331.png mode change 100755 => 100644 en/readme/figures/en-us_image_0000001163462711.png mode change 100755 => 100644 en/readme/figures/subsystem-architecture.png mode change 100755 => 100644 en/readme/globalization.md mode change 100755 => 100644 en/readme/misc-services.md mode change 100755 => 100644 en/readme/multimedia.md mode change 100755 => 100644 en/readme/pan-sensor.md mode change 100755 => 100644 en/readme/telephony.md mode change 100755 => 100644 zh-cn/application-dev/connectivity/Readme-CN.md mode change 100755 => 100644 zh-cn/application-dev/connectivity/ipc-rpc-development-guideline.md mode change 100755 => 100644 zh-cn/application-dev/connectivity/ipc-rpc-overview.md mode change 100755 => 100644 zh-cn/application-dev/connectivity/subscribe-remote-state.md mode change 100755 => 100644 zh-cn/application-dev/media/Readme-CN.md mode change 100755 => 100644 zh-cn/application-dev/public_sys-resources/icon-caution.gif mode change 100755 => 100644 zh-cn/application-dev/public_sys-resources/icon-danger.gif mode change 100755 => 100644 zh-cn/application-dev/public_sys-resources/icon-note.gif mode change 100755 => 100644 zh-cn/application-dev/public_sys-resources/icon-notice.gif mode change 100755 => 100644 zh-cn/application-dev/public_sys-resources/icon-tip.gif mode change 100755 => 100644 zh-cn/application-dev/public_sys-resources/icon-warning.gif mode change 100755 => 100644 zh-cn/application-dev/quick-start/Readme-CN.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/Readme-CN.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-Bundle.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-app-ability-missionManager.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-application-environmentCallback.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-avsession.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-bundleManager-overlayModuleInfo.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-cert.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-cooperate.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-distributedMissionManager.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-huks.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-inputconsumer.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-inputdevice.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-inputevent.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-inputeventclient.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-inputmonitor.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-keycode.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-keyevent.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-mouseevent.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-overlay.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-pointer.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-process.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-system-capability.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-system-parameter.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-system-parameterEnhance.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-touchevent.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-url.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-util.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-webgl.md mode change 100755 => 100644 zh-cn/application-dev/reference/apis/js-apis-webgl2.md mode change 100755 => 100644 zh-cn/application-dev/reference/arkui-ts/figures/progressMask.PNG mode change 100755 => 100644 zh-cn/application-dev/reference/arkui-ts/figures/zh-cn_image1_0000001219982725.png mode change 100755 => 100644 zh-cn/application-dev/reference/arkui-ts/figures/zh-cn_image_0000001238832405.png mode change 100755 => 100644 zh-cn/application-dev/reference/arkui-ts/ts-basic-components-web.md mode change 100755 => 100644 zh-cn/application-dev/reference/errorcodes/errorcode-cert.md mode change 100755 => 100644 zh-cn/application-dev/reference/errorcodes/errorcode-colorspace-manager.md mode change 100755 => 100644 zh-cn/application-dev/reference/errorcodes/errorcode-crypto-framework.md mode change 100755 => 100644 zh-cn/application-dev/reference/errorcodes/errorcode-display.md mode change 100755 => 100644 zh-cn/application-dev/reference/errorcodes/errorcode-sensor.md mode change 100755 => 100644 zh-cn/application-dev/reference/errorcodes/errorcode-vibrator.md mode change 100755 => 100644 zh-cn/application-dev/reference/errorcodes/errorcode-window.md mode change 100755 => 100644 zh-cn/application-dev/reference/errorcodes/errorcode-zlib.md mode change 100755 => 100644 zh-cn/application-dev/security/cert-guidelines.md mode change 100755 => 100644 zh-cn/application-dev/security/cert-overview.md mode change 100755 => 100644 zh-cn/application-dev/security/huks-overview.md mode change 100755 => 100644 zh-cn/application-dev/tools/restool.md mode change 100755 => 100644 zh-cn/application-dev/ui/Readme-CN.md mode change 100755 => 100644 zh-cn/application-dev/ui/figures/zh-cn_image_0000001063148757.gif mode change 100755 => 100644 zh-cn/application-dev/ui/figures/zh-cn_image_0000001063442797.png mode change 100755 => 100644 zh-cn/application-dev/ui/figures/zh-cn_image_0000001064068638.gif mode change 100755 => 100644 zh-cn/application-dev/ui/figures/zh-cn_image_0000001070558189.png mode change 100755 => 100644 zh-cn/application-dev/ui/figures/zh-cn_image_0000001070693737.png mode change 100755 => 100644 zh-cn/application-dev/ui/figures/zh-cn_image_0000001070707559.png mode change 100755 => 100644 zh-cn/application-dev/ui/figures/zh-cn_image_0000001071134933.png mode change 100755 => 100644 zh-cn/application-dev/ui/ui-js-building-ui-animation.md mode change 100755 => 100644 zh-cn/application-dev/ui/ui-js-building-ui-component.md mode change 100755 => 100644 zh-cn/application-dev/ui/ui-js-building-ui-event.md mode change 100755 => 100644 zh-cn/application-dev/ui/ui-js-building-ui-interactions.md mode change 100755 => 100644 zh-cn/application-dev/ui/ui-js-building-ui-layout-comment.md mode change 100755 => 100644 zh-cn/application-dev/ui/ui-js-building-ui-layout-external-container.md mode change 100755 => 100644 zh-cn/application-dev/ui/ui-js-building-ui-layout-image.md mode change 100755 => 100644 zh-cn/application-dev/ui/ui-js-building-ui-layout-text.md mode change 100755 => 100644 zh-cn/application-dev/ui/ui-js-custom-components.md mode change 100755 => 100644 zh-cn/application-dev/ui/ui-js-overview.md mode change 100755 => 100644 zh-cn/contribute/FAQ.md mode change 100755 => 100644 zh-cn/contribute/OpenHarmony-64bits-coding-guide.md mode change 100755 => 100644 zh-cn/contribute/OpenHarmony-JavaScript-coding-style-guide.md mode change 100755 => 100644 zh-cn/contribute/OpenHarmony-c-coding-style-guide.md mode change 100755 => 100644 zh-cn/contribute/OpenHarmony-cpp-coding-style-guide.md mode change 100755 => 100644 zh-cn/contribute/OpenHarmony-hdf-coding-guide.md mode change 100755 => 100644 zh-cn/contribute/Readme-CN.md mode change 100755 => 100644 "zh-cn/contribute/figures/\345\244\215\345\210\266\350\277\234\347\250\213\344\273\223\345\272\223.png" mode change 100755 => 100644 "zh-cn/contribute/figures/\346\210\252\345\233\276\347\244\272\344\276\213.png" mode change 100755 => 100644 "zh-cn/contribute/figures/\346\227\240\346\240\207\351\242\2301.png" mode change 100755 => 100644 "zh-cn/contribute/figures/\346\227\240\346\240\207\351\242\2302.png" mode change 100755 => 100644 "zh-cn/contribute/figures/\346\227\240\346\240\207\351\242\2303.png" mode change 100755 => 100644 "zh-cn/contribute/figures/\346\227\240\346\240\207\351\242\2304.png" mode change 100755 => 100644 "zh-cn/contribute/figures/\351\205\215\350\211\262\347\244\272\344\276\213.png" mode change 100755 => 100644 zh-cn/contribute/public_sys-resources/icon-caution.gif mode change 100755 => 100644 zh-cn/contribute/public_sys-resources/icon-danger.gif mode change 100755 => 100644 zh-cn/contribute/public_sys-resources/icon-note.gif mode change 100755 => 100644 zh-cn/contribute/public_sys-resources/icon-notice.gif mode change 100755 => 100644 zh-cn/contribute/public_sys-resources/icon-tip.gif mode change 100755 => 100644 zh-cn/contribute/public_sys-resources/icon-warning.gif mode change 100755 => 100644 zh-cn/contribute/style-guide/style-guide-content-elements.md mode change 100755 => 100644 zh-cn/contribute/template/faq-template.md mode change 100755 => 100644 zh-cn/contribute/template/tutorial-template.md mode change 100755 => 100644 "zh-cn/contribute/\345\206\231\344\275\234\350\247\204\350\214\203.md" mode change 100755 => 100644 "zh-cn/contribute/\345\217\202\344\270\216\350\264\241\347\214\256.md" mode change 100755 => 100644 "zh-cn/contribute/\347\244\276\345\214\272\346\262\237\351\200\232\344\270\216\344\272\244\346\265\201.md" mode change 100755 => 100644 "zh-cn/contribute/\347\254\254\344\270\211\346\226\271\345\274\200\346\272\220\350\275\257\344\273\266\345\217\212\350\256\270\345\217\257\350\257\201\350\257\264\346\230\216.md" mode change 100755 => 100644 "zh-cn/contribute/\347\254\254\344\270\211\346\226\271\345\274\200\346\272\220\350\275\257\344\273\266\345\274\225\345\205\245\346\214\207\345\257\274.md" mode change 100755 => 100644 "zh-cn/contribute/\350\241\214\344\270\272\345\207\206\345\210\231.md" mode change 100755 => 100644 "zh-cn/contribute/\350\264\241\347\214\256\344\273\243\347\240\201.md" mode change 100755 => 100644 "zh-cn/contribute/\350\264\241\347\214\256\346\226\207\346\241\243.md" mode change 100755 => 100644 "zh-cn/contribute/\350\264\241\347\214\256\346\265\201\347\250\213.md" mode change 100755 => 100644 zh-cn/design/OpenHarmony-API-governance.md mode change 100755 => 100644 "zh-cn/design/OpenHarmony\351\203\250\344\273\266\350\256\276\350\256\241\345\222\214\345\274\200\345\217\221\346\214\207\345\215\227.md" mode change 100755 => 100644 zh-cn/design/figures/API-Lifecycle.png mode change 100755 => 100644 zh-cn/design/figures/API-Review-Process.png mode change 100755 => 100644 zh-cn/design/figures/API-Scope-And-Definition.png mode change 100755 => 100644 zh-cn/device-dev/driver/Readme-CN.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-hdf-development.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-hdf-overview.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-hdf-servicemanage.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-peripherals-camera-des.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-peripherals-sensor-des.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-peripherals-vibrator-des.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-adc-des.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-adc-develop.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-gpio-develop.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-hdmi-des.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-hdmi-develop.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-i2c-develop.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-i3c-des.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-i3c-develop.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-mipicsi-des.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-mipicsi-develop.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-mipidsi-develop.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-mmc-develop.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-pin-develop.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-pwm-develop.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-regulator-des.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-regulator-develop.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-rtc-develop.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-sdio-develop.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-spi-develop.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-uart-develop.md mode change 100755 => 100644 zh-cn/device-dev/driver/driver-platform-watchdog-develop.md mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/2\347\272\277UART\350\256\276\345\244\207\350\277\236\346\216\245\347\244\272\346\204\217\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/4\347\272\277UART\350\256\276\345\244\207\350\277\236\346\216\245\347\244\272\346\204\217\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/ADC\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/ADC\347\211\251\347\220\206\350\277\236\347\272\277\347\244\272\346\204\217\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/CSI\345\217\221\351\200\201-\346\216\245\346\224\266\346\216\245\345\217\243.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/DSI\345\217\221\351\200\201-\346\216\245\346\224\266\346\216\245\345\217\243.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/GPIO\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/HDF\351\251\261\345\212\250\346\250\241\345\236\213.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/HDMI\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/HDMI\347\211\251\347\220\206\350\277\236\347\272\277\347\244\272\346\204\217\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/I2C\347\211\251\347\220\206\350\277\236\347\272\277\347\244\272\346\204\217\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/I2C\350\256\276\345\244\207\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/I3C\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/I3C\347\211\251\347\220\206\350\277\236\347\272\277\347\244\272\346\204\217\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/MIPI-CSI\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/MIPI-DSI\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/MIPI-DSI\346\216\245\345\217\243.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/Motion\351\251\261\345\212\250\346\241\206\346\236\266\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/PWM\350\256\276\345\244\207\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/REGULATOR\350\256\276\345\244\207\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/RTC\350\256\276\345\244\207\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/SDIO\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/SDIO\347\232\204HOST-DEVICE\350\277\236\346\216\245\347\244\272\346\204\217\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/SPI\344\270\273\344\273\216\350\256\276\345\244\207\350\277\236\346\216\245\347\244\272\346\204\217\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/SPI\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/Sensor\351\251\261\345\212\250\346\250\241\345\236\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/Sensor\351\251\261\345\212\250\350\277\220\350\241\214\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/TTL\346\216\245\345\217\243.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/UART\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/Vibrator\351\251\261\345\212\250\346\250\241\345\236\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/Vibrator\351\251\261\345\212\250\350\277\220\350\241\214\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/WLAN\346\241\206\346\236\266.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/WLAN\351\251\261\345\212\250\346\216\245\345\217\243\346\241\206\346\236\266\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/\345\237\272\344\272\216HDF\351\251\261\345\212\250\346\241\206\346\236\266\347\232\204Display\351\251\261\345\212\250\346\250\241\345\236\213.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/\345\237\272\344\272\216HDF\351\251\261\345\212\250\346\241\206\346\236\266\347\232\204input\351\251\261\345\212\250\346\250\241\345\236\213.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/\347\213\254\347\253\213\346\234\215\345\212\241\346\250\241\345\274\217\347\273\223\346\236\204\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/\347\234\213\351\227\250\347\213\227\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/driver/figures/\351\205\215\347\275\256\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" mode change 100755 => 100644 zh-cn/device-dev/faqs/figures/download-zlib.png mode change 100755 => 100644 zh-cn/device-dev/get-code/Readme-CN.md mode change 100755 => 100644 zh-cn/device-dev/guide/Readme-CN.md mode change 100755 => 100644 zh-cn/device-dev/guide/device-camera-control-demo-previewguide.md mode change 100755 => 100644 zh-cn/device-dev/guide/device-camera-control-demo-videoguide.md mode change 100755 => 100644 zh-cn/device-dev/guide/device-camera-visual-details.md mode change 100755 => 100644 zh-cn/device-dev/guide/device-camera-visual-faqs.md mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/LED\351\227\252\347\203\201\345\233\276.gif" mode change 100755 => 100644 zh-cn/device-dev/guide/figures/device-wlan-sdk-files.png mode change 100755 => 100644 zh-cn/device-dev/guide/figures/empty-feature-ability.png mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/\345\220\257\345\212\250\347\244\272\344\276\213.png" mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/\345\256\214\346\225\264\345\267\245\347\250\213\347\233\256\345\275\225.png" mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/\345\267\245\347\250\213\347\233\256\345\275\225.png" mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/\346\237\245\347\234\213\346\226\207\344\273\266\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/\346\240\207\351\242\230\346\240\217\345\222\214\344\277\241\346\201\257\346\240\217\346\225\210\346\236\234.png" mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/\346\240\207\351\242\230\346\240\217\346\225\210\346\236\234.png" mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/\346\241\214\351\235\242.png" mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/\346\267\273\345\212\240\351\241\265\351\235\242.png" mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/\347\251\272\346\260\224\350\264\250\351\207\217\347\233\221\346\265\213-App\346\230\276\347\244\272\346\225\210\346\236\234\345\233\276.gif" mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/\350\276\223\345\205\245\345\275\225\345\203\217\346\214\207\344\273\244\345\220\216\344\270\262\345\217\243\346\211\223\345\215\260\346\227\245\345\277\227.png" mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/\350\276\223\345\205\245\346\213\215\347\205\247\346\214\207\344\273\244\345\220\216\344\270\262\345\217\243\346\211\223\345\215\260\346\227\245\345\277\227.png" mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/\350\276\223\345\205\245\351\241\265\351\235\242\345\220\215\347\247\260.png" mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/\350\276\223\345\205\245\351\242\204\350\247\210\346\214\207\344\273\244\345\220\216\344\270\262\345\217\243\346\211\223\345\215\260\346\227\245\345\277\227.png" mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/\350\276\223\345\207\272\351\200\200\345\207\272\346\214\207\344\273\244\345\220\216\344\270\262\345\217\243\346\211\223\345\215\260\346\227\245\345\277\227.png" mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/\351\241\265\351\235\242\344\275\215\347\275\256\346\214\207\347\244\272\345\231\250\346\225\210\346\236\234\345\233\276.png" mode change 100755 => 100644 "zh-cn/device-dev/guide/figures/\351\242\204\350\247\210\346\225\210\346\236\234.jpg" mode change 100755 => 100644 zh-cn/device-dev/kernel/Readme-CN.md mode change 100755 => 100644 zh-cn/device-dev/kernel/kernel-mini-debug-shell.md mode change 100755 => 100644 zh-cn/device-dev/porting/figures/cst85_hb_set.png mode change 100755 => 100644 zh-cn/device-dev/porting/figures/cst85_kconfig.png mode change 100755 => 100644 zh-cn/device-dev/porting/figures/dayu200/dayu200-audio-01.png mode change 100755 => 100644 zh-cn/device-dev/porting/figures/dayu200/dayu200-audio-02.png mode change 100755 => 100644 zh-cn/device-dev/porting/figures/dayu200/dayu200-bt-02.png mode change 100755 => 100644 zh-cn/device-dev/porting/figures/dayu200/dayu200-camera-02.png mode change 100755 => 100644 zh-cn/device-dev/porting/figures/dayu200/dayu200-camera-03.png mode change 100755 => 100644 zh-cn/device-dev/porting/figures/dayu200/dayu200-lcd-01.png mode change 100755 => 100644 zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-01.png mode change 100755 => 100644 zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-04.png mode change 100755 => 100644 zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-05.png mode change 100755 => 100644 zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-06.png mode change 100755 => 100644 zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-07.png mode change 100755 => 100644 zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-08.png mode change 100755 => 100644 zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-09.png mode change 100755 => 100644 zh-cn/device-dev/porting/figures/w800_select.png mode change 100755 => 100644 zh-cn/device-dev/porting/porting-asr582x-combo-demo.md mode change 100755 => 100644 zh-cn/device-dev/porting/porting-chip-faqs.md mode change 100755 => 100644 zh-cn/device-dev/porting/porting-cst85f01-combo-demo.md mode change 100755 => 100644 zh-cn/device-dev/porting/porting-dayu200-on_standard-demo.md mode change 100755 => 100644 zh-cn/device-dev/porting/porting-thirdparty-overview.md mode change 100755 => 100644 zh-cn/device-dev/porting/porting-w800-combo-demo.md mode change 100755 => 100644 zh-cn/device-dev/security/Readme-CN.md mode change 100755 => 100644 zh-cn/device-dev/subsystems/subsys-app-privilege-config-guide.md mode change 100755 => 100644 zh-cn/device-dev/subsystems/subsys-application-framework-demo.md mode change 100755 => 100644 zh-cn/device-dev/subsystems/subsys-boot-bootstrap.md mode change 100755 => 100644 zh-cn/device-dev/subsystems/subsys-boot-ref.md mode change 100755 => 100644 zh-cn/device-dev/subsystems/subsys-dfx-hilog-lite.md mode change 100755 => 100644 zh-cn/device-dev/subsystems/subsys-dfx-hilog-rich.md mode change 100755 => 100644 zh-cn/device-dev/subsystems/subsys-graphics-overview.md mode change 100755 => 100644 zh-cn/device-dev/subsystems/subsys-multimedia-camera-preview-guide.md mode change 100755 => 100644 zh-cn/device-dev/subsystems/subsys-multimedia-camera-record-guide.md mode change 100755 => 100644 zh-cn/device-dev/subsystems/subsys-multimedia-video-overview.md mode change 100755 => 100644 zh-cn/device-dev/subsystems/subsys-multimedia-video-play-guide.md mode change 100755 => 100644 zh-cn/device-dev/subsystems/subsys-multimedia-video-record-guide.md mode change 100755 => 100644 zh-cn/device-dev/subsystems/subsys-preinstall-app-config-guide.md mode change 100755 => 100644 zh-cn/device-dev/subsystems/subsys-remote-start.md mode change 100755 => 100644 zh-cn/device-dev/subsystems/subsys-sensor-demo.md mode change 100755 => 100644 "zh-cn/readme/DFX\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/DeviceProfile\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/Misc\350\275\257\344\273\266\346\234\215\345\212\241\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/XTS\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/figures/JS-FA\345\274\200\345\217\221\347\233\256\345\275\225.png" mode change 100755 => 100644 "zh-cn/readme/figures/OpenHarmony-LiteOS-A\345\206\205\346\240\270\346\236\266\346\236\204\345\233\276.png" mode change 100755 => 100644 "zh-cn/readme/figures/Page\344\270\216AbilitySlice.png" mode change 100755 => 100644 zh-cn/readme/figures/aafwk.png mode change 100755 => 100644 zh-cn/readme/figures/appexecfwk.png mode change 100755 => 100644 zh-cn/readme/figures/cesfwk_architecture_diagram.png mode change 100755 => 100644 zh-cn/readme/figures/dp-architecture_zh.png mode change 100755 => 100644 zh-cn/readme/figures/first_layout.png mode change 100755 => 100644 zh-cn/readme/figures/page-ability-lifecycle-callbacks.png mode change 100755 => 100644 zh-cn/readme/figures/page-ability-lifecycle.png mode change 100755 => 100644 zh-cn/readme/figures/samgr-architecture.png mode change 100755 => 100644 zh-cn/readme/figures/service-ability-lifecycle-callbacks.jpg mode change 100755 => 100644 zh-cn/readme/figures/service-ability-lifecycle.png mode change 100755 => 100644 zh-cn/readme/figures/zh-cn_architecture-of-telephony-subsystem.png mode change 100755 => 100644 zh-cn/readme/figures/zh-cn_image_0000001077953992.png mode change 100755 => 100644 zh-cn/readme/figures/zh-cn_image_0000001078959750.png mode change 100755 => 100644 zh-cn/readme/figures/zh-cn_image_0000001079026550.png mode change 100755 => 100644 zh-cn/readme/figures/zh-cn_image_0000001079207198.png mode change 100755 => 100644 zh-cn/readme/figures/zh-cn_image_0000001106694563.png mode change 100755 => 100644 zh-cn/readme/figures/zh-cn_image_0000001111659738.png mode change 100755 => 100644 zh-cn/readme/figures/zh-cn_image_0000001115819528.png mode change 100755 => 100644 zh-cn/readme/figures/zh-cn_image_0000001136682635.png mode change 100755 => 100644 zh-cn/readme/figures/zh-cn_image_0000001162307895.png mode change 100755 => 100644 zh-cn/readme/figures/zh-cn_image_0000001162500331.png mode change 100755 => 100644 zh-cn/readme/figures/zh-cn_image_0000001162757669.png mode change 100755 => 100644 "zh-cn/readme/figures/\344\274\240\346\204\237\345\231\250\347\273\223\346\236\204\345\233\276.png" mode change 100755 => 100644 "zh-cn/readme/figures/\345\205\250\347\220\203\345\214\226\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276.png" mode change 100755 => 100644 "zh-cn/readme/figures/\345\212\250\347\224\273\351\233\206\345\220\210\346\225\210\346\236\234.gif" mode change 100755 => 100644 "zh-cn/readme/figures/\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276-0.jpg" mode change 100755 => 100644 "zh-cn/readme/figures/\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276-3.png" mode change 100755 => 100644 "zh-cn/readme/figures/\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276-4.png" mode change 100755 => 100644 "zh-cn/readme/figures/\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276-5.png" mode change 100755 => 100644 "zh-cn/readme/figures/\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276.png" mode change 100755 => 100644 "zh-cn/readme/figures/\345\261\236\346\200\247\345\212\250\347\224\273\346\225\210\346\236\234.gif" mode change 100755 => 100644 "zh-cn/readme/figures/\345\274\200\345\217\221\346\240\267\344\276\213\345\233\276.png" mode change 100755 => 100644 "zh-cn/readme/figures/\346\225\260\345\200\274\345\212\250\347\224\273\346\225\210\346\236\234.gif" mode change 100755 => 100644 zh-cn/readme/public_sys-resources/icon-caution.gif mode change 100755 => 100644 zh-cn/readme/public_sys-resources/icon-danger.gif mode change 100755 => 100644 zh-cn/readme/public_sys-resources/icon-note.gif mode change 100755 => 100644 zh-cn/readme/public_sys-resources/icon-notice.gif mode change 100755 => 100644 zh-cn/readme/public_sys-resources/icon-tip.gif mode change 100755 => 100644 zh-cn/readme/public_sys-resources/icon-warning.gif mode change 100755 => 100644 "zh-cn/readme/\344\272\213\344\273\266\351\200\232\347\237\245\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/\345\205\203\350\203\275\345\212\233\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/\345\205\250\347\220\203\345\214\226\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/\345\205\254\345\205\261\345\237\272\347\241\200\345\272\223.md" mode change 100755 => 100644 "zh-cn/readme/\345\210\206\345\270\203\345\274\217\346\225\260\346\215\256\347\256\241\347\220\206\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/\345\210\206\345\270\203\345\274\217\350\275\257\346\200\273\347\272\277\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/\345\214\205\347\256\241\347\220\206\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/\345\220\257\345\212\250\346\201\242\345\244\215\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/\345\252\222\344\275\223\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/\345\256\211\345\205\250\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/\345\270\220\345\217\267\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/\346\263\233Sensor\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/\346\265\213\350\257\225\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/\347\240\224\345\217\221\345\267\245\345\205\267\351\223\276\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/\347\263\273\347\273\237\346\234\215\345\212\241\347\256\241\347\220\206\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 "zh-cn/readme/\350\257\255\350\250\200\350\277\220\350\241\214\346\227\266\345\255\220\347\263\273\347\273\237.md" mode change 100755 => 100644 zh-cn/release-notes/OpenHarmony-1-0.md mode change 100755 => 100644 zh-cn/release-notes/OpenHarmony-1-1-0-LTS.md mode change 100755 => 100644 zh-cn/release-notes/OpenHarmony-1-1-1-LTS.md mode change 100755 => 100644 zh-cn/release-notes/OpenHarmony-v3.1-release.md mode change 100755 => 100644 zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelog-security.md mode change 100755 => 100644 zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-device-usb.md mode change 100755 => 100644 zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-multimodalinput.md mode change 100755 => 100644 zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-usb.md mode change 100755 => 100644 zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-startup.md mode change 100755 => 100644 zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.2/changelogs-miscdevice.md mode change 100755 => 100644 zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.1/changelog-huks.md mode change 100755 => 100644 zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.2/changelogs-global.md mode change 100755 => 100644 zh-cn/release-notes/release-definitions/Release-version-definitions.md diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000000..73f69e0958 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/deployment.xml b/.idea/deployment.xml new file mode 100644 index 0000000000..46852d83ba --- /dev/null +++ b/.idea/deployment.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/docs.iml b/.idea/docs.iml new file mode 100644 index 0000000000..bc2cd87409 --- /dev/null +++ b/.idea/docs.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000000..6049cfe013 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000000..94a25f7f4c --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/LICENSE b/LICENSE old mode 100755 new mode 100644 diff --git a/docker/CHANGELOG.md b/docker/CHANGELOG.md old mode 100755 new mode 100644 diff --git a/docker/CHANGELOG_en.md b/docker/CHANGELOG_en.md old mode 100755 new mode 100644 diff --git a/docker/Dockerfile b/docker/Dockerfile old mode 100755 new mode 100644 diff --git a/docker/README.md b/docker/README.md old mode 100755 new mode 100644 diff --git a/docker/README_en.md b/docker/README_en.md old mode 100755 new mode 100644 diff --git a/docker/sources.list b/docker/sources.list old mode 100755 new mode 100644 diff --git a/en/application-dev/connectivity/Readme-EN.md b/en/application-dev/connectivity/Readme-EN.md old mode 100755 new mode 100644 diff --git a/en/application-dev/connectivity/ipc-rpc-overview.md b/en/application-dev/connectivity/ipc-rpc-overview.md old mode 100755 new mode 100644 diff --git a/en/application-dev/connectivity/subscribe-remote-state.md b/en/application-dev/connectivity/subscribe-remote-state.md old mode 100755 new mode 100644 diff --git a/en/application-dev/media/Readme-EN.md b/en/application-dev/media/Readme-EN.md old mode 100755 new mode 100644 diff --git a/en/application-dev/media/audio-overview.md b/en/application-dev/media/audio-overview.md old mode 100755 new mode 100644 diff --git a/en/application-dev/reference/apis/js-apis-process.md b/en/application-dev/reference/apis/js-apis-process.md old mode 100755 new mode 100644 diff --git a/en/application-dev/reference/apis/js-apis-url.md b/en/application-dev/reference/apis/js-apis-url.md old mode 100755 new mode 100644 diff --git a/en/application-dev/reference/apis/js-apis-util.md b/en/application-dev/reference/apis/js-apis-util.md old mode 100755 new mode 100644 diff --git a/en/application-dev/ui/ui-js-building-ui-layout-comment.md b/en/application-dev/ui/ui-js-building-ui-layout-comment.md old mode 100755 new mode 100644 diff --git a/en/contribute/OpenHarmony-JavaScript-coding-style-guide.md b/en/contribute/OpenHarmony-JavaScript-coding-style-guide.md old mode 100755 new mode 100644 diff --git a/en/contribute/OpenHarmony-c-coding-style-guide.md b/en/contribute/OpenHarmony-c-coding-style-guide.md old mode 100755 new mode 100644 diff --git a/en/contribute/OpenHarmony-cpp-coding-style-guide.md b/en/contribute/OpenHarmony-cpp-coding-style-guide.md old mode 100755 new mode 100644 diff --git a/en/contribute/Readme-EN.md b/en/contribute/Readme-EN.md old mode 100755 new mode 100644 diff --git a/en/contribute/code-of-conduct.md b/en/contribute/code-of-conduct.md old mode 100755 new mode 100644 diff --git a/en/contribute/communication-in-community.md b/en/contribute/communication-in-community.md old mode 100755 new mode 100644 diff --git a/en/contribute/contribution-process.md b/en/contribute/contribution-process.md old mode 100755 new mode 100644 diff --git a/en/contribute/documentation-contribution.md b/en/contribute/documentation-contribution.md old mode 100755 new mode 100644 diff --git a/en/contribute/figures/figure2.png b/en/contribute/figures/figure2.png old mode 100755 new mode 100644 diff --git a/en/contribute/figures/figure3.png b/en/contribute/figures/figure3.png old mode 100755 new mode 100644 diff --git a/en/contribute/public_sys-resources/icon-caution.gif b/en/contribute/public_sys-resources/icon-caution.gif old mode 100755 new mode 100644 diff --git a/en/contribute/public_sys-resources/icon-danger.gif b/en/contribute/public_sys-resources/icon-danger.gif old mode 100755 new mode 100644 diff --git a/en/contribute/public_sys-resources/icon-note.gif b/en/contribute/public_sys-resources/icon-note.gif old mode 100755 new mode 100644 diff --git a/en/contribute/public_sys-resources/icon-notice.gif b/en/contribute/public_sys-resources/icon-notice.gif old mode 100755 new mode 100644 diff --git a/en/contribute/public_sys-resources/icon-tip.gif b/en/contribute/public_sys-resources/icon-tip.gif old mode 100755 new mode 100644 diff --git a/en/contribute/public_sys-resources/icon-warning.gif b/en/contribute/public_sys-resources/icon-warning.gif old mode 100755 new mode 100644 diff --git a/en/contribute/writing-instructions.md b/en/contribute/writing-instructions.md old mode 100755 new mode 100644 diff --git a/en/device-dev/faqs/public_sys-resources/icon-caution.gif b/en/device-dev/faqs/public_sys-resources/icon-caution.gif old mode 100755 new mode 100644 diff --git a/en/device-dev/faqs/public_sys-resources/icon-danger.gif b/en/device-dev/faqs/public_sys-resources/icon-danger.gif old mode 100755 new mode 100644 diff --git a/en/device-dev/faqs/public_sys-resources/icon-note.gif b/en/device-dev/faqs/public_sys-resources/icon-note.gif old mode 100755 new mode 100644 diff --git a/en/device-dev/faqs/public_sys-resources/icon-notice.gif b/en/device-dev/faqs/public_sys-resources/icon-notice.gif old mode 100755 new mode 100644 diff --git a/en/device-dev/faqs/public_sys-resources/icon-tip.gif b/en/device-dev/faqs/public_sys-resources/icon-tip.gif old mode 100755 new mode 100644 diff --git a/en/device-dev/faqs/public_sys-resources/icon-warning.gif b/en/device-dev/faqs/public_sys-resources/icon-warning.gif old mode 100755 new mode 100644 diff --git a/en/device-dev/porting/porting-thirdparty-cmake.md b/en/device-dev/porting/porting-thirdparty-cmake.md old mode 100755 new mode 100644 diff --git a/en/readme/account.md b/en/readme/account.md old mode 100755 new mode 100644 diff --git a/en/readme/dsoftbus.md b/en/readme/dsoftbus.md old mode 100755 new mode 100644 diff --git a/en/readme/figures/architecture-of-the-globalization-subsystem.png b/en/readme/figures/architecture-of-the-globalization-subsystem.png old mode 100755 new mode 100644 diff --git a/en/readme/figures/dsoftbus.png b/en/readme/figures/dsoftbus.png old mode 100755 new mode 100644 diff --git a/en/readme/figures/en-us_architecture-of-telephony-subsystem.png b/en/readme/figures/en-us_architecture-of-telephony-subsystem.png old mode 100755 new mode 100644 diff --git a/en/readme/figures/en-us_image_0000001079026550.png b/en/readme/figures/en-us_image_0000001079026550.png old mode 100755 new mode 100644 diff --git a/en/readme/figures/en-us_image_0000001106694563.png b/en/readme/figures/en-us_image_0000001106694563.png old mode 100755 new mode 100644 diff --git a/en/readme/figures/en-us_image_0000001162500331.png b/en/readme/figures/en-us_image_0000001162500331.png old mode 100755 new mode 100644 diff --git a/en/readme/figures/en-us_image_0000001163462711.png b/en/readme/figures/en-us_image_0000001163462711.png old mode 100755 new mode 100644 diff --git a/en/readme/figures/subsystem-architecture.png b/en/readme/figures/subsystem-architecture.png old mode 100755 new mode 100644 diff --git a/en/readme/globalization.md b/en/readme/globalization.md old mode 100755 new mode 100644 diff --git a/en/readme/misc-services.md b/en/readme/misc-services.md old mode 100755 new mode 100644 diff --git a/en/readme/multimedia.md b/en/readme/multimedia.md old mode 100755 new mode 100644 diff --git a/en/readme/pan-sensor.md b/en/readme/pan-sensor.md old mode 100755 new mode 100644 diff --git a/en/readme/telephony.md b/en/readme/telephony.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/connectivity/Readme-CN.md b/zh-cn/application-dev/connectivity/Readme-CN.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/connectivity/ipc-rpc-development-guideline.md b/zh-cn/application-dev/connectivity/ipc-rpc-development-guideline.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/connectivity/ipc-rpc-overview.md b/zh-cn/application-dev/connectivity/ipc-rpc-overview.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/connectivity/subscribe-remote-state.md b/zh-cn/application-dev/connectivity/subscribe-remote-state.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/media/Readme-CN.md b/zh-cn/application-dev/media/Readme-CN.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/public_sys-resources/icon-caution.gif b/zh-cn/application-dev/public_sys-resources/icon-caution.gif old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/public_sys-resources/icon-danger.gif b/zh-cn/application-dev/public_sys-resources/icon-danger.gif old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/public_sys-resources/icon-note.gif b/zh-cn/application-dev/public_sys-resources/icon-note.gif old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/public_sys-resources/icon-notice.gif b/zh-cn/application-dev/public_sys-resources/icon-notice.gif old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/public_sys-resources/icon-tip.gif b/zh-cn/application-dev/public_sys-resources/icon-tip.gif old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/public_sys-resources/icon-warning.gif b/zh-cn/application-dev/public_sys-resources/icon-warning.gif old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/quick-start/Readme-CN.md b/zh-cn/application-dev/quick-start/Readme-CN.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/Readme-CN.md b/zh-cn/application-dev/reference/apis/Readme-CN.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-Bundle.md b/zh-cn/application-dev/reference/apis/js-apis-Bundle.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-missionManager.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-missionManager.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-application-environmentCallback.md b/zh-cn/application-dev/reference/apis/js-apis-application-environmentCallback.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-avsession.md b/zh-cn/application-dev/reference/apis/js-apis-avsession.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundleManager-overlayModuleInfo.md b/zh-cn/application-dev/reference/apis/js-apis-bundleManager-overlayModuleInfo.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-cert.md b/zh-cn/application-dev/reference/apis/js-apis-cert.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-cooperate.md b/zh-cn/application-dev/reference/apis/js-apis-cooperate.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-distributedMissionManager.md b/zh-cn/application-dev/reference/apis/js-apis-distributedMissionManager.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-http.md b/zh-cn/application-dev/reference/apis/js-apis-http.md index fbab7e810a..350b88ea5e 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-http.md +++ b/zh-cn/application-dev/reference/apis/js-apis-http.md @@ -518,7 +518,7 @@ request2(url: string, options? : HttpRequestOptions): Promise\ **示例:** ```js -let promise = httpRequest.request("EXAMPLE_URL", { +let promise = httpRequest.request2("EXAMPLE_URL", { method: http.RequestMethod.GET, connectTimeout: 60000, readTimeout: 60000, @@ -720,8 +720,8 @@ on(type: 'dataEnd', callback: Callback\): void **示例:** ```js -httpRequest.on('dataReceive', () => { - console.info('Receive dataEnd!'); +httpRequest.on('dataEnd', () => { + console.info('Receive dataEnd !'); }); ``` @@ -751,7 +751,7 @@ httpRequest.off('dataEnd'); ### on('dataProgress')10+ - on(type: 'dataProgress', callback: Callback\<{ receiveSize: number, totalSize: number }\>): void + on(type: 'dataProgress', callback: AsyncCallback\<{ receiveSize: number, totalSize: number }\>): void 订阅HTTP流式响应数据接收进度事件。 @@ -886,7 +886,7 @@ request方法回调函数的返回值类型。 | result | string \| Object \| ArrayBuffer6+ | 是 | HTTP请求根据响应头中Content-type类型返回对应的响应格式内容:
- application/json:返回JSON格式的字符串,如需HTTP响应具体内容,需开发者自行解析
- application/octet-stream:ArrayBuffer
- 其他:string | | resultType9+ | [HttpDataType](#httpdatatype9) | 是 | 返回值类型。 | | responseCode | [ResponseCode](#responsecode) \| number | 是 | 回调函数执行成功时,此字段为[ResponseCode](#responsecode)。若执行失败,错误码将会从AsyncCallback中的err字段返回。 | -| header | Object | 是 | 发起HTTP请求返回来的响应头。当前返回的是JSON格式字符串,如需具体字段内容,需开发者自行解析。常见字段及解析方式如下:
- Content-Type:header['Content-Type'];
- Status-Line:header['Status-Line'];
- Date:header.Date/header['Date'];
- Server:header.Server/header['Server']; | +| header | Object | 是 | 发起HTTP请求返回来的响应头。当前返回的是JSON格式字符串,如需具体字段内容,需开发者自行解析。常见字段及解析方式如下:
- content-type:header['content-type'];
- status-line:header['status-line'];
- date:header.date/header['date'];
- server:header.server/header['server']; | | cookies8+ | string | 是 | 服务器返回的 cookies。 | ## http.createHttpResponseCache9+ @@ -938,11 +938,11 @@ flush(callback: AsyncCallback\): void ```js httpResponseCache.flush(err => { - if (err) { - console.info('flush fail'); - return; - } - console.info('flush success'); + if (err) { + console.info('flush fail'); + return; + } + console.info('flush success'); }); ``` @@ -964,9 +964,9 @@ flush(): Promise\ ```js httpResponseCache.flush().then(() => { - console.info('flush success'); + console.info('flush success'); }).catch(err => { - console.info('flush fail'); + console.info('flush fail'); }); ``` @@ -988,11 +988,11 @@ delete(callback: AsyncCallback\): void ```js httpResponseCache.delete(err => { - if (err) { - console.info('delete fail'); - return; - } - console.info('delete success'); + if (err) { + console.info('delete fail'); + return; + } + console.info('delete success'); }); ``` ### delete9+ @@ -1013,9 +1013,9 @@ delete(): Promise\ ```js httpResponseCache.delete().then(() => { - console.info('delete success'); + console.info('delete success'); }).catch(err => { - console.info('delete fail'); + console.info('delete fail'); }); ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-huks.md b/zh-cn/application-dev/reference/apis/js-apis-huks.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-inputconsumer.md b/zh-cn/application-dev/reference/apis/js-apis-inputconsumer.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-inputdevice.md b/zh-cn/application-dev/reference/apis/js-apis-inputdevice.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-inputevent.md b/zh-cn/application-dev/reference/apis/js-apis-inputevent.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-inputeventclient.md b/zh-cn/application-dev/reference/apis/js-apis-inputeventclient.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-inputmonitor.md b/zh-cn/application-dev/reference/apis/js-apis-inputmonitor.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-keycode.md b/zh-cn/application-dev/reference/apis/js-apis-keycode.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-keyevent.md b/zh-cn/application-dev/reference/apis/js-apis-keyevent.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-mouseevent.md b/zh-cn/application-dev/reference/apis/js-apis-mouseevent.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-net-connection.md b/zh-cn/application-dev/reference/apis/js-apis-net-connection.md index 40492367bd..c8be1ee3e3 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-net-connection.md +++ b/zh-cn/application-dev/reference/apis/js-apis-net-connection.md @@ -34,10 +34,10 @@ createNetConnection(netSpecifier?: NetSpecifier, timeout?: number): NetConnectio **示例:** ```js -// 关注默认网络 +// 关注默认网络, 不需要传参 let netConnection = connection.createNetConnection() -// 关注蜂窝网络 +// 关注蜂窝网络,需要传入相关网络特征,timeout参数未传入说明未使用超时时间,此时timeout为0 let netConnectionCellular = connection.createNetConnection({ netCapabilities: { bearerTypes: [connection.NetBearType.BEARER_CELLULAR] @@ -166,7 +166,7 @@ getGlobalHttpProxy(callback: AsyncCallback\): void **示例:** ```js -connection.getGlobalHttpProxy((error,data) => { +connection.getGlobalHttpProxy((error, data) => { console.info(JSON.stringify(error)); console.info(JSON.stringify(data)); }) @@ -199,9 +199,9 @@ getGlobalHttpProxy(): Promise\; ```js connection.getGlobalHttpProxy().then((data) => { - console.info(JSON.stringify(data)); + console.info(JSON.stringify(data)); }).catch(error => { - console.info(JSON.stringify(error)); + console.info(JSON.stringify(error)); }) ``` @@ -237,16 +237,15 @@ setGlobalHttpProxy(httpProxy: HttpProxy, callback: AsyncCallback\): void **示例:** ```js -let exclusionStr="192.168,baidu.com" +let exclusionStr = "192.168,baidu.com" let exclusionArray = exclusionStr.split(','); let httpProxy = { host: "192.168.xx.xxx", port: 8080, exclusionList: exclusionArray } -connection.setGlobalHttpProxy(httpProxy, (error, data) => { - console.info(JSON.stringify(error)); - console.info(JSON.stringify(data)); +connection.setGlobalHttpProxy(httpProxy, (error) => { + console.info(JSON.stringify(error)); }); ``` @@ -287,7 +286,7 @@ setGlobalHttpProxy(httpProxy: HttpProxy): Promise\; **示例:** ```js -let exclusionStr="192.168,baidu.com" +let exclusionStr = "192.168,baidu.com" let exclusionArray = exclusionStr.split(','); let httpProxy = { host: "192.168.xx.xxx", @@ -295,9 +294,9 @@ let httpProxy = { exclusionList: exclusionArray } connection.setGlobalHttpProxy(httpProxy).then(() => { - console.info("success"); -}).catch(error=>{ - console.info(JSON.stringify(error)); + console.info("success"); +}).catch(error => { + console.info(JSON.stringify(error)); }) ``` @@ -325,9 +324,9 @@ getAppNet(callback: AsyncCallback\): void **示例:** ```js -connection.getAppNet(function(error, data) { - console.log(JSON.stringify(error)) - console.log(JSON.stringify(data)) +connection.getAppNet(function (error, data) { + console.log(JSON.stringify(error)) + console.log(JSON.stringify(data)) }) ``` @@ -356,9 +355,9 @@ getAppNet(): Promise\; ```js connection.getAppNet().then((data) => { - console.info(JSON.stringify(data)); + console.info(JSON.stringify(data)); }).catch(error => { - console.info(JSON.stringify(error)); + console.info(JSON.stringify(error)); }) ``` @@ -393,10 +392,10 @@ setAppNet(netHandle: NetHandle, callback: AsyncCallback\): void ```js connection.getDefaultNet(function (error, netHandle) { - connection.setAppNet(netHandle, (error, data) => { - console.log(JSON.stringify(error)) - console.log(JSON.stringify(data)) - }); + connection.setAppNet(netHandle, (error, data) => { + console.log(JSON.stringify(error)) + console.log(JSON.stringify(data)) + }); }) ``` @@ -436,11 +435,11 @@ setAppNet(netHandle: NetHandle): Promise\; ```js connection.getDefaultNet().then(function (netHandle) { - connection.setAppNet(netHandle).then(() => { + connection.setAppNet(netHandle).then(() => { console.log("success") - }).catch(error => { + }).catch(error => { console.log(JSON.stringify(error)) - }) + }) }) ``` @@ -935,8 +934,7 @@ connection.disableAirplaneMode().then(function (error) { reportNetConnected(netHandle: NetHandle, callback: AsyncCallback<void>): void -向网络管理报告网络处于可用状态,调用此接口说明应用程序认为网络的可用性(ohos.net.connection.NetCap.NET_CAPABILITY_VAILDATED)与网络管理不一致。 -使用callback方式作为异步方法。 +向网络管理报告网络处于可用状态,使用callback方式作为异步方法。 **需要权限**:ohos.permission.GET_NETWORK_INFO 和 ohos.permission.INTERNET @@ -973,8 +971,7 @@ connection.getDefaultNet().then(function (netHandle) { reportNetConnected(netHandle: NetHandle): Promise<void> -向网络管理报告网络处于可用状态,调用此接口说明应用程序认为网络的可用性(ohos.net.connection.NetCap.NET_CAPABILITY_VAILDATED)与网络管理不一致。 -使用Promise方式作为异步方法。 +向网络管理报告网络处于可用状态,使用Promise方式作为异步方法。 **需要权限**:ohos.permission.GET_NETWORK_INFO 和 ohos.permission.INTERNET @@ -1524,6 +1521,7 @@ connection.getDefaultNet().then((netHandle) => { }, error => { if (error) { console.log('bind fail'); + return; } netHandle.bindSocket(tcp, (error, data) => { if (error) { @@ -1543,6 +1541,7 @@ connection.getDefaultNet().then((netHandle) => { }, error => { if (error) { console.log('bind fail'); + return; } udp.on('message', (data) => { console.log(JSON.stringify(data)) @@ -1602,6 +1601,7 @@ connection.getDefaultNet().then((netHandle) => { }, error => { if (error) { console.log('bind fail'); + return; } netHandle.bindSocket(tcp).then((data) => { console.log(JSON.stringify(data)); @@ -1619,6 +1619,7 @@ connection.getDefaultNet().then((netHandle) => { }, error => { if (error) { console.log('bind fail'); + return; } udp.on('message', (data) => { console.log(JSON.stringify(data)); diff --git a/zh-cn/application-dev/reference/apis/js-apis-net-mdns.md b/zh-cn/application-dev/reference/apis/js-apis-net-mdns.md index 81a87e2156..5ec3c46965 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-net-mdns.md +++ b/zh-cn/application-dev/reference/apis/js-apis-net-mdns.md @@ -358,7 +358,7 @@ let localServiceInfo = { }] } -mdns.resolveLocalService(context, localServiceInfo).then(function (data){ +mdns.resolveLocalService(context, localServiceInfo).then(function (data) { console.log(JSON.stringify(data)); }) ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-net-sharing.md b/zh-cn/application-dev/reference/apis/js-apis-net-sharing.md index fd4ed040b4..b4d4d303a2 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-net-sharing.md +++ b/zh-cn/application-dev/reference/apis/js-apis-net-sharing.md @@ -194,7 +194,7 @@ startSharing(type: SharingIfaceType, callback: AsyncCallback\): void ```js import SharingIfaceType from '@ohos.net.sharing' -let SHARING_WIFI=0; +let SHARING_WIFI = 0; sharing.startSharing(SHARING_WIFI, (error) => { console.log(JSON.stringify(error)); }); @@ -243,7 +243,7 @@ startSharing(type: SharingIfaceType): Promise\ ```js import SharingIfaceType from '@ohos.net.sharing' -let SHARING_WIFI=0; +let SHARING_WIFI = 0; sharing.startSharing(SHARING_WIFI).then(() => { console.log("start wifi sharing successful"); }).catch(error => { @@ -287,7 +287,7 @@ stopSharing(type: SharingIfaceType, callback: AsyncCallback\): void ```js import SharingIfaceType from '@ohos.net.sharing' -let SHARING_WIFI=0; +let SHARING_WIFI = 0; sharing.stopSharing(SHARING_WIFI, (error) => { console.log(JSON.stringify(error)); }); @@ -334,7 +334,7 @@ stopSharing(type: SharingIfaceType): Promise\ ```js import SharingIfaceType from '@ohos.net.sharing' -let SHARING_WIFI=0; +let SHARING_WIFI = 0; sharing.stopSharing(SHARING_WIFI).then(() => { console.log("stop wifi sharing successful"); }).catch(error => { @@ -588,7 +588,7 @@ getSharingIfaces(state: SharingIfaceState, callback: AsyncCallback\ { console.log(JSON.stringify(error)); console.log(JSON.stringify(data)); @@ -633,7 +633,7 @@ getSharingIfaces(state: SharingIfaceState): Promise\> ```js import SharingIfaceState from '@ohos.net.sharing' -let SHARING_BLUETOOTH=2; +let SHARING_BLUETOOTH = 2; sharing.getSharingIfaces(SHARING_BLUETOOTH).then(data => { console.log(JSON.stringify(data)); }).catch(error => { @@ -674,7 +674,7 @@ getSharingState(type: SharingIfaceType, callback: AsyncCallback\ { console.log(JSON.stringify(error)); console.log(JSON.stringify(data)); @@ -719,7 +719,7 @@ getSharingState(type: SharingIfaceType): Promise\ ```js import SharingIfaceType from '@ohos.net.sharing' -let SHARING_WIFI=0; +let SHARING_WIFI = 0; sharing.getSharingState(SHARING_WIFI).then(data => { console.log(JSON.stringify(data)); }).catch(error => { @@ -760,7 +760,7 @@ getSharableRegexes(type: SharingIfaceType, callback: AsyncCallback\ { console.log(JSON.stringify(error)); console.log(JSON.stringify(data)); @@ -805,7 +805,7 @@ getSharableRegexes(type: SharingIfaceType): Promise\> ```js import SharingIfaceType from '@ohos.net.sharing' -let SHARING_WIFI=0; +let SHARING_WIFI = 0; sharing.getSharableRegexes(SHARING_WIFI).then(data => { console.log(JSON.stringify(data)); }).catch(error => { @@ -842,8 +842,8 @@ on(type: 'sharingStateChange', callback: Callback\): void **示例:** ```js - sharing.on('sharingStateChange', (data) => { - console.log('on sharingStateChange:' + JSON.stringify(data)); +sharing.on('sharingStateChange', (data) => { + console.log('on sharingStateChange: ' + JSON.stringify(data)); }); ``` @@ -910,8 +910,8 @@ on(type: 'interfaceSharingStateChange', callback: Callback\<{ type: SharingIface **示例:** ```js - sharing.on('interfaceSharingStateChange', (data) => { - console.log('on interfaceSharingStateChange:' + JSON.stringify(data)); +sharing.on('interfaceSharingStateChange', (data) => { + console.log('on interfaceSharingStateChange:' + JSON.stringify(data)); }); ``` @@ -978,8 +978,8 @@ on(type: 'sharingUpstreamChange', callback: Callback\): void **示例:** ```js - sharing.on('sharingUpstreamChange', (data) => { - console.log('on sharingUpstreamChange:' + JSON.stringify(data)); +sharing.on('sharingUpstreamChange', (data) => { + console.log('on sharingUpstreamChange:' + JSON.stringify(data)); }); ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-overlay.md b/zh-cn/application-dev/reference/apis/js-apis-overlay.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-pointer.md b/zh-cn/application-dev/reference/apis/js-apis-pointer.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-process.md b/zh-cn/application-dev/reference/apis/js-apis-process.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-socket.md b/zh-cn/application-dev/reference/apis/js-apis-socket.md index f3d2dff569..ff4449848c 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-socket.md +++ b/zh-cn/application-dev/reference/apis/js-apis-socket.md @@ -2,7 +2,7 @@ 本模块提供利用Socket进行数据传输的能力,支持TCPSocket、UDPSocket、WebSocket和TLSSocket。 -> **说明:** +> **说明:** > > 本模块首批接口从API version 7开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 @@ -26,14 +26,12 @@ constructUDPSocketInstance(): UDPSocket | :--------------------------------- | :---------------------- | | [UDPSocket](#udpsocket) | 返回一个UDPSocket对象。 | - **示例:** ```js let udp = socket.constructUDPSocketInstance(); ``` - ## UDPSocket UDPSocket连接。在调用UDPSocket的方法前,需要先通过[socket.constructUDPSocketInstance](#socketconstructudpsocketinstance)创建UDPSocket对象。 @@ -67,15 +65,14 @@ bind(address: NetAddress, callback: AsyncCallback\): void ```js let udp = socket.constructUDPSocketInstance(); udp.bind({address: '192.168.xx.xxx', port: xxxx, family: 1}, err => { - if (err) { - console.log('bind fail'); - return; - } - console.log('bind success'); + if (err) { + console.log('bind fail'); + return; + } + console.log('bind success'); }) ``` - ### bind bind(address: NetAddress): Promise\ @@ -110,14 +107,13 @@ bind(address: NetAddress): Promise\ ```js let udp = socket.constructUDPSocketInstance(); let promise = udp.bind({address: '192.168.xx.xxx', port: 8080, family: 1}); -promise .then(() => { - console.log('bind success'); +promise.then(() => { + console.log('bind success'); }).catch(err => { - console.log('bind fail'); + console.log('bind fail'); }); ``` - ### send send(options: UDPSendOptions, callback: AsyncCallback\): void @@ -149,22 +145,21 @@ send(options: UDPSendOptions, callback: AsyncCallback\): void ```js let udp = socket.constructUDPSocketInstance(); udp.send({ - data:'Hello, server!', - address: { - address:'192.168.xx.xxx', - port:xxxx, - family:1 - } -}, err=> { - if (err) { - console.log('send fail'); - return; - } - console.log('send success'); + data: 'Hello, server!', + address: { + address: '192.168.xx.xxx', + port: xxxx, + family: 1 + } +}, err => { + if (err) { + console.log('send fail'); + return; + } + console.log('send success'); }) ``` - ### send send(options: UDPSendOptions): Promise\ @@ -201,21 +196,20 @@ send(options: UDPSendOptions): Promise\ ```js let udp = socket.constructUDPSocketInstance(); let promise = udp.send({ - data:'Hello, server!', - address: { - address:'192.168.xx.xxx', - port:xxxx, - family:1 - } + data: 'Hello, server!', + address: { + address: '192.168.xx.xxx', + port: xxxx, + family: 1 + } }); promise.then(() => { - console.log('send success'); + console.log('send success'); }).catch(err => { - console.log('send fail'); + console.log('send fail'); }); ``` - ### close close(callback: AsyncCallback\): void @@ -237,15 +231,14 @@ close(callback: AsyncCallback\): void ```js let udp = socket.constructUDPSocketInstance(); udp.close(err => { - if (err) { - console.log('close fail'); - return; - } - console.log('close success'); + if (err) { + console.log('close fail'); + return; + } + console.log('close success'); }) ``` - ### close close(): Promise\ @@ -268,21 +261,20 @@ close(): Promise\ let udp = socket.constructUDPSocketInstance(); let promise = udp.close(); promise.then(() => { - console.log('close success'); + console.log('close success'); }).catch(err => { - console.log('close fail'); + console.log('close fail'); }); ``` - ### getState getState(callback: AsyncCallback\): void 获取UDPSocket状态。使用callback方式作为异步方法。 ->**说明:** ->bind方法调用成功后,才可调用此方法。 +> **说明:** +> bind方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -305,30 +297,29 @@ getState(callback: AsyncCallback\): void ```js let udp = socket.constructUDPSocketInstance(); udp.bind({address: '192.168.xx.xxx', port: xxxx, family: 1}, err => { - if (err) { - console.log('bind fail'); - return; - } - console.log('bind success'); - udp.getState((err, data) => { - if (err) { - console.log('getState fail'); - return; - } - console.log('getState success:' + JSON.stringify(data)); - }) + if (err) { + console.log('bind fail'); + return; + } + console.log('bind success'); + udp.getState((err, data) => { + if (err) { + console.log('getState fail'); + return; + } + console.log('getState success:' + JSON.stringify(data)); + }) }) ``` - ### getState getState(): Promise\ 获取UDPSocket状态。使用Promise方式作为异步方法。 ->**说明:** ->bind方法调用成功后,才可调用此方法。 +> **说明:** +> bind方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -344,30 +335,30 @@ getState(): Promise\ ```js let udp = socket.constructUDPSocketInstance(); -udp.bind({address: '192.168.xx.xxx', port: xxxx, family: 1}, err => { - if (err) { - console.log('bind fail'); - return; - } - console.log('bind success'); - let promise = udp.getState(); - promise.then(data => { - console.log('getState success:' + JSON.stringify(data)); - }).catch(err => { - console.log('getState fail'); - }); -}) +let promise = udp.bind({address: '192.168.xx.xxx', port: xxxx, family: 1}); +promise.then(err => { + if (err) { + console.log('bind fail'); + return; + } + console.log('bind success'); + let promise = udp.getState(); + promise.then(data => { + console.log('getState success:' + JSON.stringify(data)); + }).catch(err => { + console.log('getState fail'); + }); +}); ``` - ### setExtraOptions setExtraOptions(options: UDPExtraOptions, callback: AsyncCallback\): void 设置UDPSocket连接的其他属性。使用callback方式作为异步方法。 ->**说明:** ->bind方法调用成功后,才可调用此方法。 +> **说明:** +> bind方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -391,37 +382,36 @@ setExtraOptions(options: UDPExtraOptions, callback: AsyncCallback\): void ```js let udp = socket.constructUDPSocketInstance(); -udp.bind({address:'192.168.xx.xxx', port:xxxx, family:1}, err=> { - if (err) { - console.log('bind fail'); - return; - } - console.log('bind success'); - udp.setExtraOptions({ - receiveBufferSize:1000, - sendBufferSize:1000, - reuseAddress:false, - socketTimeout:6000, - broadcast:true - }, err=> { - if (err) { - console.log('setExtraOptions fail'); - return; - } - console.log('setExtraOptions success'); - }) +udp.bind({address: '192.168.xx.xxx', port: xxxx, family: 1}, err => { + if (err) { + console.log('bind fail'); + return; + } + console.log('bind success'); + udp.setExtraOptions({ + receiveBufferSize: 1000, + sendBufferSize: 1000, + reuseAddress: false, + socketTimeout: 6000, + broadcast: true + }, err => { + if (err) { + console.log('setExtraOptions fail'); + return; + } + console.log('setExtraOptions success'); + }) }) ``` - ### setExtraOptions setExtraOptions(options: UDPExtraOptions): Promise\ 设置UDPSocket连接的其他属性。使用Promise方式作为异步方法。 ->**说明:** ->bind方法调用成功后,才可调用此方法。 +> **说明:** +> bind方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -450,27 +440,26 @@ setExtraOptions(options: UDPExtraOptions): Promise\ ```js let udp = socket.constructUDPSocketInstance(); -let promise = udp.bind({address:'192.168.xx.xxx', port:xxxx, family:1}); +let promise = udp.bind({address: '192.168.xx.xxx', port: xxxx, family: 1}); promise.then(() => { - console.log('bind success'); - let promise1 = udp.setExtraOptions({ - receiveBufferSize:1000, - sendBufferSize:1000, - reuseAddress:false, - socketTimeout:6000, - broadcast:true - }); - promise1.then(() => { - console.log('setExtraOptions success'); - }).catch(err => { - console.log('setExtraOptions fail'); - }); + console.log('bind success'); + let promise1 = udp.setExtraOptions({ + receiveBufferSize: 1000, + sendBufferSize: 1000, + reuseAddress: false, + socketTimeout: 6000, + broadcast: true + }); + promise1.then(() => { + console.log('setExtraOptions success'); + }).catch(err => { + console.log('setExtraOptions fail'); + }); }).catch(err => { - console.log('bind fail'); + console.log('bind fail'); }); ``` - ### on('message') on(type: 'message', callback: Callback\<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}\>): void @@ -491,19 +480,18 @@ on(type: 'message', callback: Callback\<{message: ArrayBuffer, remoteInfo: Socke ```js let udp = socket.constructUDPSocketInstance(); udp.on('message', value => { - console.log("on message, message:" + value.message + ", remoteInfo:" + value.remoteInfo); + console.log("on message, message:" + value.message + ", remoteInfo:" + value.remoteInfo); }); ``` - ### off('message') off(type: 'message', callback?: Callback\<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}\>): void 取消订阅UDPSocket连接的接收消息事件。使用callback方式作为异步方法。 ->**说明:** ->可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 +> **说明:** +> 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -518,8 +506,8 @@ off(type: 'message', callback?: Callback\<{message: ArrayBuffer, remoteInfo: Soc ```js let udp = socket.constructUDPSocketInstance(); -let callback = value =>{ - console.log("on message, message:" + value.message + ", remoteInfo:" + value.remoteInfo); +let callback = value => { + console.log("on message, message:" + value.message + ", remoteInfo:" + value.remoteInfo); } udp.on('message', callback); // 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 @@ -527,7 +515,6 @@ udp.off('message', callback); udp.off('message'); ``` - ### on('listening' | 'close') on(type: 'listening' | 'close', callback: Callback\): void @@ -548,22 +535,21 @@ on(type: 'listening' | 'close', callback: Callback\): void ```js let udp = socket.constructUDPSocketInstance(); udp.on('listening', () => { - console.log("on listening success"); + console.log("on listening success"); }); udp.on('close', () => { - console.log("on close success" ); + console.log("on close success"); }); ``` - ### off('listening' | 'close') off(type: 'listening' | 'close', callback?: Callback\): void 取消订阅UDPSocket连接的数据包消息事件或关闭事件。使用callback方式作为异步方法。 ->**说明:** ->可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 +> **说明:** +> 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -578,15 +564,15 @@ off(type: 'listening' | 'close', callback?: Callback\): void ```js let udp = socket.constructUDPSocketInstance(); -let callback1 = () =>{ - console.log("on listening, success"); +let callback1 = () => { + console.log("on listening, success"); } udp.on('listening', callback1); // 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 udp.off('listening', callback1); udp.off('listening'); -let callback2 = () =>{ - console.log("on close, success"); +let callback2 = () => { + console.log("on close, success"); } udp.on('close', callback2); // 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 @@ -594,7 +580,6 @@ udp.off('close', callback2); udp.off('close'); ``` - ### on('error') on(type: 'error', callback: ErrorCallback): void @@ -615,19 +600,18 @@ on(type: 'error', callback: ErrorCallback): void ```js let udp = socket.constructUDPSocketInstance(); udp.on('error', err => { - console.log("on error, err:" + JSON.stringify(err)) + console.log("on error, err:" + JSON.stringify(err)) }); ``` - ### off('error') off(type: 'error', callback?: ErrorCallback): void 取消订阅UDPSocket连接的error事件。使用callback方式作为异步方法。 ->**说明:** ->可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 +> **说明:** +> 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -642,8 +626,8 @@ off(type: 'error', callback?: ErrorCallback): void ```js let udp = socket.constructUDPSocketInstance(); -let callback = err =>{ - console.log("on error, err:" + JSON.stringify(err)); +let callback = err => { + console.log("on error, err:" + JSON.stringify(err)); } udp.on('error', callback); // 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 @@ -651,7 +635,6 @@ udp.off('error', callback); udp.off('error'); ``` - ## NetAddress 目标地址信息。 @@ -730,9 +713,9 @@ constructTCPSocketInstance(): TCPSocket **返回值:** - | 类型 | 说明 | +| 类型 | 说明 | | :--------------------------------- | :---------------------- | - | [TCPSocket](#tcpsocket) | 返回一个TCPSocket对象。 | +| [TCPSocket](#tcpsocket) | 返回一个TCPSocket对象。 | **示例:** @@ -740,7 +723,6 @@ constructTCPSocketInstance(): TCPSocket let tcp = socket.constructTCPSocketInstance(); ``` - ## TCPSocket TCPSocket连接。在调用TCPSocket的方法前,需要先通过[socket.constructTCPSocketInstance](#socketconstructtcpsocketinstance)创建TCPSocket对象。 @@ -774,15 +756,14 @@ bind(address: NetAddress, callback: AsyncCallback\): void ```js let tcp = socket.constructTCPSocketInstance(); tcp.bind({address: '192.168.xx.xxx', port: xxxx, family: 1}, err => { - if (err) { - console.log('bind fail'); - return; - } - console.log('bind success'); + if (err) { + console.log('bind fail'); + return; + } + console.log('bind success'); }) ``` - ### bind bind(address: NetAddress): Promise\ @@ -818,21 +799,20 @@ bind(address: NetAddress): Promise\ let tcp = socket.constructTCPSocketInstance(); let promise = tcp.bind({address: '192.168.xx.xxx', port: xxxx, family: 1}); promise.then(() => { - console.log('bind success'); + console.log('bind success'); }).catch(err => { - console.log('bind fail'); + console.log('bind fail'); }); ``` - ### connect connect(options: TCPConnectOptions, callback: AsyncCallback\): void 连接到指定的IP地址和端口。使用callback方法作为异步方法。 ->**说明:** ->bind方法调用成功后,才可调用此方法。 +> **说明:** +> bind方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -856,16 +836,15 @@ connect(options: TCPConnectOptions, callback: AsyncCallback\): void ```js let tcp = socket.constructTCPSocketInstance(); -tcp.connect({ address: {address: '192.168.xx.xxx', port: xxxx, family: 1} , timeout: 6000}, err => { - if (err) { - console.log('connect fail'); - return; - } - console.log('connect success'); +tcp.connect({address: {address: '192.168.xx.xxx', port: xxxx, family: 1}, timeout: 6000}, err => { + if (err) { + console.log('connect fail'); + return; + } + console.log('connect success'); }) ``` - ### connect connect(options: TCPConnectOptions): Promise\ @@ -899,23 +878,22 @@ connect(options: TCPConnectOptions): Promise\ ```js let tcp = socket.constructTCPSocketInstance(); -let promise = tcp.connect({ address: {address: '192.168.xx.xxx', port: xxxx, family: 1} , timeout: 6000}); +let promise = tcp.connect({address: {address: '192.168.xx.xxx', port: xxxx, family: 1}, timeout: 6000}); promise.then(() => { - console.log('connect success') + console.log('connect success') }).catch(err => { - console.log('connect fail'); + console.log('connect fail'); }); ``` - ### send send(options: TCPSendOptions, callback: AsyncCallback\): void 通过TCPSocket连接发送数据。使用callback方式作为异步方法。 ->**说明:** ->connect方法调用成功后,才可调用此方法。 +> **说明:** +> connect方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -939,32 +917,29 @@ send(options: TCPSendOptions, callback: AsyncCallback\): void ```js let tcp = socket.constructTCPSocketInstance(); -let promise = tcp.connect({ address: {address: '192.168.xx.xxx', port: xxxx, family: 1} , timeout: 6000}); -promise.then(() => { - console.log('connect success'); - tcp.send({ - data:'Hello, server!' - },err => { - if (err) { - console.log('send fail'); - return; - } - console.log('send success'); - }) -}).catch(err => { - console.log('connect fail'); -}); +tcp.connect({address: {address: '192.168.xx.xxx', port: xxxx, family: 1}, timeout: 6000}, () => { + console.log('connect success'); + tcp.send({ + data: 'Hello, server!' + //此处省略encoding, 默认为utf-8编码格式 + }, err => { + if (err) { + console.log('send fail'); + return; + } + console.log('send success'); + }) +}) ``` - ### send send(options: TCPSendOptions): Promise\ 通过TCPSocket连接发送数据。使用Promise方式作为异步方法。 ->**说明:** ->connect方法调用成功后,才可调用此方法。 +> **说明:** +> connect方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -993,23 +968,22 @@ send(options: TCPSendOptions): Promise\ ```js let tcp = socket.constructTCPSocketInstance(); -let promise1 = tcp.connect({ address: {address: '192.168.xx.xxx', port: xxxx, family: 1} , timeout: 6000}); +let promise1 = tcp.connect({address: {address: '192.168.xx.xxx', port: xxxx, family: 1}, timeout: 6000}); promise1.then(() => { - console.log('connect success'); - let promise2 = tcp.send({ - data:'Hello, server!' - }); - promise2.then(() => { - console.log('send success'); - }).catch(err => { - console.log('send fail'); - }); + console.log('connect success'); + let promise2 = tcp.send({ + data: 'Hello, server!' + }); + promise2.then(() => { + console.log('send success'); + }).catch(err => { + console.log('send fail'); + }); }).catch(err => { - console.log('connect fail'); + console.log('connect fail'); }); ``` - ### close close(callback: AsyncCallback\): void @@ -1037,15 +1011,14 @@ close(callback: AsyncCallback\): void ```js let tcp = socket.constructTCPSocketInstance(); tcp.close(err => { - if (err) { - console.log('close fail'); - return; - } - console.log('close success'); + if (err) { + console.log('close fail'); + return; + } + console.log('close success'); }) ``` - ### close close(): Promise\ @@ -1074,21 +1047,20 @@ close(): Promise\ let tcp = socket.constructTCPSocketInstance(); let promise = tcp.close(); promise.then(() => { - console.log('close success'); + console.log('close success'); }).catch(err => { - console.log('close fail'); + console.log('close fail'); }); ``` - ### getRemoteAddress getRemoteAddress(callback: AsyncCallback\): void 获取对端Socket地址。使用callback方式作为异步方法。 ->**说明:** ->connect方法调用成功后,才可调用此方法。 +> **说明:** +> connect方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -1110,30 +1082,26 @@ getRemoteAddress(callback: AsyncCallback\): void ```js let tcp = socket.constructTCPSocketInstance(); -let promise = tcp.connect({ address: {address: '192.168.xx.xxx', port: xxxx, family: 1} , timeout: 6000}); -promise.then(() => { - console.log('connect success'); - tcp.getRemoteAddress((err, data) => { - if (err) { - console.log('getRemoteAddressfail'); - return; - } - console.log('getRemoteAddresssuccess:' + JSON.stringify(data)); - }) -}).catch(err => { - console.log('connect fail'); +tcp.connect({address: {address: '192.168.xx.xxx', port: xxxx, family: 1}, timeout: 6000}, () => { + console.log('connect success'); + tcp.getRemoteAddress((err, data) => { + if (err) { + console.log('getRemoteAddressfail'); + return; + } + console.log('getRemoteAddresssuccess:' + JSON.stringify(data)); + }) }); ``` - ### getRemoteAddress getRemoteAddress(): Promise\ 获取对端Socket地址。使用Promise方式作为异步方法。 ->**说明:** ->connect方法调用成功后,才可调用此方法。 +> **说明:** +> connect方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -1155,29 +1123,28 @@ getRemoteAddress(): Promise\ ```js let tcp = socket.constructTCPSocketInstance(); -let promise1 = tcp.connect({ address: {address: '192.168.xx.xxx', port: xxxx, family: 1} , timeout: 6000}); +let promise1 = tcp.connect({address: {address: '192.168.xx.xxx', port: xxxx, family: 1}, timeout: 6000}); promise1.then(() => { - console.log('connect success'); - let promise2 = tcp.getRemoteAddress(); - promise2.then(() => { - console.log('getRemoteAddress success'); - }).catch(err => { - console.log('getRemoteAddressfail'); - }); + console.log('connect success'); + let promise2 = tcp.getRemoteAddress(); + promise2.then(() => { + console.log('getRemoteAddress success'); + }).catch(err => { + console.log('getRemoteAddressfail'); + }); }).catch(err => { - console.log('connect fail'); + console.log('connect fail'); }); ``` - ### getState getState(callback: AsyncCallback\): void 获取TCPSocket状态。使用callback方式作为异步方法。 ->**说明:** ->bind或connect方法调用成功后,才可调用此方法。 +> **说明:** +> bind或connect方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -1199,30 +1166,26 @@ getState(callback: AsyncCallback\): void ```js let tcp = socket.constructTCPSocketInstance(); -let promise = tcp.connect({ address: {address: '192.168.xx.xxx', port: xxxx, family: 1} , timeout: 6000}); -promise.then(() => { - console.log('connect success'); - tcp.getState((err, data) => { - if (err) { - console.log('getState fail'); - return; - } - console.log('getState success:' + JSON.stringify(data)); - }); -}).catch(err => { - console.log('connect fail'); +let promise = tcp.connect({address: {address: '192.168.xx.xxx', port: xxxx, family: 1}, timeout: 6000}, () => { + console.log('connect success'); + tcp.getState((err, data) => { + if (err) { + console.log('getState fail'); + return; + } + console.log('getState success:' + JSON.stringify(data)); + }); }); ``` - ### getState getState(): Promise\ 获取TCPSocket状态。使用Promise方式作为异步方法。 ->**说明:** ->bind或connect方法调用成功后,才可调用此方法。 +> **说明:** +> bind或connect方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -1244,29 +1207,28 @@ getState(): Promise\ ```js let tcp = socket.constructTCPSocketInstance(); -let promise = tcp.connect({ address: {address: '192.168.xx.xxx', port: xxxx, family: 1} , timeout: 6000}); +let promise = tcp.connect({address: {address: '192.168.xx.xxx', port: xxxx, family: 1}, timeout: 6000}); promise.then(() => { - console.log('connect success'); - let promise1 = tcp.getState(); - promise1.then(() => { - console.log('getState success'); - }).catch(err => { - console.log('getState fail'); - }); + console.log('connect success'); + let promise1 = tcp.getState(); + promise1.then(() => { + console.log('getState success'); + }).catch(err => { + console.log('getState fail'); + }); }).catch(err => { - console.log('connect fail'); + console.log('connect fail'); }); ``` - ### setExtraOptions setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback\): void 设置TCPSocket连接的其他属性。使用callback方式作为异步方法。 ->**说明:** ->bind或connect方法调用成功后,才可调用此方法。 +> **说明:** +> bind或connect方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -1290,39 +1252,35 @@ setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback\): void ```js let tcp = socket.constructTCPSocketInstance(); -let promise = tcp.connect({ address: {address: '192.168.xx.xxx', port: xxxx, family: 1} , timeout: 6000}); -promise.then(() => { - console.log('connect success'); - tcp.setExtraOptions({ - keepAlive: true, - OOBInline: true, - TCPNoDelay: true, - socketLinger: { on:true, linger:10 }, - receiveBufferSize: 1000, - sendBufferSize: 1000, - reuseAddress: true, - socketTimeout: 3000, - },err => { - if (err) { - console.log('setExtraOptions fail'); - return; - } - console.log('setExtraOptions success'); - }); -}).catch(err => { - console.log('connect fail'); +let promise = tcp.connect({address: {address: '192.168.xx.xxx', port: xxxx, family: 1}, timeout: 6000}, () => { + console.log('connect success'); + tcp.setExtraOptions({ + keepAlive: true, + OOBInline: true, + TCPNoDelay: true, + socketLinger: {on: true, linger: 10}, + receiveBufferSize: 1000, + sendBufferSize: 1000, + reuseAddress: true, + socketTimeout: 3000, + }, err => { + if (err) { + console.log('setExtraOptions fail'); + return; + } + console.log('setExtraOptions success'); + }); }); ``` - ### setExtraOptions setExtraOptions(options: TCPExtraOptions): Promise\ 设置TCPSocket连接的其他属性,使用Promise方式作为异步方法。 ->**说明:** ->bind或connect方法调用成功后,才可调用此方法。 +> **说明:** +> bind或connect方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -1351,30 +1309,29 @@ setExtraOptions(options: TCPExtraOptions): Promise\ ```js let tcp = socket.constructTCPSocketInstance(); -let promise = tcp.connect({ address: {address: '192.168.xx.xxx', port: xxxx, family: 1} , timeout: 6000}); +let promise = tcp.connect({address: {address: '192.168.xx.xxx', port: xxxx, family: 1}, timeout: 6000}); promise.then(() => { - console.log('connect success'); - let promise1 = tcp.setExtraOptions({ - keepAlive: true, - OOBInline: true, - TCPNoDelay: true, - socketLinger: { on:true, linger:10 }, - receiveBufferSize: 1000, - sendBufferSize: 1000, - reuseAddress: true, - socketTimeout: 3000, - }); - promise1.then(() => { - console.log('setExtraOptions success'); - }).catch(err => { - console.log('setExtraOptions fail'); - }); + console.log('connect success'); + let promise1 = tcp.setExtraOptions({ + keepAlive: true, + OOBInline: true, + TCPNoDelay: true, + socketLinger: {on: true, linger: 10}, + receiveBufferSize: 1000, + sendBufferSize: 1000, + reuseAddress: true, + socketTimeout: 3000, + }); + promise1.then(() => { + console.log('setExtraOptions success'); + }).catch(err => { + console.log('setExtraOptions fail'); + }); }).catch(err => { - console.log('connect fail'); + console.log('connect fail'); }); ``` - ### on('message') on(type: 'message', callback: Callback<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}\>): void @@ -1395,19 +1352,18 @@ on(type: 'message', callback: Callback<{message: ArrayBuffer, remoteInfo: Socket ```js let tcp = socket.constructTCPSocketInstance(); tcp.on('message', value => { - console.log("on message, message:" + value.message + ", remoteInfo:" + value.remoteInfo) + console.log("on message, message:" + value.message + ", remoteInfo:" + value.remoteInfo) }); ``` - ### off('message') off(type: 'message', callback?: Callback<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}\>): void 取消订阅TCPSocket连接的接收消息事件。使用callback方式作为异步方法。 ->**说明:** ->可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 +> **说明:** +> 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -1422,8 +1378,8 @@ off(type: 'message', callback?: Callback<{message: ArrayBuffer, remoteInfo: Sock ```js let tcp = socket.constructTCPSocketInstance(); -let callback = value =>{ - console.log("on message, message:" + value.message + ", remoteInfo:" + value.remoteInfo); +let callback = value => { + console.log("on message, message:" + value.message + ", remoteInfo:" + value.remoteInfo); } tcp.on('message', callback); // 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 @@ -1431,7 +1387,6 @@ tcp.off('message', callback); tcp.off('message'); ``` - ### on('connect' | 'close') on(type: 'connect' | 'close', callback: Callback\): void @@ -1452,22 +1407,21 @@ on(type: 'connect' | 'close', callback: Callback\): void ```js let tcp = socket.constructTCPSocketInstance(); tcp.on('connect', () => { - console.log("on connect success") + console.log("on connect success") }); tcp.on('close', data => { - console.log("on close success") + console.log("on close success") }); ``` - ### off('connect' | 'close') off(type: 'connect' | 'close', callback?: Callback\): void 取消订阅TCPSocket的连接事件或关闭事件。使用callback方式作为异步方法。 ->**说明:** ->可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 +> **说明:** +> 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -1482,15 +1436,15 @@ off(type: 'connect' | 'close', callback?: Callback\): void ```js let tcp = socket.constructTCPSocketInstance(); -let callback1 = () =>{ - console.log("on connect success"); +let callback1 = () => { + console.log("on connect success"); } tcp.on('connect', callback1); // 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 tcp.off('connect', callback1); tcp.off('connect'); -let callback2 = () =>{ - console.log("on close success"); +let callback2 = () => { + console.log("on close success"); } tcp.on('close', callback2); // 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 @@ -1498,7 +1452,6 @@ tcp.off('close', callback2); tcp.off('close'); ``` - ### on('error') on(type: 'error', callback: ErrorCallback): void @@ -1519,19 +1472,18 @@ on(type: 'error', callback: ErrorCallback): void ```js let tcp = socket.constructTCPSocketInstance(); tcp.on('error', err => { - console.log("on error, err:" + JSON.stringify(err)) + console.log("on error, err:" + JSON.stringify(err)) }); ``` - ### off('error') off(type: 'error', callback?: ErrorCallback): void 取消订阅TCPSocket连接的error事件。使用callback方式作为异步方法。 ->**说明:** ->可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 +> **说明:** +> 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -1546,8 +1498,8 @@ off(type: 'error', callback?: ErrorCallback): void ```js let tcp = socket.constructTCPSocketInstance(); -let callback = err =>{ - console.log("on error, err:" + JSON.stringify(err)); +let callback = err => { + console.log("on error, err:" + JSON.stringify(err)); } tcp.on('error', callback); // 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 @@ -1555,7 +1507,6 @@ tcp.off('error', callback); tcp.off('error'); ``` - ## TCPConnectOptions TCPSocket连接的参数。 @@ -1655,11 +1606,11 @@ bind(address: NetAddress, callback: AsyncCallback\): void ```js tls.bind({address: '192.168.xx.xxx', port: xxxx, family: 1}, err => { - if (err) { - console.log('bind fail'); - return; - } - console.log('bind success'); + if (err) { + console.log('bind fail'); + return; + } + console.log('bind success'); }); ``` @@ -1699,9 +1650,9 @@ bind(address: NetAddress): Promise\ ```js let promise = tls.bind({address: '192.168.xx.xxx', port: xxxx, family: 1}); promise.then(() => { - console.log('bind success'); + console.log('bind success'); }).catch(err => { - console.log('bind fail'); + console.log('bind fail'); }); ``` @@ -1730,18 +1681,18 @@ getState(callback: AsyncCallback\): void ```js let promise = tls.bind({address: '192.168.xx.xxx', port: xxxx, family: 1}, err => { - if (err) { - console.log('bind fail'); - return; - } - console.log('bind success'); + if (err) { + console.log('bind fail'); + return; + } + console.log('bind success'); }); tls.getState((err, data) => { - if (err) { - console.log('getState fail'); - return; - } - console.log('getState success:' + JSON.stringify(data)); + if (err) { + console.log('getState fail'); + return; + } + console.log('getState success:' + JSON.stringify(data)); }); ``` @@ -1769,18 +1720,17 @@ getState(): Promise\ **示例:** ```js -tls.bind({address: '192.168.xx.xxx', port: xxxx, family: 1}, err => { - if (err) { +let promiseBind = tls.bind({address: '192.168.xx.xxx', port: xxxx, family: 1}); +promiseBind.then(() => { + console.log('bind success'); +}).catch((err) => { console.log('bind fail'); - return; - } - console.log('bind success'); }); let promise = tls.getState(); promise.then(() => { - console.log('getState success'); + console.log('getState success'); }).catch(err => { - console.log('getState fail'); + console.log('getState fail'); }); ``` @@ -1811,29 +1761,30 @@ setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback\): void ```js tls.bind({address: '192.168.xx.xxx', port: xxxx, family: 1}, err => { - if (err) { - console.log('bind fail'); - return; - } - console.log('bind success'); + if (err) { + console.log('bind fail'); + return; + } + console.log('bind success'); }); tls.setExtraOptions({ - keepAlive: true, - OOBInline: true, - TCPNoDelay: true, - socketLinger: { on:true, linger:10 }, - receiveBufferSize: 1000, - sendBufferSize: 1000, - reuseAddress: true, - socketTimeout: 3000, -},err => { - if (err) { - console.log('setExtraOptions fail'); - return; - } - console.log('setExtraOptions success'); + keepAlive: true, + OOBInline: true, + TCPNoDelay: true, + socketLinger: {on: true, linger: 10}, + receiveBufferSize: 1000, + sendBufferSize: 1000, + reuseAddress: true, + socketTimeout: 3000, +}, err => { + if (err) { + console.log('setExtraOptions fail'); + return; + } + console.log('setExtraOptions success'); }); + ``` ### setExtraOptions9+ @@ -1868,26 +1819,26 @@ setExtraOptions(options: TCPExtraOptions): Promise\ ```js tls.bind({address: '192.168.xx.xxx', port: xxxx, family: 1}, err => { - if (err) { - console.log('bind fail'); - return; - } - console.log('bind success'); + if (err) { + console.log('bind fail'); + return; + } + console.log('bind success'); }); let promise = tls.setExtraOptions({ - keepAlive: true, - OOBInline: true, - TCPNoDelay: true, - socketLinger: { on:true, linger:10 }, - receiveBufferSize: 1000, - sendBufferSize: 1000, - reuseAddress: true, - socketTimeout: 3000, + keepAlive: true, + OOBInline: true, + TCPNoDelay: true, + socketLinger: {on: true, linger: 10}, + receiveBufferSize: 1000, + sendBufferSize: 1000, + reuseAddress: true, + socketTimeout: 3000, }); promise.then(() => { - console.log('setExtraOptions success'); + console.log('setExtraOptions success'); }).catch(err => { - console.log('setExtraOptions fail'); + console.log('setExtraOptions fail'); }); ``` @@ -1931,57 +1882,57 @@ connect(options: TLSConnectOptions, callback: AsyncCallback\): void ```js let tlsTwoWay = socket.constructTLSSocketInstance(); // Two way authentication tlsTwoWay.bind({address: '192.168.xxx.xxx', port: 8080, family: 1}, err => { - if (err) { - console.log('bind fail'); - return; - } - console.log('bind success'); + if (err) { + console.log('bind fail'); + return; + } + console.log('bind success'); }); let options = { - ALPNProtocols: ["spdy/1", "http/1.1"], - address: { - address: "192.168.xx.xxx", - port: 8080, - family: 1, - }, - secureOptions: { - key: "xxxx", - cert: "xxxx", - ca: ["xxxx"], - password: "xxxx", - protocols: [socket.Protocol.TLSv12], - useRemoteCipherPrefer: true, - signatureAlgorithms: "rsa_pss_rsae_sha256:ECDSA+SHA256", - cipherSuite: "AES256-SHA256", - }, + ALPNProtocols: ["spdy/1", "http/1.1"], + address: { + address: "192.168.xx.xxx", + port: 8080, + family: 1, + }, + secureOptions: { + key: "xxxx", + cert: "xxxx", + ca: ["xxxx"], + password: "xxxx", + protocols: [socket.Protocol.TLSv12], + useRemoteCipherPrefer: true, + signatureAlgorithms: "rsa_pss_rsae_sha256:ECDSA+SHA256", + cipherSuite: "AES256-SHA256", + }, }; tlsTwoWay.connect(options, (err, data) => { - console.error("connect callback error"+err); - console.log(JSON.stringify(data)); + console.error("connect callback error" + err); + console.log(JSON.stringify(data)); }); let tlsOneWay = socket.constructTLSSocketInstance(); // One way authentication - tlsOneWay.bind({address: '192.168.xxx.xxx', port: 8080, family: 1}, err => { - if (err) { - console.log('bind fail'); - return; - } - console.log('bind success'); +tlsOneWay.bind({address: '192.168.xxx.xxx', port: 8080, family: 1}, err => { + if (err) { + console.log('bind fail'); + return; + } + console.log('bind success'); }); let oneWayOptions = { - address: { - address: "192.168.xxx.xxx", - port: 8080, - family: 1, - }, - secureOptions: { - ca: ["xxxx","xxxx"], - cipherSuite: "AES256-SHA256", - }, + address: { + address: "192.168.xxx.xxx", + port: 8080, + family: 1, + }, + secureOptions: { + ca: ["xxxx", "xxxx"], + cipherSuite: "AES256-SHA256", + }, }; tlsOneWay.connect(oneWayOptions, (err, data) => { - console.error("connect callback error"+err); - console.log(JSON.stringify(data)); + console.error("connect callback error" + err); + console.log(JSON.stringify(data)); }); ``` @@ -2030,59 +1981,59 @@ connect(options: TLSConnectOptions): Promise\ ```js let tlsTwoWay = socket.constructTLSSocketInstance(); // Two way authentication tlsTwoWay.bind({address: '192.168.xxx.xxx', port: 8080, family: 1}, err => { - if (err) { - console.log('bind fail'); - return; - } - console.log('bind success'); + if (err) { + console.log('bind fail'); + return; + } + console.log('bind success'); }); let options = { - ALPNProtocols: ["spdy/1", "http/1.1"], - address: { - address: "xxxx", - port: 8080, - family: 1, - }, - secureOptions: { - key: "xxxx", - cert: "xxxx", - ca: ["xxxx"], - password: "xxxx", - protocols: [socket.Protocol.TLSv12], - useRemoteCipherPrefer: true, - signatureAlgorithms: "rsa_pss_rsae_sha256:ECDSA+SHA256", - cipherSuite: "AES256-SHA256", - }, + ALPNProtocols: ["spdy/1", "http/1.1"], + address: { + address: "xxxx", + port: 8080, + family: 1, + }, + secureOptions: { + key: "xxxx", + cert: "xxxx", + ca: ["xxxx"], + password: "xxxx", + protocols: [socket.Protocol.TLSv12], + useRemoteCipherPrefer: true, + signatureAlgorithms: "rsa_pss_rsae_sha256:ECDSA+SHA256", + cipherSuite: "AES256-SHA256", + }, }; tlsTwoWay.connect(options).then(data => { - console.log(JSON.stringify(data)); + console.log(JSON.stringify(data)); }).catch(err => { - console.error(err); + console.error(err); }); let tlsOneWay = socket.constructTLSSocketInstance(); // One way authentication tlsOneWay.bind({address: '192.168.xxx.xxx', port: 8080, family: 1}, err => { - if (err) { - console.log('bind fail'); - return; - } - console.log('bind success'); + if (err) { + console.log('bind fail'); + return; + } + console.log('bind success'); }); let oneWayOptions = { - address: { - address: "192.168.xxx.xxx", - port: 8080, - family: 1, - }, - secureOptions: { - ca: ["xxxx","xxxx"], - cipherSuite: "AES256-SHA256", - }, + address: { + address: "192.168.xxx.xxx", + port: 8080, + family: 1, + }, + secureOptions: { + ca: ["xxxx", "xxxx"], + cipherSuite: "AES256-SHA256", + }, }; tlsOneWay.connect(oneWayOptions).then(data => { - console.log(JSON.stringify(data)); + console.log(JSON.stringify(data)); }).catch(err => { - console.error(err); + console.error(err); }); ``` @@ -2111,11 +2062,11 @@ getRemoteAddress(callback: AsyncCallback\): void ```js tls.getRemoteAddress((err, data) => { - if (err) { - console.log('getRemoteAddress fail'); - return; - } - console.log('getRemoteAddress success:' + JSON.stringify(data)); + if (err) { + console.log('getRemoteAddress fail'); + return; + } + console.log('getRemoteAddress success:' + JSON.stringify(data)); }); ``` @@ -2145,9 +2096,9 @@ getRemoteAddress(): Promise\ ```js let promise = tls.getRemoteAddress(); promise.then(() => { - console.log('getRemoteAddress success'); + console.log('getRemoteAddress success'); }).catch(err => { - console.log('getRemoteAddress fail'); + console.log('getRemoteAddress fail'); }); ``` @@ -2177,11 +2128,11 @@ getCertificate(callback: AsyncCallback\<[X509CertRawData](#x509certrawdata9)\>): ```js tls.getCertificate((err, data) => { - if (err) { - console.log("getCertificate callback error = " + err); - } else { - console.log("getCertificate callback = " + data); - } + if (err) { + console.log("getCertificate callback error = " + err); + } else { + console.log("getCertificate callback = " + data); + } }); ``` @@ -2211,9 +2162,9 @@ getCertificate():Promise\<[X509CertRawData](#x509certrawdata9)\> ```js tls.getCertificate().then(data => { - console.log(data); + console.log(data); }).catch(err => { - console.error(err); + console.error(err); }); ``` @@ -2242,11 +2193,11 @@ getRemoteCertificate(callback: AsyncCallback\<[X509CertRawData](#x509certrawdata ```js tls.getRemoteCertificate((err, data) => { - if (err) { - console.log("getRemoteCertificate callback error = " + err); - } else { - console.log("getRemoteCertificate callback = " + data); - } + if (err) { + console.log("getRemoteCertificate callback error = " + err); + } else { + console.log("getRemoteCertificate callback = " + data); + } }); ``` @@ -2275,9 +2226,9 @@ getRemoteCertificate():Promise\<[X509CertRawData](#x509certrawdata9)\> ```js tls.getRemoteCertificate().then(data => { - console.log(data); + console.log(data); }).catch(err => { - console.error(err); + console.error(err); }); ``` @@ -2307,11 +2258,11 @@ getProtocol(callback: AsyncCallback\): void ```js tls.getProtocol((err, data) => { - if (err) { - console.log("getProtocol callback error = " + err); - } else { - console.log("getProtocol callback = " + data); - } + if (err) { + console.log("getProtocol callback error = " + err); + } else { + console.log("getProtocol callback = " + data); + } }); ``` @@ -2341,9 +2292,9 @@ getProtocol():Promise\ ```js tls.getProtocol().then(data => { - console.log(data); + console.log(data); }).catch(err => { - console.error(err); + console.error(err); }); ``` @@ -2374,11 +2325,11 @@ getCipherSuite(callback: AsyncCallback\\>): void ```js tls.getCipherSuite((err, data) => { - if (err) { - console.log("getCipherSuite callback error = " + err); - } else { - console.log("getCipherSuite callback = " + data); - } + if (err) { + console.log("getCipherSuite callback error = " + err); + } else { + console.log("getCipherSuite callback = " + data); + } }); ``` @@ -2409,9 +2360,9 @@ getCipherSuite(): Promise\\> ```js tls.getCipherSuite().then(data => { - console.log('getCipherSuite success:' + JSON.stringify(data)); + console.log('getCipherSuite success:' + JSON.stringify(data)); }).catch(err => { - console.error(err); + console.error(err); }); ``` @@ -2440,11 +2391,11 @@ getSignatureAlgorithms(callback: AsyncCallback\\>): void ```js tls.getSignatureAlgorithms((err, data) => { - if (err) { - console.log("getSignatureAlgorithms callback error = " + err); - } else { - console.log("getSignatureAlgorithms callback = " + data); - } + if (err) { + console.log("getSignatureAlgorithms callback error = " + err); + } else { + console.log("getSignatureAlgorithms callback = " + data); + } }); ``` @@ -2473,9 +2424,9 @@ getSignatureAlgorithms(): Promise\\> ```js tls.getSignatureAlgorithms().then(data => { - console.log("getSignatureAlgorithms success" + data); + console.log("getSignatureAlgorithms success" + data); }).catch(err => { - console.error(err); + console.error(err); }); ``` @@ -2509,11 +2460,11 @@ send(data: string, callback: AsyncCallback\): void ```js tls.send("xxxx", (err) => { - if (err) { - console.log("send callback error = " + err); - } else { - console.log("send success"); - } + if (err) { + console.log("send callback error = " + err); + } else { + console.log("send success"); + } }); ``` @@ -2551,10 +2502,10 @@ send(data: string): Promise\ **示例:** ```js -tls.send("xxxx").then(() =>{ - console.log("send success"); +tls.send("xxxx").then(() => { + console.log("send success"); }).catch(err => { - console.error(err); + console.error(err); }); ``` @@ -2585,11 +2536,11 @@ close(callback: AsyncCallback\): void ```js tls.close((err) => { - if (err) { - console.log("close callback error = " + err); - } else { - console.log("close success"); - } + if (err) { + console.log("close callback error = " + err); + } else { + console.log("close success"); + } }); ``` @@ -2619,10 +2570,10 @@ close(): Promise\ **示例:** ```js -tls.close().then(() =>{ - console.log("close success"); +tls.close().then(() => { + console.log("close success"); }).catch(err => { - console.error(err); + console.error(err); }); ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-capability.md b/zh-cn/application-dev/reference/apis/js-apis-system-capability.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-parameter.md b/zh-cn/application-dev/reference/apis/js-apis-system-parameter.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-parameterEnhance.md b/zh-cn/application-dev/reference/apis/js-apis-system-parameterEnhance.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-touchevent.md b/zh-cn/application-dev/reference/apis/js-apis-touchevent.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-url.md b/zh-cn/application-dev/reference/apis/js-apis-url.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-util.md b/zh-cn/application-dev/reference/apis/js-apis-util.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-webSocket.md b/zh-cn/application-dev/reference/apis/js-apis-webSocket.md index 9853827f5e..2d58c266e3 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-webSocket.md +++ b/zh-cn/application-dev/reference/apis/js-apis-webSocket.md @@ -1,15 +1,17 @@ # @ohos.net.webSocket (WebSocket连接) -> **说明:** +> **说明:** > > 本模块首批接口从API version 6开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 -使用WebSocket建立服务器与客户端的双向连接,需要先通过[createWebSocket](#websocketcreatewebsocket)方法创建[WebSocket](#websocket)对象,然后通过[connect](#connect)方法连接到服务器。当连接成功后,客户端会收到[open](#onopen)事件的回调,之后客户端就可以通过[send](#send)方法与服务器进行通信。当服务器发信息给客户端时,客户端会收到[message](#onmessage)事件的回调。当客户端不要此连接时,可以通过调用[close](#close)方法主动断开连接,之后客户端会收到[close](#onclose)事件的回调。 +使用WebSocket建立服务器与客户端的双向连接,需要先通过[createWebSocket](#websocketcreatewebsocket)方法创建[WebSocket](#websocket) +对象,然后通过[connect](#connect)方法连接到服务器。当连接成功后,客户端会收到[open](#onopen)事件的回调,之后客户端就可以通过[send](#send) +方法与服务器进行通信。当服务器发信息给客户端时,客户端会收到[message](#onmessage)事件的回调。当客户端不要此连接时,可以通过调用[close](#close) +方法主动断开连接,之后客户端会收到[close](#onclose)事件的回调。 若在上述任一过程中发生错误,客户端会收到[error](#onerror)事件的回调。 - ## 导入模块 ```js @@ -21,9 +23,13 @@ import webSocket from '@ohos.net.webSocket'; ```js import webSocket from '@ohos.net.webSocket'; -var defaultIpAddress = "ws://"; +let defaultIpAddress = "ws://"; let ws = webSocket.createWebSocket(); ws.on('open', (err, value) => { + if (err != undefined) { + console.log(JSON.stringify(err)) + return + } console.log("on open, status:" + value['status'] + ", message:" + value['message']); // 当收到on('open')事件时,可以通过send()方法与服务器进行通信 ws.send("Hello, server!", (err, value) => { @@ -82,7 +88,6 @@ createWebSocket(): WebSocket let ws = webSocket.createWebSocket(); ``` - ## WebSocket 在调用WebSocket的方法前,需要先通过[webSocket.createWebSocket](#websocketcreatewebsocket)创建一个WebSocket。 @@ -117,15 +122,14 @@ connect(url: string, callback: AsyncCallback\): void let ws = webSocket.createWebSocket(); let url = "ws://" ws.connect(url, (err, value) => { - if (!err) { - console.log("connect success"); - } else { - console.log("connect fail, err:" + JSON.stringify(err)) - } + if (!err) { + console.log("connect success"); + } else { + console.log("connect fail, err:" + JSON.stringify(err)) + } }); ``` - ### connect connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\): void @@ -157,20 +161,19 @@ connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\< let ws = webSocket.createWebSocket(); let url = "ws://" ws.connect(url, { - header: { - "key": "value", - "key2": "value2" - } + header: { + "key": "value", + "key2": "value2" + } }, (err, value) => { - if (!err) { - console.log("connect success"); - } else { - console.log("connect fail, err:" + JSON.stringify(err)) - } + if (!err) { + console.log("connect success"); + } else { + console.log("connect fail, err:" + JSON.stringify(err)) + } }); ``` - ### connect connect(url: string, options?: WebSocketRequestOptions): Promise\ @@ -208,13 +211,12 @@ let ws = webSocket.createWebSocket(); let url = "ws://" let promise = ws.connect(url); promise.then((value) => { - console.log("connect success") + console.log("connect success") }).catch((err) => { - console.log("connect fail, error:" + JSON.stringify(err)) + console.log("connect fail, error:" + JSON.stringify(err)) }); ``` - ### send send(data: string | ArrayBuffer, callback: AsyncCallback\): void @@ -245,17 +247,16 @@ send(data: string | ArrayBuffer, callback: AsyncCallback\): void let ws = webSocket.createWebSocket(); let url = "ws://" ws.connect(url, (err, value) => { - ws.send("Hello, server!", (err, value) => { - if (!err) { - console.log("send success"); - } else { - console.log("send fail, err:" + JSON.stringify(err)) - } - }); + ws.send("Hello, server!", (err, value) => { + if (!err) { + console.log("send success"); + } else { + console.log("send fail, err:" + JSON.stringify(err)) + } + }); }); ``` - ### send send(data: string | ArrayBuffer): Promise\ @@ -291,16 +292,15 @@ send(data: string | ArrayBuffer): Promise\ let ws = webSocket.createWebSocket(); let url = "ws://" ws.connect(url, (err, value) => { - let promise = ws.send("Hello, server!"); - promise.then((value) => { - console.log("send success") - }).catch((err) => { - console.log("send fail, error:" + JSON.stringify(err)) - }); + let promise = ws.send("Hello, server!"); + promise.then((value) => { + console.log("send success") + }).catch((err) => { + console.log("send fail, error:" + JSON.stringify(err)) + }); }); ``` - ### close close(callback: AsyncCallback\): void @@ -328,17 +328,15 @@ close(callback: AsyncCallback\): void ```js let ws = webSocket.createWebSocket(); -let url = "ws://" ws.close((err, value) => { - if (!err) { - console.log("close success") - } else { - console.log("close fail, err is " + JSON.stringify(err)) - } + if (!err) { + console.log("close success") + } else { + console.log("close fail, err is " + JSON.stringify(err)) + } }); ``` - ### close close(options: WebSocketCloseOptions, callback: AsyncCallback\): void @@ -367,20 +365,18 @@ close(options: WebSocketCloseOptions, callback: AsyncCallback\): void ```js let ws = webSocket.createWebSocket(); -let url = "ws://" ws.close({ - code: 1000, - reason: "your reason" + code: 1000, + reason: "your reason" }, (err, value) => { - if (!err) { - console.log("close success") - } else { - console.log("close fail, err is " + JSON.stringify(err)) - } + if (!err) { + console.log("close success") + } else { + console.log("close fail, err is " + JSON.stringify(err)) + } }); ``` - ### close close(options?: WebSocketCloseOptions): Promise\ @@ -414,19 +410,17 @@ close(options?: WebSocketCloseOptions): Promise\ ```js let ws = webSocket.createWebSocket(); -let url = "ws://" let promise = ws.close({ - code: 1000, - reason: "your reason" + code: 1000, + reason: "your reason" }); promise.then((value) => { - console.log("close success") + console.log("close success") }).catch((err) => { - console.log("close fail, err is " + JSON.stringify(err)) + console.log("close fail, err is " + JSON.stringify(err)) }); ``` - ### on('open') on(type: 'open', callback: AsyncCallback\): void @@ -442,25 +436,23 @@ on(type: 'open', callback: AsyncCallback\): void | type | string | 是 | 'open':WebSocket的打开事件。 | | callback | AsyncCallback\ | 是 | 回调函数。 | - **示例:** ```js let ws = webSocket.createWebSocket(); ws.on('open', (err, value) => { - console.log("on open, status:" + value['status'] + ", message:" + value['message']); + console.log("on open, status:" + value['status'] + ", message:" + value['message']); }); ``` - ### off('open') off(type: 'open', callback?: AsyncCallback\): void 取消订阅WebSocket的打开事件,使用callback方式作为异步方法。 ->**说明:** ->可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 +> **说明:** +> 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -476,22 +468,21 @@ off(type: 'open', callback?: AsyncCallback\): void ```js let ws = webSocket.createWebSocket(); let callback1 = (err, value) => { - console.log("on open, status:" + value['status'] + ", message:" + value['message']); + console.log("on open, status:" + value['status'] + ", message:" + value['message']); } ws.on('open', callback1); // 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅 ws.off('open', callback1); ``` - ### on('message') on(type: 'message', callback: AsyncCallback\): void 订阅WebSocket的接收到服务器消息事件,使用callback方式作为异步方法。每个消息最大长度为4K,超过4K自动分片。 ->**说明:** ->AsyncCallback中的数据可以是字符串(API 6)或ArrayBuffer(API 8)。 +> **说明:** +> AsyncCallback中的数据可以是字符串(API 6)或ArrayBuffer(API 8)。 **系统能力**:SystemCapability.Communication.NetStack @@ -507,20 +498,19 @@ on(type: 'message', callback: AsyncCallback\): void ```js let ws = webSocket.createWebSocket(); ws.on('message', (err, value) => { - console.log("on message, message:" + value); + console.log("on message, message:" + value); }); ``` - ### off('message') off(type: 'message', callback?: AsyncCallback\): void 取消订阅WebSocket的接收到服务器消息事件,使用callback方式作为异步方法。每个消息最大长度为4K,超过4K自动分片。 ->**说明:** ->AsyncCallback中的数据可以是字符串(API 6)或ArrayBuffer(API 8)。 ->可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 +> **说明:** +> AsyncCallback中的数据可以是字符串(API 6)或ArrayBuffer(API 8)。 +> 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -538,7 +528,6 @@ let ws = webSocket.createWebSocket(); ws.off('message'); ``` - ### on('close') on(type: 'close', callback: AsyncCallback\<{ code: number, reason: string }\>): void @@ -559,19 +548,18 @@ on(type: 'close', callback: AsyncCallback\<{ code: number, reason: string }\>): ```js let ws = webSocket.createWebSocket(); ws.on('close', (err, value) => { - console.log("on close, code is " + value.code + ", reason is " + value.reason); + console.log("on close, code is " + value.code + ", reason is " + value.reason); }); ``` - ### off('close') off(type: 'close', callback?: AsyncCallback\<{ code: number, reason: string }\>): void 取消订阅WebSocket的关闭事件,使用callback方式作为异步方法。 ->**说明:** ->可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 +> **说明:** +> 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -589,7 +577,6 @@ let ws = webSocket.createWebSocket(); ws.off('close'); ``` - ### on('error') on(type: 'error', callback: ErrorCallback): void @@ -610,19 +597,18 @@ on(type: 'error', callback: ErrorCallback): void ```js let ws = webSocket.createWebSocket(); ws.on('error', (err) => { - console.log("on error, error:" + JSON.stringify(err)) + console.log("on error, error:" + JSON.stringify(err)) }); ``` - ### off('error') off(type: 'error', callback?: ErrorCallback): void 取消订阅WebSocket的Error事件,使用callback方式作为异步方法。 ->**说明:** ->可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 +> **说明:** +> 可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -640,7 +626,6 @@ let ws = webSocket.createWebSocket(); ws.off('error'); ``` - ## WebSocketRequestOptions 建立WebSocket连接时,可选参数的类型和说明。 @@ -651,7 +636,6 @@ ws.off('error'); | ------ | ------ | ---- | ------------------------------------------------------------ | | header | Object | 否 | 建立WebSocket连接可选参数,代表建立连接时携带的HTTP头信息。参数内容自定义,也可以不指定。 | - ## WebSocketCloseOptions 关闭WebSocket连接时,可选参数的类型和说明。 diff --git a/zh-cn/application-dev/reference/apis/js-apis-webgl.md b/zh-cn/application-dev/reference/apis/js-apis-webgl.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/apis/js-apis-webgl2.md b/zh-cn/application-dev/reference/apis/js-apis-webgl2.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/arkui-ts/figures/progressMask.PNG b/zh-cn/application-dev/reference/arkui-ts/figures/progressMask.PNG old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/arkui-ts/figures/zh-cn_image1_0000001219982725.png b/zh-cn/application-dev/reference/arkui-ts/figures/zh-cn_image1_0000001219982725.png old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/arkui-ts/figures/zh-cn_image_0000001238832405.png b/zh-cn/application-dev/reference/arkui-ts/figures/zh-cn_image_0000001238832405.png old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-web.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-web.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-cert.md b/zh-cn/application-dev/reference/errorcodes/errorcode-cert.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-colorspace-manager.md b/zh-cn/application-dev/reference/errorcodes/errorcode-colorspace-manager.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-crypto-framework.md b/zh-cn/application-dev/reference/errorcodes/errorcode-crypto-framework.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-display.md b/zh-cn/application-dev/reference/errorcodes/errorcode-display.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-sensor.md b/zh-cn/application-dev/reference/errorcodes/errorcode-sensor.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-vibrator.md b/zh-cn/application-dev/reference/errorcodes/errorcode-vibrator.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-window.md b/zh-cn/application-dev/reference/errorcodes/errorcode-window.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-zlib.md b/zh-cn/application-dev/reference/errorcodes/errorcode-zlib.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/security/cert-guidelines.md b/zh-cn/application-dev/security/cert-guidelines.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/security/cert-overview.md b/zh-cn/application-dev/security/cert-overview.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/security/huks-overview.md b/zh-cn/application-dev/security/huks-overview.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/tools/restool.md b/zh-cn/application-dev/tools/restool.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/Readme-CN.md b/zh-cn/application-dev/ui/Readme-CN.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001063148757.gif b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001063148757.gif old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001063442797.png b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001063442797.png old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001064068638.gif b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001064068638.gif old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001070558189.png b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001070558189.png old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001070693737.png b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001070693737.png old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001070707559.png b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001070707559.png old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001071134933.png b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001071134933.png old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/ui-js-building-ui-animation.md b/zh-cn/application-dev/ui/ui-js-building-ui-animation.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/ui-js-building-ui-component.md b/zh-cn/application-dev/ui/ui-js-building-ui-component.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/ui-js-building-ui-event.md b/zh-cn/application-dev/ui/ui-js-building-ui-event.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/ui-js-building-ui-interactions.md b/zh-cn/application-dev/ui/ui-js-building-ui-interactions.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/ui-js-building-ui-layout-comment.md b/zh-cn/application-dev/ui/ui-js-building-ui-layout-comment.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/ui-js-building-ui-layout-external-container.md b/zh-cn/application-dev/ui/ui-js-building-ui-layout-external-container.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/ui-js-building-ui-layout-image.md b/zh-cn/application-dev/ui/ui-js-building-ui-layout-image.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/ui-js-building-ui-layout-text.md b/zh-cn/application-dev/ui/ui-js-building-ui-layout-text.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/ui-js-custom-components.md b/zh-cn/application-dev/ui/ui-js-custom-components.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/ui/ui-js-overview.md b/zh-cn/application-dev/ui/ui-js-overview.md old mode 100755 new mode 100644 diff --git a/zh-cn/contribute/FAQ.md b/zh-cn/contribute/FAQ.md old mode 100755 new mode 100644 diff --git a/zh-cn/contribute/OpenHarmony-64bits-coding-guide.md b/zh-cn/contribute/OpenHarmony-64bits-coding-guide.md old mode 100755 new mode 100644 diff --git a/zh-cn/contribute/OpenHarmony-JavaScript-coding-style-guide.md b/zh-cn/contribute/OpenHarmony-JavaScript-coding-style-guide.md old mode 100755 new mode 100644 diff --git a/zh-cn/contribute/OpenHarmony-c-coding-style-guide.md b/zh-cn/contribute/OpenHarmony-c-coding-style-guide.md old mode 100755 new mode 100644 diff --git a/zh-cn/contribute/OpenHarmony-cpp-coding-style-guide.md b/zh-cn/contribute/OpenHarmony-cpp-coding-style-guide.md old mode 100755 new mode 100644 diff --git a/zh-cn/contribute/OpenHarmony-hdf-coding-guide.md b/zh-cn/contribute/OpenHarmony-hdf-coding-guide.md old mode 100755 new mode 100644 diff --git a/zh-cn/contribute/Readme-CN.md b/zh-cn/contribute/Readme-CN.md old mode 100755 new mode 100644 diff --git "a/zh-cn/contribute/figures/\345\244\215\345\210\266\350\277\234\347\250\213\344\273\223\345\272\223.png" "b/zh-cn/contribute/figures/\345\244\215\345\210\266\350\277\234\347\250\213\344\273\223\345\272\223.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/contribute/figures/\346\210\252\345\233\276\347\244\272\344\276\213.png" "b/zh-cn/contribute/figures/\346\210\252\345\233\276\347\244\272\344\276\213.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/contribute/figures/\346\227\240\346\240\207\351\242\2301.png" "b/zh-cn/contribute/figures/\346\227\240\346\240\207\351\242\2301.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/contribute/figures/\346\227\240\346\240\207\351\242\2302.png" "b/zh-cn/contribute/figures/\346\227\240\346\240\207\351\242\2302.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/contribute/figures/\346\227\240\346\240\207\351\242\2303.png" "b/zh-cn/contribute/figures/\346\227\240\346\240\207\351\242\2303.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/contribute/figures/\346\227\240\346\240\207\351\242\2304.png" "b/zh-cn/contribute/figures/\346\227\240\346\240\207\351\242\2304.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/contribute/figures/\351\205\215\350\211\262\347\244\272\344\276\213.png" "b/zh-cn/contribute/figures/\351\205\215\350\211\262\347\244\272\344\276\213.png" old mode 100755 new mode 100644 diff --git a/zh-cn/contribute/public_sys-resources/icon-caution.gif b/zh-cn/contribute/public_sys-resources/icon-caution.gif old mode 100755 new mode 100644 diff --git a/zh-cn/contribute/public_sys-resources/icon-danger.gif b/zh-cn/contribute/public_sys-resources/icon-danger.gif old mode 100755 new mode 100644 diff --git a/zh-cn/contribute/public_sys-resources/icon-note.gif b/zh-cn/contribute/public_sys-resources/icon-note.gif old mode 100755 new mode 100644 diff --git a/zh-cn/contribute/public_sys-resources/icon-notice.gif b/zh-cn/contribute/public_sys-resources/icon-notice.gif old mode 100755 new mode 100644 diff --git a/zh-cn/contribute/public_sys-resources/icon-tip.gif b/zh-cn/contribute/public_sys-resources/icon-tip.gif old mode 100755 new mode 100644 diff --git a/zh-cn/contribute/public_sys-resources/icon-warning.gif b/zh-cn/contribute/public_sys-resources/icon-warning.gif old mode 100755 new mode 100644 diff --git a/zh-cn/contribute/style-guide/style-guide-content-elements.md b/zh-cn/contribute/style-guide/style-guide-content-elements.md old mode 100755 new mode 100644 diff --git a/zh-cn/contribute/template/faq-template.md b/zh-cn/contribute/template/faq-template.md old mode 100755 new mode 100644 diff --git a/zh-cn/contribute/template/tutorial-template.md b/zh-cn/contribute/template/tutorial-template.md old mode 100755 new mode 100644 diff --git "a/zh-cn/contribute/\345\206\231\344\275\234\350\247\204\350\214\203.md" "b/zh-cn/contribute/\345\206\231\344\275\234\350\247\204\350\214\203.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/contribute/\345\217\202\344\270\216\350\264\241\347\214\256.md" "b/zh-cn/contribute/\345\217\202\344\270\216\350\264\241\347\214\256.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/contribute/\347\244\276\345\214\272\346\262\237\351\200\232\344\270\216\344\272\244\346\265\201.md" "b/zh-cn/contribute/\347\244\276\345\214\272\346\262\237\351\200\232\344\270\216\344\272\244\346\265\201.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/contribute/\347\254\254\344\270\211\346\226\271\345\274\200\346\272\220\350\275\257\344\273\266\345\217\212\350\256\270\345\217\257\350\257\201\350\257\264\346\230\216.md" "b/zh-cn/contribute/\347\254\254\344\270\211\346\226\271\345\274\200\346\272\220\350\275\257\344\273\266\345\217\212\350\256\270\345\217\257\350\257\201\350\257\264\346\230\216.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/contribute/\347\254\254\344\270\211\346\226\271\345\274\200\346\272\220\350\275\257\344\273\266\345\274\225\345\205\245\346\214\207\345\257\274.md" "b/zh-cn/contribute/\347\254\254\344\270\211\346\226\271\345\274\200\346\272\220\350\275\257\344\273\266\345\274\225\345\205\245\346\214\207\345\257\274.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/contribute/\350\241\214\344\270\272\345\207\206\345\210\231.md" "b/zh-cn/contribute/\350\241\214\344\270\272\345\207\206\345\210\231.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/contribute/\350\264\241\347\214\256\344\273\243\347\240\201.md" "b/zh-cn/contribute/\350\264\241\347\214\256\344\273\243\347\240\201.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/contribute/\350\264\241\347\214\256\346\226\207\346\241\243.md" "b/zh-cn/contribute/\350\264\241\347\214\256\346\226\207\346\241\243.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/contribute/\350\264\241\347\214\256\346\265\201\347\250\213.md" "b/zh-cn/contribute/\350\264\241\347\214\256\346\265\201\347\250\213.md" old mode 100755 new mode 100644 diff --git a/zh-cn/design/OpenHarmony-API-governance.md b/zh-cn/design/OpenHarmony-API-governance.md old mode 100755 new mode 100644 diff --git "a/zh-cn/design/OpenHarmony\351\203\250\344\273\266\350\256\276\350\256\241\345\222\214\345\274\200\345\217\221\346\214\207\345\215\227.md" "b/zh-cn/design/OpenHarmony\351\203\250\344\273\266\350\256\276\350\256\241\345\222\214\345\274\200\345\217\221\346\214\207\345\215\227.md" old mode 100755 new mode 100644 diff --git a/zh-cn/design/figures/API-Lifecycle.png b/zh-cn/design/figures/API-Lifecycle.png old mode 100755 new mode 100644 diff --git a/zh-cn/design/figures/API-Review-Process.png b/zh-cn/design/figures/API-Review-Process.png old mode 100755 new mode 100644 diff --git a/zh-cn/design/figures/API-Scope-And-Definition.png b/zh-cn/design/figures/API-Scope-And-Definition.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/Readme-CN.md b/zh-cn/device-dev/driver/Readme-CN.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-hdf-development.md b/zh-cn/device-dev/driver/driver-hdf-development.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-hdf-overview.md b/zh-cn/device-dev/driver/driver-hdf-overview.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-hdf-servicemanage.md b/zh-cn/device-dev/driver/driver-hdf-servicemanage.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-peripherals-camera-des.md b/zh-cn/device-dev/driver/driver-peripherals-camera-des.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-peripherals-sensor-des.md b/zh-cn/device-dev/driver/driver-peripherals-sensor-des.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-peripherals-vibrator-des.md b/zh-cn/device-dev/driver/driver-peripherals-vibrator-des.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-adc-des.md b/zh-cn/device-dev/driver/driver-platform-adc-des.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-adc-develop.md b/zh-cn/device-dev/driver/driver-platform-adc-develop.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-gpio-develop.md b/zh-cn/device-dev/driver/driver-platform-gpio-develop.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-hdmi-des.md b/zh-cn/device-dev/driver/driver-platform-hdmi-des.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-hdmi-develop.md b/zh-cn/device-dev/driver/driver-platform-hdmi-develop.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-i2c-develop.md b/zh-cn/device-dev/driver/driver-platform-i2c-develop.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-i3c-des.md b/zh-cn/device-dev/driver/driver-platform-i3c-des.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-i3c-develop.md b/zh-cn/device-dev/driver/driver-platform-i3c-develop.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-mipicsi-des.md b/zh-cn/device-dev/driver/driver-platform-mipicsi-des.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-mipicsi-develop.md b/zh-cn/device-dev/driver/driver-platform-mipicsi-develop.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-mipidsi-develop.md b/zh-cn/device-dev/driver/driver-platform-mipidsi-develop.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-mmc-develop.md b/zh-cn/device-dev/driver/driver-platform-mmc-develop.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-pin-develop.md b/zh-cn/device-dev/driver/driver-platform-pin-develop.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-pwm-develop.md b/zh-cn/device-dev/driver/driver-platform-pwm-develop.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-regulator-des.md b/zh-cn/device-dev/driver/driver-platform-regulator-des.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-regulator-develop.md b/zh-cn/device-dev/driver/driver-platform-regulator-develop.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-rtc-develop.md b/zh-cn/device-dev/driver/driver-platform-rtc-develop.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-sdio-develop.md b/zh-cn/device-dev/driver/driver-platform-sdio-develop.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-spi-develop.md b/zh-cn/device-dev/driver/driver-platform-spi-develop.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-uart-develop.md b/zh-cn/device-dev/driver/driver-platform-uart-develop.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/driver/driver-platform-watchdog-develop.md b/zh-cn/device-dev/driver/driver-platform-watchdog-develop.md old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/2\347\272\277UART\350\256\276\345\244\207\350\277\236\346\216\245\347\244\272\346\204\217\345\233\276.png" "b/zh-cn/device-dev/driver/figures/2\347\272\277UART\350\256\276\345\244\207\350\277\236\346\216\245\347\244\272\346\204\217\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/4\347\272\277UART\350\256\276\345\244\207\350\277\236\346\216\245\347\244\272\346\204\217\345\233\276.png" "b/zh-cn/device-dev/driver/figures/4\347\272\277UART\350\256\276\345\244\207\350\277\236\346\216\245\347\244\272\346\204\217\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/ADC\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/ADC\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/ADC\347\211\251\347\220\206\350\277\236\347\272\277\347\244\272\346\204\217\345\233\276.png" "b/zh-cn/device-dev/driver/figures/ADC\347\211\251\347\220\206\350\277\236\347\272\277\347\244\272\346\204\217\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/CSI\345\217\221\351\200\201-\346\216\245\346\224\266\346\216\245\345\217\243.png" "b/zh-cn/device-dev/driver/figures/CSI\345\217\221\351\200\201-\346\216\245\346\224\266\346\216\245\345\217\243.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/DSI\345\217\221\351\200\201-\346\216\245\346\224\266\346\216\245\345\217\243.png" "b/zh-cn/device-dev/driver/figures/DSI\345\217\221\351\200\201-\346\216\245\346\224\266\346\216\245\345\217\243.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/GPIO\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/GPIO\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/HDF\351\251\261\345\212\250\346\250\241\345\236\213.png" "b/zh-cn/device-dev/driver/figures/HDF\351\251\261\345\212\250\346\250\241\345\236\213.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/HDMI\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/HDMI\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/HDMI\347\211\251\347\220\206\350\277\236\347\272\277\347\244\272\346\204\217\345\233\276.png" "b/zh-cn/device-dev/driver/figures/HDMI\347\211\251\347\220\206\350\277\236\347\272\277\347\244\272\346\204\217\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/I2C\347\211\251\347\220\206\350\277\236\347\272\277\347\244\272\346\204\217\345\233\276.png" "b/zh-cn/device-dev/driver/figures/I2C\347\211\251\347\220\206\350\277\236\347\272\277\347\244\272\346\204\217\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/I2C\350\256\276\345\244\207\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/I2C\350\256\276\345\244\207\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/I3C\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/I3C\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/I3C\347\211\251\347\220\206\350\277\236\347\272\277\347\244\272\346\204\217\345\233\276.png" "b/zh-cn/device-dev/driver/figures/I3C\347\211\251\347\220\206\350\277\236\347\272\277\347\244\272\346\204\217\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/MIPI-CSI\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/MIPI-CSI\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/MIPI-DSI\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/MIPI-DSI\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/MIPI-DSI\346\216\245\345\217\243.png" "b/zh-cn/device-dev/driver/figures/MIPI-DSI\346\216\245\345\217\243.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/Motion\351\251\261\345\212\250\346\241\206\346\236\266\345\233\276.png" "b/zh-cn/device-dev/driver/figures/Motion\351\251\261\345\212\250\346\241\206\346\236\266\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/PWM\350\256\276\345\244\207\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/PWM\350\256\276\345\244\207\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/REGULATOR\350\256\276\345\244\207\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/REGULATOR\350\256\276\345\244\207\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/RTC\350\256\276\345\244\207\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/RTC\350\256\276\345\244\207\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/SDIO\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/SDIO\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/SDIO\347\232\204HOST-DEVICE\350\277\236\346\216\245\347\244\272\346\204\217\345\233\276.png" "b/zh-cn/device-dev/driver/figures/SDIO\347\232\204HOST-DEVICE\350\277\236\346\216\245\347\244\272\346\204\217\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/SPI\344\270\273\344\273\216\350\256\276\345\244\207\350\277\236\346\216\245\347\244\272\346\204\217\345\233\276.png" "b/zh-cn/device-dev/driver/figures/SPI\344\270\273\344\273\216\350\256\276\345\244\207\350\277\236\346\216\245\347\244\272\346\204\217\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/SPI\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/SPI\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/Sensor\351\251\261\345\212\250\346\250\241\345\236\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/Sensor\351\251\261\345\212\250\346\250\241\345\236\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/Sensor\351\251\261\345\212\250\350\277\220\350\241\214\345\233\276.png" "b/zh-cn/device-dev/driver/figures/Sensor\351\251\261\345\212\250\350\277\220\350\241\214\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/TTL\346\216\245\345\217\243.png" "b/zh-cn/device-dev/driver/figures/TTL\346\216\245\345\217\243.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/UART\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/UART\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/Vibrator\351\251\261\345\212\250\346\250\241\345\236\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/Vibrator\351\251\261\345\212\250\346\250\241\345\236\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/Vibrator\351\251\261\345\212\250\350\277\220\350\241\214\345\233\276.png" "b/zh-cn/device-dev/driver/figures/Vibrator\351\251\261\345\212\250\350\277\220\350\241\214\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/WLAN\346\241\206\346\236\266.png" "b/zh-cn/device-dev/driver/figures/WLAN\346\241\206\346\236\266.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/WLAN\351\251\261\345\212\250\346\216\245\345\217\243\346\241\206\346\236\266\345\233\276.png" "b/zh-cn/device-dev/driver/figures/WLAN\351\251\261\345\212\250\346\216\245\345\217\243\346\241\206\346\236\266\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/\345\237\272\344\272\216HDF\351\251\261\345\212\250\346\241\206\346\236\266\347\232\204Display\351\251\261\345\212\250\346\250\241\345\236\213.png" "b/zh-cn/device-dev/driver/figures/\345\237\272\344\272\216HDF\351\251\261\345\212\250\346\241\206\346\236\266\347\232\204Display\351\251\261\345\212\250\346\250\241\345\236\213.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/\345\237\272\344\272\216HDF\351\251\261\345\212\250\346\241\206\346\236\266\347\232\204input\351\251\261\345\212\250\346\250\241\345\236\213.png" "b/zh-cn/device-dev/driver/figures/\345\237\272\344\272\216HDF\351\251\261\345\212\250\346\241\206\346\236\266\347\232\204input\351\251\261\345\212\250\346\250\241\345\236\213.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/\347\213\254\347\253\213\346\234\215\345\212\241\346\250\241\345\274\217\347\273\223\346\236\204\345\233\276.png" "b/zh-cn/device-dev/driver/figures/\347\213\254\347\253\213\346\234\215\345\212\241\346\250\241\345\274\217\347\273\223\346\236\204\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/\347\234\213\351\227\250\347\213\227\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/\347\234\213\351\227\250\347\213\227\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/driver/figures/\351\205\215\347\275\256\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" "b/zh-cn/device-dev/driver/figures/\351\205\215\347\275\256\344\275\277\347\224\250\346\265\201\347\250\213\345\233\276.png" old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/faqs/figures/download-zlib.png b/zh-cn/device-dev/faqs/figures/download-zlib.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/get-code/Readme-CN.md b/zh-cn/device-dev/get-code/Readme-CN.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/guide/Readme-CN.md b/zh-cn/device-dev/guide/Readme-CN.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/guide/device-camera-control-demo-previewguide.md b/zh-cn/device-dev/guide/device-camera-control-demo-previewguide.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/guide/device-camera-control-demo-videoguide.md b/zh-cn/device-dev/guide/device-camera-control-demo-videoguide.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/guide/device-camera-visual-details.md b/zh-cn/device-dev/guide/device-camera-visual-details.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/guide/device-camera-visual-faqs.md b/zh-cn/device-dev/guide/device-camera-visual-faqs.md old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/LED\351\227\252\347\203\201\345\233\276.gif" "b/zh-cn/device-dev/guide/figures/LED\351\227\252\347\203\201\345\233\276.gif" old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/guide/figures/device-wlan-sdk-files.png b/zh-cn/device-dev/guide/figures/device-wlan-sdk-files.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/guide/figures/empty-feature-ability.png b/zh-cn/device-dev/guide/figures/empty-feature-ability.png old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/\345\220\257\345\212\250\347\244\272\344\276\213.png" "b/zh-cn/device-dev/guide/figures/\345\220\257\345\212\250\347\244\272\344\276\213.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/\345\256\214\346\225\264\345\267\245\347\250\213\347\233\256\345\275\225.png" "b/zh-cn/device-dev/guide/figures/\345\256\214\346\225\264\345\267\245\347\250\213\347\233\256\345\275\225.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/\345\267\245\347\250\213\347\233\256\345\275\225.png" "b/zh-cn/device-dev/guide/figures/\345\267\245\347\250\213\347\233\256\345\275\225.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/\346\237\245\347\234\213\346\226\207\344\273\266\345\233\276.png" "b/zh-cn/device-dev/guide/figures/\346\237\245\347\234\213\346\226\207\344\273\266\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/\346\240\207\351\242\230\346\240\217\345\222\214\344\277\241\346\201\257\346\240\217\346\225\210\346\236\234.png" "b/zh-cn/device-dev/guide/figures/\346\240\207\351\242\230\346\240\217\345\222\214\344\277\241\346\201\257\346\240\217\346\225\210\346\236\234.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/\346\240\207\351\242\230\346\240\217\346\225\210\346\236\234.png" "b/zh-cn/device-dev/guide/figures/\346\240\207\351\242\230\346\240\217\346\225\210\346\236\234.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/\346\241\214\351\235\242.png" "b/zh-cn/device-dev/guide/figures/\346\241\214\351\235\242.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/\346\267\273\345\212\240\351\241\265\351\235\242.png" "b/zh-cn/device-dev/guide/figures/\346\267\273\345\212\240\351\241\265\351\235\242.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/\347\251\272\346\260\224\350\264\250\351\207\217\347\233\221\346\265\213-App\346\230\276\347\244\272\346\225\210\346\236\234\345\233\276.gif" "b/zh-cn/device-dev/guide/figures/\347\251\272\346\260\224\350\264\250\351\207\217\347\233\221\346\265\213-App\346\230\276\347\244\272\346\225\210\346\236\234\345\233\276.gif" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/\350\276\223\345\205\245\345\275\225\345\203\217\346\214\207\344\273\244\345\220\216\344\270\262\345\217\243\346\211\223\345\215\260\346\227\245\345\277\227.png" "b/zh-cn/device-dev/guide/figures/\350\276\223\345\205\245\345\275\225\345\203\217\346\214\207\344\273\244\345\220\216\344\270\262\345\217\243\346\211\223\345\215\260\346\227\245\345\277\227.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/\350\276\223\345\205\245\346\213\215\347\205\247\346\214\207\344\273\244\345\220\216\344\270\262\345\217\243\346\211\223\345\215\260\346\227\245\345\277\227.png" "b/zh-cn/device-dev/guide/figures/\350\276\223\345\205\245\346\213\215\347\205\247\346\214\207\344\273\244\345\220\216\344\270\262\345\217\243\346\211\223\345\215\260\346\227\245\345\277\227.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/\350\276\223\345\205\245\351\241\265\351\235\242\345\220\215\347\247\260.png" "b/zh-cn/device-dev/guide/figures/\350\276\223\345\205\245\351\241\265\351\235\242\345\220\215\347\247\260.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/\350\276\223\345\205\245\351\242\204\350\247\210\346\214\207\344\273\244\345\220\216\344\270\262\345\217\243\346\211\223\345\215\260\346\227\245\345\277\227.png" "b/zh-cn/device-dev/guide/figures/\350\276\223\345\205\245\351\242\204\350\247\210\346\214\207\344\273\244\345\220\216\344\270\262\345\217\243\346\211\223\345\215\260\346\227\245\345\277\227.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/\350\276\223\345\207\272\351\200\200\345\207\272\346\214\207\344\273\244\345\220\216\344\270\262\345\217\243\346\211\223\345\215\260\346\227\245\345\277\227.png" "b/zh-cn/device-dev/guide/figures/\350\276\223\345\207\272\351\200\200\345\207\272\346\214\207\344\273\244\345\220\216\344\270\262\345\217\243\346\211\223\345\215\260\346\227\245\345\277\227.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/\351\241\265\351\235\242\344\275\215\347\275\256\346\214\207\347\244\272\345\231\250\346\225\210\346\236\234\345\233\276.png" "b/zh-cn/device-dev/guide/figures/\351\241\265\351\235\242\344\275\215\347\275\256\346\214\207\347\244\272\345\231\250\346\225\210\346\236\234\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/device-dev/guide/figures/\351\242\204\350\247\210\346\225\210\346\236\234.jpg" "b/zh-cn/device-dev/guide/figures/\351\242\204\350\247\210\346\225\210\346\236\234.jpg" old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/kernel/Readme-CN.md b/zh-cn/device-dev/kernel/Readme-CN.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/kernel/kernel-mini-debug-shell.md b/zh-cn/device-dev/kernel/kernel-mini-debug-shell.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/figures/cst85_hb_set.png b/zh-cn/device-dev/porting/figures/cst85_hb_set.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/figures/cst85_kconfig.png b/zh-cn/device-dev/porting/figures/cst85_kconfig.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/figures/dayu200/dayu200-audio-01.png b/zh-cn/device-dev/porting/figures/dayu200/dayu200-audio-01.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/figures/dayu200/dayu200-audio-02.png b/zh-cn/device-dev/porting/figures/dayu200/dayu200-audio-02.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/figures/dayu200/dayu200-bt-02.png b/zh-cn/device-dev/porting/figures/dayu200/dayu200-bt-02.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/figures/dayu200/dayu200-camera-02.png b/zh-cn/device-dev/porting/figures/dayu200/dayu200-camera-02.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/figures/dayu200/dayu200-camera-03.png b/zh-cn/device-dev/porting/figures/dayu200/dayu200-camera-03.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/figures/dayu200/dayu200-lcd-01.png b/zh-cn/device-dev/porting/figures/dayu200/dayu200-lcd-01.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-01.png b/zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-01.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-04.png b/zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-04.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-05.png b/zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-05.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-06.png b/zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-06.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-07.png b/zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-07.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-08.png b/zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-08.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-09.png b/zh-cn/device-dev/porting/figures/dayu200/dayu200-wifi-09.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/figures/w800_select.png b/zh-cn/device-dev/porting/figures/w800_select.png old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/porting-asr582x-combo-demo.md b/zh-cn/device-dev/porting/porting-asr582x-combo-demo.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/porting-chip-faqs.md b/zh-cn/device-dev/porting/porting-chip-faqs.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/porting-cst85f01-combo-demo.md b/zh-cn/device-dev/porting/porting-cst85f01-combo-demo.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/porting-dayu200-on_standard-demo.md b/zh-cn/device-dev/porting/porting-dayu200-on_standard-demo.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/porting-thirdparty-overview.md b/zh-cn/device-dev/porting/porting-thirdparty-overview.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/porting/porting-w800-combo-demo.md b/zh-cn/device-dev/porting/porting-w800-combo-demo.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/security/Readme-CN.md b/zh-cn/device-dev/security/Readme-CN.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/subsystems/subsys-app-privilege-config-guide.md b/zh-cn/device-dev/subsystems/subsys-app-privilege-config-guide.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/subsystems/subsys-application-framework-demo.md b/zh-cn/device-dev/subsystems/subsys-application-framework-demo.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/subsystems/subsys-boot-bootstrap.md b/zh-cn/device-dev/subsystems/subsys-boot-bootstrap.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/subsystems/subsys-boot-ref.md b/zh-cn/device-dev/subsystems/subsys-boot-ref.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/subsystems/subsys-dfx-hilog-lite.md b/zh-cn/device-dev/subsystems/subsys-dfx-hilog-lite.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/subsystems/subsys-dfx-hilog-rich.md b/zh-cn/device-dev/subsystems/subsys-dfx-hilog-rich.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/subsystems/subsys-graphics-overview.md b/zh-cn/device-dev/subsystems/subsys-graphics-overview.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/subsystems/subsys-multimedia-camera-preview-guide.md b/zh-cn/device-dev/subsystems/subsys-multimedia-camera-preview-guide.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/subsystems/subsys-multimedia-camera-record-guide.md b/zh-cn/device-dev/subsystems/subsys-multimedia-camera-record-guide.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/subsystems/subsys-multimedia-video-overview.md b/zh-cn/device-dev/subsystems/subsys-multimedia-video-overview.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/subsystems/subsys-multimedia-video-play-guide.md b/zh-cn/device-dev/subsystems/subsys-multimedia-video-play-guide.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/subsystems/subsys-multimedia-video-record-guide.md b/zh-cn/device-dev/subsystems/subsys-multimedia-video-record-guide.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/subsystems/subsys-preinstall-app-config-guide.md b/zh-cn/device-dev/subsystems/subsys-preinstall-app-config-guide.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/subsystems/subsys-remote-start.md b/zh-cn/device-dev/subsystems/subsys-remote-start.md old mode 100755 new mode 100644 diff --git a/zh-cn/device-dev/subsystems/subsys-sensor-demo.md b/zh-cn/device-dev/subsystems/subsys-sensor-demo.md old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/DFX\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/DFX\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/DeviceProfile\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/DeviceProfile\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/Misc\350\275\257\344\273\266\346\234\215\345\212\241\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/Misc\350\275\257\344\273\266\346\234\215\345\212\241\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/XTS\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/XTS\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/figures/JS-FA\345\274\200\345\217\221\347\233\256\345\275\225.png" "b/zh-cn/readme/figures/JS-FA\345\274\200\345\217\221\347\233\256\345\275\225.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/figures/OpenHarmony-LiteOS-A\345\206\205\346\240\270\346\236\266\346\236\204\345\233\276.png" "b/zh-cn/readme/figures/OpenHarmony-LiteOS-A\345\206\205\346\240\270\346\236\266\346\236\204\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/figures/Page\344\270\216AbilitySlice.png" "b/zh-cn/readme/figures/Page\344\270\216AbilitySlice.png" old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/aafwk.png b/zh-cn/readme/figures/aafwk.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/appexecfwk.png b/zh-cn/readme/figures/appexecfwk.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/cesfwk_architecture_diagram.png b/zh-cn/readme/figures/cesfwk_architecture_diagram.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/dp-architecture_zh.png b/zh-cn/readme/figures/dp-architecture_zh.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/first_layout.png b/zh-cn/readme/figures/first_layout.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/page-ability-lifecycle-callbacks.png b/zh-cn/readme/figures/page-ability-lifecycle-callbacks.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/page-ability-lifecycle.png b/zh-cn/readme/figures/page-ability-lifecycle.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/samgr-architecture.png b/zh-cn/readme/figures/samgr-architecture.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/service-ability-lifecycle-callbacks.jpg b/zh-cn/readme/figures/service-ability-lifecycle-callbacks.jpg old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/service-ability-lifecycle.png b/zh-cn/readme/figures/service-ability-lifecycle.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/zh-cn_architecture-of-telephony-subsystem.png b/zh-cn/readme/figures/zh-cn_architecture-of-telephony-subsystem.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/zh-cn_image_0000001077953992.png b/zh-cn/readme/figures/zh-cn_image_0000001077953992.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/zh-cn_image_0000001078959750.png b/zh-cn/readme/figures/zh-cn_image_0000001078959750.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/zh-cn_image_0000001079026550.png b/zh-cn/readme/figures/zh-cn_image_0000001079026550.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/zh-cn_image_0000001079207198.png b/zh-cn/readme/figures/zh-cn_image_0000001079207198.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/zh-cn_image_0000001106694563.png b/zh-cn/readme/figures/zh-cn_image_0000001106694563.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/zh-cn_image_0000001111659738.png b/zh-cn/readme/figures/zh-cn_image_0000001111659738.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/zh-cn_image_0000001115819528.png b/zh-cn/readme/figures/zh-cn_image_0000001115819528.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/zh-cn_image_0000001136682635.png b/zh-cn/readme/figures/zh-cn_image_0000001136682635.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/zh-cn_image_0000001162307895.png b/zh-cn/readme/figures/zh-cn_image_0000001162307895.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/zh-cn_image_0000001162500331.png b/zh-cn/readme/figures/zh-cn_image_0000001162500331.png old mode 100755 new mode 100644 diff --git a/zh-cn/readme/figures/zh-cn_image_0000001162757669.png b/zh-cn/readme/figures/zh-cn_image_0000001162757669.png old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/figures/\344\274\240\346\204\237\345\231\250\347\273\223\346\236\204\345\233\276.png" "b/zh-cn/readme/figures/\344\274\240\346\204\237\345\231\250\347\273\223\346\236\204\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/figures/\345\205\250\347\220\203\345\214\226\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276.png" "b/zh-cn/readme/figures/\345\205\250\347\220\203\345\214\226\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/figures/\345\212\250\347\224\273\351\233\206\345\220\210\346\225\210\346\236\234.gif" "b/zh-cn/readme/figures/\345\212\250\347\224\273\351\233\206\345\220\210\346\225\210\346\236\234.gif" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/figures/\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276-0.jpg" "b/zh-cn/readme/figures/\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276-0.jpg" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/figures/\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276-3.png" "b/zh-cn/readme/figures/\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276-3.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/figures/\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276-4.png" "b/zh-cn/readme/figures/\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276-4.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/figures/\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276-5.png" "b/zh-cn/readme/figures/\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276-5.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/figures/\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276.png" "b/zh-cn/readme/figures/\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/figures/\345\261\236\346\200\247\345\212\250\347\224\273\346\225\210\346\236\234.gif" "b/zh-cn/readme/figures/\345\261\236\346\200\247\345\212\250\347\224\273\346\225\210\346\236\234.gif" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/figures/\345\274\200\345\217\221\346\240\267\344\276\213\345\233\276.png" "b/zh-cn/readme/figures/\345\274\200\345\217\221\346\240\267\344\276\213\345\233\276.png" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/figures/\346\225\260\345\200\274\345\212\250\347\224\273\346\225\210\346\236\234.gif" "b/zh-cn/readme/figures/\346\225\260\345\200\274\345\212\250\347\224\273\346\225\210\346\236\234.gif" old mode 100755 new mode 100644 diff --git a/zh-cn/readme/public_sys-resources/icon-caution.gif b/zh-cn/readme/public_sys-resources/icon-caution.gif old mode 100755 new mode 100644 diff --git a/zh-cn/readme/public_sys-resources/icon-danger.gif b/zh-cn/readme/public_sys-resources/icon-danger.gif old mode 100755 new mode 100644 diff --git a/zh-cn/readme/public_sys-resources/icon-note.gif b/zh-cn/readme/public_sys-resources/icon-note.gif old mode 100755 new mode 100644 diff --git a/zh-cn/readme/public_sys-resources/icon-notice.gif b/zh-cn/readme/public_sys-resources/icon-notice.gif old mode 100755 new mode 100644 diff --git a/zh-cn/readme/public_sys-resources/icon-tip.gif b/zh-cn/readme/public_sys-resources/icon-tip.gif old mode 100755 new mode 100644 diff --git a/zh-cn/readme/public_sys-resources/icon-warning.gif b/zh-cn/readme/public_sys-resources/icon-warning.gif old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/\344\272\213\344\273\266\351\200\232\347\237\245\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\344\272\213\344\273\266\351\200\232\347\237\245\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/\345\205\203\350\203\275\345\212\233\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\345\205\203\350\203\275\345\212\233\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/\345\205\250\347\220\203\345\214\226\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\345\205\250\347\220\203\345\214\226\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/\345\205\254\345\205\261\345\237\272\347\241\200\345\272\223.md" "b/zh-cn/readme/\345\205\254\345\205\261\345\237\272\347\241\200\345\272\223.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/\345\210\206\345\270\203\345\274\217\346\225\260\346\215\256\347\256\241\347\220\206\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\345\210\206\345\270\203\345\274\217\346\225\260\346\215\256\347\256\241\347\220\206\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/\345\210\206\345\270\203\345\274\217\350\275\257\346\200\273\347\272\277\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\345\210\206\345\270\203\345\274\217\350\275\257\346\200\273\347\272\277\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/\345\214\205\347\256\241\347\220\206\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\345\214\205\347\256\241\347\220\206\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/\345\220\257\345\212\250\346\201\242\345\244\215\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\345\220\257\345\212\250\346\201\242\345\244\215\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/\345\252\222\344\275\223\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\345\252\222\344\275\223\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/\345\256\211\345\205\250\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\345\256\211\345\205\250\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/\345\270\220\345\217\267\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\345\270\220\345\217\267\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/\346\263\233Sensor\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\346\263\233Sensor\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/\346\265\213\350\257\225\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\346\265\213\350\257\225\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/\347\240\224\345\217\221\345\267\245\345\205\267\351\223\276\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\347\240\224\345\217\221\345\267\245\345\205\267\351\223\276\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/\347\263\273\347\273\237\346\234\215\345\212\241\347\256\241\347\220\206\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\347\263\273\347\273\237\346\234\215\345\212\241\347\256\241\347\220\206\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git "a/zh-cn/readme/\350\257\255\350\250\200\350\277\220\350\241\214\346\227\266\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\350\257\255\350\250\200\350\277\220\350\241\214\346\227\266\345\255\220\347\263\273\347\273\237.md" old mode 100755 new mode 100644 diff --git a/zh-cn/release-notes/OpenHarmony-1-0.md b/zh-cn/release-notes/OpenHarmony-1-0.md old mode 100755 new mode 100644 diff --git a/zh-cn/release-notes/OpenHarmony-1-1-0-LTS.md b/zh-cn/release-notes/OpenHarmony-1-1-0-LTS.md old mode 100755 new mode 100644 diff --git a/zh-cn/release-notes/OpenHarmony-1-1-1-LTS.md b/zh-cn/release-notes/OpenHarmony-1-1-1-LTS.md old mode 100755 new mode 100644 diff --git a/zh-cn/release-notes/OpenHarmony-v3.1-release.md b/zh-cn/release-notes/OpenHarmony-v3.1-release.md old mode 100755 new mode 100644 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelog-security.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelog-security.md old mode 100755 new mode 100644 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-device-usb.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-device-usb.md old mode 100755 new mode 100644 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-multimodalinput.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-multimodalinput.md old mode 100755 new mode 100644 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-usb.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-usb.md old mode 100755 new mode 100644 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-startup.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-startup.md old mode 100755 new mode 100644 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.2/changelogs-miscdevice.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.2/changelogs-miscdevice.md old mode 100755 new mode 100644 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.1/changelog-huks.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.1/changelog-huks.md old mode 100755 new mode 100644 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.2/changelogs-global.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.2/changelogs-global.md old mode 100755 new mode 100644 diff --git a/zh-cn/release-notes/release-definitions/Release-version-definitions.md b/zh-cn/release-notes/release-definitions/Release-version-definitions.md old mode 100755 new mode 100644 -- GitLab