platform/core/system/feedbackd.git
4 years agoAdd sd_notify code before the exit 01/230101/1
Yunmi Ha [Wed, 8 Apr 2020 03:34:54 +0000 (12:34 +0900)]
Add sd_notify code before the exit

Change-Id: I990d0bf0194d1a9c6b04c9b751d8b85e52295a3c
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
4 years agoAdd log for stop_device command 53/229853/2
Yunmi Ha [Mon, 6 Apr 2020 04:47:43 +0000 (13:47 +0900)]
Add log for stop_device command

Change-Id: I67b7660e2040581eb2b23019171f89ec7717524f
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
4 years agoCheck vibration feature before the running 16/229316/2 accepted/tizen/unified/20200406.133214 submit/tizen/20200402.112144
Yunmi Ha [Tue, 31 Mar 2020 06:18:57 +0000 (15:18 +0900)]
Check vibration feature before the running

- If vibration feature is false, feedbackd will not be run.

Change-Id: I6c8234c5a93bb65167b01a7257d9e16ae0f4ac8c
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
4 years agoSupport standard pattern for default 83/227983/1
Yunmi Ha [Wed, 18 Mar 2020 02:03:38 +0000 (11:03 +0900)]
Support standard pattern for default

Change-Id: I13f56ab2f0e60c3a0f17a48b1cb1a9fe4c65bc20
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
4 years agostandard: Support multi effect pattern 10/225110/13 accepted/tizen/unified/20200311.130816 submit/tizen/20200310.104300
Yunmi Ha [Mon, 17 Feb 2020 10:05:07 +0000 (19:05 +0900)]
standard: Support multi effect pattern

- Remove rescaling code of level
- Add intensity, overdrive, frequency parameters for play
- Change rumble structure interface with kernel

Change-Id: I68a5862ee19f7278e6b15cf947258605d299ae17
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
4 years agoSet feedback replay delay as zero for standard driver 67/226067/1
Hyotaek Shim [Wed, 26 Feb 2020 10:39:06 +0000 (19:39 +0900)]
Set feedback replay delay as zero for standard driver

Change-Id: Id067d152f4ab2ae0540c60d4408fc59ef4555280
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
4 years agohaptic: remove "ChangeHardkey" signal subscription 30/225430/1
Yunmi Ha [Thu, 20 Feb 2020 01:42:26 +0000 (10:42 +0900)]
haptic: remove "ChangeHardkey" signal subscription

Change-Id: I8ea6d7b33cb7bc4b0314c90fad7fc8746f8c4532
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
4 years agostandard : fix svace issue 25/224125/1 accepted/tizen/unified/20200210.131802 submit/tizen/20200207.103010
Yunmi Ha [Thu, 6 Feb 2020 10:37:10 +0000 (19:37 +0900)]
standard : fix svace issue

Change-Id: I04decbdb6ac5abc876e266c9a7abd08a8ec2b443
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
4 years agohaptic: fix standard pattern parsing issue 29/223829/1
Yunmi Ha [Tue, 4 Feb 2020 07:35:55 +0000 (16:35 +0900)]
haptic: fix standard pattern parsing issue

Change-Id: I8f5af6554b26c7262a3455dd09d7b83ec56bcdc2
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
4 years agostandard: fix infinite vibration 22/222822/7 accepted/tizen/unified/20200129.022601 submit/tizen/20200121.090851 submit/tizen/20200122.232403
Yunmi Ha [Mon, 20 Jan 2020 10:07:33 +0000 (19:07 +0900)]
standard: fix infinite vibration

- If feedbackd receives another vibration request
without stopping the previous vibration,
there's not way to stop the previous one, probably causing infinite vibration.

- So, feedbackd should override the previous effect id on a new request
to keep a single effect id.

