platform/core/uifw/aurum.git
8 months ago[Tizen] Modify priviliage of org.tizen.aurum-bootstrap. 63/315463/1 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20241218.155805
Wonsik Jung [Thu, 1 Aug 2024 07:49:05 +0000 (16:49 +0900)]
[Tizen] Modify priviliage of org.tizen.aurum-bootstrap.

Modify priviliage of org.tizen.aurum-bootstrap for user binary.

Change-Id: I466c79e3b90fad73870b790ba9a7ef9b2041edca

11 months agolibaurum: Introduce new getParent API 83/310483/1 accepted/tizen/8.0/unified/20240430.160541
Hosang Kim [Wed, 24 Apr 2024 10:43:22 +0000 (19:43 +0900)]
libaurum: Introduce new getParent API

Change-Id: I9d7be2d670286b949d5461a9ab0d1d59b1659416
(cherry picked from commit 57694d32a19d6d5c5e7275daf29c5af0f19b54d0)

12 months agolibaurum: add description(subtext) information. 99/310199/1 accepted/tizen/8.0/unified/20240424.172450
Hosang Kim [Wed, 24 Apr 2024 05:00:03 +0000 (14:00 +0900)]
libaurum: add description(subtext) information.

Change-Id: I8eae2f7f259a03eabebdf6fa755c8db0f697bf21
(cherry picked from commit 9436e77080d8415bd02f590ee3bbbf03a39c70ec)

12 months agoMerge branch 'tizen' into tizen_8.0
Hosang Kim [Mon, 22 Apr 2024 07:46:56 +0000 (16:46 +0900)]
Merge branch 'tizen' into tizen_8.0

Change-Id: Id1a37b894a59000fd9053d36808a880b925bae81

12 months agolibaurum: Introduce next/prev/first/last API 68/309968/5
Hosang Kim [Thu, 18 Apr 2024 11:09:44 +0000 (20:09 +0900)]
libaurum: Introduce next/prev/first/last API

Change-Id: Icbf4fda7c3bdf799bc02c5f332ca32bdb7fa5e57

12 months agolibaurum: Introduce new moveTo API 45/309845/4
Hosang Kim [Wed, 17 Apr 2024 07:22:15 +0000 (16:22 +0900)]
libaurum: Introduce new moveTo API

Change-Id: I5eed0a5290d1a0252bc168efd0be85563f235526

12 months agoAtspiAccessibleWatcher: refactoring processing event for performance. 50/309750/4
Hosang Kim [Tue, 16 Apr 2024 07:39:41 +0000 (16:39 +0900)]
AtspiAccessibleWatcher: refactoring processing event for performance.

1. add processWindowEvent
2. add processPostRender
3. only call dbus function when necessary.

Change-Id: I1e99244f868c7b540b8c7448328f7cbac4f84bbd

12 months agoAtspiAccessibleWatcher: fix memory leak 34/309734/1
Hosang Kim [Fri, 12 Apr 2024 10:44:32 +0000 (19:44 +0900)]
AtspiAccessibleWatcher: fix memory leak

If executeAndWaitForEvent is not called, mEventQueue is not freed.
So it looks like memory leak.

Change-Id: Ibe497fc6536b87df039e7d7a4c222cdc41716e00

12 months agoAtspiAccessibleWatcher: separating event registration. 33/309733/1
Hosang Kim [Tue, 16 Apr 2024 06:10:19 +0000 (15:10 +0900)]
AtspiAccessibleWatcher: separating event registration.

Change-Id: Id0edffbd110ca4e87a32261ae7ffc543c29eeff7

12 months agobootstrap: add feature to change port number(50051-50060). 58/309258/4
Hosang Kim [Mon, 8 Apr 2024 04:57:53 +0000 (13:57 +0900)]
bootstrap: add feature to change port number(50051-50060).

ex)
tv
app_launcher -s org.tizen.aurum-bootstrap port 50051

fhub
app_launcher -s org.tizen.aurum-bootstrap port 50052

Change-Id: I4b4fef76d8815192a06a54fcb1dc0307515797a4

12 months agoFix memory leak in ATSPI event callback. 84/308984/2
Wonsik Jung [Wed, 3 Apr 2024 08:29:33 +0000 (17:29 +0900)]
Fix memory leak in ATSPI event callback.

Fix Memory leak in ATSPI event callback.
The memory leak is related to application instance.

Change-Id: I8ac3106ef409ad0691cf78d4d45f42f232d45d26

12 months agoBump up version 1.0.2. 15/308715/1 accepted/tizen/unified/20240329.230546 accepted/tizen/unified/x/20240401.142521
jykeon [Fri, 29 Mar 2024 06:39:52 +0000 (15:39 +0900)]
Bump up version 1.0.2.

Change-Id: Ibce0b0de43f68f6c75870cf9c869cfa0fcdbc806
Signed-off-by: jykeon <jykeon@samsung.com>
12 months agoFix memory leak for at-spi event. 93/308693/1
Wonsik Jung [Fri, 29 Mar 2024 02:26:41 +0000 (11:26 +0900)]
Fix memory leak for at-spi event.

This patch serves to address potential memory leaks and input parameter exception issues.

Change-Id: Ica681deeef809892ee00b202a1d96153dd191352

