summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-09-30Support USB tetheringHEADtizen_5.5.m2_releasesubmit/tizen_5.5/20191031.000004submit/tizen/20191001.232525accepted/tizen/unified/20191004.003706accepted/tizen/5.5/unified/20191031.022829tizen_5.5tizenaccepted/tizen_unifiedaccepted/tizen_5.5_unifiedrefs/changes/50/214950/2INSUN PYO1-2/+2
To enable USB tethering, you must run the following two commands after configuring the USB endpoint. 1. /sbin/ifconfig usb0 192.168.129.3 up 2. /Sbin/route add -net 192.168.129.0 netmask 255.255.255.0 dev usb0 These commands are not directly executed by deviced, but are delegated to rndis.service. The reason is to use the already implemented structure (sdbd.service and mtp-response.service). The patch has been split into deviced and libdeivce-node. The rndis.service is in deviced, and the code to run rndis.service is in libdevice-node. Connected patch: "Support USB tethering" commit on deviced. Change-Id: If4f64310c28cd91f4d2864365127a088e977e26a
2019-09-16usb_cfs_client: Enable gadget at reconfiguration #2submit/tizen/20191001.105102refs/changes/59/213859/1INSUN PYO1-3/+14
Because it is a workround code for Artik, restrict this patch to artik. (This workaround will be removed in tizen 6.0) Change-Id: Ice81dd8c37359bdc4a37099ecff27d696f7f9ec0 Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
2019-07-31Add new member for hw_boardsubmit/tizen/20190801.083214submit/tizen/20190801.065937accepted/tizen/unified/20190805.042837refs/changes/79/211179/1Youngjae Cho1-0/+1
Change-Id: Ia61fa711c1a98aeaf8d8c1f30a5262820eb4317b Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2019-04-22Add new members for battery_info and display_devicesubmit/tizen/20190422.062920accepted/tizen/unified/20190422.231517refs/changes/91/204191/2lokilee732-1/+12
- freq_strength for wireless battery charging - set_multi_brightness for brightness change ex) set_multi_brightess(80, 5, 10ms) brightness is changed to 80 through 5 steps and 10ms delay is applied on each step - enum for display_aod_mode ex) It is to get infomation about always on mode Change-Id: I4d04d7e0c4bffa660845b924888e8fe8fd4b97e3 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2019-04-10Change libgdbus library name to libsyscommon.submit/tizen/20190410.090025accepted/tizen/unified/20190412.124555refs/changes/59/203159/1Yunmi Ha4-4/+4
Change-Id: I3611395b38a3858d0838ddf94dc12e958fd91856 Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
2019-04-09Apply the latest type for image effectsubmit/tizen/20190409.053926accepted/tizen/unified/20190410.002223refs/changes/59/202859/5lokilee731-9/+4
Change-Id: I849387a3a55104270207d1d70fac9c45490652a5 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2019-03-25Rename systemd_stop_unit_sync() to systemd_stop_unit_wait_stopped()submit/tizen/20190325.102033accepted/tizen/unified/20190326.024559refs/changes/69/202169/2Hyotaek Shim2-6/+6
Change-Id: I94d972c7dc68d9e6b246702b9217d0b92c908d0c Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2019-02-28Add hal test for touch sensitivitysubmit/tizen/20190311.073252submit/tizen/20190308.023010submit/tizen/20190306.005724accepted/tizen/unified/20190312.113027accepted/tizen/unified/20190311.072452refs/changes/99/200699/2lokilee731-4/+82
Change-Id: I3a689c679e08401c6d9f5bd5dc2ff66f516671e2 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2019-02-27Add HAL test for bezelrefs/changes/95/200595/1lokilee732-0/+96
Change-Id: I7117b333ae3c17d71d2c0f8197a68ebee0025426 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2019-02-26Add bezel for wearable targetrefs/changes/38/200538/2lokilee731-0/+45
Change-Id: I1ba5453324fcf50f62dbf439ba303c87275580e1 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2019-02-22Add thermistor feature for hal testrefs/changes/47/200347/1lokilee732-0/+19
Change-Id: I0247d1c74ae8f4eb0ab5e7df34f06b6f6a837b69 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2019-02-18Add device_thermal_esubmit/tizen/20190220.073046submit/tizen/20190218.105211accepted/tizen/unified/20190221.165818accepted/tizen/unified/20190219.154203refs/changes/33/196433/3lokilee732-3/+10
Change-Id: I29a0c82d3973e9a6a01d16cba2def98362c30bc5 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2019-02-08dbus: delete systemd related filessubmit/tizen/20190208.083757submit/tizen/20190208.064159accepted/tizen/unified/20190211.060145refs/changes/81/199281/1sanghyeok.oh2-214/+0
Change-Id: I172e43fddb0782253de6f1f07bd2631623f01d83 Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2019-02-08dbus: remove systemd start/stop unit apirefs/changes/65/198765/3sanghyeok.oh4-19/+21
Change-Id: Ic498a2c56ffaccdcacf2c01d5d20a169fc5324cf Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2019-01-29Remove unused plugin about cpu, process, memory and vibratorsubmit/tizen/20190131.080207submit/tizen/20190131.021840accepted/tizen/unified/20190201.061337refs/changes/53/198653/4lokilee739-512/+6
OAL(OEM Adaptation Layer) still exists in libdevice-node, even though HAL was implemented. Change-Id: I675272ff3543d0a213e002d00726104b2bccd1fe Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2019-01-17Fix memory leak in usb gadgetsubmit/tizen/20190128.105151submit/tizen/20190117.112303accepted/tizen/unified/20190129.064334accepted/tizen/unified/20190128.061155refs/changes/95/197795/4lokilee731-2/+12
Change-Id: I437409ae6c162ecd7dd4a7abf70a5290f12cda98 Signed-off-by: lokilee73 <changjoo.lee@samsung.com> Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2019-01-03sensitivity: merge sensitivitysubmit/tizen/20190107.113744submit/tizen/20190107.023946accepted/tizen/unified/20190108.062321refs/changes/74/196674/1sanghyeok.oh1-0/+48
Change-Id: Idaf3029807a13bebe764a0a8c99a8ee5de12cb9a Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2018-12-20Remove the execution flag from non-executablessubmit/tizen/20181231.070821submit/tizen/20181231.010834submit/tizen/20181226.112600submit/tizen/20181226.101405accepted/tizen/unified/20181231.125031accepted/tizen/unified/20181227.062051refs/changes/06/196006/1Paweł Szewczyk8-0/+0
Change-Id: I8dac91e163b1676aeeaf30e640fcf6a52bcf17a4 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-12-11Change thermal information structure to get temp and adcrefs/changes/46/195146/2lokilee732-20/+7
Thermal state should be decided on deviced side. So, device HAL has only to supply temp and adc. Change-Id: I199a3a5b475cbba5eb8cfa672eba5f29f46725e3 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-11-19Fix some static analysis warnings.submit/tizen/20181120.234806accepted/tizen/unified/20181121.060510refs/changes/46/193346/1Michal Bloch2-4/+4
Change-Id: I632bd9813094ade3b03dadd7d21bc62dc2152710 Signed-off-by: Michal Bloch <m.bloch@samsung.com>
2018-10-15usb: Move ffs services cleanup to hw_cfs_gadget_closesubmit/tizen/20181015.121248refs/changes/94/191294/1Paweł Szewczyk1-25/+25
Change-Id: I1fc61542b8228ff038b64ee1df3cd5b6c3947a1c Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-10-12usb_client: Cleanup ffs services at gadget disablesubmit/tizen/20181015.022811refs/changes/06/191206/1Paweł Szewczyk1-0/+25
Each functionfs daemon spawned at gadget initialization should be closed before functionfs can be succesfully cleaned up. Change-Id: I97654fa882f5b7346e5aee3aedd3ea00e50fcb47 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-09-18Add get_number for multi ledsubmit/tizen_5.0/20181101.000004submit/tizen/20181001.110913submit/tizen/20180927.030248accepted/tizen/unified/20181001.150956accepted/tizen/unified/20180928.080555accepted/tizen/5.0/unified/20181102.020606refs/changes/78/189478/1lokilee731-0/+6
Change-Id: If2096cbf5860b783a9a9add98ca8f3a2fa1783a2 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-09-11Add .gitignorerefs/changes/68/188868/1Hyotaek Shim1-0/+3
Change-Id: Idcf456b1628d0f65df5b5176298f12e993bc4323 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-09-11Minor fix on licenserefs/changes/67/188867/2Hyotaek Shim2-4/+6
Change-Id: Iedd043c66897eb8a4cca0e636dc98eba75a33ab5 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-09-11Add license file on all rpm packagessubmit/tizen/20180911.060541accepted/tizen/unified/20180912.061611refs/changes/52/188852/1pr.jung1-0/+2
Change-Id: Idad73eb748eb8fccf07095ab30d8fe13ccbeafb7 Signed-off-by: pr.jung <pr.jung@samsung.com>
2018-08-28Add exception handle for HAL testsubmit/tizen/20180828.075148accepted/tizen/unified/20180828.181916refs/changes/61/187761/1lokilee731-2/+15
Change-Id: Ifbfa3fd48e57debb70a4f9f6e3954f46c29ecdd7 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-08-22To fix gtest errorssubmit/tizen/20180822.022033refs/changes/10/187310/2lokilee731-0/+10
There were errors by unsupported devices. ex) thermal and cpu in wearable target Old value of h/w info remained and it caused errors. So, initialize h/w info at the beggining of gtest. Change-Id: I95edc88ff7020346f0a9d1bf5c0edff6dea28bc0 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-08-21Rename deprecated function, updated_cb for battery, thermal and extconsubmit/tizen/20180821.082124accepted/tizen/unified/20180821.160748refs/changes/23/187223/1lokilee731-11/+11
Change-Id: I92d16c3233894a5e662126eee32bdc5fdce5a890 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-08-20Make simple helper functions static inlinesubmit/tizen/20180820.103206accepted/tizen/unified/20180821.091035refs/changes/51/186951/4Paweł Szewczyk3-134/+109
To prevent dynamic linking to these functions by modules that use them we make them static inline. Change-Id: Ifc753b5eff9bcde3f54c3f98e2494f7a331dc73e Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-08-17Unify cpp files to onerefs/changes/58/187058/1lokilee7312-1287/+1101
Merge below cpp files to device_haltests.cpp gtest_hal_battery.cpp gtest_hal_cpu.cpp gtest_hal_display.cpp gtest_hal_extcon.cpp gtest_hal_ir.cpp gtest_hal_rgb.cpp gtest_hal_thermal.cpp gtest_hal_touchscreen.cpp gtest_hal_usb_client.cpp gtest_hal_gadget.cpp Change-Id: I20a155136b21e6b2a4a86daeb24f2592dc281b22 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-07-27unittest: coverity fixrefs/changes/84/185284/2sanghyeok.oh1-0/+1
Change-Id: I71ea9b6eddd1d39c72e5e3fbd9e391196607c2ff Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2018-07-06Add voltage and temperature in battery_infosubmit/tizen/20180710.030326submit/tizen/20180706.105024accepted/tizen/unified/20180712.092608refs/changes/32/178932/2lokilee731-0/+3
Change-Id: Ia93aecb173b11db66d9c397bf53e048751ccd080 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-07-05Add omitted gtest casesrefs/changes/27/183427/2lokilee732-0/+24
get_frame_rate for LCD and free_gadget for USB Client Change-Id: Ia898bbb31255b015bf8076dcd445c8cc4dcbda02 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-06-29usb_cfs_client: Enable gadget at reconfigurationrefs/changes/12/183012/1Paweł Szewczyk1-0/+5
This workaround was introduced on artik, where gadget need to be enabled before usb connection can be properly monitored. As this does little harm, it's moved here to prevent regression on artik. The side effect of this is starting some functionfs daemons long before they are actually needed, so this should be removed when exton issue is fixed. Change-Id: Ia41c21e3c44d7d3a00d557f181e8c22766c6f31b Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-26Move usb_gadget common code from device-manager-pluginssubmit/tizen/20180628.074924refs/changes/00/182500/4Paweł Szewczyk3-1/+430
Change-Id: I19f45a7f858bd09f4e2403e4227a7c2a71aab05a Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-26Move container_of macro to common.hrefs/changes/99/182499/4Paweł Szewczyk2-6/+8
The container_of macro can be used by many modules. This commit moves it to common header to prevent duplication. Change-Id: I3d87766b561db8f67354d0abe8784ea62d05016d Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-26Add HAL for boardrefs/changes/98/182498/4Paweł Szewczyk1-0/+42
For now includes only getting serial number of the device Change-Id: I2541fccdb6a3a083b89ce5cf277f482d12b44dfc Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-26Add common code from usb_client HALrefs/changes/97/182497/4Paweł Szewczyk6-2/+1633
Change-Id: I863b5e9757f943eb6659e939118b9c03e22c8229 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-26Move code from 'shared' files to common packagerefs/changes/20/181420/4Paweł Szewczyk3-1/+173
Change-Id: Idd38578a32f5b415d7c2f9f0bcf37e7a71bcf770 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-26Add API for controling systemd unitsrefs/changes/19/181419/4Paweł Szewczyk4-2/+217
Change-Id: Ic13a69fbf0008ce37c0774b857e718335c0cf921 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-14Add cpp files for HAL testrefs/changes/15/180815/8lokilee7314-394/+815
Change-Id: I374e127cdccecd9d8642c31460cc57cd83eed260 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-06-04Change rpm name from device-hal-tc to device-haltestssubmit/tizen/20180615.005643submit/tizen/20180614.143144submit/tizen/20180605.005646accepted/tizen/unified/20180615.071956refs/changes/27/180827/1lokilee731-3/+3
Change-Id: If8ef874a6f181bbf36504b3ef9511af4f0792477 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-04-05gtest: Add gtest for ledrefs/changes/22/174822/2pr.jung2-2/+117
Change-Id: I0d3c88dd1131fb4262d54b766002043c4a1ee333 Signed-off-by: pr.jung <pr.jung@samsung.com> Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-04-04gtest: Add gtest for battery, cpu, display, extcon, and touchscreenrefs/changes/62/174762/1pr.jung5-0/+664
Change-Id: I733890ff1261e3e45e11129ea82f6e7e12a65a9e Signed-off-by: pr.jung <pr.jung@samsung.com>
2018-03-30gtest: Add gtest for irrefs/changes/37/174137/7pr.jung5-3/+169
Change-Id: I26ae1223e63c650c354a3f152fe6669023ac348a Signed-off-by: pr.jung <pr.jung@samsung.com>
2018-03-14remove unused usb_client itemsubmit/tizen/20180315.052738submit/tizen/20180314.081248submit/tizen/20180314.002506accepted/tizen/unified/20180316.062509accepted/tizen/unified/20180314.141513refs/changes/11/172411/1INSUN PYO1-1/+0
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I500619bd569067dbe7d0c9c33613a141aa756066
2018-03-13usb_device: add usb configfs HALsubmit/tizen/20180314.000517refs/changes/04/171904/2INSUN PYO1-1/+3
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I532fbf31d95567efb1550293632f97480dc11811
2018-03-02usb: Add service names to suitable USB functionsrefs/changes/18/171418/1Krzysztof Opasiak1-4/+4
Both MTP and SDB functions requires userspace service to work. So let's add names of those services to function structure. Change-Id: I544fb4251751c8c98f11197af2898cf5c1a53d33 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2016-12-29Merge branch 'tizen_3.0' into tizentizen_4.0.m1_releasesubmit/tizen_unified/20170308.100409submit/tizen_4.0/20170828.110004submit/tizen_4.0/20170828.100004submit/tizen_4.0/20170811.094300submit/tizen/20161229.040631accepted/tizen/wearable/20161229.233148accepted/tizen/unified/20170309.033800accepted/tizen/tv/20161229.233129accepted/tizen/mobile/20161229.233108accepted/tizen/ivi/20161229.233207accepted/tizen/common/20161229.140153accepted/tizen/4.0/unified/20170829.015847accepted/tizen/4.0/unified/20170816.013134accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonrefs/changes/04/107604/1taeyoung4-10/+188
Signed-off-by: taeyoung <ty317.kim@samsung.com> Change-Id: I4af8a6b19362cb83a5289815977fa87c3127c305