Change-Id: I2ab714ac4e5103ca65d3b4697e82240b09d58996
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
5 years agodbus: modified to use renamed api 50/212150/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.023611 accepted/tizen/5.5/unified/mobile/hotfix/20201027.091033 accepted/tizen/unified/20190816.112246 accepted/tizen/unified/20190827.043459 accepted/tizen/unified/20190827.110623 submit/tizen/20190816.021726 submit/tizen/20190826.105652 submit/tizen/20190827.024510 submit/tizen_5.5/20191031.000004 submit/tizen_5.5_mobile_hotfix/20201026.185104 tizen_5.5.m2_release
sanghyeok.oh [Fri, 16 Aug 2019 01:56:16 +0000 (10:56 +0900)]
dbus: modified to use renamed api

change 'dbus_handle_broadcast_dbus_signal' to 'dbus_handle_emit_dbus_signal'

Change-Id: I0944bb7ab35f9688bb360612c869070f40b8fd0a
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
5 years agodbus: modified to use revised api 07/212107/1 accepted/tizen/unified/20190816.112336 submit/tizen/20190311.062132 submit/tizen/20190814.105129
sanghyeok.oh [Wed, 14 Aug 2019 08:23:30 +0000 (17:23 +0900)]
dbus: modified to use revised api

Change-Id: I381bd91b255786a0023a8a40dcde068e4886cc4c
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
5 years agoFix exit sequence 91/211491/2
Hyotaek Shim [Tue, 6 Aug 2019 02:20:13 +0000 (11:20 +0900)]
Fix exit sequence

root@localhost:~# systemctl stop feedbackd.service
root@localhost:~# systemctl status feedbackd
* feedbackd.service - System Vibrator Daemon
   Loaded: loaded (/usr/lib/systemd/system/feedbackd.service; disabled; vendor preset: enabled)
   Active: inactive (dead) since Mon 2018-08-13 08:11:48 KST; 4s ago
  Process: 804 ExecStart=/usr/bin/feedbackd (code=exited, status=0/SUCCESS)
 Main PID: 804 (code=exited, status=0/SUCCESS)

Aug 13 08:11:47 localhost systemd[1]: Stopping System Vibrator Daemon...
Aug 13 08:11:48 localhost feedbackd[804]: g_main_loop_unref: assertion 'loop != NULL' failed
Aug 13 08:11:48 localhost systemd[1]: Stopped System Vibrator Daemon.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

Change-Id: I24178f135688a8cb5cec55c602baf79853ed37cb
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
5 years agoRearrange feedbackd.service from multi-user.target to delayed.target 14/210614/2 accepted/tizen/unified/20190725.042825 submit/tizen/20190724.030536
Hyotaek Shim [Tue, 23 Jul 2019 02:49:30 +0000 (11:49 +0900)]
Rearrange feedbackd.service from multi-user.target to delayed.target

Change-Id: I587a68efa0caafac48f02fc1f5117432512b698e
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
5 years agoDelete meaningless configuration 30/209530/1
INSUN PYO [Mon, 8 Jul 2019 11:24:37 +0000 (20:24 +0900)]
Delete meaningless configuration

Change-Id: I473df7df364d8d12c24b934eb9a5e7dfed3900ba

5 years agoRemove unnecessary dependency from feedbackd.service 84/208484/1 accepted/tizen/unified/20190625.222131 submit/tizen/20190625.054351
INSUN PYO [Tue, 25 Jun 2019 05:27:58 +0000 (14:27 +0900)]
Remove unnecessary dependency from feedbackd.service

Change-Id: Ic0137662cee492cf69d8df217e0652604c3670d1

5 years agodbus-policy: fix bug 53/206953/1 accepted/tizen/unified/20190602.221848 submit/tizen/20190530.011453
sanghyeok.oh [Wed, 29 May 2019 09:06:28 +0000 (18:06 +0900)]
dbus-policy: fix bug

Change-Id: I5f610397bec9f39d047b29a95a5413f59471269b
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
5 years agodbus-policy: modified to use default deny - allow signal 95/206795/1 submit/tizen/20190529.021941
sanghyeok.oh [Mon, 27 May 2019 06:42:22 +0000 (15:42 +0900)]
dbus-policy: modified to use default deny - allow signal

