platform/hal/api/device.git
3 years agohaltest: add test for touchscreen 59/255659/2
Youngjae Cho [Mon, 22 Mar 2021 05:10:57 +0000 (14:10 +0900)]
haltest: add test for touchscreen

Change-Id: I9527c43c2b07a75a3854e2d0413e09802e2a34a0
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
3 years agohaltest: add test for external connection 36/255636/2
Youngjae Cho [Mon, 22 Mar 2021 02:27:15 +0000 (11:27 +0900)]
haltest: add test for external connection

Change-Id: Iac27765780744d880459517e43e4b2f3e3445512
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
3 years agohaltest: fix adding build source 47/255647/3
Youngjae Cho [Mon, 22 Mar 2021 04:32:53 +0000 (13:32 +0900)]
haltest: fix adding build source

Change-Id: I66e95043fa94a2a8cb6eb0a0bec9397625bb710e
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
3 years agohaltest: add test for bezel 87/255587/3
Youngjae Cho [Mon, 15 Mar 2021 04:22:26 +0000 (13:22 +0900)]
haltest: add test for bezel

Change-Id: If8aff416fe0eb7d3f38e16364a7d13aa0b07c8fc
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
3 years agohaltest: display: restore original state modified by test 92/255192/9
Youngjae Cho [Mon, 15 Mar 2021 05:42:28 +0000 (14:42 +0900)]
haltest: display: restore original state modified by test

Change-Id: Idf25256aa46ec6d5d0d0750564a5bc6c7e1ddd99
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
3 years agohaltest: skip tests not supported by HAL 82/255482/1
Youngjae Cho [Fri, 19 Mar 2021 01:24:48 +0000 (10:24 +0900)]
haltest: skip tests not supported by HAL

Instead of generating an error, skip a test if HAL function for that
test is not supported.

Change-Id: Ic28cbc788921b6a3ee116977dabe55cfaacabbd0
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
3 years agohaltest: add test for board 87/254987/5
Youngjae Cho [Thu, 11 Mar 2021 06:11:07 +0000 (15:11 +0900)]
haltest: add test for board

Change-Id: I5397e82b32ed9f2c745aadfc11221523791d59cc
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
3 years agohaltest: battery: remove registering callback at UnregisterChangedEventP 09/255009/4
Youngjae Cho [Thu, 11 Mar 2021 07:52:46 +0000 (16:52 +0900)]
haltest: battery: remove registering callback at UnregisterChangedEventP

Battery api preserves event callback internally, and doesn't allow
registering an additional callback. Therefore registering callback
in UnregisterChangedEventP generates error as the callback had been
registered at the test right before, the RegisterChangedEventP.
To prevent this, UnregisterChangedEventP reuses callback registered
from RegisterChangedEventP. For the case failing RegisterChangedEventP,
skip the UnregisterChangedEventP.

Change-Id: I92836f2bb68658fd3fd05bfe5755491d2da6d15e
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
3 years agohaltest: add test for battery 83/254883/9
Youngjae Cho [Wed, 10 Mar 2021 08:16:21 +0000 (17:16 +0900)]
haltest: add test for battery

Change-Id: I4d2404bb448d03596ee7367c594d86c480851340
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
3 years agohaltest: remove test for put backend 77/254977/2
Youngjae Cho [Thu, 11 Mar 2021 06:00:08 +0000 (15:00 +0900)]
haltest: remove test for put backend

Change-Id: I9f50848c61fa6c17c73270ee9181b1fec23e3eb9
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
3 years agohaltest: fix display test 70/254970/1
Youngjae Cho [Thu, 11 Mar 2021 05:18:08 +0000 (14:18 +0900)]
haltest: fix display test

Added skip message for not supported feature.

Change-Id: I5a3419738e05234ca49865536b90c6d89dcaffaa
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
3 years agoImplement HAL test for display 88/253988/15
lokilee73 [Mon, 22 Feb 2021 04:10:12 +0000 (13:10 +0900)]
Implement HAL test for display

Change-Id: I67bcfa3713c41a054c898898ad538d92d767def7
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
3 years agomemory: add new halapi 11/251911/7 accepted/tizen/unified/20210219.134857 submit/tizen/20210217.044338 submit/tizen/20210217.071642 submit/tizen/20210218.041307
Youngjae Cho [Wed, 20 Jan 2021 03:47:39 +0000 (12:47 +0900)]
memory: add new halapi

Change-Id: I52f89b125ea4982461e5c66f85662187624b6cf5
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
3 years agousb_gadget: fix usage of battery hal api 92/252792/1 accepted/tizen/unified/20210204.134637 submit/tizen/20210203.015309
Yunmi Ha [Tue, 2 Feb 2021 08:47:57 +0000 (17:47 +0900)]
usb_gadget: fix usage of battery hal api

Change-Id: I28fa5f0901f19249d31cf067b50af3af00ae50cb
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
3 years agoAdd loading HAL module before runnig API 29/252629/3
Yunmi Ha [Mon, 1 Feb 2021 02:10:06 +0000 (11:10 +0900)]
Add loading HAL module before runnig API

Change-Id: I5b2b45fbb0cb5e722331dc70f796ee5f40bcea73
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
3 years agousb_gadget: get board serial and set it to usb serial 64/252464/6 accepted/tizen/unified/20210201.130301 submit/tizen/20210201.022214
INSUN PYO [Thu, 28 Jan 2021 11:17:44 +0000 (20:17 +0900)]
usb_gadget: get board serial and set it to usb serial