12 months agoAurum: add updateApplication for updateXpath accepted/tizen/8.0/unified/20240329.122754
Hosang Kim [Mon, 25 Mar 2024 11:15:31 +0000 (20:15 +0900)]
Aurum: add updateApplication for updateXpath

Change-Id: I00b3827eccfe33ad97fd85a7abd4ae19cb4853b9

12 months agoAurum: add updateApplication for updateXpath
Hosang Kim [Mon, 25 Mar 2024 11:15:31 +0000 (20:15 +0900)]
Aurum: add updateApplication for updateXpath

Change-Id: I00b3827eccfe33ad97fd85a7abd4ae19cb4853b9

13 months agoMerge branch 'tizen' into tizen_8.0
Hosang Kim [Mon, 25 Mar 2024 02:58:33 +0000 (11:58 +0900)]
Merge branch 'tizen' into tizen_8.0

Change-Id: Ie0308b2d441c4210ab5f25e751842b982e0f5e50

13 months agoaurum: support xpath creation when processes name are same.
Hosang Kim [Thu, 21 Mar 2024 10:42:29 +0000 (19:42 +0900)]
aurum: support xpath creation when processes name are same.

Use name and process id as key value.

Change-Id: If237b63840c0bfd1157f9f622d931e5c244fa7bb

13 months agoAurumXML: fix strict weak ordering.
Hosang Kim [Mon, 18 Mar 2024 04:43:17 +0000 (13:43 +0900)]
AurumXML: fix strict weak ordering.

Change-Id: I444ac7f512abfbef2340f132d83964ac236ed903

13 months agolibaurum: fix memory leak case.
Hosang Kim [Thu, 14 Mar 2024 06:48:15 +0000 (15:48 +0900)]
libaurum: fix memory leak case.

Free node info before return.
Change-Id: I0bb1c81c974b1ee2abf25fc2b4bfb0b5825aa32a

13 months agoBump up 1.0.1. accepted/tizen/unified/20240322.174323 accepted/tizen/unified/x/20240326.073529
jykeon [Fri, 22 Mar 2024 00:26:26 +0000 (09:26 +0900)]
Bump up 1.0.1.

Change-Id: I57bffc49b660659c36cfaa730a0a3f00ee4ef3e1
Signed-off-by: jykeon <jykeon@samsung.com>
13 months agoaurum: support xpath creation when processes name are same. 36/308336/1
Hosang Kim [Thu, 21 Mar 2024 10:42:29 +0000 (19:42 +0900)]
aurum: support xpath creation when processes name are same.

Use name and process id as key value.

Change-Id: If237b63840c0bfd1157f9f622d931e5c244fa7bb

13 months agoAurumXML: fix strict weak ordering. 00/308100/1 accepted/tizen/unified/20240319.141032 accepted/tizen/unified/20240319.154828 accepted/tizen/unified/x/20240320.133023
Hosang Kim [Mon, 18 Mar 2024 04:43:17 +0000 (13:43 +0900)]
AurumXML: fix strict weak ordering.

Change-Id: I444ac7f512abfbef2340f132d83964ac236ed903

13 months agolibaurum: fix memory leak case. 11/307911/1 accepted/tizen/unified/20240315.033000 accepted/tizen/unified/x/20240318.021738
Hosang Kim [Thu, 14 Mar 2024 06:48:15 +0000 (15:48 +0900)]
libaurum: fix memory leak case.

Free node info before return.
Change-Id: I0bb1c81c974b1ee2abf25fc2b4bfb0b5825aa32a

13 months agoAurum: fix double free corruption accepted/tizen/8.0/unified/20240318.143401
Hosang Kim [Tue, 6 Feb 2024 02:52:31 +0000 (11:52 +0900)]
Aurum: fix double free corruption

Change-Id: I9c439b724f195e8df8ba3637055ea17043d4f39d

13 months agoAurum: Introduce description property
Hosang Kim [Thu, 1 Feb 2024 08:03:00 +0000 (17:03 +0900)]
Aurum: Introduce description property

Some widget use description property for subtext.

Change-Id: Ie7504bba3afdd5d0571ee304eb23d23ba81433c0

13 months agoComparer: fix bug when find element with showing condition.
Hosang Kim [Thu, 1 Feb 2024 05:35:38 +0000 (14:35 +0900)]
Comparer: fix bug when find element with showing condition.

Comparer checks only matchshowing, so it can't find hidden element.
Add checks isshowing also.

Change-Id: I82f491f91ab95e78f99356feace5d6fa405c63cb

14 months agoAurum: fix double free corruption 48/305648/2 accepted/tizen/unified/20240216.161327 accepted/tizen/unified/toolchain/20240311.065632 accepted/tizen/unified/x/20240220.150020
Hosang Kim [Tue, 6 Feb 2024 02:52:31 +0000 (11:52 +0900)]
Aurum: fix double free corruption

Change-Id: I9c439b724f195e8df8ba3637055ea17043d4f39d

14 months agoAurum: Introduce description property 10/305410/3
Hosang Kim [Thu, 1 Feb 2024 08:03:00 +0000 (17:03 +0900)]
Aurum: Introduce description property

Some widget use description property for subtext.

Change-Id: Ie7504bba3afdd5d0571ee304eb23d23ba81433c0

