Commit Graph

293 Commits

Author SHA1 Message Date
leafly2021
91db43a89c codestyle
Signed-off-by: leafly2021 <figo.yefei@huawei.com>
Change-Id: Ibae115a0d99412306f56a13be6d48d7864a6fb98
2022-03-03 09:14:53 +08:00
fanby01
7692a9f484 bugfix: add lock for Display->GetXXX()
Signed-off-by: fanby01 <yaojian7@huawei.com>
Change-Id: Ia20805f41c71b92e1dd972bc157638e7affef83d
2022-03-02 19:40:33 +08:00
openharmony_ci
5ff187f2ee
!435 灭屏时对所有物理屏调用下电接口
Merge pull request !435 from 沁心/master
2022-03-02 11:09:12 +00:00
chenqinxin
b8d421b7d9 灭屏时对所有物理屏调用下电接口
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: Id8d24fb3125cf96f55d4a3d9c9566469434a58ea
2022-03-02 17:53:21 +08:00
xiahaiqin
a81b4bab41 modify scope of lock
Signed-off-by: xiahaiqin <xiahaiqin1@huawei.com>
Change-Id: I7e0a6562038c86f6bb2e63cb7803a335e5c5af59
2022-03-02 17:47:21 +08:00
openharmony_ci
5362f1869a
!419 开源代码告警修复
Merge pull request !419 from 沁心/master
2022-03-02 07:06:07 +00:00
openharmony_ci
382959a9c0
!359 重构WMS中部分重复代码
Merge pull request !359 from YaoJian/refactor
2022-03-02 06:42:17 +00:00
lu
e44d047a90 Add string header to dm_common
Signed-off-by: lu <zhaolu2@huawei.com>
Change-Id: Ic61e831e44a1f88c62c52439387fc0651c13237b
2022-03-02 11:02:37 +08:00
chenqinxin
ae747684ad 开源代码告警修复
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: Ia26ee32cd6f24d096e0333ac930af0b91a18282e
2022-03-02 10:54:49 +08:00
openharmony_ci
dbb93ec484
!413 从窗口子系统里删除产品宏
Merge pull request !413 from 赵路/master
2022-03-02 01:12:43 +00:00
fanby01
5671cf4709 refactoring duplicate code
Change-Id: I6d15c2139ab79c53bf87cc5c8aebdba2e08f75cf
Signed-off-by: fanby01 <yaojian7@huawei.com>
2022-03-01 23:01:24 +08:00
xiaojianfeng
6488059681 fix makeExpand bug and add screen manager test
Signed-off-by: xiaojianfeng <xiaojianfeng3@huawei.com>
Change-Id: I09b0e1e2b65d081e06483b0b5e806d531451b6e9
2022-03-01 22:09:42 +08:00
lu
a7c784e72d Remove product macro
Signed-off-by: lu <zhaolu2@huawei.com>
Change-Id: Ibd73b757756527a1e5269afa8fae4bbc3d752312
2022-03-01 21:04:01 +08:00
xiaojianfeng
2d91b2d7e0 add screen manager test and CancelMakeMirrorOrExpand interface
Signed-off-by: xiaojianfeng <xiaojianfeng3@huawei.com>
Change-Id: I5b9dba617ca64adf68da71a3d45c86a341c8f4c2
2022-03-01 20:46:34 +08:00
lu
aeaf4553c8 Add 'Screen.GetName'
Signed-off-by: lu <zhaolu2@huawei.com>
Change-Id: Ie2ae5404770f966a00ce3a7cf12a1cb7031bdbf1
2022-03-01 19:29:28 +08:00
xiaojianfeng
8fd66e8f8d fix deadLock
Signed-off-by: xiaojianfeng <xiaojianfeng3@huawei.com>
Change-Id: I561419f8df18b31e2a119daeff5a23ce920a5691
2022-02-28 14:19:33 +08:00
openharmony_ci
95c786f075
!391 添加虚拟屏幕动态设置surface UT用例
Merge pull request !391 from Grady/master
2022-02-28 03:43:58 +00:00
lu
db927c0ac5 Change 'RequestRotation' to 'SetOrientation'
Signed-off-by: lu <zhaolu2@huawei.com>
Change-Id: Icfeab91d336279f41f93bf2f293c6d9364459da5
2022-02-28 10:31:11 +08:00
Grady
f3f433d425 add SetVirtualScreenSurface UT testcase
Signed-off-by: Grady <yangguangwei4@huawei.com>
Change-Id: I1002893eb964e45fd9a225c59176e91a5b7dbcf3
2022-02-26 15:13:56 +08:00
openharmony_ci
ddb498a41f
!386 modify DisplayManager.GetAllDisplays interface
Merge pull request !386 from xiaojianfeng/master
2022-02-26 02:07:16 +00:00
openharmony_ci
81088e35d4
!358 fix window snapshot nullptr bug
Merge pull request !358 from Klaus_q/master_wq
2022-02-25 23:53:40 +00:00
openharmony_ci
539f893e1f
!377 修复创建虚拟屏幕、动态设置surface不能传nullptr的问题,补充并完善ST
Merge pull request !377 from Grady/master
2022-02-25 16:03:37 +00:00
openharmony_ci
ece322bd66
!378 命令行截图功能修改默认生成文件名规则
Merge pull request !378 from YaoJian/snapshot_file_suffix
2022-02-25 06:18:06 +00:00
xiaojianfeng
69836b786e modify DisplayManager.GetAllDisplays interface
Signed-off-by: xiaojianfeng <xiaojianfeng3@huawei.com>
Change-Id: Iee35f61d628bc29209b4dd84b6a067c11b0af67d
2022-02-25 14:08:39 +08:00
Klaus_q
33b9368380 fix DMS inner temp code
Signed-off-by: Klaus_q <wangqi175@huawei.com>
Change-Id: Ida8b9d4a28dd8748a492b5ca68decab77ed41c87
2022-02-25 11:11:15 +08:00
fanby01
8dd7a464bd snapshot_display: set default file name with varying sufffix(using current time).
example: /data/snapshot_2022-02-24_13:01:59.png

