openharmony_ci 7a710430f1 !53 merge fws into master
llt test构建配置修改

Created-by: qq_35037212
Commit-by: fangwusheng
Merged-by: openharmony_ci
Description: ### 一、内容说明(相关的Issue)

https://gitcode.com/openharmony/applications_applications_cangjie_wrapper/issues/36

### 二、建议测试周期和提测地址  
  建议测试完成时间:xxxx.xx.xx  
  投产上线时间:xxxx.xx.xx  
  提测地址:CI环境/压测环境  
  测试账号:  无

### 三、变更内容
  * 3.1 关联PR列表
https://gitcode.com/openharmony/applications_applications_cangjie_wrapper/pull/53

  * 3.2 数据库和部署说明  
    1. 常规更新 
    2. 重启unicorn
    3. 重启sidekiq
    4. 迁移任务:是否有迁移任务,没有写 "无"
    5. rake脚本:`bundle exec xxx RAILS_ENV = production`;没有写 "无"
无
  * 3.4 其他技术优化内容(做了什么,变更了什么)
  
    根据仓上对应分支修改用例工程构建配置,Dev/Trunk分支修改为6.1.0-APILevel23,Cangjie-build-support同样匹配对应版本构建方式
	主要修改:
		hvigor-config.json5文件
		test目录下build-profile.json5文件
  		检查module.json5中的设备类型HarmonyOS工程为"phone",OpenHarmony工程对应为"default"


    * 3.5 废弃通知(什么字段、方法弃用?)
	不涉及




  * 3.6  后向不兼容变更(是否有无法向后兼容的变更?)
 不涉及

  
### 四、研发自测点(自测哪些?冒烟用例全部自测?)
  自测测试结论:
 测试通过


### 五、测试关注点(需要提醒QA重点关注的、可能会忽略的地方)
  检查点:

| 需求名称 | 是否影响xx公共模块 | 是否需要xx功能 | 需求升级是否依赖其他子产品 |
|------|------------|----------|---------------|
| xxx  | 否          | 需要       | 不需要           |
|      |            |          |               |

  接口测试:不涉及

  性能测试:不涉及

  并发测试:不涉及

  其他:



See merge request: openharmony/applications_applications_cangjie_wrapper!53
2026-04-07 21:23:33 +08:00
2025-09-30 15:25:41 +08:00
2025-10-07 18:20:24 +08:00
2026-01-27 10:42:28 +08:00
2026-01-05 19:00:04 +08:00
2025-08-08 14:56:30 +08:00
2025-11-22 16:17:47 +00:00
2025-11-28 15:17:55 +08:00
2025-08-13 14:56:33 +08:00
2025-08-14 15:36:37 +08:00
2025-10-07 18:20:24 +08:00
2025-10-07 18:20:24 +08:00

Application Cangjie Wrapper(beta feature)

Introduction

The Application Cangjie Wrapper provides application-related capabilities for developers using the Cangjie language for application development on OpenHarmony. The Application Cangjie Wrapper provides developers with the ability to access system settings. For example, obtaining system settings such as screen brightness and date/time format. Only standard devices are supported.

System Architecture

Figure 1 Application Cangjie Architecture

"Application Cangjie Architecture"

As shown in the architecture diagram:

Interface Layer:

  • Settings interface:
    • Provides developers the ability to query time and date: Developers can specify the display format of time and date, such as 12-hour format / 24-hour format.
    • Provides the ability to retrieve display effect settings. For example, developers can get the value of the screen brightness setting.
    • Ability to retrieve data items for a specified domain, where domain data items include device attribute shared domain and user attribute domain.

Framework Layer:

  • Settings Function Encapsulation: Provides the ability to access system-related properties. This encapsulation layer is implemented based on the functionalities provided by Settings.

Dependency Component Introduction in Architecture Diagram:

  • settings: Responsible for providing basic settings application functionality.
  • cangjie_ark_interop: Responsible for providing Cangjie annotation class definitions for API annotation, and providing BusinessException exception class definitions thrown to users.
  • ability_cangjie_wrapper: Responsible for providing basic capabilities of Ability or Application context, including accessing specific application resources.
  • Cangjie DFX: Responsible for providing log interfaces, providing Cangjie interfaces that can be called by the file management Cangjie interface to print logs at critical paths.

Directory

applications/standard/applications_cangjie_wrapper
├── figures                 # Architecture diagrams in README
├── kit
│   └── BasicServicesKit    # Cangjie settings application kit interfaces
├── ohos
│   └── settings            # Cangjie settings application interface implementation
└── test
    └── settings            # Cangjie settings application interface test code

Usage Instructions

Provides the following settings application functions:

  • Query time and date settings
  • Query display effect settings
  • Query related settings for specified domains

For settings application APIs, please refer to Settings Application API Reference.

Constraints

Compared to APIs provided by ArkTS, the following functions are not currently supported:

  • Setting time and date
  • Setting display effects
  • Registering/unregistering domain-specified data item observers
  • Opening network management settings page
  • Enabling/disabling airplane mode
  • Checking if an application can be displayed as a floating window

Contribution

Developers are welcome to contribute code, documentation, etc. For specific contribution processes and methods, please refer to Contribution.

applications_settings

cangjie_ark_interop

ability_cangjie_wrapper

hiviewdfx_hiviewdfx_cangjie_wrapper

S
Description
系统应用模块仓颉封装层
Readme 5.9 MiB
Languages
Cangjie 94%
Python 3.1%
TypeScript 2.9%