Change-Id: Iee05626d085aa84c7d48e16c68b6379fb34fe8d6
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
5 years agoChange libgdbus library name to libsyscommon. 60/203160/1 accepted/tizen/unified/20190412.124542 submit/tizen/20190410.090025
Yunmi Ha [Wed, 10 Apr 2019 08:23:47 +0000 (17:23 +0900)]
Change libgdbus library name to libsyscommon.

Change-Id: I287ef4437674a52b2fe02fdd0e4fb044d97178aa
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
5 years agoChange VibrateEffect to VibratePattern 52/198952/3 accepted/tizen/unified/20190313.075422 submit/tizen/20190312.062217
pr.jung [Thu, 31 Jan 2019 08:18:59 +0000 (17:18 +0900)]
Change VibrateEffect to VibratePattern

Change-Id: Id4c49bd11dc0e68af709930dfcba3bbbf658d939
Signed-off-by: pr.jung <pr.jung@samsung.com>
5 years agoRestore permission of source files. 43/200543/1
Yunmi Ha [Tue, 26 Feb 2019 09:30:43 +0000 (18:30 +0900)]
Restore permission of source files.

Change-Id: I88ee8c455aa7457a46b3cfdc3fb09de6bf236a59
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
5 years agoApply consistent log messages. 21/200521/1
Yunmi Ha [Tue, 26 Feb 2019 06:41:29 +0000 (15:41 +0900)]
Apply consistent log messages.

1. First letter to uppercase.
2. Period at the end.
3. Rearrange parameters.

Change-Id: I2619def99f7a1eb80020894a27f7d0d39232eda7
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
5 years agoInitialize current vibration handle and priority when vibration is done 02/200302/2
pr.jung [Thu, 21 Feb 2019 08:47:42 +0000 (17:47 +0900)]
Initialize current vibration handle and priority when vibration is done

Change-Id: I26221add67c70cab7dc0e09948f03903d6060a4c
Signed-off-by: pr.jung <pr.jung@samsung.com>
5 years agoRemove standard-vibcore.c 26/200026/6
pr.jung [Mon, 18 Feb 2019 06:59:24 +0000 (15:59 +0900)]
Remove standard-vibcore.c

Change-Id: I6a8eb297a6b3cb10637b763c5615c75d9bbc82ad
Signed-off-by: pr.jung <pr.jung@samsung.com>
5 years agoFix build error 65/199265/1
pr.jung [Fri, 8 Feb 2019 04:28:23 +0000 (13:28 +0900)]
Fix build error

Change-Id: I600a814975ad96aef8b0518c726bd5d4bce47fba
Signed-off-by: pr.jung <pr.jung@samsung.com>
5 years agoRemove unused files and method 54/198954/3
pr.jung [Thu, 31 Jan 2019 08:37:36 +0000 (17:37 +0900)]
Remove unused files and method

Change-Id: I4fead9e8fce2375669a224321731be5d1aa2b064
Signed-off-by: pr.jung <pr.jung@samsung.com>
5 years agoCheck priority for VibrateMonotone and add debug logs 53/198053/10 accepted/tizen/unified/20190130.151732 submit/tizen/20190129.075918 submit/tizen/20190130.070614
pr.jung [Fri, 18 Jan 2019 05:32:07 +0000 (14:32 +0900)]
Check priority for VibrateMonotone and add debug logs

Change-Id: Iacb4241abf39503476b4a02c35a726de6124e868
Signed-off-by: pr.jung <pr.jung@samsung.com>
5 years agoUse idler callback for VibrateMonotone 60/197760/9
pr.jung [Wed, 16 Jan 2019 06:30:24 +0000 (15:30 +0900)]
Use idler callback for VibrateMonotone

- Return immdiately after parameters checked

Change-Id: I21b37f0eeb7c7a99454039a8004a97724c064c43
Signed-off-by: pr.jung <pr.jung@samsung.com>
5 years agoVibrate when poweroff_type is POWER_OFF_DIRECT or POWER_OFF_RESTART 82/197582/8
pr.jung [Mon, 14 Jan 2019 08:37:24 +0000 (17:37 +0900)]
Vibrate when poweroff_type is POWER_OFF_DIRECT or POWER_OFF_RESTART

