platform/hal/api/device.git
14 months agopower: add enum for transition by DISPLAY_OFF_TIMEOUT 44/288244/1 accepted/tizen_7.0_unified tizen_7.0 accepted/tizen/7.0/unified/20230220.064527
Youngjae Cho [Tue, 14 Feb 2023 01:10:51 +0000 (10:10 +0900)]
power: add enum for transition by DISPLAY_OFF_TIMEOUT

- DEVICE_POWER_TRANSITION_REASON_DISPLAY_OFF (existing one)
   Reason for display off itself.
- DDEVICE_POWER_TRANSITION_REASON_DISPLAY_OFF_TIMEOUT (added one)
   Reason for expiration of timer triggered by display off. Commonly,
  it is used for system suspend reason.

Change-Id: Icf18aa0c0da83cdbf2f63cf1c2fdad375f2f5aab
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit 6b602b4791917f1a68946bfdc945484511029d5b)

14 months agoinput: add HAL_DEVICE_INPUT_TYPE_TOUCHSCREEN 93/287893/1 accepted/tizen/7.0/unified/20230209.070247
Yunhee Seo [Tue, 7 Feb 2023 09:30:10 +0000 (18:30 +0900)]
input: add HAL_DEVICE_INPUT_TYPE_TOUCHSCREEN

Add HAL_DEVICE_INPUT_TYPE_TOUCHSCREEN type to support touchscreen input device.

Change-Id: I4b57e95b3a6351b46793af8915dc283d0254c0cb
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
15 months agohaltest: Initialize local variables 06/287106/1
TaeminYeom [Thu, 19 Jan 2023 07:23:20 +0000 (16:23 +0900)]
haltest: Initialize local variables

These local variables are used to get the values in the
hal backend function with pointer.
If there is an error in hal backend function,
it is possible to use uninitialized local variables.

Change-Id: I43eadbe13f19e8fb3bd9537b610db6bc773b7d6f
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
(cherry picked from commit 07c580d769debb88afa55dc83a3a9f36fde2684f)

15 months agodisplay: remove ROTATION_ANGLE_DEGREE_360 38/286638/1
TaeminYeom [Wed, 11 Jan 2023 02:13:32 +0000 (11:13 +0900)]
display: remove ROTATION_ANGLE_DEGREE_360

display rotation degree 360 is same angle with degree 0.
So, it is not needed.

Change-Id: I6faa8174298a64088fa7e63f96075b6b022fe97b
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
(cherry picked from commit 4f259c6087284a1a18a5306b1a05d33732b3f7cc)

16 months agodisplay: Add rotation angle API 49/285949/1 accepted/tizen/7.0/unified/20221226.131619 accepted/tizen/7.0/unified/20221226.172023 accepted/tizen/7.0/unified/20221227.024852
TaeminYeom [Thu, 29 Sep 2022 04:52:00 +0000 (13:52 +0900)]
display: Add rotation angle API

rotation angle means "physical display" angle.
Clients can rotate display or check current display angle.

API
-hal_device_display_get_rotation_angle
-hal_device_display_set_rotation_angle

enum
-hal_device_display_rotation_angle
HAL_DEVICE_DISPLAY_ROTATION_ANGLE_UNKNOWN : It can be seen in laid device
HAL_DEVICE_DISPLAY_ROTATION_ANGLE_DEGREE_0 : Initial display rotation angle
HAL_DEVICE_DISPLAY_ROTATION_ANGLE_DEGREE_90 : 90° rotation angle
HAL_DEVICE_DISPLAY_ROTATION_ANGLE_DEGREE_180 : 180° rotation angle
HAL_DEVICE_DISPLAY_ROTATION_ANGLE_DEGREE_270 : 270° rotation angle
HAL_DEVICE_DISPLAY_ROTATION_ANGLE_DEGREE_360 : 360° rotation angle