Change-Id: Idefdddf9fcf82504d04d0eeab2be6ffa38ca0c31
Signed-off-by: fanby01 <yaojian7@huawei.com>
2022-02-25 10:48:05 +08:00
Grady
fe4dcf3c28 modify surface nullptr
Signed-off-by: Grady <yangguangwei4@huawei.com>
Change-Id: I9736a6e48cfde5cb35354a2dcdc9dece1f3212b5
2022-02-24 20:41:45 +08:00
xiaojianfeng
3215415f87 fix the virtualScreen info empty
Signed-off-by: xiaojianfeng <xiaojianfeng3@huawei.com>
Change-Id: I41439d71e8e482c0b54d964b7153ca606cc1ad1b
2022-02-24 19:25:20 +08:00
xiaojianfeng
7c0098b4c1 修改DisplayManagerAdapter
Signed-off-by: xiaojianfeng <xiaojianfeng3@huawei.com>
Change-Id: I4875da8361455bbdcabfa569f07a08723216619e
2022-02-24 16:00:57 +08:00
openharmony_ci
0e8cb42465
!369 提供Window迁移到其他Display的接口
Merge pull request !369 from 赵路/master
2022-02-23 12:52:33 +00:00
lu
363927e7f3 Add 'DisplayMove' interface to Window
Signed-off-by: lu <zhaolu2@huawei.com>
Change-Id: Ieaf19363ba09d3602a0239f10ed411d7134a7f45
2022-02-23 19:17:28 +08:00
xiahaiqin
bc0eef3869 modify dmsproxy and wmsproxy is null
Signed-off-by: xiahaiqin <xiahaiqin1@huawei.com>
Change-Id: I3817fbce15ee09e7412476717ba0edc1b0953157
2022-02-23 17:49:30 +08:00
xiahaiqin
5ad0ed0168 modify deadlock between dms and wms
Signed-off-by: xiahaiqin <xiahaiqin1@huawei.com>
Change-Id: I638027f75d0181f6364a4406ef0ace4c573c0c4e
2022-02-23 15:10:48 +08:00
xiaojianfeng
f764371123 modify the makemirror reture para type
Signed-off-by: xiaojianfeng <xiaojianfeng3@huawei.com>
Change-Id: Ib5cd6d5a3927d200be1ec3f987d25e09238aa245
2022-02-22 17:51:17 +08:00
xiaojianfeng
4fecc03d2a fix accessibility compile bug
Signed-off-by: xiaojianfeng <xiaojianfeng3@huawei.com>
Change-Id: I725577ea065a39192b3cdf05f12c34d9651e095b
2022-02-22 15:35:48 +08:00
xiaojianfeng
02484b6fa7 Revert "Revert "modify screenInfo, screengroupinfo, displayInfo, screen, screengroup, display""
This reverts commit 71682bdf6c.