Change-Id: Ia7f222768ffc6c3413a00f90e4d40e3302802450
Signed-off-by: pr.jung <pr.jung@samsung.com>
5 years agoDelete unused dbus methods 76/197576/11
pr.jung [Mon, 14 Jan 2019 07:45:07 +0000 (16:45 +0900)]
Delete unused dbus methods

- Delete "SaveBinary"
- Delete "CreateEffect"

Change-Id: I72674cb67ad7dd8cb5b8dd4beec36a2f805e4884
Signed-off-by: pr.jung <pr.jung@samsung.com>
5 years agoChange strtol to strtoul 71/198371/8
pr.jung [Thu, 24 Jan 2019 07:21:48 +0000 (16:21 +0900)]
Change strtol to strtoul

Change-Id: I65a94fcaf0fc4a737ffc64e498a9b2f9c3cc7379
Signed-off-by: pr.jung <pr.jung@samsung.com>
5 years agoFix svace issues 38/198138/8
pr.jung [Mon, 21 Jan 2019 10:09:03 +0000 (19:09 +0900)]
Fix svace issues

- An integer underflow may occur due to arithmetic operation (unsigned subtraction) between values '0' and '1', where the first value comes from the expression 'len - strlen(value)'
- An integer underflow may occur due to arithmetic operation (unsigned subtraction) between variable 'len' and value { [0, 4294967295] } of 'strlen(value)', when 'len' is in range { [1, 2147483647] }
- Possible integer overflow: right operand is tainted. An integer overflow may occur due to arithmetic operation (addition) between value { [-21474836482147483647] } and variable 'duration', where the value comes from 'conf->pattern_duration' and when 'duration' is tainted { [-21474836482147483647] }
- Simplifying loop in insert_raw_data_format

Change-Id: I70d7e24b8473d22207ce0197c04eac97c155eadf
Signed-off-by: pr.jung <pr.jung@samsung.com>
5 years agoAdd conf files 29/197429/2
pr.jung [Fri, 11 Jan 2019 06:49:09 +0000 (15:49 +0900)]
Add conf files

- Add level3 and level6 conf files
- Modify not to change the value of input parameter
- Change strncmp to strcmp for pattern string comparison

Change-Id: I1e2a00cb211fd6d1fb4fdf8b9ad72eaee86a65c1
Signed-off-by: pr.jung <pr.jung@samsung.com>
5 years agoAdd level configuration 23/197223/2
pr.jung [Thu, 10 Jan 2019 08:23:27 +0000 (17:23 +0900)]
Add level configuration

- Add 2 level configuration rpms: conf-level3, conf-level6
- Calculate level with intensity

Change-Id: Ied3de559b9ac2dfb6c3e197dce98c44c4969c0c7
Signed-off-by: pr.jung <pr.jung@samsung.com>
5 years agoAdd unlimit operation 79/196979/1
pr.jung [Tue, 8 Jan 2019 09:54:36 +0000 (18:54 +0900)]
Add unlimit operation

- Repeats vibration pattern when requested pattern is defined as an unlimit pattern

Change-Id: I3eefc7eb73a386987b54d6bbf79848f9c7c66daf
Signed-off-by: pr.jung <pr.jung@samsung.com>
5 years agoCheck device_handle is the same with current vibration handle on close_device() 33/196933/3
pr.jung [Tue, 8 Jan 2019 05:05:15 +0000 (14:05 +0900)]
Check device_handle is the same with current vibration handle on close_device()

- Check device_handle
- Remove redundant operations

Change-Id: If7597c20ace9b43d1bcbfb5017b983c15da00c7d
Signed-off-by: pr.jung <pr.jung@samsung.com>
5 years agoParse and vibrate using standard pattern 03/196803/7
pr.jung [Fri, 4 Jan 2019 08:45:25 +0000 (17:45 +0900)]
Parse and vibrate using standard pattern