14 months agoComparer: fix bug when find element with showing condition. 91/305391/2
Hosang Kim [Thu, 1 Feb 2024 05:35:38 +0000 (14:35 +0900)]
Comparer: fix bug when find element with showing condition.

Comparer checks only matchshowing, so it can't find hidden element.
Add checks isshowing also.

Change-Id: I82f491f91ab95e78f99356feace5d6fa405c63cb

14 months agolibaurum: Deprecate press* methods accepted/tizen/8.0/unified/20240216.155907
Woochan Lee [Thu, 1 Feb 2024 07:27:42 +0000 (16:27 +0900)]
libaurum: Deprecate press* methods

It does not defined at IDevice.h
Addtional keys will be added in KeyType then use generateKey() method
instead of press*

Change-Id: I3726916bcf69c580d8d520455815bd7c7bc7c819

14 months agolibaurum: Apply clean code to object releated classes
Hosang Kim [Wed, 31 Jan 2024 05:07:11 +0000 (14:07 +0900)]
libaurum: Apply clean code to object releated classes

The IObject interface seems to have been added in the past to define a common interface between the ScreenAnalyzer object and the Ui Object.
It seems better to delete it because there is no abstracted object other than UiObject.

Clean Code was applied to the fact that UiObject calls getAccessibleNode even though it has Node.

Change-Id: Icf1262cd5ef69a596fa8793721219404117eef34

14 months agolibaurum: Apply factory pattern for OCP, LSP using TDD
Woochan Lee [Mon, 29 Jan 2024 11:30:01 +0000 (20:30 +0900)]
libaurum: Apply factory pattern for OCP, LSP using TDD

Adds generateKey method and Tests for this.

apply factory pattern for Key generates it able to be added or changed
without changing exising code.

It also no problem in the operation of the program even if an object of a child
class is replaced with an object of the parent class.

For advantaging of being easy to maintain and highly extensibel.

Change-Id: I5ee504a82f2f7cc5c3ffea9be8914034975bf015

14 months agolibaurum: Add ISearchable interface for common methods
Hosang Kim [Fri, 26 Jan 2024 09:20:57 +0000 (18:20 +0900)]
libaurum: Add ISearchable interface for common methods

Implement the ISearchable abstract class in UiObject and UiDevice
to improve code readability and maintainability by separating interface from implementation.

Change-Id: I2ef4d467024f0971622b7f97bba1a6daee30b15a

14 months agolibaurum: Applying strategy pattern for OCP
Woochan Lee [Thu, 25 Jan 2024 12:22:35 +0000 (21:22 +0900)]
libaurum: Applying strategy pattern for OCP

Existing code was violating the SOLID principle OCP by being closed for additional events.

To solve this problem, the strategy pattern was applied so that even if new events were added,
the existing business logic remained unchanged and the structure was improved so that new classes could be added.

Change-Id: I386ef353d9a0427dc8e32a89fb1e386a30bafc76

14 months agolibaurum: Refactoring using TDD to observe the SRP
Woochan Lee [Thu, 25 Jan 2024 07:37:51 +0000 (16:37 +0900)]
libaurum: Refactoring using TDD to observe the SRP

The existing AccessibleWatcher was handling event processing and app managing.
Since this violates the single responsibility principle, AccessibleWatcher is responsible for event processing only,
and the structure has been changed so that AccessibleAppManager manages apps.

To this end, we created a test with a structure that adds a MockAccessibleAppManager,
and made sure that the test is satisfied through additional implementation.

Change-Id: I8a619384ac5a7d62b89cd16c960875e56a4a1276

14 months agolibaurum: Deprecate press* methods 04/305404/1
Woochan Lee [Thu, 1 Feb 2024 07:27:42 +0000 (16:27 +0900)]
libaurum: Deprecate press* methods

It does not defined at IDevice.h
Addtional keys will be added in KeyType then use generateKey() method
instead of press*

Change-Id: I3726916bcf69c580d8d520455815bd7c7bc7c819

14 months agolibaurum: Apply clean code to object releated classes 98/305298/2
Hosang Kim [Wed, 31 Jan 2024 05:07:11 +0000 (14:07 +0900)]
libaurum: Apply clean code to object releated classes

The IObject interface seems to have been added in the past to define a common interface between the ScreenAnalyzer object and the Ui Object.
It seems better to delete it because there is no abstracted object other than UiObject.

Clean Code was applied to the fact that UiObject calls getAccessibleNode even though it has Node.

Change-Id: Icf1262cd5ef69a596fa8793721219404117eef34

14 months agolibaurum: Apply factory pattern for OCP, LSP using TDD 72/305172/3
Woochan Lee [Mon, 29 Jan 2024 11:30:01 +0000 (20:30 +0900)]
libaurum: Apply factory pattern for OCP, LSP using TDD

Adds generateKey method and Tests for this.

apply factory pattern for Key generates it able to be added or changed
without changing exising code.

It also no problem in the operation of the program even if an object of a child
class is replaced with an object of the parent class.

For advantaging of being easy to maintain and highly extensibel.

Change-Id: I5ee504a82f2f7cc5c3ffea9be8914034975bf015

14 months agolibaurum: Add ISearchable interface for common methods 88/305088/6
Hosang Kim [Fri, 26 Jan 2024 09:20:57 +0000 (18:20 +0900)]
libaurum: Add ISearchable interface for common methods