-hal_device_display_rotation_direction
HAL_DEVICE_DISPLAY_ROTATION_DIRECTION_CLOCKWISE : Rotate clockwise direction
HAL_DEVICE_DISPLAY_ROTATION_DIRECTION_COUNTER_CLOCKWISE : Rotate counter clockwise direction

Change-Id: I617f42466218a0a7f579c5d331a818e534cf173c
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
16 months agopower: add hal interface and getter wakeup reason 72/285672/1 accepted/tizen/7.0/unified/20221220.180258
TaeminYeom [Thu, 1 Dec 2022 09:07:44 +0000 (18:07 +0900)]
power: add hal interface and getter wakeup reason

Add power hal interface including getter wakeup reason function.

"wakeup reason" is the power transition state reason of sleep to normal.
There are several reasons why the device wakeup such as power key, Wifi and touchscreen.
Sometimes it Is needed to get the reason.

hal-interface
- hal_backend_device_power_funcs
- hal_device_power_get_backend
- hal_device_power_put_backend

function
- hal_device_power_get_wakeup_reason

enum
hal_device_power_wakeup_reason
  It is same value with "device_power_transition_reason_e" in device API

  HAL_DEVICE_POWER_TRANSITION_REASON_UNKNOWN                : Unknown reason
  HAL_DEVICE_POWER_TRANSITION_REASON_POWER_KEY              : Power key pressed
  HAL_DEVICE_POWER_TRANSITION_REASON_BATTERY_NORMAL_LEVEL   : Battery capacity reaches normal level
  HAL_DEVICE_POWER_TRANSITION_REASON_BATTERY_WARNING_LEVEL  : Battery capacity reaches warning level
  HAL_DEVICE_POWER_TRANSITION_REASON_BATTERY_CRITICAL_LEVEL : Battery capacity reaches critical level
  HAL_DEVICE_POWER_TRANSITION_REASON_BATTERY_POWEROFF_LEVEL : Battery capacity reaches poweroff level
  HAL_DEVICE_POWER_TRANSITION_REASON_DISPLAY_OFF            : Display off
  HAL_DEVICE_POWER_TRANSITION_REASON_TOUCH_KEY              : Touch key pressed
  HAL_DEVICE_POWER_TRANSITION_REASON_TOUCH_SCREEN           : Touch screen pressed
  HAL_DEVICE_POWER_TRANSITION_REASON_USB                    : USB attached or detached
  HAL_DEVICE_POWER_TRANSITION_REASON_CHARGER                : Charger attached or detached
  HAL_DEVICE_POWER_TRANSITION_REASON_WIFI                   : WIFI event
  HAL_DEVICE_POWER_TRANSITION_REASON_BLUETOOTH              : Bluetooth event
  HAL_DEVICE_POWER_TRANSITION_REASON_AUDIO                  : Audio event
  HAL_DEVICE_POWER_TRANSITION_REASON_ALARM                  : Alarm event
  HAL_DEVICE_POWER_TRANSITION_REASON_SENSOR                 : Sensor event
  HAL_DEVICE_POWER_TRANSITION_REASON_RTC                    : RTC event
  HAL_DEVICE_POWER_TRANSITION_REASON_HEADSET                : Headset attatched or detached or button pressed
  HAL_DEVICE_POWER_TRANSITION_REASON_EXTERNAL_MEMORY        : External memory inserted or deleted
  HAL_DEVICE_POWER_TRANSITION_REASON_DOWNLOAD               : Download event

Change-Id: I4580b6b336f6f081d45315bc786d1e92c00d790b
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
(cherry picked from commit a01ea25a15dff4e35dbfaaa8609c89607315d560)

16 months agoinput: add getter/setter for controlling input device event 69/285669/1
Yunhee Seo [Tue, 13 Dec 2022 04:54:55 +0000 (13:54 +0900)]
input: add getter/setter for controlling input device event

Add a getter and setter function of input device event status

These are function prototype to be added.
int hal_device_input_get_backend(void);
-> This function initialize hal module which name is HAL_MODULE_DEVICE_INPUT