- Example)
- FEEDBACK_PATTERN_NOTIFICATION_1=1,J_W
- FEEDBACK_PATTERN_ALARM_1_STRONG_BUZZ=A,K_WB
- 1: one time, A: unlimit(Vibrate until stop)
- J_W, K_WB, and so on: standard pattern

- Standard pattern is defined under /usr/share/feedback/vibration/xxx
- Duration, Intensity, frequency, overdriving
- Wait time, intensity(should be 0), frequency(Not used value), overdriving(Not used value)
- Standard pattern example)
85,10000,205,0,
90,0,205,0,
105,10000,205,0,
0,end

Change-Id: I5b6d6071983c8e8f4eaf9cd6cd9981ed906662de
Signed-off-by: pr.jung <pr.jung@samsung.com>
5 years agoRemove executable flag from non-executable files 79/196279/1 accepted/tizen/unified/20181231.125034 submit/tizen/20181227.070601 submit/tizen/20181231.010834 submit/tizen/20181231.070821
lokilee73 [Thu, 27 Dec 2018 03:03:32 +0000 (12:03 +0900)]
Remove executable flag from non-executable files

Change-Id: I68327a8243aa96e13785dbfb7afd5c6a31344900
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
5 years agohaptic: Request power lock before vibration 95/193995/2 accepted/tizen/unified/20181130.064923 submit/tizen/20181129.005631
pr.jung [Wed, 28 Nov 2018 06:25:12 +0000 (15:25 +0900)]
haptic: Request power lock before vibration

- When device goes suspend mode after vibration started, vibration stops immediately.
To prevent this, feedbackd request power lock during vibration time.

Change-Id: I04bca81481c979ffaeb8d1676c33ec562841ab69
Signed-off-by: pr.jung <pr.jung@samsung.com>
6 years agoCheck return value for vconf_notify_key_changed and vconf_ignore_key_changed 36/183636/1 accepted/tizen/5.0/unified/20181102.022120 accepted/tizen/unified/20180723.151439 submit/tizen/20180709.101721 submit/tizen/20180710.024436 submit/tizen/20180723.044647 submit/tizen_5.0/20181101.000004
pr.jung [Mon, 9 Jul 2018 08:17:42 +0000 (17:17 +0900)]
Check return value for vconf_notify_key_changed and vconf_ignore_key_changed

Change-Id: I1213ecda36a2aa028ef5e7eade6d542309d1a8a2
Signed-off-by: pr.jung <pr.jung@samsung.com>
6 years agoMinor fix: Type=Notify -> Type=notify 68/182968/2
Hyotaek Shim [Fri, 29 Jun 2018 07:56:45 +0000 (16:56 +0900)]
Minor fix: Type=Notify -> Type=notify

Change-Id: I1a9c43235e9d063711ac8561cf01d932d27141cc
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agohaptic: Remove unused code 04/182104/1 accepted/tizen/unified/20180622.122702 submit/tizen/20180622.023040
pr.jung [Wed, 20 Jun 2018 09:08:57 +0000 (18:08 +0900)]
haptic: Remove unused code

- Remove standard_mix.c

Change-Id: I8d6a567da78bf472a7a0ca72265a6325b497d733
Signed-off-by: pr.jung <pr.jung@samsung.com>
6 years agodbus-policy: change to default deny policy 03/179303/1 accepted/tizen/unified/20180620.131620 submit/tizen/20180620.024126
sanghyeok.oh [Thu, 17 May 2018 04:47:19 +0000 (13:47 +0900)]
dbus-policy: change to default deny policy

Change-Id: I8849c0e73c766e9b11ba004c12b7e0b5fff48fca
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agohaptic: Remove convert_magnitude_by_conf 53/177553/4 accepted/tizen/unified/20180510.070916 submit/tizen/20180503.054747 submit/tizen/20180510.011352
pr.jung [Mon, 30 Apr 2018 09:39:48 +0000 (18:39 +0900)]
haptic: Remove convert_magnitude_by_conf