---------------------------------------------------
 $ sdb devices
   List of devices attached
   530MWC2R10400764          device          artik
---------------------------------------------------

Change-Id: I73bd104585dc04407c9ab7d19bea9a7e3cd75f98

3 years agousb_gadget: add haptic hal api 56/251656/14 accepted/tizen/unified/20210129.002245 submit/tizen/20210127.032903
INSUN PYO [Mon, 18 Jan 2021 07:20:46 +0000 (16:20 +0900)]
usb_gadget: add haptic hal api

Change-Id: I3e71cac1e98194ec48a6e011a79c56eed2654bb6

3 years agoAdd led device type 97/251597/2
lokilee73 [Fri, 15 Jan 2021 10:50:58 +0000 (19:50 +0900)]
Add led device type

ex) CAMERA_FRONT, CAMERA_BACK, NOTIFICATION, TOUCH_KEY

Change-Id: If98bb54dddd9574c12b8d25d935353b05bc1b9de
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
3 years agoAdd definition for glove mode on and off 51/251451/2
lokilee73 [Thu, 14 Jan 2021 03:26:32 +0000 (12:26 +0900)]
Add definition for glove mode on and off

Change-Id: Icfec702d495d480cbe8779a7faf6a10da64afe7e
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
3 years agoAdd BATTERY_HARDWARE_DEVICE_ID 19/251419/1
lokilee73 [Wed, 13 Jan 2021 11:25:45 +0000 (20:25 +0900)]
Add BATTERY_HARDWARE_DEVICE_ID

Change-Id: I704853c7e2910b70c3dabb4bb46da5e31f9e8962
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
3 years agohaptic: add check backend function 66/251366/2
Yunmi Ha [Wed, 13 Jan 2021 05:53:30 +0000 (14:53 +0900)]
haptic: add check backend function

Change-Id: I5d463473d2a95d477fb54c6e40340f7641c8b52e
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
3 years agohaptic: add haptic hal api 81/251181/4
Yunmi Ha [Mon, 11 Jan 2021 05:16:21 +0000 (14:16 +0900)]
haptic: add haptic hal api

Change-Id: Icdc4afa8b3fd282ce8e8c27f85262cd16e005a78
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
3 years agoFix to return 0 if backend is already loaded or unloaded 83/251183/2
lokilee73 [Mon, 11 Jan 2021 05:24:07 +0000 (14:24 +0900)]
Fix to return 0 if backend is already loaded or unloaded

Change-Id: I7eb61b1f8b27ebf6e84af111c4c6f708301fc5ed
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
3 years agoAdd power source type 66/251166/2
lokilee73 [Mon, 11 Jan 2021 00:50:39 +0000 (09:50 +0900)]
Add power source type

Change-Id: I4b59618a7cfb367f06362e912d0cb2796476a129
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
3 years agoAdd external connection type 67/251167/1
lokilee73 [Mon, 11 Jan 2021 00:55:00 +0000 (09:55 +0900)]
Add external connection type

Change-Id: Iea8c3d9360772eaf6a8c640cd5f96015d2d680c0
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
3 years agoChange to return -ENODEV if there is no hal function 62/251162/2
lokilee73 [Sun, 10 Jan 2021 05:56:48 +0000 (14:56 +0900)]
Change to return -ENODEV if there is no hal function

Change-Id: I893d0e4788b14a23fcca217596e181a065896254
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
3 years agoRemove EXPORT for visibility default 85/251085/2
lokilee73 [Fri, 8 Jan 2021 01:10:28 +0000 (10:10 +0900)]
Remove EXPORT for visibility default

Change-Id: Ic0ed7f066ab20299f2e3e4ee5d18a991a145e606
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
3 years agoAdd include/backend/hal-XX-interface.h directory 64/251064/1
Hyotaek Shim [Thu, 7 Jan 2021 10:31:08 +0000 (19:31 +0900)]
Add include/backend/hal-XX-interface.h directory

Change-Id: I3be341b39feb1b50da5b330ceba49a4decf125b5
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
3 years agoChange include directory to /usr/include/hal/device 61/251061/1
Hyotaek Shim [Thu, 7 Jan 2021 09:48:35 +0000 (18:48 +0900)]
Change include directory to /usr/include/hal/device

Change-Id: I004a5c1bf60a697f2bc225e534b3c60ec6b8e81d
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
3 years agoInitialize HAL APIs 14/251014/7
lokilee73 [Thu, 7 Jan 2021 01:42:17 +0000 (10:42 +0900)]
Initialize HAL APIs

Change-Id: I2a30e8591be4db12a82a7fa99c98206f352fb2e3
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
3 years agoAdd .gitignore 17/250817/1
Hyotaek Shim [Tue, 5 Jan 2021 04:01:02 +0000 (13:01 +0900)]
Add .gitignore

Change-Id: I0c315bee2ffedb94bb3075c5bab16a22e4b2cee5
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
3 years agoRemove internal header files 16/250816/1
Hyotaek Shim [Tue, 5 Jan 2021 03:59:45 +0000 (12:59 +0900)]
Remove internal header files

Change-Id: I840dac267e916fa103e11d135b910d8e7aee6b0b
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
3 years agoInitialization 78/250278/1
Hyotaek Shim [Wed, 23 Dec 2020 04:19:02 +0000 (13:19 +0900)]
Initialization

Change-Id: I4fd619dc30d03d761f1fbc5a71ccb97316f1da77
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
3 years agoInitial empty repository master
Tizen Infrastructure [Fri, 18 Dec 2020 00:42:36 +0000 (00:42 +0000)]
Initial empty repository