int hal_device_input_put_backend(void);
-> This function put hal module which is initialized from the above function.

int hal_device_input_set_event_state(int input_device_id, int on);
-> This function set input device event state,
   With input_device_id, it is possible to distinguish input devices.

int hal_device_input_get_event_state(int input_device_id, int* on);
-> This function get event state value with the unique input_device_id value.

With input_device_id parameter, it is possible to enable/disable event of input device.
Because input_device_id work as a unique id of input devices.

To get input_device_id number, these input types will be used.
Also these enum types will be used for controlling and managing input devices.
typedef enum {
    HAL_DEVICE_INPUT_TYPE_UNKNOWN = 0, /**< Input device type which is not defined. */
    HAL_DEVICE_INPUT_TYPE_ALL, /**< Input device type which is all kinds of input devices */
    HAL_DEVICE_INPUT_TYPE_MOUSE, /**< Input device type which is mouse-type */
    HAL_DEVICE_INPUT_TYPE_KEYBOARD, /**< Input device type which is keyboard-type */
    HAL_DEVICE_INPUT_TYPE_CUSTOM_KNOB, /**< Input device type which is customed knob-type */
} hal_device_input_type;

Change-Id: I2c8e68768f53137903d8a074b9e319d68ae95958
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
(cherry picked from commit a1eae337365e8660697fac937b1dc9e9af0490a0)

17 months agodisplay: add getter/setter for white balance 93/284293/1 accepted/tizen/7.0/unified/20221117.014350
Yunhee Seo [Thu, 10 Nov 2022 08:19:39 +0000 (17:19 +0900)]
display: add getter/setter for white balance

Add a getter and setter function of display white balance which controls RGB gain and offset.

White balancing is adjusting standard point of white color, this because the light source is different for each device.
gain value is a value to be multiplied for RGB value calculation.
offset vealue is a value to be added for RGB value calculation.

These are function prototype to be added.
int hal_device_display_set_white_balance(enum hal_display_white_balance, int value);
int hal_device_display_get_white_balance(enum hal_display_white_balance, int* value);

With this enum type, it is possible to get and set RGB gain and offset value for white balancing.
It is used as a parameter of HAL getter and setter function.
enum hal_display_white_balance {
HAL_DISPLAY_WHITE_BALANCE_R_GAIN,
HAL_DISPLAY_WHITE_BALANCE_G_GAIN,
HAL_DISPLAY_WHITE_BALANCE_B_GAIN,
HAL_DISPLAY_WHITE_BALANCE_R_OFFSET,
HAL_DISPLAY_WHITE_BALANCE_G_OFFSET,
HAL_DISPLAY_WHITE_BALANCE_B_OFFSET,
};

Change-Id: I3afe3953e15b61657a8dfd842a30fde553359586
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
(cherry picked from commit e98384a40fc521aa8c07c751cf58e29eb0f58984)

22 months agobattery: remove unused struct variable 84/274584/2 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.061228 accepted/tizen/7.0/unified/hotfix/20221116.110328 accepted/tizen/unified/20220626.224828 submit/tizen/20220624.005127 tizen_7.0_m2_release
Youngjae Cho [Tue, 3 May 2022 04:50:49 +0000 (13:50 +0900)]
battery: remove unused struct variable

Change-Id: I86ba0c395fc7bd84e7b2177d3517e7e2985c0aa2
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2 years agoAdd new API to set/get partition status 90/274590/6 accepted/tizen/unified/20220526.144326 submit/tizen/20220525.001052
SangYoun Kwak [Tue, 3 May 2022 05:30:53 +0000 (14:30 +0900)]
Add new API to set/get partition status

Change-Id: I1c21ce2dc6ec8f08b40316867682576f195ff23c
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoAdd new API to get current partition 42/274542/1
SangYoun Kwak [Mon, 2 May 2022 05:33:07 +0000 (14:33 +0900)]
Add new API to get current partition

