Changgyu Choi [Thu, 5 Dec 2024 03:27:30 +0000 (12:27 +0900)]
Release version 1.58.23
Changes:
- isu: Separate session for amd process using --new-session
Change-Id: I9ebf96d7e013e268a552dad541a78429ff3037e2
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Adam Michalski [Wed, 4 Dec 2024 14:00:08 +0000 (15:00 +0100)]
isu: Separate session for amd process using --new-session
The DA team requested that the `amd` process running through ISU
sandboxing be executed in a separate session by calling `setsid()`.
This ensures that the `amd` daemon is properly separated from its
parent process and process group, which is a typical setup for
daemonized processes.
Previously, the session of the `amd` process was not separated,
which may lead to potential issues with process management. By adding
the `--new-session` flag to the ISU configuration, this request is
addressed.
Change-Id: If0bf6bc70f36004cf2dc81ea7b498c216cc240cb
(cherry picked from commit
c8472601f850b70a27f559fc0d532ac5e0b40609)
Sangyoon Jang [Wed, 5 Jun 2024 01:07:10 +0000 (10:07 +0900)]
Release version 1.58.22
Changes:
- Parse values for using library resource package
Change-Id: I8ed418359bf8bb52bfd62b5b6658a40ace0efbd5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 30 May 2024 07:00:32 +0000 (16:00 +0900)]
Parse values for using library resource package
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/aul-1/+/311903
Change-Id: I11207dc1a0510a84ca6574d438a7ea208bdb3495
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Hwankyu Jhun [Tue, 23 Apr 2024 22:45:57 +0000 (07:45 +0900)]
Release version 1.58.21
Changes:
- Add ISU package
- Modify pkgmgr event handler
Change-Id: I5c8c2a04e8a0868583e9bac1c3b2784b72ff54f2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 23 Jun 2023 01:21:26 +0000 (01:21 +0000)]
Modify pkgmgr event handler
If the event name is 'uninstall', AMD sends the SIGKILL signal to
the running application of the uinstalling package.
Change-Id: I7a23a85f968cde83bb7862dfa7b8eaa79ccf6fb3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Mateusz Moscicki [Fri, 1 Sep 2023 15:51:19 +0000 (17:51 +0200)]
Add ISU package
This commit adds Individual Service Upgrade (ISU) feature to amd
package. When installed it will allow to upgrade this service using ISU
mechanism, without the need to perform full OS Upgrade.
This commits add necessary configuration to create upgrade packages of
needed format. ISU framework itself is maintained and installed
separately.
Change-Id: I62916eb3c0956d5fe65202656fe148db93032cd6
Hwankyu Jhun [Sun, 21 Apr 2024 23:10:57 +0000 (08:10 +0900)]
Release version 1.58.20
Changes:
- Refactor method to get resource package information
- Set gadget info to bundle object
- Remove adding resource pakcage IDs to bundle object
- Fix the gadget path
Change-Id: Id359a4a6cdfdf7b5f59321e2528447a9825d8618
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 19 Feb 2024 23:23:46 +0000 (08:23 +0900)]
Fix the gadget path
The gadget path must contain a resource type to facilitate mounting.
After this patch is applied, the gadget path will be
"/<package root path>/res/allowed/<res-type>/".
Change-Id: Iaf4681a67a85d963f2776b8b2a63326882925fae
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 25 Jan 2024 06:54:27 +0000 (15:54 +0900)]
Remove adding resource pakcage IDs to bundle object
Currently, NUIGadget feature uses gadget package IDs instead of
resource package IDs. The resource package IDs are not needed.
And, the gadget paths are removed from allowed paths and global paths.
Change-Id: I8856574c88ec30e3d081188c1e9dbe190c9d1461
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 19 Jan 2024 09:38:13 +0000 (18:38 +0900)]
Set gadget info to bundle object
The gadget informations are added to the bundle.
The launchpad attempts to mount with the set bundle information.
Change-Id: Ic204ed61ac0d9b7a78b27d860695c0ce1bcb7a19
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Ilho Kim [Tue, 16 Jan 2024 08:52:14 +0000 (17:52 +0900)]
Refactor method to get resource package information
Change-Id: I4ff2ca8e55b220b2e6b567e36836323d216518cf
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Hwankyu Jhun [Thu, 14 Dec 2023 01:01:12 +0000 (10:01 +0900)]
Release version 1.58.19
Changes:
- Reset retrying count while getting kick request
Change-Id: I31f798bc4ed70c19046f4a0d80cb89480416e026
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 14 Dec 2023 00:42:59 +0000 (09:42 +0900)]
Reset retrying count while getting kick request
When getting the kick request from the application, amd resets
the retry_count value to 0.
Change-Id: I6d71c09965eb67c30a5d40b293dbf883a3adb233
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 13 Dec 2023 10:48:33 +0000 (19:48 +0900)]
Release version 1.58.18
Changes:
- Fix crash issue
Change-Id: Ifdc407bb10655817fc1a79097a21a017c46d53ec
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 13 Dec 2023 10:42:05 +0000 (19:42 +0900)]
Fix crash issue
If the byte is empty, calling std::copy() makes a crash issue.
Change-Id: Ia786bb045159a9cf81d45d5d463a5bd4ff58ff86
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 13 Dec 2023 04:50:09 +0000 (13:50 +0900)]
Release version 1.58.17
Changes:
- Adjust coding style
- Fix an incorrect display lock state
Change-Id: I1cc86cece6004367f3707031cef2ea8e2d05b11b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 13 Dec 2023 04:40:53 +0000 (13:40 +0900)]
Fix an incorrect display lock state
When calling Unlock within the timer callback, the timer value was not
initialized to 0. This causes the following issue where the lock remains locked
after being unlocked.
If there is no app using the boot sequence, display lock is not called.
Change-Id: Ia53e4aa5fd5e69f507285895ebd647e732328ee3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 13 Dec 2023 04:07:28 +0000 (13:07 +0900)]
Adjust coding style
- Add a space before comparison operator
Change-Id: Ibbd68def6154346e070053c6e25953efacc09143
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 1 Dec 2023 07:13:07 +0000 (16:13 +0900)]
Release version 1.58.16
Changes:
- Modify boot manager
Change-Id: Iaf4a8b04f99f0f1f6bcddd9d711ff07d2a75e2b3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 30 Nov 2023 10:44:55 +0000 (19:44 +0900)]
Modify boot manager
The following changes are made to onboot option of amd:
- Apps with onboot set are launched by the boot manager.
- Only apps with boot-sequence set are managed by the boot sequencer.
- Onboot apps will run as before when a package is installed.
- Apps with boot-sequence set will not run until a reboot occurs even if
the package is installed.
Change-Id: I35589a7195043251efb69157b178139e6d62319b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 30 Nov 2023 06:59:37 +0000 (15:59 +0900)]
Release version 1.58.15
Changes:
- Fix a bug about restarting apps
Change-Id: Iddd268714b294d3c7f94349ba2d92f728715e8d6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 30 Nov 2023 04:29:51 +0000 (13:29 +0900)]
Fix a bug about restarting apps
After updating the package, the application was not restarted by amd.
Because, if the application has the on-boot="true" option in
the tizen-manifest.xm, amd does not check whether the application is
able to restart or not.
If the api-version is greater than 7, amd must check whether the application
should be restarted or not.
This patch checks the api version to restart apps.
Change-Id: Ibfe8245782cd5b0d5b6dc3bd7eda3363379c85b7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Thu, 30 Nov 2023 02:11:16 +0000 (11:11 +0900)]
Release version 1.58.14
Changes:
- Fix sort condition
Change-Id: Ifcbde9a987dbad522bfa90e7b2279495c2de9f3f
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 30 Nov 2023 01:48:17 +0000 (10:48 +0900)]
Fix sort condition
Change-Id: Ia31f79cf645d9acae6c5f300b45ec8140a1bcd4a
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Thu, 23 Nov 2023 00:18:05 +0000 (09:18 +0900)]
Release version 1.58.13
Changes:
- Fix duplicate execution problem
Change-Id: Id449fcab07e5fb097f87d42707b51d592e823275
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 22 Nov 2023 23:28:53 +0000 (08:28 +0900)]
Fix duplicate execution problem
When a new app is launched by receiving a request to execute it,
if the onboot feature is activated, the app process is duplicated.
This problem occurs because the CheckStatus() method does not properly handle
the confirmation of pending items.
The problem is fixed by modifying the socket option.
Change-Id: Icc4478766a25fdf34073dd331dc878478c577b58
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 14 Nov 2023 00:48:09 +0000 (09:48 +0900)]
Release version 1.58.12
Changes:
- [Watchdog] Send the watchdog activation signal
Change-Id: Icedd3cbccbf0134c2a8d124fd0a1536238ea6140
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Mon, 13 Nov 2023 04:12:53 +0000 (13:12 +0900)]
[Watchdog] Send the watchdog activation signal
When the watchdog option is 'enable-by-default', amd sends the watchdog
activation signal to the running application.
Change-Id: I2b99b9b62b593b44bb82a8662c069251ab086f68
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Wed, 8 Nov 2023 05:14:56 +0000 (14:14 +0900)]
Release version 1.58.11
Changes:
- Fix build break issues
Change-Id: I43d7484db4af02db59da14576f756f10d14f3f25
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 8 Nov 2023 05:07:57 +0000 (14:07 +0900)]
Fix build break issues
- The namespace is changed from tizen_8.0.
- The AppType enum class is not defined in tizen_7.0.
Change-Id: I115b1d2e8c86d447a39568618888cbe64187be00
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 8 Nov 2023 04:21:25 +0000 (13:21 +0900)]
Release version 1.58.10
Changes:
- Terminate sub app
Change-Id: I343ea6f7d0b4f74314083807b0ae172f37ca1bd6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 8 Nov 2023 01:38:08 +0000 (10:38 +0900)]
Terminate sub app
If the leader process is terminated while executing an application,
amd should terminate the sub application.
And, when the application type is not a component-based application,
the process must be terminated even though the process does not handle
the termination request properly.
Change-Id: If06788d09dc22a6c16437a418ed23d7357da0826
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 2 Nov 2023 09:16:24 +0000 (18:16 +0900)]
Release version 1.58.9
Changes:
- Fix restart contition
Change-Id: I1a44d08053c23460b3efe8554c566160285df9af
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Mon, 23 Oct 2023 09:17:21 +0000 (18:17 +0900)]
Fix restart contition
If autorestart option is true, the value is "1".
Change-Id: I83fc46ccf3f4a1d398621ebdc83ac1650f262289
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 19 Oct 2023 04:51:54 +0000 (13:51 +0900)]
Release version 1.58.8
Changes:
- Add MemoryLimit option to service file
Change-Id: I248c29f563d224e5678ddf300cbaed450719b277
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 17 Oct 2023 07:31:56 +0000 (16:31 +0900)]
Add MemoryLimit option to service file
This is for memory leak checking.
Change-Id: Iac2b9963ebc0f702615ba35625aa3f9386451c86
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Wed, 6 Sep 2023 23:48:04 +0000 (08:48 +0900)]
Release version 1.58.7
Changes:
- Fix segmentation fault
Change-Id: I37bdbccd9bd63cd90dc7cc1e6814076b9142c187
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 6 Sep 2023 23:08:54 +0000 (08:08 +0900)]
Fix segmentation fault
When user log off, amd tries to remove the app status of the list.
In this time, the problem occurs.
Change-Id: I551c472246f88138bf4e8c6bee3372905ff95d00
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 8 Aug 2023 23:29:07 +0000 (08:29 +0900)]
Release version 1.58.6
Changes:
- Fix static analysis issues
- Fix memory leak
- Fix memory leak
- Modify AMD database API
- Modify handling pending requests
Change-Id: I34896d708c02765a28640c4b2c0a1859b4311e97
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 4 Aug 2023 02:22:33 +0000 (11:22 +0900)]
Modify handling pending requests
The SetTimer() method is added to the Request class. The method sets
a timer using the interval that is calculated with the timeout variable.
And, the log is added for debugging.
Change-Id: Ibb0636f8f3fc174948ae57e9b987c9ad13d4f6e1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 3 Aug 2023 05:32:44 +0000 (14:32 +0900)]
Modify AMD database API
To reduce memory usage, amd opens and closes the database repeatedly
in the loop.
Change-Id: I6db87bbbe38ad7b2b08e237d005bda4b8a4a3ed5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 3 Aug 2023 06:47:00 +0000 (15:47 +0900)]
Fix memory leak
This patch fixes the following case:
+------------------------------------------------------------------------------+
25 bytes in 1 blocks are definitely lost in loss record 1,476 of 3,015
==513== at 0x4848A14: malloc (vg_replace_malloc.c:307)
==513== by 0x49C6F77: strdup (strdup.c:42)
==513== by 0x4C46F97: vconf_get_str (vconf.c:1203)
==513== by 0x48EB983: amd::AppStatusManager::InitVconf()
(app_status_manager.cc:901)
==513== by 0x48EBACF: amd::AppStatusManager::Init()::{lambda(void*)#4}::
_FUN(void*) (app_status_manager.cc:1061)
==513== by 0x4B8D247: g_timeout_dispatch (gmain.c:4933)
==513== by 0x4B8C8EB: g_main_dispatch (gmain.c:3381)
==513== by 0x4B8C8EB: g_main_context_dispatch (gmain.c:4099)
==513== by 0x4B8CB6F: g_main_context_iterate.isra.0 (gmain.c:4175)
==513== by 0x4B8CDD7: g_main_loop_run (gmain.c:4373)
==513== by 0x48B7D79: amd_main (amd_main.cc:282)
+------------------------------------------------------------------------------+
Change-Id: Icdb2f3b294e12d794d877f040f768e7991fa0d4e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 3 Aug 2023 00:25:19 +0000 (09:25 +0900)]
Fix memory leak
If the callee application does not use tizen main loop function,
the ResultCb instance is not released.
To release the allocated memory properly, this patch adds a new method to
the ClientChannel. When calling the OnTimedOut, amd releases the ResultCb.
Change-Id: Ia29e7ba632296c56ae95d9fd5febc14ecfcd9e22
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Thu, 25 May 2023 01:53:40 +0000 (10:53 +0900)]
Fix static analysis issues
Changes:
- Initializes an uninitialized value.
Change-Id: If42120f2712782edfaa4aa0b83e959b33e761ea3
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 25 May 2023 00:36:03 +0000 (09:36 +0900)]
Release version 1.58.5
Changes:
- Improve boot sequence load error
Change-Id: If5c30f2cd0b4173a90debb771026e53a76316416
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 24 May 2023 09:29:03 +0000 (18:29 +0900)]
Improve boot sequence load error
In rare cases, appsvc db update may not be performed normally while package db is updated.
To compensate for this, this patch is temporarily queued by checking once more
whether it exists within AppInfo chunk during boot sequence load process.
Change-Id: If86742ef49ba5eb671107429a91a654682c34638
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Fri, 12 May 2023 00:01:23 +0000 (00:01 +0000)]
Release version 1.58.4
Changes:
- Fix duplicate execution
Change-Id: I1fadb12ad149f839120d40a50905079ecf9fa1e2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 11 May 2023 22:47:02 +0000 (22:47 +0000)]
Fix duplicate execution
If the onboot option is activated while AMD executes the application,
the application will run in duplicate. To prevent the duplicate execution,
AMD checks whether the request status is pending or not.
Change-Id: Id538d5e4508d0d6c1fd0d13871be95d679cc8d79
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 21 Apr 2023 04:35:47 +0000 (04:35 +0000)]
Release version 1.58.3
Changes:
- Fix crash issue
Change-Id: Ie09c8baaf915698972e8104df7523516b25ca3df
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 20 Apr 2023 21:59:29 +0000 (21:59 +0000)]
Fix crash issue
When the app_info argument is nullptr, calling the enable_shared_from_this()
makes a crash issue. To prevent invalid access, this patch adds
the nullptr check before calling the enable_shared_from_this().
Change-Id: I6ec4acc979eb794c9d07b259658134ad793744a7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 18 Apr 2023 02:14:00 +0000 (02:14 +0000)]
Release version 1.58.2
Changes:
- Fix static analysis issue
Change-Id: I68d236c4adb73c37c8e8b4a8e0eee37b43d2986c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 18 Apr 2023 02:08:14 +0000 (02:08 +0000)]
Fix static analysis issue
Type:
- Forward null
Change-Id: I97b2abd061728ca23ec3f15a331bf466bd5c8015
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 17 Apr 2023 07:04:10 +0000 (07:04 +0000)]
Release version 1.58.1
Changes:
- Separate NUIGadgetViewer package from amd package
Change-Id: Ie8d13cf8070a8b832568054f362ee90ce0f00f4f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 17 Apr 2023 06:40:57 +0000 (06:40 +0000)]
Separate NUIGadgetViewer package from amd package
The org.tizen.NUIGadgetViewer rpm is added.
Change-Id: I7640d5bda4e52eed9930bba50058924247019e86
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 14 Apr 2023 00:51:07 +0000 (00:51 +0000)]
Release version 1.58.0
Changes:
- Support NUIGadgetViewer
Change-Id: Ie3a8edd1e48fa66540daddfbe546ff6152d64004
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 21 Mar 2023 09:35:07 +0000 (09:35 +0000)]
Support NUIGadgetViewer
When the target application ID is "org.tizen.NUIGadgetViewer", AMD assigns
the mount information for NUIGadget to the bundle object.
This patch includes the "org.tizen.NUIGadgetViewer" tpk file for installation.
Change-Id: Iab29b2ec86818794c048b3b9f004439228018592
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 10 Mar 2023 07:05:33 +0000 (07:05 +0000)]
Release version 1.57.32
Changes:
- Consider appinfo reload
Change-Id: Id160f437eb5a9a33fa356f2d3c46f1d3cd4cd2b1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 10 Mar 2023 04:02:27 +0000 (04:02 +0000)]
Consider appinfo reload
When the application information is loading again, AMD removes all
app infos. If the application information is reloaded, AMD will be crashed.
To avoid the crash issue, this patch changes the member variable of
the LaunchContext class to the shared_ptr.
Change-Id: If5e231eb570fcfd7980b24c45e2d81271ca6f359
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Mon, 13 Feb 2023 07:59:43 +0000 (16:59 +0900)]
Release version 1.57.31
Changes:
- Fix wong component type check condition
Change-Id: I8fcea2ab83ba43c974937fca2026acdfbda49406
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 13 Feb 2023 07:57:35 +0000 (16:57 +0900)]
Fix wong component type check condition
This patch fixes the wrong previous patch.
Change-Id: I7461ba970056817f20c31d52fbce62d03547cab8
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 13 Feb 2023 01:32:37 +0000 (10:32 +0900)]
Release version 1.57.30
Changes:
- Add initializing an uninitialized variable
Change-Id: I7f0376ffa58840fe5912cc978f38dadb6c22c596
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 13 Feb 2023 00:47:37 +0000 (09:47 +0900)]
Add initializing an uninitialized variable
Change-Id: Ic0e9f952af05e65d0bd2191a5298e4e32d136e80
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 13 Feb 2023 00:43:23 +0000 (09:43 +0900)]
Release version 1.57.29
Changes:
- Modify app status setting logic in RegisterPID
Change-Id: Ic0e996736fcc6d266af79707541c885c10bef28a
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 10 Feb 2023 04:56:19 +0000 (13:56 +0900)]
Modify app status setting logic in RegisterPID
Among the apps registered as RegisterPID(),
there is a problem that the status does not change to BG sometimes.
This patch fixes the status setting logic to prevent these issues.
Change-Id: I4fcc7d1bb5f57bdf6d4cdb916bd5023cb2ff44c1
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 7 Feb 2023 02:12:05 +0000 (11:12 +0900)]
Release version 1.57.28
Changes:
- Revert "Change journal mode to wal"
- Change priority of wayland init
- Add amd priority enum values
Change-Id: I52b499c44f85577db8239f0f1560912572b1d79c
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 7 Feb 2023 01:41:20 +0000 (10:41 +0900)]
Add amd priority enum values
Some values were added to clarify the priority relationship of amd jobs.
Change-Id: Ibd740ddaf812bfcebcd873ef8f3f7b4859d73bb7
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 6 Feb 2023 05:51:57 +0000 (14:51 +0900)]
Change priority of wayland init
there is a case of accessing the display handle before the wayland init is completed.
e.g., __splash_screen_create_image()
This patch increases the priority of the __init_wl() call to reduce this problem.
Change-Id: I8b2bdb2e50a218894d6b9e951793e4b5aa4e957a
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
HwanKyu Jhun [Fri, 3 Feb 2023 05:51:38 +0000 (05:51 +0000)]
Revert "Change journal mode to wal"
This reverts commit
ba73de1e25265d03f6530ccf99e1fed4bbd8c949.
Calling fdatasync() is not effected to the performance. Because, the database exists i n the tmpfiles(ramdisk).
Change-Id: I2871c9ff09edb436009d44fa4eee7641a4cd2626
Hwankyu Jhun [Fri, 3 Feb 2023 01:31:47 +0000 (01:31 +0000)]
Release version 1.57.27
Changes:
- Change journal mode to wal
Change-Id: I5d8fef7d6fbffb95fd36f79833dce4157d5d921e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 3 Feb 2023 00:00:33 +0000 (00:00 +0000)]
Change journal mode to wal
To reduce calling fsync(), this patch changes the journal mode to
WAL.
Change-Id: I842f01b05070915a63a4ad7fa33e702c7794c1e1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 2 Feb 2023 04:03:43 +0000 (04:03 +0000)]
Release version 1.58.0
Changes:
- Add res pkgids to bundle for launching
- Prevent resource package ID duplication
Change-Id: I15b5c8a502bd0dbd6a4264bd46c805d25e8731e5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 10 Jan 2023 22:54:23 +0000 (22:54 +0000)]
Prevent resource package ID duplication
If the resource pakcage has the allowed resource and the global resource,
the package ID is appended into the vector twice. This patch is to
prevent the duplication of setting the resource package ID.
Change-Id: I15ada94de4719868cb82ee1fa67bf9d7600a733b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Sangyoon Jang [Fri, 18 Nov 2022 07:10:48 +0000 (16:10 +0900)]
Add res pkgids to bundle for launching
Change-Id: I13ba0b971c815613f545dc5a2593ffc3fff841fb
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Hwankyu Jhun [Thu, 2 Feb 2023 03:06:39 +0000 (03:06 +0000)]
Release version 1.57.25
Changes:
- Fix wrong if statement about setting bg launch
Change-Id: Ic6a9254f4463e771255615179fd21b37d1df0710
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 2 Feb 2023 03:01:30 +0000 (03:01 +0000)]
Fix wrong if statement about setting bg launch
The default value of the background launch option is 'true'.
If the background launch is not set, AMD sets the background launch is 'true'.
Change-Id: I24f4ccccd718e1497181f87eb4c6cc06399edd40
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 2 Feb 2023 01:28:58 +0000 (01:28 +0000)]
Release version 1.57.24
Changes:
- Fix static analysis issue
Change-Id: I2818d7c104073295ab8a06438024574389093dc8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 2 Feb 2023 01:19:22 +0000 (01:19 +0000)]
Fix static analysis issue
Type:
- Dereference after null check
Change-Id: I33526c69fa20ea67ae28840ecd1cdb8a5f1e2172
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Tue, 31 Jan 2023 06:39:44 +0000 (15:39 +0900)]
Release version 1.57.23
Changes:
- Change request scheduling policy
Change-Id: Ia784186cf26e4c046270ba889770da2badf29b05
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 31 Jan 2023 05:15:40 +0000 (14:15 +0900)]
Change request scheduling policy
In some low specification environments, g_idle_add() causes performance degradation.
This patch modifies the scheduling policy to reduce
g_idle_add() and resource_get_cpu_boosting_level() calls.
Change-Id: I37d3c1214ac0166c97077b860c096c97be641361
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Fri, 27 Jan 2023 08:13:42 +0000 (08:13 +0000)]
Release version 1.57.22
Changes:
- Fix cpu boosting level check
Change-Id: I2079f0342730af035d75f22478096ff39205c589
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 27 Jan 2023 07:59:28 +0000 (07:59 +0000)]
Fix cpu boosting level check
To reduce calling fgets() in the resource API, AMD sets the tid and
the tid_count.
Change-Id: Ie8fddfae91dc9c1cd2501c6237cefad0537b3aac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 26 Jan 2023 06:54:14 +0000 (06:54 +0000)]
Release version 1.57.21
Changes:
- Add log print for debugging
Change-Id: I1b58d4d63419a96c1b3e750746bd5f3ac03a9883
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 26 Jan 2023 05:18:42 +0000 (05:18 +0000)]
Add log print for debugging
This patch is to debug the performance of calling
the resource_get_cpu_boosting_level() function.
Change-Id: Idb26fb50a817a6dfd381b849c2f661433619b397
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 25 Jan 2023 00:53:58 +0000 (00:53 +0000)]
Release version 1.57.20
Changes:
- Fix typo of error message
- Fix invalid access
Change-Id: Ic19b98a3dd97a0fca179195b7167faf16f093ad1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 25 Jan 2023 00:01:48 +0000 (00:01 +0000)]
Fix invalid access
The RuaThread+ should not access the app status.
Before pushing the data to the shared queue, AMD adds the needed data to
the rua data.
Change-Id: I5d2509260e3e201457bfa9917bc96d7e40fbc7a2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 17 Jan 2023 07:47:06 +0000 (07:47 +0000)]
Fix typo of error message
- 'Faled' -> 'Failed'
Change-Id: Ie2901a4ae3eea3d83e9a7c1ec7f78717cc7f7d1d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Thu, 12 Jan 2023 03:16:02 +0000 (12:16 +0900)]
Release version 1.57.19
Changes:
- Change error code of _launch_start_app()
Change-Id: I15116c8c77e3e4fbf467111c7f90cdef89b725da
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 12 Jan 2023 03:05:10 +0000 (12:05 +0900)]
Change error code of _launch_start_app()
This patch fix to return ENOENT when there is no appid
for backward compatibility with previous versions.
Change-Id: Ie654f952ed87cb8582a21d53f7afcbda57e96919
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Tue, 10 Jan 2023 10:11:18 +0000 (10:11 +0000)]
Release version 1.57.18
Changes:
- Add worker thread for rua
Change-Id: I02e1a1ff0aaa2a6eb2d531cc9452ccbfd5d0bc23
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 10 Jan 2023 08:21:00 +0000 (08:21 +0000)]
Add worker thread for rua
When calling rua APIs, amd is delayed. To prevent making delay issues,
the amd-mod-rua creates a new thread for calling rua APIs.
Change-Id: Ie1b4fbdd847e9dffac1d9f6334163835c8d571ba
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 5 Jan 2023 03:10:57 +0000 (03:10 +0000)]
Release version 1.57.17
Changes:
- Reduce calling AppStatusDao::UpdateAppStatus method
Change-Id: Ia529127bf875fa786409c6e4ef33bf080de4373b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 5 Jan 2023 02:53:55 +0000 (02:53 +0000)]
Reduce calling AppStatusDao::UpdateAppStatus method
To reduce calling AppStatusDao::UpdateAppStatus() method, AMD doesn't
call it while updating the app status.
When calling the sqlite3_step() and the sqlite3_exec(), calling the fdatasync()
is occurred. This patch is to reduce it for system performance.
Change-Id: I67cfc1c3effd14364e5a7a9086f3fe31f85a76d8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Fri, 30 Dec 2022 04:36:38 +0000 (13:36 +0900)]
Release version 1.57.16
Changes:
- Fix static analysis issues
Change-Id: I44035c86153dfbaa495fcd30ccff1d1a2a8d1585
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 30 Dec 2022 01:28:23 +0000 (10:28 +0900)]
Fix static analysis issues
To prevent int to size_t casting, this patch changes the type of
variable which be casted to size_t.
Change-Id: I5a90f83d444124fc6764feea1828b16faf397e51
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Thu, 29 Dec 2022 06:08:18 +0000 (06:08 +0000)]
Release version 1.57.15
Changes:
- Check previous total app number
Change-Id: I705a87c3f9d0ed55aa8aaaea7629c5f56ec86da1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 28 Dec 2022 05:16:36 +0000 (05:16 +0000)]
Check previous total app number
To reduce sending the update event to launchpad-process-pool, AMD checks
the previous total app number. AMD sends the update event to
launchpad-process-pool when the previous total is zero and the current
total is greater than zero.(or the previous total is greater than zero
and the current total is zero)
Change-Id: Id01e64111ed94c1b85a4515451440c45f03b1079
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 28 Dec 2022 10:13:35 +0000 (10:13 +0000)]
Release version 1.57.14
Changes:
- Remove socket check before sending app request
Change-Id: I5448ff1db1570d67dcfa64e57c4275b099c4bea3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 28 Dec 2022 10:08:07 +0000 (10:08 +0000)]
Remove socket check before sending app request
This patch is for backward compatibility. The application developer
expects the app launch request is delivered even if the error is received
to the caller application.
Change-Id: Iec675b52bc65b86369b22cdbfc8ecdc3fe8c7f92
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Tue, 20 Dec 2022 09:59:44 +0000 (18:59 +0900)]
Release version 1.57.13
Changes:
- Merge wayland prepare and check callbacks
Change-Id: I649e68ab159a4359518dfde330802cf6e7543310
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>