platform/core/uifw/aurum.git
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

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 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 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 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 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 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 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

2 years agoAurum: Change not to delete XML information when window is minimized 34/291934/1
ANZ1217 [Tue, 25 Apr 2023 07:56:51 +0000 (16:56 +0900)]
Aurum: Change not to delete XML information when window is minimized

Change-Id: I088ad699fbe694405875cffc1efd2c381f9affb6

2 years agoAurum: Introduce SetXMLSync Command 93/291693/6
ANZ1217 [Thu, 20 Apr 2023 08:49:33 +0000 (17:49 +0900)]
Aurum: Introduce SetXMLSync Command

Change-Id: I495fe584ecb55fe4036f305aa73a40fc0a9ed245

2 years agolibaurum: fix type for calculating without miss casting 79/291679/1
Hosang Kim [Thu, 20 Apr 2023 07:16:20 +0000 (16:16 +0900)]
libaurum: fix type for calculating without miss casting

Change-Id: I1eb1c1a5fba05211828a23a2ffbf89151629db0b

2 years agolibaurum: Delete moved header in Aurum.h 96/291296/1
Woochan Lee [Thu, 13 Apr 2023 04:26:53 +0000 (13:26 +0900)]
libaurum: Delete moved header in Aurum.h

TizenWindow.h has been moved to impl.

Change-Id: Ic951c2b3621cdd0334873ef7545b55ac768f35c2

2 years agoMove getWindowRoot() implementation to DeviceImpl 53/291053/3
Daekwang Ryu [Thu, 6 Apr 2023 05:16:21 +0000 (14:16 +0900)]
Move getWindowRoot() implementation to DeviceImpl

The getTizenWindowInfo function depends on Tizen platform.
It has been moved to TizenDeviceImpl.

This change helps in running and implementing UTC.

Change-Id: Icfe725a21e9178244ae7b9698c1be13fa60efb95

2 years agoAurumXML: fix find elements for XPath. 74/291074/1 accepted/tizen/unified/20230413.123737
Hosang Kim [Fri, 7 Apr 2023 10:17:03 +0000 (19:17 +0900)]
AurumXML: fix find elements for XPath.

The previous approach involved creating a new tree and then finding the item, but it has been modified to first find the item and if unsuccessful, then create a new tree.

Change-Id: I409a4af4d7bb6a4bcfb13bfdab002fd78a2b1e20

2 years agolibaurum: change timer logic 02/291002/4
Hosang Kim [Thu, 6 Apr 2023 06:58:23 +0000 (15:58 +0900)]
libaurum: change timer logic

Change-Id: I8ea4544f96b904c68a83680bb2c1c3e8ab041893

2 years agolibaurum: add updateApplication information 95/290995/1
Hosang Kim [Thu, 6 Apr 2023 06:43:02 +0000 (15:43 +0900)]
libaurum: add updateApplication information

Change-Id: Id25717aebac97fd163db004db40c8ab719a40f42

2 years agolibaurum: Delete accidentally merged debuging log 61/290861/1 accepted/tizen/unified/20230411.161256
Woochan Lee [Tue, 4 Apr 2023 08:18:27 +0000 (17:18 +0900)]
libaurum: Delete accidentally merged debuging log

Change-Id: I0a727172ccb8c18ac14a097ee84dfa061c05f8ad

2 years agolibaurum: Add option to receive pixel data of screenshot image 87/290787/3
Woochan Lee [Mon, 3 Apr 2023 07:56:07 +0000 (16:56 +0900)]
libaurum: Add option to receive pixel data of screenshot image

To provide past performance in case that pixel data is needed without stroing image

Remove unnecessary params such as scale, quality.

Change-Id: Ibc6db0b33375a8597b576ba410eb520126335ef5

2 years agolibaurum: change input device name for TV remocon 82/290582/1
Hosang Kim [Wed, 29 Mar 2023 07:47:34 +0000 (16:47 +0900)]
libaurum: change input device name for TV remocon

Change-Id: If498fef7b90f276043ad86625f62e616dd25183d