Change-Id: I29f146cd093294511642e029deed55f8703bed28
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agousb-gadget: move usb-gadget to deviced 66/273466/7
Youngjae Cho [Wed, 6 Apr 2022 05:35:11 +0000 (22:35 -0700)]
usb-gadget: move usb-gadget to deviced

Change-Id: Ic967ad1db398355627d33a206a9a1d2ec81ad49b
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2 years agoAdd description for the declaration of the hal api functions 71/273371/6 submit/tizen/20220408.012128
SangYoun Kwak [Tue, 5 Apr 2022 04:59:48 +0000 (13:59 +0900)]
Add description for the declaration of the hal api functions

Change-Id: Ic8c97770f793c145302e9e943a14e66f65b7f4b2
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoRemove unused code 83/273383/1
Youngjae Cho [Tue, 5 Apr 2022 07:05:31 +0000 (00:05 -0700)]
Remove unused code

Change-Id: I037c42e95859e415ed446e1e0d225527cdf6731f
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2 years agoAdd new APIs to set/get the upgrade status 64/273064/4 accepted/tizen/unified/20220404.013023 submit/tizen/20220331.075432
SangYoun Kwak [Wed, 30 Mar 2022 07:16:04 +0000 (16:16 +0900)]
Add new APIs to set/get the upgrade status

Change-Id: Id610a3e0348ff12b4d44fbb08408596c18e6644f
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoAdd new API to manipulate the "cloned" flag 54/272354/6 accepted/tizen/unified/20220331.010044 submit/tizen/20220328.084941
SangYoun Kwak [Tue, 15 Mar 2022 07:13:40 +0000 (16:13 +0900)]
Add new API to manipulate the "cloned" flag

Change-Id: I9f6fbbdc7526280a3c59c9febcc4bd82e3067f8c
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agousb-gadget: add remain_after_disable option to usb_function 04/272504/1
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>
2 years agoboard: fix parameters of boot operation 03/268303/1 accepted/tizen/unified/20220117.135026 submit/tizen/20220112.015321 submit/tizen/20220113.004629
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>
2 years agoboard: add boot operation 96/268296/1
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>
2 years agoRemove ColoredPrintf in higher verison 57/268057/4 accepted/tizen/unified/20211221.050645 submit/tizen/20211210.025024
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>
2 years agoboard: support switch partition 52/264952/2 accepted/tizen/unified/20211105.130447 submit/tizen/20211103.072537 submit/tizen/20211104.031932 submit/tizen/20211104.080231
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>
2 years agothermal: rename device_thermal_e to hal_device_thermal_e 43/262043/1 accepted/tizen/6.5/unified/20211028.114915 accepted/tizen/unified/20210804.085622 submit/tizen/20210802.064402 submit/tizen/20210805.103313 submit/tizen/20210817.044914 submit/tizen_6.5/20211028.163201 tizen_6.5.m2_release
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>
2 years agoChange device-haltests rpm to hal-api-device-haltests 46/261246/2 accepted/tizen/unified/20210714.134304 submit/tizen/20210714.022758
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>
2 years agohaltest: fix coverity defect 15/260415/1
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>
2 years agoboard: fix parameter of get_device_serial_number() 42/260042/1 accepted/tizen/unified/20210621.123208 submit/tizen/20210618.075427 submit/tizen/20210621.095917
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>
2 years agoboard: renaming get_device_serial_number 64/259764/2 accepted/tizen/unified/20210615.120346 submit/tizen/20210614.021455
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>
2 years agoAdd conditional compile directive to avoid build error 41/258141/3 accepted/tizen/unified/20210526.010327 submit/tizen/20210510.064912 submit/tizen/20210523.234938
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>
3 years agohaltest: add test for haptic, memory 71/255671/7 accepted/tizen/unified/20210331.113729 submit/tizen/20210323.041901 submit/tizen/20210329.052432
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>
3 years agohaltest: add test for thermistor 13/255713/1
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>
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