Commit Graph

78 Commits

Author SHA1 Message Date
openharmony_ci
37a2fc0fe4
!43 fix: clean alarm
Merge pull request !43 from wonghiu45/clean_alarm_0928
2022-09-29 03:05:00 +00:00
openharmony_ci
3ad83943b5
!32 change subsystem name from utils to commonlibrary
Merge pull request !32 from 陈杰/0915-utils
2022-09-29 02:43:00 +00:00
wonghiu45
02ae12df86 clean alarm
category:bugfix
issue:#I5TQ4S

Signed-off-by: wonghiu45 <huangxiao35@huawei.com>
2022-09-29 09:27:13 +08:00
陈杰
a40824c9f1 Merge branch 'master' of gitee.com:openharmony/utils_memory into 0915-utils
Signed-off-by: 陈杰 <chenjie174@huawei.com>
2022-09-27 11:07:49 +00:00
openharmony_ci
f4143417a5
!40 在dmabuf_alloc_test.cpp中使用sprintf_s安全函数替代sprintf非安全函数
Merge pull request !40 from syz_huawei/master
2022-09-27 10:59:55 +00:00
Yuanzheng Song
031a0ab501 use sprintf_s instead of sprint in usecase of the libdmabufheap
issue: #I5TC7S
Signed-off-by: Yuanzheng Song <songyuanzheng@huawei.com>
2022-09-27 12:26:47 +08:00
openharmony_ci
ef75842507
!37 libpurgeablemem自测试用例代码规范整改
Merge pull request !37 from lijiawei/master
2022-09-27 03:57:43 +00:00
陈杰
b255f27285
update libpurgeablemem/test/BUILD.gn.
Signed-off-by: 陈杰 <chenjie174@huawei.com>
2022-09-26 12:02:56 +00:00
陈杰
6475098d3c
update libpurgeablemem/BUILD.gn.
Signed-off-by: 陈杰 <chenjie174@huawei.com>
2022-09-26 12:02:12 +00:00
陈杰
f4b25ad85b
update libdmabufheap/test/BUILD.gn.
Signed-off-by: 陈杰 <chenjie174@huawei.com>
2022-09-26 12:01:38 +00:00
陈杰
24a9374596
update libdmabufheap/BUILD.gn.
Signed-off-by: 陈杰 <chenjie174@huawei.com>
2022-09-26 12:00:58 +00:00
陈杰
eef99db5b0
update bundle.json.
Signed-off-by: 陈杰 <chenjie174@huawei.com>
2022-09-26 11:59:36 +00:00
陈杰
339c2ffaa2
update README_ZH.md.
Signed-off-by: 陈杰 <chenjie174@huawei.com>
2022-09-26 11:58:30 +00:00
陈杰
a126646ea7
update README.md.
Signed-off-by: 陈杰 <chenjie174@huawei.com>
2022-09-26 11:57:57 +00:00
lijiawei
16959ff10c using cpp style type cast instead of c
Signed-off-by: lijiawei <lijiawei49@huawei.com>
2022-09-26 19:42:27 +08:00
openharmony_ci
409a18ecb2
!34 【OpenHarmony开源贡献者计划2022】fix MEMORY typo
Merge pull request !34 from sister777/11
2022-09-21 04:03:20 +00:00
openharmony_ci
6ff6f5186d
!35 将#include <linux/dma-heap.h>从dmabuf_alloc.c 移到 dmabuff_alloc.h
Merge pull request !35 from Caoruihong/dma_heap
2022-09-21 01:24:47 +00:00
Caoruihong
60bc787497 feat: move <linux/dma-heap.h> from dmabuf_alloc.c to dmabuff_alloc.h
Signed-off-by: Caoruihong <crh.cao@huawei.com>
2022-09-20 22:24:24 +08:00
zhanghaitao
bb0c6c94a7 fix MEMOEY to MEMORY
Signed-off-by: zht <zhanghaitao@west365.cn>
2022-09-20 00:06:51 +08:00
ChenJie
5c1eb431f1 change part name from utils to commonlibrary
Signed-off-by: ChenJie <chenjie174@huawei.com>
2022-09-15 11:22:36 +08:00
openharmony_ci
567736b645
!31 purgeable测试用例补充
Merge pull request !31 from wonghiu45/master
2022-09-06 08:03:34 +00:00
wonghiu45
6de5205969 Supplementary test cases of purgeable
category:bugfix
issue:#I5PX8Y

Signed-off-by: wonghiu45 <huangxiao35@huawei.com>
2022-09-06 15:10:52 +08:00
openharmony_ci
e244af28b7
!30 修改purgeable测试用例
Merge pull request !30 from wonghiu45/master
2022-09-05 14:06:32 +00:00
wonghiu45
8c926e3410 purgeable test case fix
category:bugfix
issue:#I5PTSO

Signed-off-by: wonghiu45 <huangxiao35@huawei.com>
2022-09-05 21:12:54 +08:00
openharmony_ci
8ba35aa461
!29 purgeable代码整改与用例适配
Merge pull request !29 from wonghiu45/master
2022-09-05 02:28:01 +00:00
wonghiu45
c9a084bab3 fix purgeable test
category:bugfix
issue:#I5P470