2 years agoAurum: Improve performance of findElements command 24/290024/5
Chihun Jeong [Fri, 10 Mar 2023 08:28:44 +0000 (17:28 +0900)]
Aurum: Improve performance of findElements command

Change-Id: Iecd9e98bab5e48dccb9a2475f745406fad6c1f46

2 years agolibaurum: Fix error that cause crash when execute getWindowRoot function 84/290484/1
Chihun Jeong [Mon, 27 Mar 2023 08:55:30 +0000 (17:55 +0900)]
libaurum: Fix error that cause crash when execute getWindowRoot function

Change-Id: I2c3f6103f6c639b0f3675773b0623d1becaf16ff

2 years agolibaurum: Fix wrong statement it cause crash 06/290406/1 accepted/tizen/unified/20230327.143735
Woochan Lee [Fri, 24 Mar 2023 05:44:25 +0000 (14:44 +0900)]
libaurum: Fix wrong statement it cause crash

Change-Id: I339237cfcd0ff4e03269adb385d1514659b16cb2

2 years agobootstrap: add return value for checking launchapp command is failure or 17/289317/3
Hosang Kim [Mon, 6 Mar 2023 08:20:26 +0000 (17:20 +0900)]
bootstrap: add return value for checking launchapp command is failure or
not

Change-Id: Ide139b45d04383f183bb2fe4606a487e127ded8a

2 years agolibaurum: Reduce dbus method call for performance 42/290342/2
Woochan Lee [Thu, 23 Mar 2023 09:14:15 +0000 (18:14 +0900)]
libaurum: Reduce dbus method call for performance

Change-Id: Icd2695fbf24937bd9be624db5b261badb3090d5d

2 years agolibaurum: Changes the dbus API for get application list 89/289989/2
Woochan Lee [Fri, 17 Mar 2023 00:34:48 +0000 (09:34 +0900)]
libaurum: Changes the dbus API for get application list

We called too many dbus method for gets application list.
This commit to improve it.

Change-Id: If16ece1e4965fd569f4857f971fc8704e3b4a459

2 years agoaurum: update sample script 16/289316/3
Hosang Kim [Mon, 6 Mar 2023 08:11:11 +0000 (17:11 +0900)]
aurum: update sample script

Change-Id: I56e18cd202e71c28a3f718caf5f149e9b89ab669

2 years agoAurumXML: Improve performance 35/289535/6
Chihun Jeong [Tue, 7 Mar 2023 07:45:29 +0000 (16:45 +0900)]
AurumXML: Improve performance

Change-Id: I3a2fd3ba244b9a6055f1cb3ef2c2f67a4eab08b6

2 years agoFix naming typo of code 40/289640/1
Daekwang Ryu [Mon, 13 Mar 2023 02:09:27 +0000 (11:09 +0900)]
Fix naming typo of code

Change-Id: Idc914d5726e99528808f2bc7f02cd88c3c674d9c

2 years agoFix typos 39/289639/1
Daekwang Ryu [Mon, 13 Mar 2023 01:36:55 +0000 (10:36 +0900)]
Fix typos

Change-Id: I8414df196c668d51fbe917d8adf5f6e8e0d46822

2 years agoIntroduce EVENT_WINDOW_IDLE event 75/288475/12 accepted/tizen/unified/20230310.062704
Woochan Lee [Fri, 17 Feb 2023 04:15:45 +0000 (13:15 +0900)]
Introduce EVENT_WINDOW_IDLE event

It support device idle point to user.
user can use this event instead of waiting ramdom time for ui update.

Change-Id: I72b24ff39b7613484c75280583ce2c41dceddc9b

2 years agolibaurum: core quality improvement 17/288917/3
Woochan Lee [Fri, 24 Feb 2023 09:38:02 +0000 (18:38 +0900)]
libaurum: core quality improvement

Remove unnecessary flag, remove multiple loop statements.

Change-Id: I6a0a97ceaa8f592f0252ed6c778db30c97a30162

2 years agoaurum: change parameter type for improving performance 27/288727/2 accepted/tizen/unified/20230303.162759
Hosang Kim [Wed, 22 Feb 2023 06:28:26 +0000 (15:28 +0900)]
aurum: change parameter type for improving performance

