platform/core/api/resource.git
2 years agoModify backup/restore of original policy in resource_set_cpu_boosting API 91/278591/2
Hyotaek Shim [Fri, 22 Jul 2022 07:20:03 +0000 (16:20 +0900)]
Modify backup/restore of original policy in resource_set_cpu_boosting API

Change-Id: Iaef502fc7cc67ca3d31bfbd851da22d535d7b8a9
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2 years agoSupplement cpu boosting test 72/278572/3
Unsung Lee [Fri, 22 Jul 2022 06:07:19 +0000 (15:07 +0900)]
Supplement cpu boosting test

Change-Id: I9e1b0fa30247e3ca341c7e99c7512253645de8b5
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
2 years agoAdd flag argument on the resource_set_cpu_boosting 49/278549/3 submit/tizen/20220722.040833
Unsung Lee [Fri, 22 Jul 2022 02:26:34 +0000 (11:26 +0900)]
Add flag argument on the resource_set_cpu_boosting

Change-Id: Id0b161df3ad8910cbbf8734dc1d17a0347de35be
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
2 years agoDelete non-blocking option (SOCK_NONBLOCK) 53/277953/2
Unsung Lee [Fri, 15 Jul 2022 08:06:43 +0000 (17:06 +0900)]
Delete non-blocking option (SOCK_NONBLOCK)

recv() will be delayed until timeout

Change-Id: Ia1fe772091e648abff9c34f2466ec7e370457713
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
2 years agoFix bugs reported by Coverity and SVACE 33/277933/4
Unsung Lee [Fri, 15 Jul 2022 06:37:39 +0000 (15:37 +0900)]
Fix bugs reported by Coverity and SVACE

Change-Id: I27303d7286a036a15171b023e083cfda4b043eb0
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
2 years agoSupport non-blocking (with timeout) socket 32/277932/2
Unsung Lee [Fri, 15 Jul 2022 05:16:43 +0000 (14:16 +0900)]
Support non-blocking (with timeout) socket

Change-Id: I6c19398d13970aabc4aa62a383aa36b473c2f852
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
2 years agoSupplement cpu-boosting test code 22/277722/2
Unsung Lee [Tue, 12 Jul 2022 10:21:48 +0000 (19:21 +0900)]
Supplement cpu-boosting test code

Change-Id: Id905be00f3a9fa2f9dd6d49d2fd9f82d1e0c09c9
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
2 years agoFix a SVACE reported bug 35/277635/1 accepted/tizen/unified/20220712.010808 submit/tizen/20220711.085003 submit/tizen/20220711.085050
Unsung Lee [Mon, 11 Jul 2022 08:40:29 +0000 (17:40 +0900)]
Fix a SVACE reported bug

Change-Id: I2056c0a36ba89214c13b6b864b6ed496cfe028d6
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
2 years agoplugin: add clear and get funcs 29/277629/4
Unsung Lee [Mon, 11 Jul 2022 07:48:44 +0000 (16:48 +0900)]
plugin: add clear and get funcs

Change-Id: I0d6ef27e209f4dbb13fdad5153db2b962217a938
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
2 years agoRearrange resource_error_e enum and add RESOURCE_ERROR_OPERATION_FAILED 14/277614/1
Hyotaek Shim [Mon, 11 Jul 2022 05:48:40 +0000 (14:48 +0900)]
Rearrange resource_error_e enum and add RESOURCE_ERROR_OPERATION_FAILED

Change-Id: If2e8bc8e1bff0c212cd0e1745ba7c9c3ca229b84
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2 years agoRefine the explanation of cpu-boosting set/clear APIs 98/277598/3
Hyotaek Shim [Mon, 11 Jul 2022 03:53:25 +0000 (12:53 +0900)]
Refine the explanation of cpu-boosting set/clear APIs

Change-Id: I1132400b79b7ff008d0cf3ebaa54ae518417df11
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2 years agoModify tid and pid from int to pid_t 45/277245/2 accepted/tizen/unified/20220704.213109 submit/tizen/20220704.075459
Unsung Lee [Mon, 4 Jul 2022 05:45:19 +0000 (14:45 +0900)]
Modify tid and pid from int to pid_t

Change-Id: I6bf4914fb1dc7f0c75c73e0292264b48625249bf
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
2 years agoFix the specification of resource_get_cpu_boosting_level API 40/277240/1
Hyotaek Shim [Mon, 4 Jul 2022 04:59:23 +0000 (13:59 +0900)]
Fix the specification of resource_get_cpu_boosting_level API

Change-Id: I69ca14147de264c6b86cfb984a1aaf8da8289fd8

2 years agoplugin: implement resource_set_cpu_boosting 82/276982/12 accepted/tizen/unified/20220630.212013 submit/tizen/20220630.054823
Unsung Lee [Tue, 28 Jun 2022 11:20:03 +0000 (20:20 +0900)]
plugin: implement resource_set_cpu_boosting

