summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-04-30Modify dbus for DIMsubmit/tizen/20180502.014710submit/tizen/20180430.051948accepted/tizen/unified/20180502.071144lokilee736-33/+55
Change-Id: I706f6f55accc9858939fc8ae3e621b489f637b15 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-04-25Remove unnecessary "Requires" to avoid build issues regarding noarchsubmit/tizen/20180425.054444submit/tizen/20180425.045604accepted/tizen/unified/20180426.062452Hyotaek Shim1-2/+0
Dear All, I came up today with a dependency problem, that blocks verification of SR. The SR submit/tizen/20180424.062711 for tef-simulator (platform/core/security/tef-simulator) failed to create 5 images. Although, there is nothing wrong in changes proposed in tef-simulator. The images that failed to build do not even contain tef-simulator and should not be affected anyway. Here is what happened: 1) tef -simulator builds only for Intel archs, because of this line in tef-simulator.spec: ExcludeArch: armv6l armv7hl armv7l aarch64 2) build of tef-simulator triggers build of key-manager-ta, which triggers build of deviced, but still only for Intel archs. Build is not retriggered for arm (armv7l and aarch64) architectures, because there were no changes in code there. 3) Five of images requires deviced-config-profile-wearable or deviced-config-enable-display-timer package which are part of deviced and is noarch. They have been rebuild in the SR so is published as deviced-config-profile-wearable-5.0.0-20180424.062711.noarch, deviced-config-enable-display-timer-5.0.0-20180424.062711.noarch 4) According to deviced.spec (platform/core/system/deviced) config-profile-wearable, deviced-config-enable-display-timer packages requires deviced package with exactly same version and release: %package config-profile-wearable Summary: Configuration files for wearable profile Group: System/Management Requires: %{name} = %{version}-%{release} BuildArch: noarch %package config-enable-display-timer Summary: Configuration files for display Group: System/Management Requires: %{name} = %{version}-%{release} BuildArch: noarch However deviced package in version and release 5.0.0-20180424.062711 is not found for armv7l architecture, because version from reference snapshot is 5.0.0-36.3. So the problem is that the noarch package (config-profile-wearable) can be rebuild without rebuilding main package (deviced) for arm architectures. And then it is impossible to satisfy "Requires" criteria and match exactly same version during image creation. The proposed solution would be to remove these 2 lines (Requires: %{name} = %{version}-%{release}) from deviced.spec as these packages providing conf does not really depend on deviced package. I verified that it won't break images as deviced itself is also included in meta files for wearable and mobile images which have this issue. Lukasz Wojciechowski Principal Software Engineer Samsung R&D Institute Poland Samsung Electronics Change-Id: I95061848b3bb0429840122e01fd72db5adda5f2a Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-04-18Revert "Revert "Revert "usb: Remove usb-operation"""submit/tizen/20180418.001958submit/tizen/20180418.001657accepted/tizen/unified/20180418.090557Hyotaek Shim6-0/+142
This reverts commit f50deea1efd5062415f43eb0722983daae77413f. Change-Id: I3dc62a8c786376039dcc2592ecc61d8f348a6885 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-04-17Revert "To prevent Watchdog Kill during the dbus sync call"submit/tizen/20180417.092207accepted/tizen/unified/20180417.173243Hyotaek Shim1-2/+0
This reverts commit 19f28633e69ec61b9bd32d904b89f0b5a6f48aee. Change-Id: I57727e680fa9351fd1a3254f25d10bd639302ab6 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-04-11Revert "Revert "usb: Remove usb-operation""submit/tizen/20180411.122642submit/tizen/20180411.015824accepted/tizen/unified/20180412.073808Paweł Szewczyk6-142/+0
This revert was only temporary solution and with updated HAL implementation deviced should not start any services itself. This reverts commit 64bec949084f2bff0dce333052eda84d0244ee3f. Change-Id: Ifd5ccb3b2bbdf764ef0f3a2a191755494cdb7b64 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-06Fix a build problem that occurred with a new version of cmake(3.9.4)submit/tizen/20180408.231339accepted/tizen/unified/20180409.100028Hyotaek Shim1-1/+5
Change-Id: I4531dc40550ea2feb29a90abc0329b0557cc1229 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-04-06Change the method for thermallokilee731-1/+1
From ChangedCooldownMode to thermal_scenario Change-Id: Ie5dd8ec75a2018b1dc61dee34f37777e9a88a455 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-04-05Refactor dbus_handle_init into two partssubmit/tizen/20180405.111955submit/tizen/20180405.051333submit/tizen/20180405.044417submit/tizen/20180405.024125accepted/tizen/unified/20180406.061936lokilee731-3/+11
It's to solve timing issue caused by telephony. When it requests AddPoweroffWait, it fails because dbus in deviced is not ready. Change-Id: I03f64928e361301ba87330298a19bd7482317081 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-03-29Check the existence of mtp responder service for usb configurationsubmit/tizen/20180403.011657submit/tizen/20180402.232840submit/tizen/20180330.143105submit/tizen/20180329.064258accepted/tizen/unified/20180403.060228lokilee731-0/+13
Change-Id: I62ccb18060f1ff9f967a996b919ef347319f1685 Signed-off-by: lokilee73 <changjoo.lee@samsung.com> Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-03-27Fix build error that occurred with a new version of cmake(3.9.4)Hyotaek Shim2-3/+2
Change-Id: Ifc95d7062cf63674032fdf6e2684fc0a4437ef2f Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-03-26dbus-policy: add rule default deny ownsubmit/tizen/20180327.003938accepted/tizen/unified/20180329.054109sanghyeok.oh1-1/+2
Change-Id: I1cc4b02d3d20c2e12c4675352f51384c04ec71fa Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2018-03-23libgdbus: Remove dbus_handle_method_sync_with_reply usagepr.jung7-32/+32
- Change dbus_handle_method_sync_with_reply to dbus_handle_method_sync_with_reply_var Change-Id: Ifab9ea4cff00f643964f09187d77117ecbcbe563 Signed-off-by: pr.jung <pr.jung@samsung.com>
2018-03-22common: Remove build warningsubmit/tizen/20180322.094245pr.jung1-2/+1
Change-Id: I9c4bd8067cf3547e6becdff244bb9291fde2144d Signed-off-by: pr.jung <pr.jung@samsung.com>
2018-03-22libgdbus: Move common gdbus interfaces to libsystem packagepr.jung53-4259/+61
Change-Id: I3afd64a2f7603e5e63c0db1b0c46bc661f6f8b0a Signed-off-by: pr.jung <pr.jung@samsung.com>
2018-03-22To prevent Watchdog Kill during the dbus sync callsubmit/tizen/20180322.082909accepted/tizen/unified/20180322.145134Hyotaek Shim1-0/+2
Change-Id: I91b9b66ff089b638fa649ba695bd4806639cb84d Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-03-22Removed BuildRequires: pkgconfig(argos_watchdog)Hyotaek Shim4-11/+2
Change-Id: I5eb0781aaa8a09039d37f6c8264315a891b050d0 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-03-22Remove OOMADJ item in auto testlokilee733-54/+7
OOMADJ function was moved to resourced. So, it should be removed in deviced. Change-Id: I89b05e064c70f58b5e8680b8fea55fc48786f4a2 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-03-22prevent: fix prevent issuesanghyeok.oh7-8/+19
Change-Id: Iadce5347e6dba92599ff42cabb57b082b46ad1d2 Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2018-03-20Add umount_partition_by_kill()Hyotaek Shim3-49/+90
For better filesystem reliability, this api is used to umount writable partitions (/opt/usr, /opt, and etc.) by killing processes with open files 1) lazy-umount partitions MNT_DETACH (since Linux 2.4.11) Perform a lazy unmount: make the mount point unavailable for new accesses, and actually perform the unmount when the mount point ceases to be busy. 2) kill processes (SIGTERM and SIGKILL) Restarted processes cannot open files from the detached partition. So, the number of processes that have opened files on the partition is solely reduced. 3) check # of remaining processes and repeat 2)~3) a fixed number of times. Change-Id: I5d93de15b58e31715ec058f2ce154a03808da6e3 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-03-16Change a string from ShutDownAction to ShutdownActionlokilee731-1/+1
Change-Id: I60d63a373c54b4d803580495d4e5011655dfec26 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-03-16Remove unused socket and functionlokilee736-168/+0
socket: deviced.socket function: deviced_call_predef_action Change-Id: Ie09f1e8f913f95f95fb64146392ff9929447d2cf Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-03-15dbus: remove ineffective rulesanghyeok.oh1-1/+0
Change-Id: I17c4d1961cc6ca4eaa25947ef9e4bc7f7f2087a1 Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2018-03-15libdeviced-haptic: Remove unused codessubmit/tizen/20180315.052738accepted/tizen/unified/20180316.062502pr.jung4-1218/+10
- Remove unused logics and deprecated haptic internal apis Change-Id: I2b992dbd193f9429b90fa56ef30e1afff9ffa648 Signed-off-by: pr.jung <pr.jung@samsung.com>
2018-03-15Enable systemd-based dbus activiation for deviced.serviceHyotaek Shim3-8/+12
Change-Id: Ia9d1c38bc5d8baad1e0660fb5dcb3fa5e0721691 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-03-14Revert "usb: Remove usb-operation"submit/tizen/20180314.081248accepted/tizen/unified/20180314.141515Hyotaek Shim6-0/+142
This reverts commit 48763fe1d4173f68803e941acf8c605a66ccbfe4. Change-Id: I6e20e9f2fce3e1b79a63c6a292840b24a7ab0d68
2018-03-14display: reset system timeout when specific process requested same statelokilee731-5/+0
Change-Id: I1db14da69eaf0d68a568675dda16a7a1eb138e56 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-03-14usb: remove unused usb_client itemINSUN PYO1-3/+0
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I54463731572ac6015629a3e114de5f9cde2eba0e
2018-03-13dbus: modify dbus policy correctlysanghyeok.oh1-10/+47
Change-Id: Id903a35e006f82be38b0b65fad818c9ac59d3364 Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2018-03-13usb: support configfs usb halINSUN PYO1-58/+86
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Ic810941b85fa985d68117dcc979b3ce75dedc0a1
2018-03-13usb: Remove usb-operationPaweł Szewczyk6-142/+0
Starting and stopping usb operation is specific to the implementation. This responsibility is moved to USB HAL. Change-Id: I1c9135f40ea203ff529c3699b442e947a6cf50a9 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-03-13Remove telephony dependencylokilee735-243/+244
Change-Id: I2a5dcb56c82e8c4b10196e2624057a8e94d2735c Signed-off-by: lokilee73 <changjoo.lee@samsung.com> Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com> Signed-off-by: lokilee73 <changjoo.lee@samsung.com> Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-03-08Remove unused OOM functionssubmit/tizen/20180309.024528submit/tizen/20180308.081320accepted/tizen/unified/20180309.202941lokilee732-213/+0
Change-Id: Ia9eb3346109a97a89ba8dd99caa389fcb8204ed8 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-03-08libdeviced-storage: Remove unsused logics and deprecated storage internal apispr.jung6-186/+0
Change-Id: I20f5ec0d70f9426fa4764fa952bd905aaf9dc15d Signed-off-by: pr.jung <pr.jung@samsung.com>
2018-03-08Revert "Revert "Remove deviced_conf_set_mempolicy_bypid and ↵submit/tizen/20180308.024030accepted/tizen/unified/20180308.070205Hyotaek Shim3-131/+0
deviced_conf_set_mempolicy."" This reverts commit 932451c3313518a0033aa9169ee9df54ecee56b9. Change-Id: Ibc79de3bccdf864037914486d0f11f59f5693a19 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-03-07Revert "Remove deviced_conf_set_mempolicy_bypid and deviced_conf_set_mempolicy."submit/tizen/20180307.143832submit/tizen/20180307.131843Hyotaek Shim3-0/+131
This reverts commit f0696d6bf5a3ed911b7e5790d8ab8e986178f752. Change-Id: I44caea81bf818f170f76cb733cc200d663fd623b Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-03-07libdeviced: Fix a bugsubmit/tizen/20180307.073658submit/tizen/20180307.065432pr.jung1-1/+1
- GetDeviceList return format string is (a(issssssisibii)) Change-Id: I3ab44b28c8f1cd1056bb36a57a35412e0d0af845 Signed-off-by: pr.jung <pr.jung@samsung.com>
2018-03-07usb-host-test: fix signal subscription errorsanghyeok.oh1-2/+8
Change-Id: I57492796405cd95d7f429ad90719af8fe6c08368 Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2018-03-07Enable usb-host-test for TCTHyotaek Shim1-7/+7
Change-Id: I2e92fa67106599ea137146dc8f13c50d5a9fd61f Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-03-06Remove PROFILE_TVlokilee731-72/+0
Change-Id: I258a37ae0b68b6a3d81e785cb917581c8e24bf57 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-03-06tzip: add async callinsun.pyo1-14/+56
Signed-off-by: insun.pyo <insun.pyo@samsung.com> Change-Id: I3431b65612b22ca6a8c66ca9263286ddfa5a9178
2018-03-06tzip: revert "fix type size mismatching issue"INSUN PYO1-18/+4
There is no difference in asembler on 32 bit machine before and after modification. ///////////////////////////////////////////////////// 0001f6d0 <tzip_release@@Base>: 1f6d0: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} 1f6d4: 4606 mov r6, r0 1f6d6: 4840 ldr r0, [pc, #256] ; (1f7d8 <tzip_release@@Base+0x108>) 1f6d8: b085 sub sp, #20 1f6da: 460d mov r5, r1 1f6dc: 4478 add r0, pc 1f6de: af04 add r7, sp, #16 1f6e0: 4671 mov r1, lr 1f6e2: 4674 mov r4, lr 1f6e4: f7f0 fb1c bl fd20 <__cyg_profile_func_enter@@Base> 1f6e8: 2e00 cmp r6, #0 1f6ea: d057 beq.n 1f79c <tzip_release@@Base+0xcc> 1f6ec: b125 cbz r5, 1f6f8 <tzip_release@@Base+0x28> 1f6ee: e9d5 8904 ldrd r8, r9, [r5, #16] 1f6f2: ea58 0309 orrs.w r3, r8, r9 //////////////////////////////////////////////////////////// Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Idf720210ac1012cc3aa3996b740718cf9ad94332
2018-02-28Remove deviced_conf_set_mempolicy_bypid and deviced_conf_set_mempolicy.lokilee733-131/+0
Because those functions are moved to resourced Change-Id: Ifaa91fda36a7fd2994147e425dbc62843246a71a Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-02-26Fix an exceptional case in unload_plugin()submit/tizen/20180226.082308accepted/tizen/unified/20180226.142347Hyotaek Shim1-1/+4
Change-Id: Icc270982ad525f9e94545844413e270257de9109 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-02-26Change the default value of framerate_app as {1, 0, 0, 0}Hyotaek Shim1-1/+1
Change-Id: Iba1d9701dd6d95b85cd9042e0c9fd2e2dcae4e4d Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-02-23Battery: change vconf value for battery_warning_levellokilee731-1/+1
Change-Id: I74c9c501f0d5f62a2949ef11e5dd2bbac91dc443 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-02-23extcon_count: remove unused probe and exit functionINSUN PYO1-11/+0
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Iff7927f768bfab0cc18131c36d8627ff7a2dbbbf
2018-02-23battery: remove unused POWER_PATH at power_supply_probeINSUN PYO3-201/+28
There is no POWER_PATH present without HAL at all models include MCD mobile and MCD wearable. Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Iecb17a6c2a6f065d79bb66c95897a2a415847582
2018-02-23battery: add probe function for battery-time and lowbat device moduleINSUN PYO2-2/+33
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: If280aa76d01cb4428ae028cc063ae46cb87fd3ad Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-02-22display: fixe a bug that returns success when there is no halINSUN PYO2-2/+8
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I694c4d2c45a4f4ab1d38f61e204d3066769692bc
2018-02-22cpu: fixe a bug that returns success when there is no halINSUN PYO1-1/+1
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I1a45e2c727af278516d285a91a9693eb7fac1eeb