Change-Id: Ic9a55f1fcbffee7d2979397915e43312d2530f26

2 years agoAurumXML: refactoring AurumXML for improving performance 52/288652/1
Hosang Kim [Tue, 21 Feb 2023 04:41:45 +0000 (13:41 +0900)]
AurumXML: refactoring AurumXML for improving performance

Change-Id: I0bc48392281b479457956e6a73ed64ebe9115e23

2 years agolibaurum: add call_once when UiDevice is created for thread safety. 21/288321/1
Hosang Kim [Wed, 15 Feb 2023 05:57:26 +0000 (14:57 +0900)]
libaurum: add call_once when UiDevice is created for thread safety.

UiDevice is singleton object so thread safety is necessary.

Change-Id: I1233fd768ae2e2f57d53fd069167195c965e57e9

2 years agoAurumXML: apply method of creating node partially. 55/287955/4 accepted/tizen/unified/20230215.100725
Hosang Kim [Wed, 8 Feb 2023 06:11:34 +0000 (15:11 +0900)]
AurumXML: apply method of creating node partially.

Change-Id: I5c1d7658cb03b3d427546616268324c79ad3994e

2 years agoaurum-service: Fix Coverity issue 18/288018/1
Woochan Lee [Thu, 9 Feb 2023 06:12:20 +0000 (15:12 +0900)]
aurum-service: Fix Coverity issue

Resource leak waiter variable

Change-Id: Id97851569911914685d8145539f541c8dae470f1

2 years agoaurum: disable line coverage test 00/286800/1 accepted/tizen/unified/20230210.160931
Hosang Kim [Fri, 13 Jan 2023 05:00:19 +0000 (14:00 +0900)]
aurum: disable line coverage test

if aurum unittest is ready, it will be enabled.

Change-Id: I3a667d72c9c5f0cf55de239e257d49d9a5897cc4

2 years agoFix C# link in Aurum index page 2 20/286720/1
Chihun Jeong [Thu, 12 Jan 2023 05:23:25 +0000 (14:23 +0900)]
Fix C# link in Aurum index page 2

Change-Id: I9406cee2ce61609838ba8580c638f8a24a92b8a1

2 years agoFix C# link in Aurum index page 17/286717/1
Chihun Jeong [Thu, 12 Jan 2023 04:59:33 +0000 (13:59 +0900)]
Fix C# link in Aurum index page

Change-Id: Iaaa6a7a59b642674098c4b8e90910a50849bcb9f

2 years agoAdd CsharpGrpc Samples for Aurum Document 10/286510/16
Chihun Jeong [Mon, 9 Jan 2023 06:17:43 +0000 (15:17 +0900)]
Add CsharpGrpc Samples for Aurum Document

Change-Id: I8446e4672c80a13ffd13e899ac2b8346569ffbf7

2 years agoaurum: fix using new/delete instead of variable-sized array. 88/285488/3 accepted/tizen/unified/20230105.154713
Hosang Kim [Tue, 13 Dec 2022 11:59:08 +0000 (20:59 +0900)]
aurum: fix using new/delete instead of variable-sized array.

This reverts commit 0f2e8dac34da4f1e5c4d6d0a3537226dd9e99f10.

Change-Id: I39024c57526ce3d060d4744a18a013c9903588d3

2 years agoaurum: fix using calloc instead of variable-sized array. 13/285413/2 accepted/tizen/unified/20221215.051045
Hosang Kim [Mon, 12 Dec 2022 09:04:11 +0000 (18:04 +0900)]
aurum: fix using calloc instead of variable-sized array.

C++ template doesn't support variable-sized array.

Change-Id: I57b3fd7e2a117ead55ac705b867144885433d938

2 years agoAurum: fix build warning 07/284507/2
Hosang Kim [Fri, 18 Nov 2022 07:29:47 +0000 (16:29 +0900)]
Aurum: fix build warning

Change-Id: Idaa792bea2791eb2828b430a408495e2dae17536

2 years agoaurum: add pages for documentation accepted/tizen/unified/20221209.014552
Hosang Kim [Mon, 5 Dec 2022 05:18:18 +0000 (14:18 +0900)]
aurum: add pages for documentation