Implement the ISearchable abstract class in UiObject and UiDevice
to improve code readability and maintainability by separating interface from implementation.

Change-Id: I2ef4d467024f0971622b7f97bba1a6daee30b15a

14 months agolibaurum: Applying strategy pattern for OCP 22/304922/2
Woochan Lee [Thu, 25 Jan 2024 12:22:35 +0000 (21:22 +0900)]
libaurum: Applying strategy pattern for OCP

Existing code was violating the SOLID principle OCP by being closed for additional events.

To solve this problem, the strategy pattern was applied so that even if new events were added,
the existing business logic remained unchanged and the structure was improved so that new classes could be added.

Change-Id: I386ef353d9a0427dc8e32a89fb1e386a30bafc76

14 months agolibaurum: Refactoring using TDD to observe the SRP 04/304904/3
Woochan Lee [Thu, 25 Jan 2024 07:37:51 +0000 (16:37 +0900)]
libaurum: Refactoring using TDD to observe the SRP

The existing AccessibleWatcher was handling event processing and app managing.
Since this violates the single responsibility principle, AccessibleWatcher is responsible for event processing only,
and the structure has been changed so that AccessibleAppManager manages apps.

To this end, we created a test with a structure that adds a MockAccessibleAppManager,
and made sure that the test is satisfied through additional implementation.

Change-Id: I8a619384ac5a7d62b89cd16c960875e56a4a1276

14 months agolibaurum: Add test case for new refresh interface accepted/tizen/8.0/unified/20240201.164548
Woochan Lee [Fri, 19 Jan 2024 07:44:28 +0000 (16:44 +0900)]
libaurum: Add test case for new refresh interface

This patch contains the test case used for TDD when writing the patch below
which was missing when relfecting the previous patch.

libaurum: new interface applied to improve performance

In addition, it includes code deduplication and removal of unnecessary clear action to improve performance.

Change-Id: I68525d3d8d9bf03f3c94452de26f22f44063fcff

14 months agolibaurum: Add Mock and unit tests for getMatches* interfaces
Woochan Lee [Tue, 23 Jan 2024 07:21:12 +0000 (16:21 +0900)]
libaurum: Add Mock and unit tests for getMatches* interfaces

Added a mock and tests for and interfaces that operates using UIFW atspi bridge.

Change-Id: I146402e07d43319f6392ec467a720b6c3289efe3

14 months agoIntroduce new getMatchesInMatches API.
Hosang Kim [Wed, 3 Jan 2024 10:47:30 +0000 (19:47 +0900)]
Introduce new getMatchesInMatches API.

The getMatchesInMatches API gets the object that satisfied with both condition in the object tree.
It runs quickly because the search happens in the app.

Change-Id: I377fd73360014d4c99d43d388257d27dc1247c87

14 months agolibaurum: new interface applied to improve performance
Woochan Lee [Thu, 4 Jan 2024 11:15:11 +0000 (20:15 +0900)]
libaurum: new interface applied to improve performance

Use GetNodeInfo interface brings each node's information into a single call
rather than individual API calls, resulting in a huge performance improvement.

Change-Id: Ib76151157f7e750548bdba2f9374188b084aefe7

14 months agolibaurum: add updateInterface and getInterface API
Hosang Kim [Thu, 14 Dec 2023 06:47:21 +0000 (15:47 +0900)]
libaurum: add updateInterface and getInterface API

Atspi interface is a set of pointers to all interfaces supported by an AtspiAccessible.
We able to check possible feature with interface information. e.g. EditableText, Value and so on.

Change-Id: I6122e135035b15950c1a55f40b47cfb785675eda

14 months agoAurumXML: Sort child objects by coordinates.
Hosang Kim [Mon, 11 Dec 2023 10:57:28 +0000 (19:57 +0900)]
AurumXML: Sort child objects by coordinates.

Sometimes the order of child objects is not consistent.
Therefore, we sort them to always ensure the same order.

Change-Id: Ia49c88bc1fa32d1e73ebeca1c8415789d9d1594e

14 months agoIntroduce new getMatches API.
Hosang Kim [Tue, 5 Dec 2023 06:17:04 +0000 (15:17 +0900)]
Introduce new getMatches API.

the getMatches can find objects under specific conditions.
It runs quickly because the search happens in the app.
Internally, this API uses atspi_collection_get_matches and includes a new class, AtspiMatchRuleConvertor, to convert UiSelector to AtspiMatchRule.

Change-Id: I2856a81aa5e70d8290e33faa0df231c95749eb35

14 months agoTakeScreenshot: fix screenshot image buffer size.
Hosang Kim [Mon, 11 Dec 2023 02:20:27 +0000 (11:20 +0900)]
TakeScreenshot: fix screenshot image buffer size.

The reason for multiplying by 4 is that image is a 32-bit RGBA PNG file.
So it is maximum image file size.
Change-Id: I0396310cd104d5e1786c11fd9816a47548858abf

14 months agolibaurum: Add test case for new refresh interface 47/304547/2
Woochan Lee [Fri, 19 Jan 2024 07:44:28 +0000 (16:44 +0900)]
libaurum: Add test case for new refresh interface