Change-Id: Ibe5877898afa269653318a1fdfd28a8081753277
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
2 years agoAdd API privilege declaration and fix typo in API spec 89/276989/4
Hyotaek Shim [Wed, 29 Jun 2022 02:40:05 +0000 (11:40 +0900)]
Add API privilege declaration and fix typo in API spec

Change-Id: Id5c6330ec069dfcc55407c44a5d5a122d1dfc818
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2 years agoImprove explanation in cpu boosting API specification 60/276960/8 accepted/tizen/unified/20220629.021813 submit/tizen/20220628.084224
Hyotaek Shim [Tue, 28 Jun 2022 10:31:56 +0000 (19:31 +0900)]
Improve explanation in cpu boosting API specification

Also delete unnecessary pid field in cpu_boosting_level_info_t

Change-Id: I0bcddf62844e86869ab176abbbc1780d315f2342
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2 years agoChange char * -> const char * in API arguments 15/276815/1 accepted/tizen/unified/20220627.133707 submit/tizen/20220627.034707
Hyotaek Shim [Mon, 27 Jun 2022 02:31:45 +0000 (11:31 +0900)]
Change char * -> const char * in API arguments

Change-Id: Ieeef1dee1aff587f4f744b9ccebb57b9d8b8c130
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2 years agoDelete dlclose() and Move dlopen() 28/276628/5 accepted/tizen/unified/20220622.133907 submit/tizen/20220622.073052
Unsung Lee [Wed, 22 Jun 2022 04:37:47 +0000 (13:37 +0900)]
Delete dlclose() and Move dlopen()

do not call dlopen()/dlclose() on constructor/destructor respectively.
Instead, delete dlcose() and move dlopen() from constructor to APIs.

Change-Id: Id9f75d2dc2749321e96d6504c45ec06973995190
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
2 years agoModify value of CPU_BOOSTING_LEVEL_* 17/276517/1 accepted/tizen/unified/20220621.140401 submit/tizen/20220620.015729
Unsung Lee [Mon, 20 Jun 2022 01:51:27 +0000 (10:51 +0900)]
Modify value of CPU_BOOSTING_LEVEL_*

Change-Id: Ieb3f61f3e77ec8bca274ce2d7f4eeac9c26d8bbd
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
2 years agoDelete some package dependencies 11/276511/2
Unsung Lee [Mon, 20 Jun 2022 01:09:16 +0000 (10:09 +0900)]
Delete some package dependencies

Change-Id: Iafa2dd8caea32b06e21f28748f4bb5e29972c6ed
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
2 years agoRefine the description of cpu boosting APIs 06/276206/2
Hyotaek Shim [Mon, 13 Jun 2022 03:33:19 +0000 (12:33 +0900)]
Refine the description of cpu boosting APIs

Change-Id: I184055440daf2373fcc162c3bb7636f9af499d59
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2 years agoMove header files to the destination 45/275745/4 accepted/tizen/unified/20220601.141537 submit/tizen/20220531.110301
Unsung Lee [Tue, 31 May 2022 08:50:52 +0000 (17:50 +0900)]
Move header files to the destination

Change-Id: I328c8adb166cd8c8c412263b74f1debca82a8785
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
2 years agoImplement CPU boosting plugin 67/275567/6 accepted/tizen/unified/20220528.144338 submit/tizen/20220526.112909
Unsung Lee [Thu, 26 May 2022 08:34:54 +0000 (17:34 +0900)]
Implement CPU boosting plugin

Change-Id: I0234087e4caa9f7dccf9ab7c9f7f3013fb9e1243
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
2 years agoChange API name for better consistency and specify details 79/274079/2
Hyotaek Shim [Thu, 21 Apr 2022 05:16:22 +0000 (14:16 +0900)]
Change API name for better consistency and specify details

Add resource_unregister_cpu_inheritance_destination() API

Change-Id: I1442d2fc1da905beb65b96a15048204f5e823d0b
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2 years agoAdd resource_get_cpu_sched_boosting_level() API 84/273984/1 accepted/tizen/unified/20220420.135413 submit/tizen/20220420.055631
Hyotaek Shim [Tue, 19 Apr 2022 10:56:50 +0000 (19:56 +0900)]
Add resource_get_cpu_sched_boosting_level() API

Change-Id: I784131f24d514542d5037acc9fb9842ed9f00099
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2 years agoAdd function declaration for CPU boosting APIs 40/273940/4
Hyotaek Shim [Mon, 18 Apr 2022 12:04:12 +0000 (21:04 +0900)]
Add function declaration for CPU boosting APIs

Change-Id: I9ac527fd70b41387e1f4e2e8d512774801a7dbe6
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2 years agoInitialization 32/273632/2
Hyotaek Shim [Mon, 11 Apr 2022 05:44:11 +0000 (14:44 +0900)]
Initialization

Change-Id: I1d3207cf4e7c0a98bf2ff9823fae6541d5150712
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2 years agoInitial empty repository master
Tizen Infrastructure [Fri, 8 Apr 2022 08:33:57 +0000 (08:33 +0000)]
Initial empty repository