Change-Id: I9f6c72567e93302aed0ff2065cf69a0fec22866e

2 years agoaurum: add example for node.js 11/284311/2
Hosang Kim [Tue, 15 Nov 2022 08:45:58 +0000 (17:45 +0900)]
aurum: add example for node.js

Change-Id: I65ca116dda5cef012914f9e4d65c179207030f94

2 years agoAurum: Introduce new atspi event callback system. 96/283296/4
Hosang Kim [Fri, 21 Oct 2022 11:31:05 +0000 (20:31 +0900)]
Aurum: Introduce new atspi event callback system.

- usage :

1. callback function
bool deactive_cb(void *data, A11yEvent type, std::string pkg)
{
        return false;
}

AccessibleWatcher::getInstance()->registerCallback(A11yEvent::EVENT_WINDOW_DEACTIVATE, &deactive_cb, nullptr);

2. lambda expression
AccessibleWatcher::getInstance()->registerCallback(A11yEvent::EVENT_WINDOW_ACTIVATE, [](void *data, A11yEvent type, std::string pkg) { return true; }, nullptr);

Change-Id: I1401e6d71c5579967ab7094a8b84545bb3ad3c4b

2 years agoA11yEvent: Rename EVENT_WINDOW_CLOSE to EVENT_WINDOW_DESTROY 82/284282/2
Chihun Jeong [Tue, 15 Nov 2022 02:44:31 +0000 (11:44 +0900)]
A11yEvent: Rename EVENT_WINDOW_CLOSE to EVENT_WINDOW_DESTROY

Change-Id: I9a2abcbdd15668931f054bdd2ceb2e8e505fd7fa

2 years agoaurum: make examples for guide accepted/tizen/unified/20221103.165802
Hosang Kim [Wed, 2 Nov 2022 06:40:30 +0000 (15:40 +0900)]
aurum: make examples for guide

Change-Id: I045c6b6c720c57deb0922bf232fbf46ae5ff1a76

2 years agoaurum: add searching highlightable object 29/283429/2
Hosang Kim [Wed, 26 Oct 2022 11:11:12 +0000 (20:11 +0900)]
aurum: add searching highlightable object

Change-Id: I2213133ba5f553298d7d4f1d057cb30a56525c21

2 years agoUpdate README 76/283276/1
WoochanLee [Fri, 21 Oct 2022 07:40:41 +0000 (16:40 +0900)]
Update README

Change-Id: I87d10708dc9eb7f84dce444faede9e5de6dee8aa

2 years agoAtspiAccessibleNode: change target object for atspi_accessible_get_toolkit_name. 11/283011/2
Hosang Kim [Fri, 14 Oct 2022 10:20:07 +0000 (19:20 +0900)]
AtspiAccessibleNode: change target object for atspi_accessible_get_toolkit_name.

atspi_accessible_get_toolkit_name is only working on root object.

Change-Id: I1b87b7f4e74cd8fbcfc7dd0063dd8e81aff4e402

2 years agolibaurum: add packageName to actionAndWaitEvent command 31/282531/2
Chihun Jeong [Wed, 5 Oct 2022 06:14:10 +0000 (15:14 +0900)]
libaurum: add packageName to actionAndWaitEvent command

Change-Id: I7d8e4699093ce98592fe6eab90e75a205a9c04d9

2 years agoUpdate Opensource License for pugixml(MIT) 06/283106/3
WoochanLee [Tue, 18 Oct 2022 06:38:15 +0000 (15:38 +0900)]
Update Opensource License for pugixml(MIT)

Change-Id: I4f804a49cb904b7dd74c8fa53a64d05114ce8bc2

2 years agoaurum: Add sample script with util commands 76/282976/2
WoochanLee [Fri, 14 Oct 2022 06:02:29 +0000 (15:02 +0900)]
aurum: Add sample script with util commands

utils.py supports below commands.
runCommand
checkSdb
getDeviceInfo
isAurumReady
displayStop
getStub

Change-Id: I673b7331b19222087f9be7563b718bff292546b6