This patch contains the test case used for TDD when writing the patch below
which was missing when relfecting the previous patch.

libaurum: new interface applied to improve performance

In addition, it includes code deduplication and removal of unnecessary clear action to improve performance.

Change-Id: I68525d3d8d9bf03f3c94452de26f22f44063fcff

15 months agolibaurum: Add Mock and unit tests for getMatches* interfaces 89/304689/1
Woochan Lee [Tue, 23 Jan 2024 07:21:12 +0000 (16:21 +0900)]
libaurum: Add Mock and unit tests for getMatches* interfaces

Added a mock and tests for and interfaces that operates using UIFW atspi bridge.

Change-Id: I146402e07d43319f6392ec467a720b6c3289efe3

15 months agoIntroduce new getMatchesInMatches API. 94/303694/5 accepted/tizen/unified/20240205.162750 accepted/tizen/unified/x/20240206.004203
Hosang Kim [Wed, 3 Jan 2024 10:47:30 +0000 (19:47 +0900)]
Introduce new getMatchesInMatches API.

The getMatchesInMatches API gets the object that satisfied with both condition in the object tree.
It runs quickly because the search happens in the app.

Change-Id: I377fd73360014d4c99d43d388257d27dc1247c87

15 months agolibaurum: new interface applied to improve performance 64/303764/2
Woochan Lee [Thu, 4 Jan 2024 11:15:11 +0000 (20:15 +0900)]
libaurum: new interface applied to improve performance

Use GetNodeInfo interface brings each node's information into a single call
rather than individual API calls, resulting in a huge performance improvement.

Change-Id: Ib76151157f7e750548bdba2f9374188b084aefe7

15 months agolibaurum: add updateInterface and getInterface API 19/302819/2
Hosang Kim [Thu, 14 Dec 2023 06:47:21 +0000 (15:47 +0900)]
libaurum: add updateInterface and getInterface API

Atspi interface is a set of pointers to all interfaces supported by an AtspiAccessible.
We able to check possible feature with interface information. e.g. EditableText, Value and so on.

Change-Id: I6122e135035b15950c1a55f40b47cfb785675eda

15 months agoAurumXML: Sort child objects by coordinates. 49/302649/3
Hosang Kim [Mon, 11 Dec 2023 10:57:28 +0000 (19:57 +0900)]
AurumXML: Sort child objects by coordinates.

Sometimes the order of child objects is not consistent.
Therefore, we sort them to always ensure the same order.

Change-Id: Ia49c88bc1fa32d1e73ebeca1c8415789d9d1594e

16 months agoIntroduce new getMatches API. 90/302290/4
Hosang Kim [Tue, 5 Dec 2023 06:17:04 +0000 (15:17 +0900)]
Introduce new getMatches API.

the getMatches can find objects under specific conditions.
It runs quickly because the search happens in the app.
Internally, this API uses atspi_collection_get_matches and includes a new class, AtspiMatchRuleConvertor, to convert UiSelector to AtspiMatchRule.

Change-Id: I2856a81aa5e70d8290e33faa0df231c95749eb35

16 months agoTakeScreenshot: fix screenshot image buffer size. 91/302591/2 accepted/tizen_unified_riscv accepted/tizen/unified/20231220.165130 accepted/tizen/unified/riscv/20231226.211524
Hosang Kim [Mon, 11 Dec 2023 02:20:27 +0000 (11:20 +0900)]
TakeScreenshot: fix screenshot image buffer size.

The reason for multiplying by 4 is that image is a 32-bit RGBA PNG file.
So it is maximum image file size.
Change-Id: I0396310cd104d5e1786c11fd9816a47548858abf

17 months agoTests: Fix failed tests and add more negative tests for increase coverege 09/301309/2 accepted/tizen/8.0/unified/20231115.024713
Woochan Lee [Tue, 31 Oct 2023 06:44:07 +0000 (15:44 +0900)]
Tests: Fix failed tests and add more negative tests for increase coverege

fix 17 failed tests
add 25 new tests

Change-Id: I5243e008181fedd9b7d322fbb47950f78fed0b3f
(cherry picked from commit 497f5a3653f6792b7da832665436ce4248bcaf4d)

17 months agolibaurum: Add cache when gets target windows 08/301308/2
Woochan Lee [Mon, 30 Oct 2023 12:04:48 +0000 (21:04 +0900)]
libaurum: Add cache when gets target windows

If a windows related event does not com from at-spi, We can reuse existing information.

Each operation can remove at least 200ms up to 500ms.
Usually, repeated data is requested in one window(app), so in the actual test it can improve great performance.

Change-Id: I25d6b3a1f06548f05a03fce517dfa0b37e6bccb6
(cherry picked from commit 39981eed22d6f4695eddd0a69950a31f9b0a4257)

17 months agoDelete Screen Analyzer client code 07/301307/2
Woochan Lee [Wed, 25 Oct 2023 11:04:47 +0000 (20:04 +0900)]
Delete Screen Analyzer client code

Screen Analyzer server is not working anymore since 2023/05
So currently aurum client codes has become useless
Developed on the client code and the diff is growing so delete all related codes

Change-Id: I8b33c9ded88abfbeff3c6a0420488c2a72e3c07f
(cherry picked from commit 5b8827d524b365fe1f70040670825325dfaff3c3)