Signed-off-by: xiaojianfeng <xiaojianfeng3@huawei.com>
Change-Id: I1184ab3cd41d899759b83b1f8b865275bfd2db0b
2022-02-22 15:35:29 +08:00
openharmony_ci
3298d9de2e
!357 修复2.21日告警
Merge pull request !357 from 沁心/master
2022-02-22 07:24:21 +00:00
chenqinxin
365e4e6e1e 修复2.21日告警
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: I6b0269a008ea2956800c8686d7e8e73956ae33dd
2022-02-22 11:47:19 +08:00
openharmony_ci
aa3a5c7f6f
!347 补充完善部分广色域ST用例
Merge pull request !347 from YaoJian/feature_gamut_test
2022-02-22 02:18:21 +00:00
openharmony_ci
a977bf9746
!337 增加窗口可见性注册监听接口
Merge pull request !337 from 沁心/master
2022-02-21 11:49:08 +00:00
xiaojianfeng
71682bdf6c Revert "modify screenInfo, screengroupinfo, displayInfo, screen, screengroup, display"
This reverts commit 029634e620.

Signed-off-by: xiaojianfeng <xiaojianfeng3@huawei.com>
Change-Id: Idcbdea473ba24223477dbdd19ea20ecd0217501a
2022-02-21 18:27:27 +08:00
chenqinxin
1a749e2466 增加窗口可见性注册监听接口
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: I86cd8f99a77e3ea157868fc366f48469c5ccc977
2022-02-21 17:26:32 +08:00
openharmony_ci
f06eb14701
!348 增加亮灭屏ST
Merge pull request !348 from 沁心/dev0219
2022-02-21 09:12:28 +00:00
fanby01
fe31bb3d5c add test case for colorgamut
Change-Id: Id7e7c80bacf9c370f3873d179a0de82430ca7320
Signed-off-by: fanby01 <yaojian7@huawei.com>
2022-02-21 15:58:55 +08:00
chenqinxin
76af9ad36f 增加亮灭屏ST
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: I67158586105b8859326b30ffc2c6d3855c5fc48e
2022-02-21 15:54:14 +08:00
xiaojianfeng
029634e620 modify screenInfo, screengroupinfo, displayInfo, screen, screengroup, display
Signed-off-by: xiaojianfeng <xiaojianfeng3@huawei.com>
Change-Id: I16c23ce2bba78db54f35be08423c0d6675d1e643
2022-02-21 10:31:46 +08:00
lu
593e512dd0 update the size of the Display after rotate screen
Signed-off-by: lu <zhaolu2@huawei.com>
Change-Id: I918630d93678f4cdce904461e4a0f0efc846b2fd
2022-02-19 17:33:35 +08:00
openharmony_ci
70f9648a15
!323 fix expand ut and st
Merge pull request !323 from youqijing/master
2022-02-17 11:55:21 +00:00
openharmony_ci
896eed3174
!321 清除Display模块告警
Merge pull request !321 from 赵路/master
2022-02-17 11:25:55 +00:00
youqijing
696685d4f4 fix expand ut and st
Signed-off-by: youqijing <youqijing@huawei.com>
Change-Id: I8b31d3fba47809c642df65a59bf6a4e782c67cb9
2022-02-17 17:34:06 +08:00
lu
d7d97ba464 clear DM warning
Signed-off-by: lu <zhaolu2@huawei.com>
Change-Id: I762ce417febfa918fee7665880db749cfd096286
2022-02-17 17:09:48 +08:00
shiyueeee
48c518839e Modify display_change systemtest and code check
Signed-off-by: shiyueeee <nieshiyue@huawei.com>
Change-Id: I6f9766093de0aff24fe1009897f1a4f68fd3fa51
2022-02-17 15:06:35 +08:00
openharmony_ci
5eb8131cc3
!300 修复告警
Merge pull request !300 from 沁心/master
2022-02-16 11:44:48 +00:00
chenqinxin
40157e6740 修复告警
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: I0f18d5d83e5dfbc2eba258daf41496b6263c357f
2022-02-16 19:04:59 +08:00
fanby01
69f6818894 add ST & UT for screen colorgamut.
Signed-off-by: fanby01 <yaojian7@huawei.com>
Change-Id: I471b04b8620bdfe336cc6493925e1c03362946a3
2022-02-16 17:21:24 +08:00
xiaojianfeng
85f89b27d3 add systemtest_screen manager test for make mirror fun
Signed-off-by: xiaojianfeng <xiaojianfeng3@huawei.com>
Change-Id: Ic49b0d97d64ecb3ee8664e405d63e9060ce94169
2022-02-16 14:50:09 +08:00
openharmony_ci
e6590e62a0
!287 Add display_change system test to check screensize
Merge pull request !287 from shiyueeee/master
2022-02-15 12:29:37 +00:00
youqijing
7bf92f686b fix screen manager test
Signed-off-by: youqijing <youqijing@huawei.com>
Change-Id: I9449447a227cb2abab0aa8c78d0160487eebf738
2022-02-15 18:47:10 +08:00
shiyueeee
c2c3cad14c Add screensize system test
Signed-off-by: shiyueeee <nieshiyue@huawei.com>
Change-Id: I7d4d272cdd872c438352f8eaf0697e35bb4521f8
2022-02-15 17:33:30 +08:00
openharmony_ci
a0ce1f745a
!257 Add expand
Merge pull request !257 from youqijing/master
2022-02-15 09:32:55 +00:00
openharmony_ci
2abc34effa
!277 add MakeExpand UT and ST code
Merge pull request !277 from Klaus_q/master_wq
2022-02-15 09:32:50 +00:00
Klaus_q
4ec04493de add MakeExpand UT and ST code
Signed-off-by: Klaus_q <wangqi175@huawei.com>
Change-Id: I3e7cfcc16ae1e2c97b0b4571ff602512cbfd8026
2022-02-15 16:28:35 +08:00
youqijing
112819dc5b Add screen expand code
Signed-off-by: youqijing <youqijing@huawei.com>
Change-Id: I79f0cf9cd50dfc09c0e12326784b62477f9b3a29
2022-02-15 16:20:22 +08:00
shiyueeee
4e49abe24e Add SIZE_CHANGE notify and unittest
Signed-off-by: shiyueeee <nieshiyue@huawei.com>
Change-Id: Ia6e89bff48003db04930bdfae49c7271c2dc1952
2022-02-15 16:06:18 +08:00
openharmony_ci
c3592e2190
!274 添加虚拟屏幕surface动态设置接口
Merge pull request !274 from Grady/master
2022-02-14 14:07:42 +00:00
Grady
88d36ff89d add SetVirtualScreenSurface
Signed-off-by: Grady <yangguangwei4@huawei.com>
Change-Id: Idcb199852fda9de776e4bd1c234cdcc172a96a61
2022-02-14 20:45:43 +08:00
openharmony_ci
1bfaaff72b
!242 screenmanager提供js接口
Merge pull request !242 from zengqingyu/master
2022-02-14 11:04:06 +00:00
zengqingyu
6db9a9be1d offer js interfaces for screen
Change-Id: Ib9c488f8770da5dc9b4f123852fadcf09148cae5
Signed-off-by: zengqingyu <zengqingyu3@huawei.com>
2022-02-14 16:55:20 +08:00
Grady
301dbb8f89 add setActiveMode UT testcase
Signed-off-by: Grady <yangguangwei4@huawei.com>
Change-Id: Ib8ccd408df1ab3d04d69e8639187bbea68491bc6
2022-02-14 16:37:38 +08:00
shiyueeee
98f5dd15f4 Set display size as screen mode changes
Change-Id: I8c49155056aaa161c483941f4a857fcb2614db34
Signed-off-by: shiyueeee <nieshiyue@huawei.com>
2022-02-13 19:09:10 +08:00
fanby01
2ced646fae support colorgamut for dms, adapter to render service.
Change-Id: I66ef16c675e78c7d690f702d62be4dd126f66368
Signed-off-by: fanby01 <yaojian7@huawei.com>
2022-02-13 15:49:36 +08:00
lu
66969187ff screen rotation
Signed-off-by: lu <zhaolu2@huawei.com>
Change-Id: I9af5c8e8ea99b1fc503c766fb76b2912c6a9fe46
2022-02-13 14:45:00 +08:00
luwei
82b724705f 修复screenshot max size bug
Signed-off-by: luwei <luwei51@huawei.com>
Change-Id: I349ae4afb7bbba397452be82011f46611cea98e2
2022-02-10 12:43:43 +08:00
openharmony_ci
3a88f6ca18
!212 screen支持广色域接口
Merge pull request !212 from YaoJian/feature_gamut_dms
2022-02-09 07:13:14 +00:00
openharmony_ci
b6702d6706
!225 hilog domain修改 window使用04200 display使用04201
Merge pull request !225 from 沁心/master
2022-02-09 06:32:39 +00:00
fanby01
5c378a3306 support wide gamut for screen
Change-Id: Ib03dc47aa38b1d291a684df367ad3c810a334b8b
Signed-off-by: fanby01 <yaojian7@huawei.com>
2022-02-09 12:43:43 +08:00
chenqinxin
5419cd5ead hilog domain修改 window使用04200 display使用04201
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: I5a707a468cbc2b816a0bc58b2714ba86db2bc7e1
2022-02-09 11:36:54 +08:00
xiaojianfeng
2f2378494c add screen, display register and unregister method
Signed-off-by: xiaojianfeng <xiaojianfeng3@huawei.com>
Change-Id: Id1faf96d66ecdd1ab514b263861413fec1ac7f6e
2022-02-08 19:49:46 +08:00
Grady
221a8c9579 Add get/set screen mode interface
Signed-off-by: Grady <yangguangwei4@huawei.com>
Change-Id: I1825f60f00cd1b89fdd72bc7246022ee32518e2d
2022-02-08 15:40:30 +08:00
wangxinpeng
bb135f7fd7 complement Screen interface
Signed-off-by: wangxinpeng <wangxinpeng4@huawei.com>
Change-Id: Ice8fa6740ddf27ddfb06156480195ae1333442e8
2022-01-30 12:50:06 +08:00
openharmony_ci
e0059bf338
!185 add ScreenChangeListener and DisplayChangeListener Binder Interface
Merge pull request !185 from xiaojianfeng_huawei/local1
2022-01-29 04:04:20 +00:00
xiaojianfeng
9e2a46d08e add ScreenChangeListener and DisplayChangeListener Binder Interface
Signed-off-by: xiaojianfeng <xiaojianfeng3@huawei.com>
Change-Id: I44eb326765d0450bfe439595508fd97504326c08
2022-01-29 09:30:46 +08:00
openharmony_ci
615713596f
!189 去除亮度设置最大值限制
Merge pull request !189 from 沁心/dev0915
2022-01-29 01:19:03 +00:00
openharmony_ci
e922bdb33c
!155 修改bug: hb set 选择watchos产品类型,编译watchos产品镜像报错
Merge pull request !155 from 林一育/master
2022-01-28 10:24:56 +00:00
chenqinxin
223d12f9f1 去除亮度设置最大值限制
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: I28dda31558cb3589e3aa6abfd55d23758ac43c90
2022-01-28 16:45:17 +08:00
openharmony_ci
eb49da76dd
!143 修改镜像屏的CPP层接口
Merge pull request !143 from 赵路/master
2022-01-27 10:39:18 +00:00
lu
08bc4f44e1 Modify the interface of 'Screen'
Signed-off-by: lu <zhaolu2@huawei.com>
Change-Id: I4eb641ac1af413c3e420d59fbdd77a5823b7060a
2022-01-27 16:08:31 +08:00
openharmony_ci
2b5b05aec4
!126 统一displayId为uint64_t
Merge pull request !126 from wangxinpeng/master
2022-01-26 07:52:05 +00:00
wangxinpeng
f19bb9cf21 fix int32_t displayId to uint64_t
Signed-off-by: wangxinpeng <wangxinpeng4@huawei.com>
Change-Id: I837bc7ec0af63c1bdad244e4b40609eae043889c
2022-01-26 11:24:24 +08:00
chenqinxin
6087693546 wms向dms注册监听事件
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: I9d4465a9a0b55a5bbf982c80effd7a35c59c4db1
2022-01-26 10:07:06 +08:00
linyiyu
ae7126bd49 IssueNo:#I4S1FV
Description:solve watchos product bug
Sig:OTHERS
Feature or Bgfix:Bgfix
Binary Source: No