Change-Id: I47a8cd4049fd9e0b24d3f99bd0267a23854f11e9
Signed-off-by: pr.jung <pr.jung@samsung.com>
6 years agoAdd .gitignore 94/177494/1 accepted/tizen/unified/20180502.071155 submit/tizen/20180430.120549 submit/tizen/20180502.015440
Hyotaek Shim [Mon, 30 Apr 2018 11:41:30 +0000 (20:41 +0900)]
Add .gitignore

Change-Id: I4376ef23bc81e537f4c628cfae66ebd1994f9a7f
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoFix systemd-assisted dbus activation sequence 93/177493/2
Hyotaek Shim [Mon, 30 Apr 2018 11:34:27 +0000 (20:34 +0900)]
Fix systemd-assisted dbus activation sequence

Change-Id: Ic570da29e8193b56d5c4ab31687743e505d43fe3
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoRefactor dbus_handle_init into two parts 67/174867/3 accepted/tizen/unified/20180406.061945 submit/tizen/20180405.024125 submit/tizen/20180405.044417 submit/tizen/20180405.051333 submit/tizen/20180405.111955
lokilee73 [Wed, 4 Apr 2018 12:48:34 +0000 (21:48 +0900)]
Refactor dbus_handle_init into two parts

It's to apply a fix in deviced which timing issue happend by telephony.
When telephony requests AddPoweroffWait, it fails because dbus in deviced is not ready.

Change-Id: I0e0faa9dfe2b56186765903b327ece1018d6b6b0
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agolibgdbus: Move common gdbus interfaces to libsystem package 08/173408/1 accepted/tizen/unified/20180329.054118 submit/tizen/20180322.094245 submit/tizen/20180327.003938
pr.jung [Wed, 21 Mar 2018 08:22:14 +0000 (17:22 +0900)]
libgdbus: Move common gdbus interfaces to libsystem package

Change-Id: I17034bb99d971a75a0a770861596c33f9cfbdc73
Signed-off-by: pr.jung <pr.jung@samsung.com>
6 years agodbus: modify dbus policy correctly 74/171574/2 accepted/tizen/unified/20180309.202955 submit/tizen/20180308.083932
sanghyeok.oh [Tue, 6 Mar 2018 02:12:55 +0000 (11:12 +0900)]
dbus: modify dbus policy correctly

Change-Id: I64eb9361c4f5ad7c3dc418ab927b53afcce589a7
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agohaptic: Change g_timeout_add_seconds to g_timeout_add 84/170784/1 accepted/tizen/unified/20180306.175351 submit/tizen/20180306.082958
pr.jung [Thu, 22 Feb 2018 05:52:50 +0000 (14:52 +0900)]
haptic: Change g_timeout_add_seconds to g_timeout_add

- g_timeout_add interval is in milliseconds
- g_timeout_add_seconds interval is in seconds

Change-Id: Ide64c518d1249bd4861e5749a8e5122fadf71166
Signed-off-by: pr.jung <pr.jung@samsung.com>
6 years agoFix build failure 96/170096/1
Hyotaek Shim [Tue, 13 Feb 2018 08:53:05 +0000 (17:53 +0900)]
Fix build failure

Change-Id: I98763329e3bdf4bcfc8971188be80caaee6a7df2
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoauto-test: Add auto-test for feedbackd 09/169709/7
pr.jung [Thu, 8 Feb 2018 11:29:59 +0000 (20:29 +0900)]
auto-test: Add auto-test for feedbackd

Change-Id: Iee10703dc89bb94ecffc37424be259552c537f86
Signed-off-by: pr.jung <pr.jung@samsung.com>
6 years agoEnable systemd activiation on feedbackd.service 43/169343/1
Hyotaek Shim [Tue, 6 Feb 2018 05:47:12 +0000 (14:47 +0900)]
Enable systemd activiation on feedbackd.service

Change-Id: Ifeb475d28740839f842a60a294d1df64b8115a11
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoRename LICENSE file as LICENSE.Apache-2.0 31/169331/2
Hyotaek Shim [Tue, 6 Feb 2018 05:03:27 +0000 (14:03 +0900)]
Rename LICENSE file as LICENSE.Apache-2.0