17 months agoFix build error 06/301306/1
Woochan Lee [Wed, 25 Oct 2023 06:37:39 +0000 (15:37 +0900)]
Fix build error

Change-Id: I17db0ab2e13d499065e74068fc48c0d3896c7062
(cherry picked from commit 34760ee5814cda6bdca06e8bbb451269bcf3f0ca)

17 months agoaurum-service: code clean up 05/301305/1
Woochan Lee [Mon, 16 Oct 2023 04:29:11 +0000 (13:29 +0900)]
aurum-service: code clean up

It contains below changes

- delete unused header include (config.h)
- update bolier-plate
- use pragma intead of ifdef
- adjust tizen c++ code indentation
- re-arrage header file
- log cleanup

Change-Id: I41e4ff1fc67b9f634cab0994e67d9b748f8bcc96
(cherry picked from commit 946b6652f04abca15886410a3332da47da7d674e)

17 months agoTests: Fix failed tests and add more negative tests for increase coverege 74/300674/4 accepted/tizen/unified/20231115.024849
Woochan Lee [Tue, 31 Oct 2023 06:44:07 +0000 (15:44 +0900)]
Tests: Fix failed tests and add more negative tests for increase coverege

fix 17 failed tests
add 25 new tests

Change-Id: I5243e008181fedd9b7d322fbb47950f78fed0b3f

17 months agolibaurum: Add cache when gets target windows 47/300647/3 accepted/tizen/unified/20231101.174502
Woochan Lee [Mon, 30 Oct 2023 12:04:48 +0000 (21:04 +0900)]
libaurum: Add cache when gets target windows

If a windows related event does not com from at-spi, We can reuse existing information.

Each operation can remove at least 200ms up to 500ms.
Usually, repeated data is requested in one window(app), so in the actual test it can improve great performance.

Change-Id: I25d6b3a1f06548f05a03fce517dfa0b37e6bccb6

17 months agoDelete Screen Analyzer client code 68/300468/2
Woochan Lee [Wed, 25 Oct 2023 11:04:47 +0000 (20:04 +0900)]
Delete Screen Analyzer client code

Screen Analyzer server is not working anymore since 2023/05
So currently aurum client codes has become useless
Developed on the client code and the diff is growing so delete all related codes

Change-Id: I8b33c9ded88abfbeff3c6a0420488c2a72e3c07f

18 months agoFix build error 46/300446/1
Woochan Lee [Wed, 25 Oct 2023 06:37:39 +0000 (15:37 +0900)]
Fix build error

Change-Id: I17db0ab2e13d499065e74068fc48c0d3896c7062

18 months agoaurum-service: code clean up 38/300038/2
Woochan Lee [Mon, 16 Oct 2023 04:29:11 +0000 (13:29 +0900)]
aurum-service: code clean up

It contains below changes

- delete unused header include (config.h)
- update bolier-plate
- use pragma intead of ifdef
- adjust tizen c++ code indentation
- re-arrage header file
- log cleanup

Change-Id: I41e4ff1fc67b9f634cab0994e67d9b748f8bcc96

18 months agoTizenDeviceImpl: fix thread safety 32/300332/1
Hosang Kim [Fri, 20 Oct 2023 06:57:40 +0000 (15:57 +0900)]
TizenDeviceImpl: fix thread safety

Remove static variable for thread safe

Change-Id: I512484329c7c13e5c1bab56c6df3e73ea6bb94fe
(cherry picked from commit e6f8ab46d2cc6c4152a02a2d0e11e3038821a908)

18 months agoTizenDeviceImpl: fix thread safety 06/300306/2 accepted/tizen/unified/20231024.032154
Hosang Kim [Fri, 20 Oct 2023 06:57:40 +0000 (15:57 +0900)]
TizenDeviceImpl: fix thread safety

Remove static variable for thread safe

Change-Id: I512484329c7c13e5c1bab56c6df3e73ea6bb94fe

18 months agoexample: update package version for security 63/299963/1 accepted/tizen/8.0/unified/20231014.183212 accepted/tizen/8.0/unified/20231017.022807 tizen_8.0_m2_release
Hosang Kim [Tue, 10 Oct 2023 05:42:17 +0000 (14:42 +0900)]
example: update package version for security

Change-Id: I9e90e247fef291368e2f2a61ee8756fa8d0088d4
(cherry picked from commit dddc995ce14e36b163a73673035d47bf161fa82b)

18 months agoexample: update package version for security 72/299772/2 accepted/tizen/unified/20231013.095121 accepted/tizen/unified/20231016.042336
Hosang Kim [Tue, 10 Oct 2023 05:42:17 +0000 (14:42 +0900)]
example: update package version for security

Change-Id: I9e90e247fef291368e2f2a61ee8756fa8d0088d4

18 months agodocs: update Gemfile 55/299755/2 accepted/tizen/8.0/unified/20231011.152818
Hosang Kim [Fri, 6 Oct 2023 06:01:13 +0000 (15:01 +0900)]
docs: update Gemfile

Change-Id: Ia903d2075cca5f6b8614746428c7cf906538ee15
(cherry picked from commit 8cecbbd250bda7eef92c02c7d86789c210996e11)

