summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Youngjae Cho [Fri, 18 Mar 2022 03:16:38 +0000 (12:16 +0900)]
usb-gadget: add remain_after_disable option to usb_function
This is set to 1 only when a service shouldn't be stopped
when disabling usb function.
Change-Id: Ie7c7e8f0b95a2c931df3702dbe76f9fd0c7d0a83
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Youngjae Cho [Mon, 20 Dec 2021 06:15:34 +0000 (15:15 +0900)]
board: fix parameters of boot operation
Change-Id: I67b92ad2291c78f73e118b7570b4260899596e96
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Youngjae Cho [Mon, 20 Dec 2021 05:18:03 +0000 (14:18 +0900)]
board: add boot operation
Added
- hal_device_board_set_boot_success(void)
- hal_device_board_clear_boot_mode(void)
- hal_device_board_get_boot_mode(int *)
- hal_device_board_get_boot_reason(int *)
Change-Id: I85fa078ed8f3f57e76561ade258352343a79e4f4
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
taemin.yeom [Wed, 15 Dec 2021 09:13:51 +0000 (18:13 +0900)]
Remove ColoredPrintf in higher verison
It was changed to internal API in GTEST 1.11.0
Do not use ColoredPrintf in higher gtest verison
In GTEST 1.11.0, internal gtest APIs have been changed.
Change-Id: Idffc5cfecd2432be0924104e76acfc15c4ae8065
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
Youngjae Cho [Wed, 6 Oct 2021 04:35:00 +0000 (13:35 +0900)]
board: support switch partition
Change-Id: I0941b12c1f529587bc6e0593eae67fa99e447ea9
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Youngjae Cho [Mon, 2 Aug 2021 05:08:37 +0000 (14:08 +0900)]
thermal: rename device_thermal_e to hal_device_thermal_e
The enum device_thermal_e has also been declared in device-api header.
Therefore, in implementing direct hal api, this enumerator makes error
(redeclaration of enumerator). Rename device_thermal_e at hal to avoid
this error.
Change-Id: I109cc31c9f64422caa178e007bd5a8734ed36750
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Hyotaek Shim [Wed, 14 Jul 2021 01:51:31 +0000 (10:51 +0900)]
Change device-haltests rpm to hal-api-device-haltests
Change-Id: I32cae2dbfc1ebaf188ba6c06b7136d2f33167917
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Youngjae Cho [Thu, 24 Jun 2021 08:11:00 +0000 (17:11 +0900)]
haltest: fix coverity defect
Change-Id: Ibd8c6e0aec4f94f7f9d857635cb73161bb37b906
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Youngjae Cho [Fri, 18 Jun 2021 02:15:01 +0000 (11:15 +0900)]
board: fix parameter of get_device_serial_number()
Change-Id: Ib7f0f9635103def4a6cfa45328f380d480de2b2c
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Youngjae Cho [Mon, 14 Jun 2021 01:40:35 +0000 (10:40 +0900)]
board: renaming get_device_serial_number
Change-Id: I5e2afe3e918e7f272bca6669e19dc76e2397e9d9
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
taemin.yeom [Tue, 11 May 2021 07:06:00 +0000 (16:06 +0900)]
Add conditional compile directive to avoid build error
Change-Id: I51d1082222a7fa0ed5bb755ee75856aae1c25d63
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
Yunmi Ha [Mon, 22 Mar 2021 08:40:24 +0000 (17:40 +0900)]
haltest: add test for haptic, memory
Change-Id: I5be1835fc31b5c5cebc1f65d6d9c8864d634f35c
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Youngjae Cho [Tue, 23 Mar 2021 00:38:50 +0000 (09:38 +0900)]
haltest: add test for thermistor
Change-Id: I860d15706d05e4fd792175a5bdd6890afe6ec563
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
INSUN PYO [Mon, 18 Jan 2021 07:20:46 +0000 (16:20 +0900)]
usb_gadget: add haptic hal api
Change-Id: I3e71cac1e98194ec48a6e011a79c56eed2654bb6
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Tizen Infrastructure [Fri, 18 Dec 2020 00:42:36 +0000 (00:42 +0000)]
Initial empty repository