Age | Commit message (Collapse) | Author | Files | Lines |
|
There was a missing code for handling the null character
so that it doesn't exceed the array size when reading and storing strings.
The code has been modified to handle the array safely.
To avoid overflow issue, this is necessary.
Change-Id: Ib75301a07906391c57fb739ef3399ff211cd1503
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
As applying HAL ABI Versioning, old style function pointer initialization was removed.
However, this one line was omitted.
This is necessary for proper function pointer initialization.
Change-Id: I2942f0243b01a3f834bdedc3e2d2a06e696bdb87
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
As support hal-abi-versioning, the hal-backend package should be built
using only the hal-rootstrap.
Other packages not included in the hal-roostrap have been deleted to remove dependencies.
util is added to replace functions of dlog and libsyscommon package.
Change-Id: I5ba534c5b52a201b0cc4fba999a04b25970636c3
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
Change-Id: I1b657590bc7d4cc870b6c7d265ebabd5021e2629
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
In the hal backend module, when the moudle exits, the hal_backend_[module]_funcs was
handled from [module]_exit function.
The data parameter is handed over from hal-api-common put_backend function.
And data is pointing to hal_backend_[module]_funcs, and free by hal-backend module.
As memory release operation moves to the hal-api-device side,
also double free operation is useless, thus it is deleted from hal-backend.
Change-Id: Ic11290b3643205d41f4d07807b04ad66748882b1
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
In hal_device_external_connection_info_s structure,
the name used to distinguish specific device type with string name.
Since there is an enumeration that can distinguish device types,
change the name to an appropriate one.
"name" is changed to "device_type".
Change-Id: I5ec4cfa800c8fb68113669866f236bd53647de53
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
hal_device_external_connection_device_type_e
As external connection device type macros are replaced by hal_device_external_connection_device_type_e,
definition usage logic is also changed.
Change-Id: I1f617f86f605290a7f3c21ebe3724e7d503cb346
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
hal_device_battery_power_source_type_e
As Power source type macros are replaced by hal_device_battery_power_source_type_e,
definition usage logic also changed to utilize enum type.
Change-Id: Ice809de2630e65e7db6fbe95372a8340ca765df3
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
While applying HAL ABI versioning, hal_backend_[module]_funcs is allocated from hal-api-[module] side.
Thus, allocation is moved to hal-api-device-memory side.
Also, wrong module name is fixed and hal interface inclusion path is changed.
"memory" -> "device-memory"
Change-Id: I2e65bd3a7b7a230c95aaba86ce9a0d0fead80346
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
To support OS upgrade feature, hal-backend and hal-api module needs HAL ABI versioning.
So, major/minor version is added to hal_backend structure.
While applying HAL ABI versioning, hal_backend_[module]_funcs is allocated from hal-api-[module] side.
Thus, allocation is moved to hal-api-device-external_connection side.
Change-Id: I335aa6954d4a8862b5c74b5a8768de7b5fcdd784
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
As HAL_DEVICE_BATTERY_HARDWARE_DEVICE_ID is removed from hal/api/device,
it is changed to BATTERY_HARDWARE_DEVICE_ID.
Because that macro is removed from platform side before,
and only used in hal-backend device-emulator.
Change-Id: I4b33f60cdea84ff5a98e9bc28d3979df479e9596
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
To support OS upgrade feature, hal-backend and hal-api module needs HAL ABI versioning.
So, major/minor version is added to hal_backend structure.
While applying HAL ABI versioning, hal_backend_[module]_funcs is allocated from hal-api-[module] side.
Thus, allocation is moved to hal-api-device-battery side.
Change-Id: I30ac0eafdecab58ce88d97cc5013a11997113fe8
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
According to HAL API Prototype rule,
hal module funcs structure naming should be hal_backend_[module]_funcs.
However, the hal module name was being used incorrectly.
Actual module name is not "haptic" but "device-battery".
Change-Id: If1629874ed9a6571951d81f0fd458119816ec810
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
To apply HAL ABI versioning, major/minor_version is added.
Also, as removed abi_version policy, abi_version variable is removed.
Change-Id: If3254cd36c9594c686ad34f11974032cb968eb8b
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
To support OS upgrade feature, hal-backend and hal-api module needs HAL ABI versioning.
So, major/minor version is added to hal_backend structure.
While applying HAL ABI versioning, hal_backend_[module]_funcs is allocated from hal-api-[module] side.
Thus, allocation is moved to hal-api-device-haptic side.
Change-Id: If1accb11e605c76698790111c3ec56cf1d8f6868
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
According to HAL API Prototype rule,
hal module funcs structure naming should be hal_backend_[module]_funcs.
However, the hal module name was being used incorrectly.
Actual module name is not "haptic" but "device-haptic".
Change-Id: I49b75853d00afb10342f7b14f29e4ff2e01d463d
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
To support OS upgrade feature, hal-backend and hal-api module needs HAL ABI versioning.
So, major/minor version is added to hal_backend structure.
While applying HAL ABI versioning, hal_backend_[module]_funcs is allocated from hal-api-[module] side.
Thus, allocation is moved to hal-api-device-display side.
Change-Id: Id0337c23e69d47241612f4b22e1de71bc3bb9c1a
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
According to HAL API Prototype rule,
hal module funcs structure naming should be hal_backend_[module]_funcs.
However, the hal module name was being used incorrectly.
Actual module name is not "display" but "device-display".
Change-Id: I33f7d13c8fb97f216f2d099c959559fce92501af
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
As the header files installation path below hal-api-device module is changed,
the inclusion path is also changed.
Change-Id: I45a43b3863e9a53d58cc62fc4c4588ec8da6ec1d
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
Change-Id: Ie2eecdd5ad7c5d021e518dd9337ac88db8ad4cf3
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
The actual operation of usb-gadget is no more hal dependent. Instead,
the deviced is now in charge of running usb-gadget. The hal backend
has changed to provide only target specific usb-gadget configurations.
If there is no target specific configurations, deviced runs usb-gadget
with default configurations.
Change-Id: I1dc5bbdacc0622ace2cfe88b89fcd3266ce61f63
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
Change-Id: I9c9d9c5ed7e8b67d92f2a7a8ee801baaeeca0900
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
Change-Id: I7d98936224dc282e7376c49717ce9e99562f9322
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
Change-Id: I798d08acb49b2b4d89f8e7e3319b5d17f9ceebe5
|
|
Change-Id: Ifbfa5b1be539b4c568ae9a5f221569ed9199a276
|
|
For haltest, it cannot run by itself because it is not able to resolve
sys_get_int() symbol of libsyscommon. Therefore, provide ldflag to
locate libsyscommon.so
Change-Id: I5351662241a66c960bcb914e141ae331097e80b7
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
Change-Id: I61fd690091d4ad2cf323329d14992c34543605e2
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: I337f7887d7be6e4b52e7d207ced3368f65dc15d1
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
|
|
Change-Id: I9522448ace6d46f80ffe4099314c133c41a1657d
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
|
|
Change-Id: I0f6af33a21c2e3257b9659b10e247942e98bb1d7
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
|
|
Change-Id: I4a24e443ff5f1c07d8ccf178f212bbc1efcb0d42
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
Change-Id: I731836c82b3348d76d97ac005d1ce4b2cd8fe95e
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
Change-Id: Ic17d0180d14107f631d5c77d4f69fa3e9394a53b
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
Change-Id: Ia506fbf4ddc5020df1c63c229fcd90afe702a36d
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
Change-Id: I688cf83f4f0527429ae331eeb3ca598686847155
|
|
Change-Id: I9d0aad4361f340882a3130ab86267ff9564499f3
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
Change-Id: I3dac37a2c00d47d513c118229f269c68efa6176e
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
|
|
Change-Id: Iacf00a03eeebfb24aa10348f4f8e157a71cd915d
|
|
Change-Id: I574682ab013f430f848bcd9dcee466ea848f7109
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
|
|
Change-Id: If57e0f96f5dada7567ab803989535e204d9e2627
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
|
|
Change-Id: Ib769b2852375b931b928d395d30115f7612b3bef
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
Change-Id: I4a873fecc39384911c0b7c267c63b1b89821b496
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
Change-Id: I13bb25754be97154bd3db878b2b08cd5860eac59
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
(Before)
device_battery_get_property(DEVICE_BATTERY_PROPERTY_TEMPERATURE=286
device_thermal_get_temperature(DEVICE_THERMAL_BATTERY=28
(After)
device_battery_get_property(DEVICE_BATTERY_PROPERTY_TEMPERATURE=28
device_thermal_get_temperature(DEVICE_THERMAL_BATTERY=28
Change-Id: Ia5afcd778a2bf0c1621376db6b7d4e787474379b
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
Change-Id: I45c4e47f73383e6aa3b8fa09455d880d172260a7
|
|
The usb gadget hal on all targets has been moved to libdevice-node.
Only emulator hal did not sync, I sync it.
Change-Id: I784379f9666bf82fbebb862d728e6ce80e6891ff
|
|
A macro ARRAY_SIZE is defined in libdevice-node, and libdevice-node removes it."
Change-Id: Id763d7f4008a0ce774f2ba263c8ba8817731e735
|
|
Change-Id: I5f5d364ec1245300705be1364291121511aa81cd
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
Use dpms_get_state() instead of HAL display_get_state
Change-Id: Ie2b8891cd408b64bf363fdccc3f44aef69fe6a06
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
Change-Id: I596e67df50c253591bc8365e60623b31ca4c51d1
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|