TaeminYeom [Wed, 5 Oct 2022 00:55:56 +0000 (09:55 +0900)]
sensor_listener_proxy: Add timestamp in accuracy change event
Change-Id: I80120402a331f05a4ffe99ee978c517bfd90b58c
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Tue, 27 Sep 2022 01:28:36 +0000 (10:28 +0900)]
socket: Initialize variable
Change-Id: Ib5c694f791748195801db8c7cc9740b0f8209d9e
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Tue, 27 Sep 2022 01:27:47 +0000 (10:27 +0900)]
sensorctl: Fix resource leak and check valid of return value
Change-Id: Icc5905b2bb8d92df16df5e2856a39b5bb74b815e
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Wed, 21 Sep 2022 02:45:04 +0000 (11:45 +0900)]
fusion: gravity: Initialize variables in the constructor
It was able to have an error due to garbage values.
Change-Id: If38617eca3ded6fade199c1ff78faa6dc5850646
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Thu, 25 Aug 2022 02:00:36 +0000 (11:00 +0900)]
Apply conf for rotation baseline in auto-rotation sensor
Change-Id: Icfc14b1f0641d5ba840c0085c4290703c388e756
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Mon, 22 Aug 2022 08:02:06 +0000 (17:02 +0900)]
Change auto-rotation sensor policy
-Clients can read the last value of rotation many times
-Default rotation degree is 0
Change-Id: I36d1f9e0ecf1106862be1421bb52f9936816dff7
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Wed, 8 Jun 2022 08:20:24 +0000 (17:20 +0900)]
Fix Coverity issues
Change-Id: I8cfd63487d52c1a9d61b8e6275c7c1fdbb63e7e5
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Wed, 8 Jun 2022 02:11:55 +0000 (11:11 +0900)]
Fix the initial value of yaw in gyroscope orientation
After sensord restarts, the inital value of yaw is 0
Change-Id: Ifc5a7fe679813abf2b7dbe372de6169e0df675c9
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Tue, 7 Jun 2022 05:39:51 +0000 (14:39 +0900)]
Remove garbage value in rotation vector
After sensord restarts, the clients don't get the value "0 0 0 0" in rv
Change-Id: Iea0e590927c75290a2f906991ca3245962b461d8
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Tue, 7 Jun 2022 05:09:50 +0000 (14:09 +0900)]
Fix invalid rotation vector variable name
-It just changes the name. There is no effect on the behavior.
Change-Id: I744e88d32c7a7a4aa8028ee346285e0557a817e1
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Tue, 17 May 2022 01:17:36 +0000 (10:17 +0900)]
Delete the space of queue and vector after use
Change-Id: I982e9012adaf815c8f081b7f9e8ac2267f79de18
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Tue, 10 May 2022 08:51:44 +0000 (17:51 +0900)]
Change to delete some resource in sensor_reader thread
It fixes segmentation fault in client.
Change-Id: I15977d8189b68b5ff7e319eb344ad9ebd5e9ad80
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Mon, 25 Apr 2022 08:28:13 +0000 (17:28 +0900)]
Change not to call "g_io_channel_shutdown"
It fixes double close of socket.
Change-Id: I4278025d473b1339bd2f7291d8d56c7f31865749
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Tue, 12 Apr 2022 05:27:35 +0000 (14:27 +0900)]
Erase an element in unordered_map when listener stops
It reduces memory usage.
Change-Id: Ie162b638d2ba9f9ec8e73c37bf13e371188c94e6
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Fri, 1 Apr 2022 09:25:07 +0000 (18:25 +0900)]
Change to not use lazy release in channel class
It fixes memory leak in daemon
Change-Id: I3b2616f93e560b73cf0381a46aea4ba04ebe4170
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Tue, 8 Mar 2022 10:09:20 +0000 (19:09 +0900)]
Fix memory leak
Change-Id: I187f06e7585791adbe87cc00a08a8043393f64ba
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Mon, 28 Feb 2022 08:14:44 +0000 (17:14 +0900)]
Fix error in sensor cache
-Add error handling when there is no data
-Change to clear sensor data cache after getting cache data
Change-Id: I5967fe57298e7f90b9493a0f9e56eaec8778efbf
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Thu, 13 Jan 2022 04:52:43 +0000 (13:52 +0900)]
Change const to macro
Change-Id: I14c228bdb4bf501177b0c7bf3edcf7a5b3076737
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Thu, 13 Jan 2022 04:16:40 +0000 (13:16 +0900)]
Change define check name __SENSORD_INTERNAL_H__
Change-Id: I2323c95a364e4e7fb899c1cf47c858b9b7ccad6b
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Wed, 12 Jan 2022 10:36:30 +0000 (19:36 +0900)]
Fix sensor_handler error
Change-Id: Id68aadccd03a351b21cddb902ae1ee3cd272010d
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Fri, 7 Jan 2022 03:56:33 +0000 (12:56 +0900)]
Improve accuracy of orientation sensor calculation
-limit dT value range in rotation vector calculation
-fix timestamp reversal
-check max interval of sensor
Change-Id: I558a4af25aacbf903698244c57e34ffd1d5562e8
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Tue, 11 Jan 2022 05:57:19 +0000 (14:57 +0900)]
Add condition in calling set batch latency
-If user didn't set batch latency, not call
Change-Id: Id8511bebf8a6dd60d3a67b996440c9fabb1963b4
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
TaeminYeom [Mon, 3 Jan 2022 01:08:44 +0000 (10:08 +0900)]
Remove orientation and rotation vector log
Change-Id: Ic124191c8ee2ba7e1d0007892011b76b10da8769
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
taemin.yeom [Fri, 17 Dec 2021 10:22:46 +0000 (19:22 +0900)]
Change "get_attribute" to get the value directly in HAL
Change-Id: Ia013be56ba7bcd1feffcf24cd44d06ffffbfdfd3
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
taemin.yeom [Mon, 13 Dec 2021 09:29:52 +0000 (18:29 +0900)]
Add Lidar sensor type
Change-Id: Ie42207e20af761da33bad3ce7073c4d9bd3e259f
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
JinWang An [Mon, 22 Nov 2021 08:01:24 +0000 (17:01 +0900)]
Fix cmake build option
Change-Id: Ieb5dc651c9534aed643b313e543a1ace9be95a93
Signed-off-by: JinWang An <jinwang.an@samsung.com>
taemin.yeom [Fri, 15 Oct 2021 10:11:54 +0000 (19:11 +0900)]
Fix duplicated URI error
Change-Id: I26e2cec90d51625aa14223ea4beae7c2ea871f6f
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
taemin.yeom [Wed, 13 Oct 2021 07:57:43 +0000 (16:57 +0900)]
Improve correctness in orientation calculation
-fix gravity constant with HAL
-change reference not to be used in function args
to prevent changing values by other threads
Change-Id: I39c14d37490803c9712958d6f2dc464f026b07c8
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
taemin.yeom [Thu, 16 Sep 2021 07:53:04 +0000 (16:53 +0900)]
Support new orientation sensor types
- GYROSCOPE_ORIENTATION_SENSOR : based on gyroscope_rotation_vector
- GEOMAGNETIC_ORIENTATION_SENSOR : based on geomagnetic_rotration_vector
Change-Id: I604e4bb772274660be31077f30a3cdb051c9d342
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
taemin.yeom [Thu, 2 Sep 2021 08:46:49 +0000 (17:46 +0900)]
Upgrade calculating algorithm of rotation vector and orientation
Change-Id: Ic564b55f3951ba7e44d6c780a5f683a4e0fafed8
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
INSUN PYO [Tue, 7 Sep 2021 07:49:46 +0000 (16:49 +0900)]
Fix fd leak
Change-Id: I4d74acb337b0fd4aaac6fb911055ac702dd055b3
Yunmi Ha [Wed, 1 Sep 2021 04:38:24 +0000 (13:38 +0900)]
Add orientation sensor type
- GYROSCOPE_ORIENTATION_SENSOR : based on gyroscope_rotation_vector
- GEOMAGNETIC_ORIENTATION_SENSOR : based on geomagnetic_rotration_vector
Change-Id: I7440c5c153c30221dddab8b5eaacb55bf7d6adb2
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
taemin.yeom [Wed, 30 Jun 2021 07:31:37 +0000 (16:31 +0900)]
Fix min range values in rotation vector
Change-Id: I544d6dc116fbe92be9c32ff26ccdd20978708988
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
Hyotaek Shim [Tue, 25 May 2021 07:17:35 +0000 (16:17 +0900)]
Add .gitignore
Change-Id: I14d9e446f4fd795f0fa314a30536890b8490cd23
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Tue, 25 May 2021 05:56:51 +0000 (14:56 +0900)]
Add namespace sensor for Autolock
Change-Id: Ie5df4a9471cb2dfac519ce37cb195206fe7f5761
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Yunmi Ha [Fri, 23 Apr 2021 10:26:56 +0000 (19:26 +0900)]
Fix an error while restoring connection in case of server down
- remove command channel before restoring connection
Change-Id: I18967110bb293e7d9442628bf7b980e436c1d33d
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
INSUN PYO [Mon, 15 Mar 2021 07:35:23 +0000 (16:35 +0900)]
Modify sensord.socket and sensord.service
1. Remove systemd default value.
sensord.socket
2. Added more robust exception handling.
If sensord.socket fails, sensord.service is not executed.
Change-Id: I706d248b05b5b21fc7b1c319054c3fb5ba6e7315
Boram Bae [Wed, 17 Feb 2021 05:45:28 +0000 (14:45 +0900)]
Fix coverity issues
Change-Id: Ia3bcbecc10af6bf2d095680fe6e62860b1fda8ea
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Wed, 17 Feb 2021 02:37:02 +0000 (11:37 +0900)]
Fix svace issues
Change-Id: Ia19483be36444f2f2acb735b6d911f62d63d1f29
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
boram bae [Mon, 8 Feb 2021 01:45:09 +0000 (01:45 +0000)]
Merge "Change systemd-devel package name" into tizen
INSUN PYO [Wed, 3 Feb 2021 00:38:29 +0000 (09:38 +0900)]
Change systemd-devel package name
Change-Id: Iac39dc53e727d1aed361ef359ec8440acf406cc4
Boram Bae [Tue, 2 Feb 2021 05:40:55 +0000 (14:40 +0900)]
Use hal-sensor-types
* Use hal-sensor-types instead of hal-sensor-interface
* This change required by plan of Next HAL
Change-Id: I913dc2ffda97f5cb11c59afc25e8227309e5808a
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Wed, 27 Jan 2021 07:40:25 +0000 (16:40 +0900)]
Add a dependency to sensor.pc
Change-Id: I115db40800a6bf9b1438e9657d20e5db22f274ce
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Thu, 14 Jan 2021 09:45:44 +0000 (18:45 +0900)]
Use hal-api-sensor instead of legacy interface
* This change is for Tizen Next-HAL
* Now, all implementations of sensor device inherit sensor device interface of the hal-api-sensor
* Move sensor_hal and sensor_hal_types to hal-api-sensor
* Name sensor_loader`s existing HAL as Legacy HAL
Change-Id: I74693374db341475039d31071798e5a252dfc39f
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Mon, 10 Aug 2020 02:28:58 +0000 (11:28 +0900)]
Restore pause policy when restoring listener connection
Change-Id: Ic542d21e51bbd4f1ec73c96f4185ac68538958f1
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Wed, 10 Jun 2020 07:46:41 +0000 (16:46 +0900)]
Add comments about some reserved area
Change-Id: I1963eadd7c3931d381b605ac0dd73d8e4ed8d703
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Fri, 22 May 2020 04:51:42 +0000 (13:51 +0900)]
Use a send instead of send_snyc
* To prevent timeout when calling select
Change-Id: Iba1bf0149012c4f3eae90e93a549a02349285167
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
MuHong Byun [Thu, 21 May 2020 03:56:15 +0000 (12:56 +0900)]
Limit number of providers for better performance
Change-Id: Icaef386841acfd1537a38a210115e049453c0670
Signed-off-by: MuHong Byun <mh.byun@samsung.com>
Boram Bae [Tue, 19 May 2020 03:31:03 +0000 (12:31 +0900)]
Use a buffer size when disclosing message
Change-Id: Ica95575c04fce516fb8e156fa8281d8888a1ea15
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Mon, 20 Apr 2020 05:24:58 +0000 (14:24 +0900)]
Fix a bug
Change-Id: Id9390743fb1ebc0a6951f071d50e1cd8e05112d4
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Tue, 7 Apr 2020 09:52:36 +0000 (18:52 +0900)]
Add a lock to event_loop
Change-Id: I610fa0ffaebd256b184f9e5e4c8e2fd79b02cc75
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Tue, 7 Apr 2020 09:17:20 +0000 (18:17 +0900)]
Disconnect channel when peer performs shutdown
Change-Id: Iaccbd1d23b9000f20f9cef3a536948847a174985
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Wed, 25 Mar 2020 12:11:25 +0000 (21:11 +0900)]
Add set_fusion_sensor_handler to fusion_sensor
Change-Id: I30f6a713ca4ee09d5dcd545ca10b995d8a6a9643
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Mon, 23 Mar 2020 04:58:36 +0000 (13:58 +0900)]
Fix coverity issues
Change-Id: I234a51bb32ba6f2c105d8227acb519dc05e19182
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Wed, 18 Mar 2020 02:52:24 +0000 (11:52 +0900)]
Add more sensor_attribute values
Change-Id: Ia68d345c8d1ff7cc1e745a92752deb4572993307
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Thu, 12 Mar 2020 06:46:26 +0000 (15:46 +0900)]
Add HRM_LED_GREEN_BATCH_SENSOR sensor
Change-Id: I4eaaee0242374857874ca6e2195c0ebde8f5f6b5
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Tue, 10 Mar 2020 01:59:08 +0000 (10:59 +0900)]
Add hrm_batch sensor type
Change-Id: I6167d678146dd73a87f6cc6cc02f854dd5aa19db
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Wed, 4 Mar 2020 02:48:06 +0000 (11:48 +0900)]
Fix coverity issues
Change-Id: Icfdbaab542d1937f481087a78f5eacf7d0b8b95f
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Wed, 26 Feb 2020 02:32:49 +0000 (11:32 +0900)]
Implement add_idle_event at event_loop
* This patch also fixe memory leak
Change-Id: I070d08a10dd9c02ec6df15602d3a4e37a9618404
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Fri, 21 Feb 2020 03:38:08 +0000 (12:38 +0900)]
Add a lock at channel
Change-Id: Ied812242c1eda6b0adb1878b3fbc2a9bc85b2d1f
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Tue, 18 Feb 2020 10:56:28 +0000 (19:56 +0900)]
Add a command type to indicate that the listener is connected.
Change-Id: I97775d6f9685294c06ac6551434c13a4cf1b3883
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Mon, 17 Feb 2020 05:45:22 +0000 (14:45 +0900)]
Fix coverity issues
Change-Id: Ib449e448c9d12bf66fd2dee02d05654d208e8d72
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Mon, 10 Feb 2020 05:11:11 +0000 (14:11 +0900)]
Fix coverity issue
Change-Id: I0d25afbfb7391209bbd0c0691b462bc9e77509df
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Thu, 6 Feb 2020 04:36:15 +0000 (13:36 +0900)]
Use pass by reference instead of by value
* This patch fixes Svace issue
Change-Id: I5b276f2cac8c9703e218e2262a06eb827f3ee06b
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Wed, 5 Feb 2020 07:31:51 +0000 (16:31 +0900)]
Do not update client's attribute cache when attribute is SENSORD_ATTRIBUTE_FLUSH
Change-Id: If91bbdae0e777927b2a930d494fcc0126fbffccf
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Mon, 3 Feb 2020 08:02:19 +0000 (17:02 +0900)]
Initialize uninitialized pointers
Change-Id: If831237a9e04965f20161ce2285d45978b2af19f
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Tue, 28 Jan 2020 04:10:07 +0000 (13:10 +0900)]
Fix coverity issue
Change-Id: I5418fd4563bad87b89ccf5a013e9a6d6fa23cdf8
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Tue, 21 Jan 2020 05:19:06 +0000 (14:19 +0900)]
Update for attribute changed callback and attribute getter
* Do not update client attribute cache when calling attribute changed
callback
* Fix a bug related sensord_attribute_{int/str}_get
* Fix build warrning related to type conversion
* Notify all client(including self) that following attributes are changed
SENSORD_ATTRIBUTE_INTERVAL
SENSORD_ATTRIBUTE_MAX_BATCH_LATENCY
SENSORD_ATTRIBUTE_PAUSE_POLICY
SENSORD_ATTRIBUTE_AXIS_ORIENTATION
ALL_CUSTOM_ATTRIBUE_INT
ALL_ATTRIBUTE_STR
* Refactor some codes
* Add more internal tests
Change-Id: I0e7fb63cd9a44ce2306299afcb791fbac488afda
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Wed, 18 Dec 2019 05:49:33 +0000 (14:49 +0900)]
Use vector<char> to cache sensor_data_t in sensor_handler
* This patch fixes the memory leak in the Sensord.
Change-Id: I6a4f6751465a37e9a0bf71a6cd8cff8abc942e80
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Thu, 12 Dec 2019 05:31:33 +0000 (14:31 +0900)]
Change signature of sensor_events_cb_t
Change-Id: I66c9cb763dca3d1dea4de38802bb0325fec0a0fc
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Thu, 5 Dec 2019 10:20:12 +0000 (19:20 +0900)]
Delete pending events when disconnecting channel
Change-Id: I1b7fb7dce4c14b31d18b9169f398571c34c67fbd
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Tue, 3 Dec 2019 01:31:09 +0000 (10:31 +0900)]
Use share_ptr to send message, Use reference to send_sync message
* fix some memory leak
Change-Id: I20bbc5e29fa1ed9f801b3f6bb904b49fea857506
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Fri, 29 Nov 2019 04:35:56 +0000 (13:35 +0900)]
Implement sensord_get_data_list
* Add a command type CMD_LISTENER_GET_DATA_LIST
* Add sensorctl tests
* Now, you can use sensor_get_data_list instead of sensor_get_data
Change-Id: I2c90e680a6b3f86076df5702f3b29d5ff7eec1bf
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Wed, 27 Nov 2019 08:06:10 +0000 (17:06 +0900)]
Add APIs to get an attribute value
* Implement sensord_get_attribute_int/str
* Update attribute of sensor_listener when another one changes the attribute
* Remove an interface on_attribute_changed of sensor_observer
* Add memebers to store attributes of sensor_listener and sensor_hander
* Add command types
Change-Id: I9e736699e2156a4779ddcb319a3f4a6206c9c4b1
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Fri, 22 Nov 2019 03:54:28 +0000 (12:54 +0900)]
Implement APIs related to attribute change notifications.
Change-Id: Ibadf4b2feacb785bd71f880a3fa061e6863580f4
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Thu, 21 Nov 2019 01:14:11 +0000 (10:14 +0900)]
Add new APIs skeleton to announce that attribute changed
* Remove a build warning
* Add sensorctl tests
* Refactor some codes
Change-Id: I048fa208303c18e7a52b7918c00beb3556e993d3
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Tue, 12 Nov 2019 10:05:47 +0000 (19:05 +0900)]
Add sensor APIs related to batch event
* This patch also includes new tests to test batch events related APIs at sensorctl
Change-Id: If59c1b43b10c6b39bf72687bfb67eb9e305fe62b
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Thu, 7 Nov 2019 04:58:32 +0000 (13:58 +0900)]
Integrate internal fixes
Change-Id: Ib7d63ed61153ef5c8ce1ad357b8dace3ad8ca0f4
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
srinivasa.m [Thu, 26 Sep 2019 11:48:17 +0000 (17:18 +0530)]
coverity issues fix
Change-Id: I1be07d5441e07219dc8eecc965c91e70e6b1c7d2
Signed-off-by: srinivasa.m <srinivasa.m@samsung.com>
Randeep Singh [Mon, 2 Sep 2019 08:57:59 +0000 (08:57 +0000)]
Revert "Coverity issues Fix"
This reverts commit
fffc6e5fd2ad327507bb2c709c5a110dfc58eb7b.
Change-Id: I6987d421ea17cd9d46f96d316b17b89bcad4d88d
srinivasa.m [Mon, 26 Aug 2019 14:22:02 +0000 (19:52 +0530)]
Coverity issues Fix
Change-Id: I69e6f257e7552803b27e5b15b9d00aa52d826b6c
INSUN PYO [Thu, 25 Jul 2019 10:13:04 +0000 (19:13 +0900)]
Remove unnecessary setting
Change-Id: I4e9795e2ebffd51befe5713db35d5fd0be82a4f5
srinivasa.m [Fri, 12 Jul 2019 12:40:27 +0000 (18:10 +0530)]
socket connection return value chack added to avoid crash
Change-Id: Ic63c3d4fbd1daad11f09d8d388522bd764241a11
INSUN PYO [Mon, 24 Jun 2019 02:33:05 +0000 (11:33 +0900)]
Remove unnecessary settings on sensord.socket
Change-Id: Id4ceeaae99469684b64d7b668ad25bd458ac19f8
Abhishek Vijay [Wed, 29 May 2019 08:59:20 +0000 (08:59 +0000)]
Merge "[Tizen 5.0] Sensord: Fix memory leak" into tizen
Avichal [Wed, 8 May 2019 13:08:46 +0000 (18:38 +0530)]
Adding sensord dbus policy
Change-Id: I3192da5970a0e3089893b0b7e06a8c07cb207182
Signed-off-by: Avichal <avichal.a@samsung.com>
Abhishek Vijay [Tue, 9 Apr 2019 12:51:14 +0000 (12:51 +0000)]
Merge "ASAN issue" into tizen
Avichal [Tue, 9 Apr 2019 11:43:16 +0000 (17:13 +0530)]
ASAN issue
1. heap-use-after-free in enlightenment (TFDF-279,280)
2. heap-use-after-free in amd(TFDF-281,282)
THis issue reported on termination of sensord
Change-Id: I03e1d592e9caa93636d31d712e581c48db2d2363
Signed-off-by: Avichal <avichal.a@samsung.com>
Avichal [Thu, 21 Feb 2019 09:49:22 +0000 (15:19 +0530)]
Rectifyng this poniter deletion from member function
ASAN TFD289
Change-Id: I8261058c690244e6a21df616c67dae5dda1117ff
Avichal [Thu, 7 Feb 2019 13:50:50 +0000 (19:20 +0530)]
Fixed Heap corruption
JIra issue Tizen 5.0 release
TFIVE-14499
[ASAN][BUG] heap-use-after-free in amd on TM1
Change-Id: Ib60e0968d00d6fa22dd9dbc9aaf396772a8f1add
Signed-off-by: Avichal <avichal.a@samsung.com>
Abhishek Vijay [Wed, 12 Dec 2018 06:54:52 +0000 (06:54 +0000)]
Merge "Dangling pointer fixed" into tizen
Ingi Kim [Thu, 25 Oct 2018 09:52:25 +0000 (18:52 +0900)]
[Tizen 5.0] Sensord: Fix memory leak
Memory leak is detected by DML.
physical_sensor_handler:get_data() pushed data to ids which is vector type
but it isn't cleared till end of execution.
Change-Id: I1b20b3c4feefc8ba7ade7a9ae0c80ae40a8a9ec7
Signed-off-by: Ingi Kim <ingi2.kim@samsung.com>
randeep singh [Wed, 31 Oct 2018 12:45:12 +0000 (12:45 +0000)]
Merge "Heap corruption fixed" into tizen
Sudipto [Thu, 25 Oct 2018 16:46:53 +0000 (22:16 +0530)]
Heap corruption fixed
Change-Id: I4b0f613ddc9bd7d516f8193733d4d089df2bbb79
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
chakradhar [Tue, 23 Oct 2018 06:38:50 +0000 (12:08 +0530)]
Fix a fortify failure while get auto_rotation sensor
Change-Id: Idac93075ba393985668ebdb0298a0f1c23261312
Signed-off-by: chakradhar <v.pogiri@samsung.com>
Sudipto [Fri, 28 Sep 2018 17:20:50 +0000 (22:50 +0530)]
Dangling pointer fixed
Change-Id: I6b342c7d4cadf3d9b41313bb3a237a05669ffc17
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
srinivasa.m [Wed, 26 Sep 2018 12:23:32 +0000 (17:53 +0530)]
ASAN: heap-use-after-free issue fix
Change-Id: I4d4c0bcbbafb7407d5944f21e70ac022c78e31c7
srinivasa.m [Fri, 17 Aug 2018 07:29:17 +0000 (12:59 +0530)]
Fix for ASAN Issue: alloc-dealloc mismatch
Change-Id: Ida828cfcc6b741144ee5d27f46c058bd58c3390a
randeep singh [Tue, 14 Aug 2018 10:46:20 +0000 (10:46 +0000)]
Merge "[Non-ACR][Fix for TFIVE-11871]" into tizen
Sudipto [Thu, 28 Jun 2018 09:55:02 +0000 (15:25 +0530)]
[Non-ACR][Fix for TFIVE-11871]
Change-Id: Ief91ed874a9af2c3793dbf07689b08aed8363246
Signed-off-by: Sudipto <sudipto.bal@samsung.com>