Signed-off-by: linyiyu <linyiyu1219@126.com>
2022-01-25 11:07:48 +08:00
lu
27dd97d91f Bugfix: crash in DisplayManager
Signed-off-by: lu <zhaolu2@huawei.com>
Change-Id: I3a26c7150e741000ed0f6eb58809a5879cabb3d4
2022-01-24 16:46:38 +08:00
openharmony_ci
dfceac2ffd
!124 screen disconnect时,更新display信息
Merge pull request !124 from xiaojianfeng_huawei/local1
2022-01-22 06:20:42 +00:00
xiaojianfeng
90a4957a43 update displayinfo when screen disconnected
Signed-off-by: xiaojianfeng <xiaojianfeng3@huawei.com>
Change-Id: I58be4fc99569bdc675b922fea9b9ef6d3a71b92b
2022-01-22 11:46:41 +08:00
openharmony_ci
215e0de38c
!132 隐藏Display对外接口类的内部实现
Merge pull request !132 from 赵路/master
2022-01-22 01:49:19 +00:00
lu
00c77bb68b Hide implement of the interface class
Signed-off-by: lu <zhaolu2@huawei.com>
Change-Id: I5a8bf42ad8163330e5f3a560321204bce48764a9
2022-01-21 17:52:20 +08:00
xiahaiqin
478d028d88 modify deps to external deps
Signed-off-by: xiahaiqin <xiahaiqin1@huawei.com>
Change-Id: Ifdb1d31e3b2ec1bafe532059c4059cf0e87dfd6c
2022-01-21 17:40:09 +08:00
openharmony_ci
1003b22226
!107 修改依赖
Merge pull request !107 from xiahaiqin/master
2022-01-20 14:24:35 +00:00
xiahaiqin
d93649cb49 split dm from libwm
Signed-off-by: xiahaiqin <xiahaiqin1@huawei.com>
Change-Id: Ie85820c79b1d6fe9e551f34346b6b3beb362deda
2022-01-20 17:29:06 +08:00
chenqinxin
0a40af48ec 修改mutex为recursive_mutex 防止同进程调用时无法获取到锁
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: I86aa44b78fbe1e1696d8d6bbb5c956475e7c7c0c
2022-01-20 15:52:43 +08:00
openharmony_ci
87cf63a6d1
!115 补充亮灭屏遗漏的systemtest
Merge pull request !115 from 沁心/dev0915
2022-01-20 03:37:04 +00:00
openharmony_ci
031260dfc8
!109 修改dms wms启动优先级,修改死亡监听添加判断
Merge pull request !109 from 沁心/master
2022-01-20 01:23:57 +00:00
chenqinxin
19c8ca1eb8 补充亮灭屏遗漏的systemtest
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: I298314f76026200368681f2c23cb90f4748c7b42
2022-01-20 09:17:59 +08:00
chenqinxin
dd056e009e 修改dms wms启动优先级,修改死亡监听添加判断
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: I4b22323b00dbccc20bbb282a872baf3a5eeba8b8
2022-01-19 17:07:15 +08:00
shiyueeee
bec6c4f584 Add screen manager unittest
Signed-off-by: shiyueeee <nieshiyue@huawei.com>
Change-Id: Ic3feffc4752a61214f0c91e26cc91fce404beb8a
2022-01-19 16:55:05 +08:00
openharmony_ci
bb7915dd92
!105 增加亮灭屏单元测试用例
Merge pull request !105 from 沁心/master
2022-01-19 08:43:55 +00:00
chenqinxin
d834bd91d9 增加亮灭屏单元测试用例
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: Id9b4cd1b0e9a0792d84884affd68af7e3af0d75b
2022-01-19 15:39:01 +08:00
Grady
87963886bf modify testcase param
Signed-off-by: Grady <yangguangwei4@huawei.com>
Change-Id: I0881ff7f3e8f881c3e1ce5bbb0f77f95b6804dd5
2022-01-19 11:49:22 +08:00
openharmony_ci
65d918c308
!99 修复亮灭屏systemtest 异步回调耗时不确定导致测试用例失败问题
Merge pull request !99 from 沁心/master
2022-01-19 01:17:46 +00:00
chenqinxin
973b24c5fa 修复亮灭屏systemtest 异步回调耗时不确定导致测试用例失败问题
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: I4bf971a0e5e67fcd351f2e38a667fd173b76cec4
2022-01-19 08:26:43 +08:00
Grady
c5844a6467 add screen system testcase
Signed-off-by: Grady <yangguangwei4@huawei.com>
Change-Id: I1fae58fa89ff8e20c76baf30dd2e3a57a1a0f3f4
2022-01-18 23:09:29 +08:00
openharmony_ci
ac8849db0e
!92 add screnshot unittest and modify screenshot
Merge pull request !92 from lw_2022/master
2022-01-18 13:07:09 +00:00
luwei
27e5b3cac8 add screenshot unittest and modify screenshot
Signed-off-by: luwei <luwei51@huawei.com>
Change-Id: I37afde27885e405ae4af723d8a08b2156f88c03b
2022-01-18 20:38:08 +08:00
chenqinxin
493f3abd85 add display power system test
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: Idd88944f96be1893514e3b3bdbc72f603fc5fda5
2022-01-18 19:42:35 +08:00
openharmony_ci
eeb0292604
!85 为3516开发板设置VirtualPixelRatio
Merge pull request !85 from lu/master
2022-01-18 02:29:22 +00:00
lu
12a19e0f55 Set virtualPixelRatio for '3516'
Signed-off-by: lu <zhaolu2@huawei.com>
Change-Id: I77839d4188a838942c8d1e4db98ba2c144f71514
2022-01-18 09:14:39 +08:00
shiyueeee
119d4e06c2 Modify dmadaptor methods as virtual type for gmock. Add unit test of snapshot
Signed-off-by: shiyueeee <nieshiyue@huawei.com>
Change-Id: I16a629ff803f74a647542bdc7193c8a4e0da14d1
2022-01-17 23:09:13 +08:00
openharmony_ci
b17ad52871
!60 set display state callback to dms
Merge pull request !60 from 沁心/master
2022-01-17 12:48:13 +00:00
chenqinxin
900f8f524e set display state callback to dms
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: I3b3be3110f7b6d5f3d9b13b289e3a74a4bc3174e
2022-01-17 20:18:22 +08:00
shiyueeee
54450ca35a Separate external includes as deps
Signed-off-by: shiyueeee <nieshiyue@huawei.com>
2022-01-17 11:31:36 +08:00
openharmony_ci
5851b126e3
!58 VirtualScreen迁移到ScreenManager,支持VirtualScreen镜像模式
Merge pull request !58 from Grady/master
2022-01-16 13:09:52 +00:00
openharmony_ci
76327ac814
!71 modify screenshot
Merge pull request !71 from lw_2022/master
2022-01-16 12:27:20 +00:00
Grady
f69264332a Move virtualScreen to ScreenManager, add AddMirror to save RSDisplayNode
Signed-off-by: Grady <yangguangwei4@huawei.com>
Change-Id: Icf74950fb6d48053534e9a57c3e6f7f3ebd7fe29
2022-01-16 20:07:32 +08:00
shiyueeee
6ad9df4025 Add dm system test, including minimal dm cases and screenshot cases
Signed-off-by: shiyueeee <nieshiyue@huawei.com>
Change-Id: I9400997879ac22c08b3110f2902a0b4ba0c4aef7
2022-01-16 19:45:33 +08:00
luwei
a85a09d6bc modify screenshot
Signed-off-by: luwei <luwei51@huawei.com>
Change-Id: I338f93413c1c434c63cb762d14690afd3d8ddf55
2022-01-16 19:37:07 +08:00
xiahaiqin
c4338216b9 split libwmutil
Signed-off-by: xiahaiqin <xiahaiqin1@huawei.com>
Change-Id: I34d1d61aa6d3ef91d21db1ed941e5e4e3708b1a9
2022-01-16 14:38:01 +08:00
lu
6831a3fc0a Fix Display#GetVirtualPixelRatio() issue
Signed-off-by: lu <zhaolu2@huawei.com>
Change-Id: I77b8af564ad65c162ffb218d90cc63d8841a63f5
2022-01-15 20:17:31 +08:00
openharmony_ci
5107490778
!47 监听RSScreen,获得Screen后通知到DisplayController
Merge pull request !47 from lu/master
2022-01-14 06:14:43 +00:00
openharmony_ci
17e97681b9
!49 修改单例模板
Merge pull request !49 from 沁心/master
2022-01-14 04:52:18 +00:00
lu
505f3a2819 Get Screen form RSScreen, then notify the DisplayController
Signed-off-by: lu <zhaolu2@huawei.com>
Change-Id: Ia78c5311ba447836198af134f7b3409746678560
2022-01-14 11:29:44 +08:00
openharmony_ci
c157d95269
!46 modify screenshot
Merge pull request !46 from lw_2022/master
2022-01-14 03:22:42 +00:00
chenqinxin
2746a19c1d modify single instance template
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: I1c66e5b878854e7a872af4b5ecebac08d91f086b
2022-01-14 11:18:10 +08:00
chenqinxin
0ee702f6ed add register/unregister display power event listener interfaces
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: Ie4edda2cf8baf4b149f5e49714605f51cfd3193a
2022-01-14 09:10:34 +08:00
luwei
8834e39830 modify screenshot
Change-Id: Iaf24a3a4a7c451ca1a51cb83d48098c6be6be940
Signed-off-by: luwei <luwei51@huawei.com>
2022-01-13 21:54:00 +08:00
openharmony_ci
eca19c913f
!37 增加bundle.json和libdm
Merge pull request !37 from hebe-xia/master
2022-01-13 08:02:10 +00:00
xiahaiqin
1a58a383d9 add bundle.json and libdm
Signed-off-by: xiahaiqin <xiahaiqin1@huawei.com>
Change-Id: I49965a753022b13df7f5dc5998723086073d0f4d
2022-01-13 14:19:47 +08:00
lu
2a50238b40 Signed-off-by: lu <zhaolu2@huawei.com>
Change-Id: I8eb98d20ba67475268bac5b01e38e38c079f9de2

