summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
taemin.yeom [Tue, 9 Mar 2021 06:40:00 +0000 (15:40 +0900)]
Apply libsyscommon gdbus api improvement on error handling
Change-Id: I8a433adcea86b30b3cb044e61bf60b7f7495a907
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
Yunmi Ha [Wed, 27 Jan 2021 01:59:30 +0000 (10:59 +0900)]
remove checking driver compatibility
Change-Id: I734fdfc2461e7c2780c3fd4295fdd2c4230e4490
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Yunmi Ha [Wed, 13 Jan 2021 08:23:51 +0000 (17:23 +0900)]
Apply next HAL architecture (hal api + backend)
Change-Id: I47a0b94cbf5ed7a5eae45ab06a7d32766c6b64b7
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Yunmi Ha [Wed, 6 Jan 2021 07:46:23 +0000 (16:46 +0900)]
Change prefix of list definition
- list to SYS_G_LIST
Change-Id: I44114cdf425e5d232f0414018c5a3698b881d17c
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Yunmi Ha [Tue, 5 Jan 2021 07:59:12 +0000 (16:59 +0900)]
Use libsyscommon for list and ini-parser
Change-Id: I6bf9fe57fbd38c0c59b71d30dec4c3b1918fa31f
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Yunmi Ha [Thu, 19 Nov 2020 08:45:05 +0000 (17:45 +0900)]
Distribute daemon and driver
- Feedbackd consists of 3 parts.
1. feedbackd daemon : Main daemon. process dbus connection.
2. haptic-dev library : Load driver module and call device function.
(Now, It is included in feedbackd daemon.
But it will be separated as library.)
3. driver module : there are three haptic modules. (gpio, emulator, standard)
Change-Id: I04450a39bd57a1c04ade4f0d8a0f1f6734debad2
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Yunmi Ha [Fri, 13 Nov 2020 08:34:50 +0000 (17:34 +0900)]
Remove unused circle driver
Change-Id: I05d45ab0f959f86035892371edb9b15805b383cf
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
lokilee73 [Thu, 10 Sep 2020 07:40:07 +0000 (16:40 +0900)]
Change function name
ex) dh_get_param_from_var to g_variant_get_safe
Change-Id: I73e92c7b2e87b0b5d26547fa4a3adc69e6451f84
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Yunmi Ha [Mon, 13 Jul 2020 05:15:10 +0000 (14:15 +0900)]
Fix 'stringop-truncation' build warning
Change-Id: Ia532e724a686fd6ced58b1ad7a4fc61680b92a6f
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Yunmi Ha [Tue, 7 Jul 2020 06:29:13 +0000 (15:29 +0900)]
Move main.c file to haptic folder
- 'core' and 'haptic' sub-modules has cycle dependecies
cause main function.
- For remove this, move main function to haptic sub-module.
Change-Id: Ie9e967d2b74694e020a5fccb5881e25248e7897c
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Yunmi Ha [Tue, 7 Jul 2020 05:43:13 +0000 (14:43 +0900)]
Add static keyword for global variable
Change-Id: I8fba40a7ea69599629d58844efdcd05e502f9748
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Yunmi Ha [Mon, 6 Jul 2020 07:47:19 +0000 (16:47 +0900)]
Remove duplicated code
Change-Id: I934f6cf3efc9194333e303cfab156863ae746b89
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Yunmi Ha [Tue, 12 May 2020 05:14:36 +0000 (14:14 +0900)]
test: Fix level value for VibratePattern test
Change-Id: I087dc84a91c5a1544dab2c5cd341e9072bb0bad3
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Yunmi Ha [Mon, 11 May 2020 09:03:19 +0000 (18:03 +0900)]
Remove default pattern for vibration
- No need for a default frequency anymore.
- When feedbackd set frequency as 0,
kernel will determine the frequency as F0.
- F0 is the optimal frequency for each device.
Change-Id: Ic73cc877114d8e9c74ce7f1ca3760d6bcb76adcd
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
sanghyeok.oh [Thu, 23 Apr 2020 07:42:48 +0000 (16:42 +0900)]
dbus: Add signature checking before using g_variant_get()
Change-Id: Ia8115cbaf411d47cb4f098fb83bb90f9a572ecc2
Youngjae Cho [Thu, 16 Apr 2020 07:03:43 +0000 (16:03 +0900)]
Fix build warning
Change-Id: If34bd4b0461a4a8ccd78253a4a7c1df022c5538f
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Yunmi Ha [Mon, 13 Apr 2020 03:08:37 +0000 (12:08 +0900)]
Add INFO log about play/stop vibration
Change-Id: Id6587a5c93f674887e596a461af8925c94650642
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
INSUN PYO [Mon, 8 Jul 2019 11:24:37 +0000 (20:24 +0900)]
Delete meaningless configuration
Change-Id: I473df7df364d8d12c24b934eb9a5e7dfed3900ba
INSUN PYO [Tue, 25 Jun 2019 05:27:58 +0000 (14:27 +0900)]
Remove unnecessary dependency from feedbackd.service
Change-Id: Ic0137662cee492cf69d8df217e0652604c3670d1
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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 { [-
2147483648,
2147483647] } and variable 'duration', where the value comes from 'conf->pattern_duration' and when 'duration' is tainted { [-
2147483648,
2147483647] }
- Simplifying loop in insert_raw_data_format
Change-Id: I70d7e24b8473d22207ce0197c04eac97c155eadf
Signed-off-by: pr.jung <pr.jung@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Tizen Infrastructure [Wed, 8 Feb 2017 01:54:15 +0000 (17:54 -0800)]
Initial empty repository