18 months agosample: remove legacy sample 54/299754/1
Hosang Kim [Fri, 6 Oct 2023 04:41:06 +0000 (13:41 +0900)]
sample: remove legacy sample

Change-Id: I283384897cb1977fd47b3fdaa05137e244b33ed9
(cherry picked from commit fb511e5cdd0e1e2f5fa87e0a35ef0bc85c12c455)

18 months agodocs: update Gemfile 49/299649/1 accepted/tizen/unified/20231010.162029
Hosang Kim [Fri, 6 Oct 2023 06:01:13 +0000 (15:01 +0900)]
docs: update Gemfile

Change-Id: Ia903d2075cca5f6b8614746428c7cf906538ee15

18 months agosample: remove legacy sample 46/299646/1
Hosang Kim [Fri, 6 Oct 2023 04:41:06 +0000 (13:41 +0900)]
sample: remove legacy sample

Change-Id: I283384897cb1977fd47b3fdaa05137e244b33ed9

19 months agoAurumXML: clear XPath cache when findObject is called 74/296474/4 accepted/tizen/8.0/unified/20231005.093951 accepted/tizen/unified/20230919.091747
Hosang Kim [Fri, 28 Jul 2023 11:16:51 +0000 (20:16 +0900)]
AurumXML: clear XPath cache when findObject is called

Change-Id: If04238af44c852029199aad5212d36540f954024

20 months agoFix Svace Issue 14/297414/1 accepted/tizen/unified/20230821.103303
Wonsik Jung [Fri, 18 Aug 2023 03:28:48 +0000 (12:28 +0900)]
Fix Svace Issue

Fix Svace Issue to check input param

Change-Id: I259d8b1f8facc9e5b80eeee82f0782a3ce8ad112

20 months agoFix coverity issue (copy data during iteration) 84/297284/1
ANZ1217 [Wed, 16 Aug 2023 08:17:15 +0000 (17:17 +0900)]
Fix coverity issue (copy data during iteration)

Change-Id: I629a029f987242addf7bf69ec5b3a4af34f0226d

20 months agoAtspiAccessibleWatcher: fix memory leak 14/296914/1 accepted/tizen/unified/20230809.072000
Hosang Kim [Mon, 7 Aug 2023 07:10:03 +0000 (16:10 +0900)]
AtspiAccessibleWatcher: fix memory leak

Change-Id: I0ee097b8277a96227aee24cbfd0c22e0329fe8a8

21 months agobootstrap: use thread for grpc server 18/295518/2 accepted/tizen/unified/20230713.014419
Hosang Kim [Mon, 10 Jul 2023 07:04:09 +0000 (16:04 +0900)]
bootstrap: use thread for grpc server

Revert "bootstrap: remove unnecessary mainloop and thread."

This reverts commit 0ff9860541bb67fc3372d1261a047c1d29e24412.

Change-Id: I3cd4511e3da32443c373377be1d15582f61451f8

21 months agoAurumXML: enhance speed of creating XPath and disable creating XPath 66/295366/2
Hosang Kim [Thu, 6 Jul 2023 06:03:41 +0000 (15:03 +0900)]
AurumXML: enhance speed of creating XPath and disable creating XPath
partially.

Change-Id: Ie740042a901322c75eb1e88568adb647998682a8

21 months agolibaurum: disable dbus timeout for avoiding abort 32/295132/1 accepted/tizen/unified/20230705.063713
Hosang Kim [Mon, 3 Jul 2023 06:59:11 +0000 (15:59 +0900)]
libaurum: disable dbus timeout for avoiding abort

Aurum uses Grpc but Grpc makes thread when protocol function is called.
So there is dbus timeout race condition, sometimes aurum bootstrap is
aborted.
Use atspi_set_timeout(-1, -1), dbus timeout is disabled.

Change-Id: Ib9b3489ca13c44df72c49a911083374ba54f37ad

21 months agolibaurum: Give name to input generator 30/294930/1 accepted/tizen/unified/20230630.124046
Woochan Lee [Thu, 29 Jun 2023 02:17:41 +0000 (11:17 +0900)]
libaurum: Give name to input generator

Signed-off-by: Woochan Lee <wc0917.lee@samsung.com>
Change-Id: Id6caea8014c21f5073b155910efb6fd63e4fa9fa

22 months agoAtspiAccessibleWatcher: fix setXMLsync 12/294612/3 accepted/tizen/unified/20230623.160703
Hosang Kim [Wed, 21 Jun 2023 11:26:13 +0000 (20:26 +0900)]
AtspiAccessibleWatcher: fix setXMLsync

setXMLsync is not wokring when turning on XMLsync.

Change-Id: I1e2315b8ec9e9cbe5325bc6e724481bcef38d7d5

22 months agoAdd tpk-backend command in setup.py 44/294644/1
Woochan Lee [Thu, 22 Jun 2023 06:45:06 +0000 (15:45 +0900)]
Add tpk-backend command in setup.py

The tpk-backend command has been deleted due to an issue at fhub binary creation.
For proper execution of aurum-bootstrap, tpk-backend should be perfomed at setup time instead.

Change-Id: If4643fe2f93dc39c64555d6952190c3fc1571d53

22 months agoComparer: fix printing log 63/294563/2
Hosang Kim [Wed, 21 Jun 2023 07:17:48 +0000 (16:17 +0900)]
Comparer: fix printing log