Change-Id: If2abfef80f7badc39b1c0073c0f2c13b5cc594e3
2022-01-12 20:02:23 +08:00
lu
69bc53cd78 Add interface for 'Screen'
Signed-off-by: lu <zhaolu2@huawei.com>
Change-Id: Ifae6fde45bfc57ffd18b0db42624ed113a20c409
2022-01-12 10:40:58 +08:00
chenqinxin
d91f1bb7a6 add display power interface
Signed-off-by: chenqinxin <chenqinxin1@huawei.com>
Change-Id: I87574556ce30af234ffc70fa7bc1d7fb04f5538a
2022-01-11 14:25:12 +08:00
fanby01
a432b9378a enable DisplayManager->GetScreenshot()
Change-Id: Id958e75c3d338ab89d14436baba16bd5c0ed5003
Signed-off-by: fanby01 <yaojian7@huawei.com>
2022-01-10 20:41:27 +08:00
laiguizhong
cce793abe8 add windowmanager & add window js api
Signed-off-by: laiguizhong <laiguizhong@huawei.com>
Change-Id: Ia303d155a0d30da4736e96b009125f40d4c3837a
2022-01-07 11:08:50 +08:00
jiangdayuan
8c10fc99ab 修复windowmanager依赖问题
Signed-off-by: jiangdayuan <jiangdayuan@huawei.com>
Change-Id: I87f00a05f3c771a1ca5b0f0a3bdc155b30fb74a8
2022-01-04 20:08:46 +08:00
abbuu
0a4d4c93fa Enable windowmangaer
Signed-off-by: abbuu <liyu37@huawei.com>
2021-12-31 17:40:40 +08:00