Change-Id: I69d89d6fa27bdfeb1c9026a8aa190fd119421efe
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agohaptic: watch/unwatch name with correct id 90/169290/1 accepted/tizen/unified/20180206.064218 submit/tizen/20180205.120610
sanghyeok.oh [Mon, 5 Feb 2018 11:52:03 +0000 (20:52 +0900)]
haptic: watch/unwatch name with correct id

multiple haptic_info struct can be added into haptic_handle_list,
but abnormal name watching id is assigned to one global variable,
fix this to use correct id for each haptic_info struct

Change-Id: Ia2360120bdbd6ca6bdcc47ad6e071a90f7f462f9
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agoFix casting warning 26/169126/1 submit/tizen/20180205.010426 submit/tizen/20180205.063148
pr.jung [Fri, 2 Feb 2018 10:47:34 +0000 (19:47 +0900)]
Fix casting warning

Change-Id: Ia0781461e5c6eaf5f01a4b1522eef852cfd5f415
Signed-off-by: pr.jung <pr.jung@samsung.com>
6 years agodbus: change edbus/ecore to common dbus api 92/168892/2 submit/tizen/20180202.011501
sanghyeok.oh [Thu, 1 Feb 2018 02:43:25 +0000 (11:43 +0900)]
dbus: change edbus/ecore to common dbus api

Change-Id: I9f2c821acedc7f4bd1466058c6205ff881444d43
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agodbus: clean up dbus conf 15/141615/6
sanghyeok.oh [Tue, 1 Aug 2017 06:39:21 +0000 (15:39 +0900)]
dbus: clean up dbus conf

Change-Id: I43fb5b292b86631b0be981f946a0acf19679dbd2
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agoSeperate haptic driver rpms and configuration rpms 92/167692/3 accepted/tizen/unified/20180125.060624 submit/tizen/20180125.014359
pr.jung [Fri, 19 Jan 2018 08:01:41 +0000 (17:01 +0900)]
Seperate haptic driver rpms and configuration rpms

Change-Id: I17321f88d8602c9d92071fd1bab8d203bb2fe1e0
Signed-off-by: pr.jung <pr.jung@samsung.com>
6 years agoSeperate iot profile 12/164812/6
pr.jung [Thu, 21 Dec 2017 06:20:28 +0000 (15:20 +0900)]
Seperate iot profile

- GPIO_HAPTIC is used on iot profile

Change-Id: I755261b3248ed30cea41a2d02c1aff12f0623a47
Signed-off-by: pr.jung <pr.jung@samsung.com>
6 years agoRemove tizen_build_devel_mode in the spec 54/164854/1
Hyotaek Shim [Thu, 21 Dec 2017 08:17:14 +0000 (17:17 +0900)]
Remove tizen_build_devel_mode in the spec

Change-Id: Ie46190e2be39e83877e3f63eeaf72c38e700bd28
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agopio: can be included only peripheral-io.h 62/164762/1 accepted/tizen/unified/20171221.071352 submit/tizen/20171221.025332
Segwon [Thu, 21 Dec 2017 02:20:03 +0000 (11:20 +0900)]
pio: can be included only peripheral-io.h

Change-Id: I05cf2472f33c579182c39ca650d02016b0512747
Signed-off-by: Segwon <segwon.han@samsung.com>
7 years agoCoverity fixes. 18/155318/1 accepted/tizen/unified/20171019.060906 submit/tizen/20171018.075023
INSUN PYO [Fri, 13 Oct 2017 02:15:25 +0000 (02:15 +0000)]
Coverity fixes.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I9201254a8076891148aadb9a6932bebaef4263a4

7 years agoCoverity fixes. 99/153699/1
INSUN PYO [Fri, 29 Sep 2017 07:04:21 +0000 (16:04 +0900)]
Coverity fixes.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: If524dfd179eb01d40855e5e6570a488e759550c7

7 years agoApply Tizen Coding Rule 37/149237/1 accepted/tizen/unified/20170913.071515 submit/tizen/20170912.090359
pr.jung [Tue, 12 Sep 2017 02:33:56 +0000 (11:33 +0900)]
Apply Tizen Coding Rule