Comparer logic is changed, so print current node instead of root node.

Change-Id: I9f83fb88067dbc5180415cf5606c7150ee9c71ec

22 months agoAurum: apply auto rotation for screenshot 25/294425/3
Hosang Kim [Mon, 19 Jun 2023 05:54:27 +0000 (14:54 +0900)]
Aurum: apply auto rotation for screenshot

Change-Id: Ibfaf2ba8321c1125c0cbcdd5b32eb6676d9fe57b

22 months agoaurum: Remove tpk-backend aurum-bootstrap 28/294328/1 accepted/tizen/unified/20230620.022439
Woochan Lee [Fri, 16 Jun 2023 05:58:44 +0000 (14:58 +0900)]
aurum: Remove tpk-backend aurum-bootstrap

It cause binary creation fail cuz rpm install order dependency

Change-Id: I63bc19368112cf49553e753c08c8ffe46fba5355

22 months agolibaurum: Exception handling for idle listen already finished 23/294123/1 accepted/tizen/unified/20230615.060047
Woochan Lee [Tue, 13 Jun 2023 10:36:24 +0000 (19:36 +0900)]
libaurum: Exception handling for idle listen already finished

If event listening loop already finished the idle flag will changed to READY
We need to keep READY status for other event listening.

Change-Id: Ida65b41cfadce3caf8b3d2253a57f93eeb60e99e

22 months agoImprove performance of FindElements Command 23/293423/2 accepted/tizen/unified/20230613.170814
ANZ1217 [Fri, 26 May 2023 09:41:48 +0000 (18:41 +0900)]
Improve performance of FindElements Command

Change-Id: Ic6c99f1b3c0ef45e507dc4115d292134c7d2c42a

23 months agoRevert "Add file for UI automation testing." 33/293333/1
Woochan Lee [Wed, 24 May 2023 10:19:27 +0000 (19:19 +0900)]
Revert "Add file for UI automation testing."

This reverts commit ec26d3bbf01262660e906c7325838efac9d7d4bd.

Change-Id: I74a5ca470ae2944622be4682047d5594d5087b44

23 months agoAdd file for UI automation testing. 94/293294/1
jykeon [Wed, 24 May 2023 03:41:49 +0000 (12:41 +0900)]
Add file for UI automation testing.
It is necessary install guide file and use testing python file.

Signed-off-by: jykeon <jykeon@samsung.com>
Change-Id: Id2383c4eb0b4ccec0f813026cf9e2dd829a0a27a
Signed-off-by: jykeon <jykeon@samsung.com>
23 months agodocs: update aurum.proto for tutorial guide 41/292741/1
Hosang Kim [Fri, 12 May 2023 06:23:10 +0000 (15:23 +0900)]
docs: update aurum.proto for tutorial guide

Change-Id: Idcc0825ba9feb6d62a4d75e2560ae042b4db5da3

23 months agolibaurum: Support EVENT_WINDOW_RENDER_POST event for application 93/292693/1
Woochan Lee [Thu, 11 May 2023 09:18:16 +0000 (18:18 +0900)]
libaurum: Support EVENT_WINDOW_RENDER_POST event for application

Signed-off-by: Woochan Lee <wc0917.lee@samsung.com>
Change-Id: I56fee29e6ae23175cc205e83841e28371eea1ebb

23 months agoTizenDeviceImpl: add exception handling for web app case. 01/292601/1
Hosang Kim [Wed, 10 May 2023 05:38:58 +0000 (14:38 +0900)]
TizenDeviceImpl: add exception handling for web app case.

Web app has two atspi application, but one application doesn't have any
children.

Change-Id: I825caa600cbdce662bc6e5af38992d155e68a004

23 months agoAurum: Introduce GetAngleCommand 97/292297/3
Hosang Kim [Wed, 3 May 2023 07:39:01 +0000 (16:39 +0900)]
Aurum: Introduce GetAngleCommand

Change-Id: I6cf209fd097521accde1506ae7484e4f9269ceba

23 months agoUpdate setXMLSync Command in Aurum document 81/292281/1
ANZ1217 [Wed, 3 May 2023 05:14:06 +0000 (14:14 +0900)]
Update setXMLSync Command in Aurum document

Change-Id: I90bf07ebf53e8f5e32b2062a6853041424dab08d

23 months agoTizenWindow: get rotation information from window server 78/292178/1
Hosang Kim [Fri, 28 Apr 2023 10:03:39 +0000 (19:03 +0900)]
TizenWindow: get rotation information from window server

Change-Id: Ib0279950cbdcd7f0f320d2432447de8cae219e4c

23 months agoupdate README
Hosang Kim [Fri, 28 Apr 2023 06:38:30 +0000 (15:38 +0900)]
update README

Change-Id: I00f290ff3e41bd514800c0af30d0a4218507ee58

2 years agolibaurum: Add window events for automate script 16/292016/2 accepted/tizen/unified/20230427.155836
Woochan Lee [Wed, 26 Apr 2023 07:39:16 +0000 (16:39 +0900)]
libaurum: Add window events for automate script

+ Add require libraries for image processing.

Change-Id: I45b3f97beca90f64024d4789cf5ed6f75488faf0