Signed-off-by: wonghiu45 <huangxiao35@huawei.com>
2022-09-05 09:39:32 +08:00
openharmony_ci
1e30952fc7
!28 switch utils path in utils_memory
Merge pull request !28 from JokerXD_liu/otherinput
2022-07-28 12:12:37 +00:00
hongtao
a813f9eb26 replace utils path to c_utils
Signed-off-by: hongtao <hongtao11@huawei.com>
Change-Id: I249c7ebe320ee3934262f3b0f53e920247d43247
2022-07-26 15:34:34 +08:00
openharmony_ci
92a9d0b17b
!27 删除无用的头文件引用
Merge pull request !27 from syz_huawei/master
2022-07-14 12:14:45 +00:00
Yuanzheng Song
335ce410df remove useless headers
issue: #I5H67W
Signed-off-by: Yuanzheng Song <songyuanzheng@huawei.com>
2022-07-14 19:40:31 +08:00
openharmony_ci
5e88385620
!26 purgeable 头文件最小化整改
Merge pull request !26 from lijiawei/master
2022-07-13 13:23:05 +00:00
lijiawei
516a70c7eb IWYU fix
Signed-off-by: lijiawei <lijiawei49@huawei.com>
2022-07-13 18:54:00 +08:00
openharmony_ci
9c6f8c1037
!25 fix code style warning
Merge pull request !25 from lijiawei/master
2022-07-12 01:43:12 +00:00
lijiawei
35f46ac09a fix code style warning
1.The controlling expression(if) must be a Bolean value or a Pointer rather than 'int'
2.Invalid case style for function name.(CamelCase).
3.Invalid case style for global variable.

Signed-off-by: lijiawei <lijiawei49@huawei.com>
2022-07-11 19:12:08 +08:00
openharmony_ci
77220d6f06
!24 更正部件描述文件中的外部依赖
Merge pull request !24 from lijiawei/master
2022-06-30 03:32:15 +00:00
lijiawei
315f0d3018 correct name of depends in bundle.json
Signed-off-by: lijiawei <lijiawei49@huawei.com>
2022-06-29 18:51:03 +08:00
openharmony_ci
9ab334b0a2
!23 enable purgeable mem
Merge pull request !23 from lijiawei/master
2022-06-22 08:44:51 +00:00
lijiawei
257c8665b0 enable purgeable mem
1.if there is no support in kernel, using normal anon mem instead of purgeable mem
2.clear content before rebuild to avoid some part of obj is nerver present.
Signed-off-by: lijiawei <lijiawei49@huawei.com>
2022-06-22 15:44:03 +08:00
lijiawei
b3be877d2d purgeable mem bugfix
1. purgeable mem: a purgeable obj must have builder.
2. using MAP_FAILED when mmap fail
Signed-off-by: lijiawei <lijiawei49@huawei.com>
2022-06-22 12:56:02 +08:00
openharmony_ci
9a14cd6e1b
!22 fix code warning
Merge pull request !22 from lijiawei/master
2022-06-13 09:37:16 +00:00
openharmony_ci
a5629512b6
!21 在DmabufHeapBuffer结构中新增heapFlags字段
Merge pull request !21 from syz_huawei/master
2022-06-13 08:50:56 +00:00
lijiawei
0136963e25 fix warning in libpurgeable: "Do not use anonymous namespaces or static to define non-external visible symbols in header files."
Signed-off-by: lijiawei <lijiawei49@huawei.com>
2022-06-13 15:29:30 +08:00
Yuanzheng Song
b48c1a4540 add heapFlags field into DmabufHeapBuffer
issue: #I5BWYV
Signed-off-by: Yuanzheng Song <songyuanzheng@huawei.com>
2022-06-13 15:01:09 +08:00
openharmony_ci
c063de1478
!20 purgeable mem add cpp interface
Merge pull request !20 from lijiawei/master
2022-06-11 07:10:23 +00:00
lijiawei
d177a94e4b add cpp interface
Signed-off-by: lijiawei <lijiawei49@huawei.com>
Signed-off-by: Chengke Wang <wangchengke2@huawei.com>
2022-06-11 14:31:42 +08:00
openharmony_ci
868924cbce
!19 purgeable mem
Merge pull request !19 from lijiwei/master
2022-06-10 09:58:31 +00:00
lijiawei
b2b811d84a code refactor
Signed-off-by: Chengke Wang <wangchengke2@huawei.com>
Signed-off-by: lijiawei <lijiawei49@huawei.com>
2022-06-10 17:06:03 +08:00
openharmony_ci
8e4d6bd44e
!18 purgmem inner state bugfix
Merge pull request !18 from lijiwei/master
2022-06-02 02:59:43 +00:00
lijiawei
2822fb057d purgmem inner state bugfix
Signed-off-by: lijiawei <lijiawei49@huawei.com>
2022-06-02 10:19:03 +08:00
openharmony_ci
b35ce71620
!17 libpurgeable v0
Merge pull request !17 from lijiwei/master
2022-06-01 09:04:10 +00:00