Change-Id: Ia7f9dc80a77e9a90df8f58219a568c56850ceff1
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoReturn valid handle in vibrate_monotone 27/142027/2
pr.jung [Wed, 2 Aug 2017 08:30:02 +0000 (17:30 +0900)]
Return valid handle in vibrate_monotone

Change-Id: I513fc57e25782ff7a3d8153be7fb764f98efb1c6
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoThe Initial Haptic (drv2605l) HAL for RPI3 81/140081/11 accepted/tizen/4.0/unified/20170829.020552 accepted/tizen/unified/20170808.171436 submit/tizen/20170808.025339 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
scott park [Sat, 22 Jul 2017 11:30:21 +0000 (20:30 +0900)]
The Initial Haptic (drv2605l) HAL for RPI3

Implemented using PIO (Peripheral-io)
- open_device, close_device, vibrate_monotone, stop_device

Change-Id: Ifc26d9f1397bd38f92b2dccb3916ed1316dfd9bc
Signed-off-by: scott park <scott.park@dignsys.com>
7 years agoAdd supplementary group for feedbackd.service 67/136867/1 accepted/tizen/4.0/unified/20170816.012047 accepted/tizen/4.0/unified/20170816.015055 accepted/tizen/unified/20170705.162813 submit/tizen/20170703.083138 submit/tizen/20170705.022204 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
pr.jung [Mon, 3 Jul 2017 08:09:20 +0000 (17:09 +0900)]
Add supplementary group for feedbackd.service

- Add input group for feedbackd
- feedbackd access /dev/input/

Change-Id: I5073d85a51c64fe651c3dfda7d321f4367cca9ad
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agohaptic: Play higher priority pattern when there are more than one vibration requests 49/135949/7
pr.jung [Tue, 27 Jun 2017 11:44:04 +0000 (20:44 +0900)]
haptic: Play higher priority pattern when there are more than one vibration requests

Change-Id: I1a5d25e0bfa31581b25636e8f62c6c952d05d417
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agohaptic: Only need to check whether next node is existed 04/135404/1
pr.jung [Thu, 22 Jun 2017 07:18:41 +0000 (16:18 +0900)]
haptic: Only need to check whether next node is existed

- If there is next node on vibration_data and waiting time is 0, haptic play should be continued

Change-Id: Ifea12490663f90997b9e19e24036b8693a651abc
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agohaptic: A haptic handle is independent of other handle 29/133429/2
pr.jung [Mon, 12 Jun 2017 07:24:04 +0000 (16:24 +0900)]
haptic: A haptic handle is independent of other handle

- Only the same handle with which plays vibration can stop vibration
- Needs to remove duration_timer when stopping vibration

Change-Id: I291e90e3248bdb647cdc08b1594aebf4681e5b9d
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoAdd standard.c for wearable profile 17/130117/1 accepted/tizen/unified/20170519.200307 submit/tizen/20170519.080356 tizen_4.0.m1_release
pr.jung [Fri, 19 May 2017 07:08:25 +0000 (16:08 +0900)]
Add standard.c for wearable profile

Change-Id: I37ac930a95e77b3350fdfd75d4aedb3a7ffe09c8
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agohaptic: Build circle.c for wearable profile 12/129812/1 accepted/tizen/unified/20170518.184710 submit/tizen/20170518.081259
pr.jung [Thu, 18 May 2017 07:15:13 +0000 (16:15 +0900)]
haptic: Build circle.c for wearable profile

Change-Id: I640f2457777c56ddf42ef1ea495958d4d59b0a9c
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoCreate initial commit 45/118345/6 accepted/tizen/unified/20170406.055712 submit/tizen/20170406.012359
pr.jung [Fri, 10 Mar 2017 05:26:01 +0000 (14:26 +0900)]
Create initial commit

Change-Id: I55eb8f18f19bcfd6467ed40558a4d6b914085965
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoInitial empty repository master
Tizen Infrastructure [Wed, 8 Feb 2017 01:54:15 +0000 (17:54 -0800)]
Initial empty repository