Dohyun Pyun [Tue, 12 Mar 2024 04:18:33 +0000 (13:18 +0900)]
Fix gcov build error
Change-Id: I90de86a8b8f87d2b53bd55b3d0cef0289d06fbd3
Signed-off-by: Dohyun Pyun <dh79.pyun@samsung.com>
wchang kim [Thu, 29 Jun 2023 08:35:14 +0000 (17:35 +0900)]
Fixed the build error using gcc 13
Change-Id: I6d2f34134d9293e9e53a10b8d3ec23663b5cf269
Abhay Agarwal [Fri, 24 Jun 2022 03:15:42 +0000 (08:45 +0530)]
Remove non-relevant data from README
Change-Id: I2983179018eaa1c013bd8093c037474e3f4cb310
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Pyun DoHyun [Fri, 10 Jun 2022 07:41:38 +0000 (07:41 +0000)]
Merge "Do not build unittest when asan is enabled" into tizen
Seonah Moon [Fri, 10 Jun 2022 07:30:18 +0000 (16:30 +0900)]
Do not build unittest when asan is enabled
Change-Id: I5dd8f599b5f954bce550763147c003c29c3045de
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Abhay Agarwal [Tue, 7 Jun 2022 03:58:25 +0000 (09:28 +0530)]
Fix README formatting
Change-Id: I7a27b145c3384495a13a7ef938d97fe05e7be25f
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Mon, 6 Jun 2022 08:30:06 +0000 (14:00 +0530)]
Update README
Change-Id: Ied85a969374ac03c179bc6b8dbc9f298604d7663
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
dh79pyun [Mon, 13 Dec 2021 02:32:44 +0000 (11:32 +0900)]
Replace g_memdup to g_memdup2
Change-Id: Ief51d05998beaa73dabe1cf293ac24daf5f7b3e8
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
hyunuk tak [Fri, 10 Sep 2021 07:34:33 +0000 (07:34 +0000)]
Merge "[ACR-1646] Add location APIs to public header" into tizen
hyunuk.tak [Mon, 2 Aug 2021 01:54:52 +0000 (10:54 +0900)]
[ACR-1646] Add location APIs to public header
Change-Id: If6b0d3d4fbc8683c6430a532e0312d4ab67809f6
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
dh79pyun [Wed, 1 Sep 2021 00:28:18 +0000 (09:28 +0900)]
Enable the feature check logic
Change-Id: Id0ec7be8d0e3f5bf473794d80e7984ae7106fc5f
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
dh79pyun [Sun, 8 Aug 2021 21:48:06 +0000 (06:48 +0900)]
Fix API reference error (HEADER Required)
Change-Id: I52076c85fbf82d9c0302dbd2962bfe68c6cd422a
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
rohit singh [Tue, 13 Jul 2021 09:12:46 +0000 (14:42 +0530)]
Coverity issue fix
This patch fixes the coverity issue.
Change-Id: I9ddbd8c6f1b77b39eff1b67cfeb93c119ca16467
Signed-off-by: rohit.singh <rohit.singh@samsung.com>
DoHyun Pyun [Thu, 8 Jul 2021 05:43:35 +0000 (14:43 +0900)]
Fix the memory leak
Change-Id: Ic0c45298b82d7105ac45b2cbba1470a31c6de857
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
rohit singh [Tue, 6 Jul 2021 10:14:28 +0000 (15:44 +0530)]
Coverity bug fix
This patch fixes:
- Out of bound access warning
- Resource leak warning
Change-Id: I94523d40e627acdb964b42984c8f3fe0b7035642
Signed-off-by: rohit.singh <rohit.singh@samsung.com>
Abhay Agarwal [Tue, 29 Jun 2021 03:07:54 +0000 (08:37 +0530)]
Update test app for location sensors
Change-Id: I797a94f45835c35c93dc0d7cd443243d47afe002
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Mon, 24 May 2021 10:48:41 +0000 (16:18 +0530)]
Fix memory leak for location API's
Change-Id: Iad60d957970254dbe3122ff3071bcd31faf3681d
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Fri, 21 May 2021 08:28:58 +0000 (13:58 +0530)]
Add API to set location callback period
Change-Id: I6bdfb7a2284188ba1b637e8c3adeccc1048ee710
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Thu, 20 May 2021 12:27:15 +0000 (17:57 +0530)]
ua-test: Add support for location detection
Change-Id: I01931656fdf3db9aba5acbb1755467705a96ea6f
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Thu, 20 May 2021 12:02:04 +0000 (17:32 +0530)]
Add API's to get distance and position
Change-Id: Ie806f363b543500b3001780a512e8646cd35b29c
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Mon, 17 May 2021 05:54:40 +0000 (11:24 +0530)]
Handle location detection event
Change-Id: I9f6f7433bfc2e39f0ef52d20dbca695799eea8cb
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Mon, 10 May 2021 05:02:46 +0000 (10:32 +0530)]
Add support for stop location detection API
Change-Id: I8f4f33cc57a8ab394d344cbd2b947174b4a31179
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Mon, 3 May 2021 11:15:03 +0000 (16:45 +0530)]
Add API to start location detection
Change-Id: Ib7e9714739cdeb94019623381f57d8cd3d2490cb
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Thu, 18 Mar 2021 06:17:41 +0000 (11:47 +0530)]
Update enums and covert functions for UWB support
Change-Id: Icb17664cee768c8cff02d5578ef7102531caeda7
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Thu, 4 Feb 2021 05:41:33 +0000 (11:11 +0530)]
Modify enums and convert functions for wifi-location
Change-Id: I9b62c9edd0d8beb6d09c27a32730591972ef476e
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Thu, 4 Feb 2021 05:38:00 +0000 (11:08 +0530)]
Fix to get device for sensor presence detected callback
Change-Id: I3af0c3489f045f1a21f3a3dba80094078dd1dadc
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Pyun DoHyun [Tue, 15 Jun 2021 04:27:02 +0000 (04:27 +0000)]
Merge "Fix dereferencing before NULL check issue." into tizen
rohit singh [Thu, 10 Jun 2021 05:21:07 +0000 (10:51 +0530)]
Fix dereferencing before NULL check issue.
Change-Id: Ib106ef87a6d64baeebd4f803434ea4ff49595dac
Signed-off-by: rohit.singh <rohit.singh@samsung.com>
hyunuk.tak [Wed, 9 Jun 2021 23:36:05 +0000 (08:36 +0900)]
Fix memory leak
Change-Id: I388d70f032490ed7e6394fc58c1e75525c35aaaa
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
Pyun DoHyun [Tue, 1 Jun 2021 22:52:48 +0000 (22:52 +0000)]
Merge "Fix API to get device list for user" into tizen
rohit singh [Tue, 1 Jun 2021 06:39:51 +0000 (12:09 +0530)]
Fix style issues
This patches fixes the styles issues as shown
in the check-patch script.
Change-Id: I56ffcc8854804fc2fc80c67317b195f62d3c6492
Signed-off-by: rohit.singh <rohit.singh@samsung.com>
Abhay Agarwal [Tue, 1 Jun 2021 04:35:57 +0000 (10:05 +0530)]
Fix API to get device list for user
This patch fix the crash occuring while destroying
device list provided to application on use of API
ua_user_foreach_devices(). The crash was occuring
due to double free of device list.
Change-Id: I17163439ef2b14b5e4ef5dd018275e10bd0b0d54
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
rohit singh [Wed, 12 May 2021 06:07:50 +0000 (11:37 +0530)]
Remove service depricated api from ua-test
- ua_service_add_device()
- ua_service_remove_device()
Change-Id: I31c85aab253d96b1a404be1235ffef65dc7c537a
DoHyun Pyun [Mon, 10 May 2021 04:21:39 +0000 (13:21 +0900)]
Fix API reference errors
Change-Id: Id524948ddee4365cc2575eac562498082b501958
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
rohit singh [Sat, 1 May 2021 10:50:05 +0000 (16:20 +0530)]
Remove Deprecated API
ua_device_set_discriminant()
ua_user_clone()
ua_user_remove_device_by_device_id()
ua_user_set_account()
ua_user_set_name()
ua_service_set_name() -> ua_service_create()
ua_device_clone()
Change-Id: I2a66b9968497c50e879fbffa81be4d10b150e120
DoHyun Pyun [Thu, 15 Apr 2021 23:40:52 +0000 (08:40 +0900)]
Revert UA_MAC_TYPE_INVALID value and remove the description
Change-Id: I3e253e13c1cb1f93c271bbe11ee3affaeb3c3b6a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 15 Apr 2021 23:07:26 +0000 (08:07 +0900)]
Revert UA_SENSOR_MAX value and remove the description
Change-Id: I671e7b10437957ebb068c9d0566eda4b2af35686
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 15 Apr 2021 23:06:31 +0000 (08:06 +0900)]
Revert "Fix the max array size for the sensor callback"
This reverts commit
3fa77e7c12624a38f4c45c029f2f04f306398534.
Change-Id: Ic916325fdc7b7a45badcac11f3df393df2cef6d8
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 15 Apr 2021 22:55:12 +0000 (07:55 +0900)]
Fix the max array size for the sensor callback
Change-Id: Id55fcc582641b8d4289c90f954b9d376ceee36f9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Thu, 15 Apr 2021 22:17:29 +0000 (22:17 +0000)]
Merge "Increase error number according to order" into tizen
Abhay Agarwal [Mon, 12 Apr 2021 07:51:39 +0000 (13:21 +0530)]
Update documentation and header files
Change-Id: Ie0bf7690957faa146d742a8622497c53b1eb8aa6
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
hyunuk.tak [Tue, 13 Apr 2021 04:56:48 +0000 (13:56 +0900)]
Increase error number according to order
link to refer : https://review.tizen.org/gerrit/#/c/platform/core/api/common/+/256774/
Change-Id: Ibdecd70f11b419d2756d88d1217ced703927d679
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
DoHyun Pyun [Thu, 8 Apr 2021 23:13:25 +0000 (08:13 +0900)]
[ACR-1616] Modify UA feature name
Change-Id: Ia6ad250b48e46a32f490020142f9af29e09ffd53
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
hyunuk.tak [Tue, 30 Mar 2021 04:25:27 +0000 (13:25 +0900)]
Add to request add/remove sensor
Change-Id: I6922408fbde9d85d9bf9794feea559565488eb9a
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
hyunuk.tak [Wed, 17 Mar 2021 01:13:36 +0000 (10:13 +0900)]
Fix some svaces for memory leak
Change-Id: I430bd56448d05f1b053b56a9e04e30c6c9c5c5e4
hyunuk.tak [Tue, 16 Mar 2021 23:31:59 +0000 (08:31 +0900)]
Fix build break for gtest
Change-Id: I079ea86a3f115228926d8b99a7adf6647223ef37
Pyun DoHyun [Tue, 16 Mar 2021 23:03:48 +0000 (23:03 +0000)]
Merge "Disable the feature check logic before accepting ACR" into tizen
DoHyun Pyun [Mon, 15 Mar 2021 22:56:57 +0000 (07:56 +0900)]
Disable the feature check logic before accepting ACR
Change-Id: If935078b2a6bdba440b06ee4d674672287ed1c6a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
hyunuk.tak [Fri, 12 Mar 2021 05:23:53 +0000 (14:23 +0900)]
Add unittest for auto coverage
Change-Id: Id9cde65487d4c8887c17cfd1c69b0e71bc665147
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
hyunuk.tak [Fri, 12 Mar 2021 01:10:25 +0000 (10:10 +0900)]
Remove some device API from service
Change-Id: I314383a73b065e406cc6a9bd478345cad367d834
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
DoHyun Pyun [Thu, 11 Mar 2021 01:54:10 +0000 (10:54 +0900)]
Fix the build error
Change-Id: Ib5a78f748e1cb81742680de4b89877dab279a97c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Thu, 11 Mar 2021 01:15:56 +0000 (01:15 +0000)]
Merge "Update cmake to add type headers" into tizen
Abhay Agarwal [Tue, 16 Feb 2021 05:31:47 +0000 (11:01 +0530)]
Update cmake to add type headers
Change-Id: Ic47dd3ec96ee1595afd90eb73718ff568f63ee03
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
hyunuk.tak [Tue, 9 Mar 2021 22:40:09 +0000 (07:40 +0900)]
Modify the API name for seting callback
ua_monitor_set_sensor_status_cb
=> ua_monitor_set_sensor_status_changed_cb
ua_monitor_set_sensor_status_cb
=> ua_monitor_set_sensor_status_changed_cb
Change-Id: I6842b1a8316d762990364da7d71b905dd2ff86cc
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
hyunuk.tak [Mon, 8 Mar 2021 07:44:08 +0000 (16:44 +0900)]
Modify privilege info in header
Change-Id: Ie71d17be0a4e1194c6c6d7eb09b8a06dd19a84eb
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
Abhay Agarwal [Fri, 5 Mar 2021 14:47:53 +0000 (20:17 +0530)]
Rename callback for registered devices
This patch renames the callback:
- ua_registered_dev_cb ==> ua_registered_device_cb
Additionally, this patch update the API descriptions.
Change-Id: Id93ec6860edebf1faee2dc132db236df652e6fb5
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Wed, 3 Mar 2021 03:24:32 +0000 (08:54 +0530)]
Rename enum to report presence/absence
Change-Id: If3a004ddb2ebf3607122eb3c97c4f270c59f6bd0
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Tue, 23 Feb 2021 09:47:48 +0000 (15:17 +0530)]
Rename sensor callback
This patch renames sensor callback
__ua_monitor_foreach_sensor_cb => __ua_monitor_sensor_cb
Change-Id: I2bb309eb1fa9cfb448a3cdad41cb29637aa9a0b4
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Mon, 22 Feb 2021 07:19:44 +0000 (12:49 +0530)]
Update API description
Change-Id: Ie339a3ff85fe0f984772459beb3f6e71cd3e7466
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Fri, 19 Feb 2021 09:03:36 +0000 (14:33 +0530)]
Rename API and update header
This patch renames
ua_foreach_services() => ua_foreach_service()
Change-Id: I4329ecbe939c093ecc7296b390645b6a307fd636
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Thu, 18 Feb 2021 05:20:50 +0000 (10:50 +0530)]
Update API header files
This patch handles following:
- Rename enum's
- Rename callbacks
- Rename handle parameters
- Update return values for callbacks
- Modify gboolean to bool for native API's
- Update API descriptions
Change-Id: Ic4e6b39aa143e6b022d2bfb35a40bb443e76c256
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Tue, 16 Feb 2021 05:57:48 +0000 (11:27 +0530)]
Update API header files and docs
This patch handles
- Update document
- Remove empty tags
- Rename Enum's
- Fix typo's
Change-Id: I210459ebb1f8f16d2b9739fd7b6d8feb5dab0921
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
DoHyun Pyun [Thu, 4 Feb 2021 05:57:22 +0000 (14:57 +0900)]
Add the feature check logic
Change-Id: I3a7ba78dd468ebdab71190648e0561a6c355ba74
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 4 Feb 2021 03:09:55 +0000 (12:09 +0900)]
Fix the script error for document
Change-Id: I486a2ab78d0cc58b9e92bdc36eeabe8071927748
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 4 Feb 2021 00:08:56 +0000 (09:08 +0900)]
Rename UA error to TIZEN_ERROR_USER_AWARENESS
Change-Id: I5e28bd374416b044ff6cb4a38a4aa08cf9063f09
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 3 Feb 2021 23:40:41 +0000 (08:40 +0900)]
Update documents and rename get default service API
Add the missing privilege for setter APIs and rename as
ua_service_get_default_service -> ua_get_default_service
Change-Id: Idfb55c767e11c5a26840fdca3b143d9806ecb889
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 3 Feb 2021 04:54:21 +0000 (13:54 +0900)]
Add UA feature in the document
Change-Id: Iee7216dae11cec6cb8a7e89949c4cb407cd10490
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Wed, 3 Feb 2021 04:36:11 +0000 (04:36 +0000)]
Merge "Rename UA error code enum" into tizen
Abhay Agarwal [Wed, 3 Feb 2021 04:27:15 +0000 (09:57 +0530)]
Rename UA error code enum
Change-Id: I9075cf56c47e03f0a72e117013a9ee65ee22e745
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Wed, 3 Feb 2021 03:48:40 +0000 (09:18 +0530)]
Update public API and callback description
Change-Id: I3f92aa4c24a6e10cfcca7a9d77a4b319481749d1
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Tue, 2 Feb 2021 06:04:15 +0000 (11:34 +0530)]
Add privilege for public API functions
Change-Id: I2b2486ce460f0d00d9d49311940b01fc3337886b
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
DoHyun Pyun [Tue, 2 Feb 2021 00:17:29 +0000 (09:17 +0900)]
Seperate the type header files
Change-Id: I8121ba308ffc1c1b589809c560dccc875959cc73
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Abhay Agarwal [Mon, 1 Feb 2021 05:19:28 +0000 (10:49 +0530)]
Revert "Merge getter API's for service/user/device"
This reverts commit
057d14d70ba706358570d899b81a1da3e2bd0e
Change-Id: I5db08acd80587c869aabe0775781e8684d41460d
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
DoHyun Pyun [Sun, 31 Jan 2021 23:33:18 +0000 (08:33 +0900)]
Fix the build error in the test file
Change-Id: I55c3220c2ad83132152205c177ea810463649533
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Abhay Agarwal [Fri, 29 Jan 2021 06:51:27 +0000 (12:21 +0530)]
Move deprecated API's to internal header
Change-Id: Ib3407d9861aecc04d7fdf5e3b00a82996f643491
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Thu, 28 Jan 2021 10:40:50 +0000 (16:10 +0530)]
Update API description for return error code
Update API desciption to add UA_ERROR_NOT_INITIALIZED error code.
Change-Id: I70806f36c63bee4f9df5c7d276dcc8672406ccdd
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Thu, 28 Jan 2021 09:49:01 +0000 (15:19 +0530)]
Rename utility functions of sensor
Change-Id: I54eb9172bc119a0fbcc103cf7096bd82f0cf0e64
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Mon, 25 Jan 2021 11:12:59 +0000 (16:42 +0530)]
Merge getter API's for service/user/device
Deprecated API's in this patch
- ua_service_get_name()
- ua_service_get_detection_threshold()
- ua_user_get_account()
- ua_device_get_mac_type()
- ua_device_get_os_info()
- ua_device_get_mac_address()
- ua_device_get_device_id()
- ua_device_get_wifi_bssid()
- ua_device_get_wifi_ipv4_address()
- ua_device_get_last_presence()
This patch adds below new getter API's
- ua_service_get_information()
- ua_user_get_information()
- ua_device_get_information()
Change-Id: Ie6716701f4b2d53c808bc1cc7a7e74439c6261a4
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Mon, 25 Jan 2021 08:08:07 +0000 (13:38 +0530)]
Update API's and document header
This patch below modifies API's (renames)
- ua_sensor_get_bitmask
=> ua_sensor_get_type
- ua_service_get_by_name
=> ua_get_service_handle_by_name
Change-Id: I782d49b6dc718cfc9bddaa9da1e9d6dabd7c1871
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Fri, 22 Jan 2021 04:27:48 +0000 (09:57 +0530)]
Modify monitor API's
This patch modifies monitor based API's and callbacks
(renames/parameter modifications)
New API's to be used in place of deprecated API's
- ua_monitor_start_scan_devices()
=> ua_monitor_start_scan()
- ua_monitor_stop_scan_devices()
=> ua_monitor_stop_scan()
- Added service_handle in ua_presence_detected_cb
- Added service_handle in ua_absence_detected_cb
Change-Id: I603952908ce2d7ece527e0ee15cfb1aeca7945ea
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Thu, 21 Jan 2021 10:17:45 +0000 (15:47 +0530)]
Modify device API's
This patch modifies device based API's (renames/parameter modifications)
Deprecated API's
- ua_device_clone
- ua_device_set_mac_type
- ua_device_set_mac_address
- ua_device_set_device_id
- ua_device_get_parent_service
- ua_device_get_parent_user
New API's to be used in place of deprecated API's
- ua_device_foreach_added()
=> ua_foreach_devices()
- ua_device_create(ua_device_h * device_handle)
=> ua_device_create(ua_mac_type_e mac_type, const char* mac_address,
const char *device_id, ua_device_h *device_handle)
Change-Id: I1270d118fdd393e638e30e3f0ae5b4dcadc3e7c8
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Thu, 21 Jan 2021 07:59:30 +0000 (13:29 +0530)]
Modify service API's
This patch modifies service based API's (renames/ parameter modifications)
New API's to be used in place of deprecated API's
- ua_service_foreach_added()
=> ua_foreach_services()
- ua_service_foreach_added_users()
=> ua_service_foreach_users()
- ua_service_create(ua_service_h *service_handle)
=> ua_service_create(const char *name, ua_service_h *service_handle);
Change-Id: Ic9b5ee8b7e5b84704807fc943007831b901f1bf9
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Tue, 19 Jan 2021 07:21:53 +0000 (12:51 +0530)]
Modify user API's
This patch modifies user based API's (renames/ parameter modifications)
New API's to be used in place of deprecated API's
- ua_user_foreach_added() [deprecated]
=> ua_foreach_users()
- ua_user_get_default_user() [deprecated]
=> ua_get_default_user()
- ua_user_get_handle_by_account() [deprecated]
=> ua_service_get_user_by_account()
- ua_user_foreach_added_devices()
=> ua_user_foreach_devices()
- ua_user_create(ua_user_h *user_handle)
=> ua_user_create(const char* account, ua_user_h *user_handle)
Change-Id: Iffc42e23e0e86bcb82498542536482f00241bf6f
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
hyunuk.tak [Wed, 20 Jan 2021 07:39:37 +0000 (16:39 +0900)]
Modify some APIs appropriately
Add APIs
ua_device_get_parent_user
ua_device_get_parent_service
Modify APIs
ua_monitor_cancel_scan_devices
ua_sensor_status_changed_cb
Change-Id: I3e6d885b4ace313d4b0ac38f385a5a0abcd37802
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
hyunuk.tak [Tue, 19 Jan 2021 04:45:19 +0000 (13:45 +0900)]
Add define and log for deprecated API
Change-Id: I5bf70ab907fcfba5d2858097c3180670da598d78
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
hyunuk.tak [Thu, 14 Jan 2021 05:00:14 +0000 (14:00 +0900)]
Organize by deleting unnecessary APIs
Change-Id: I02e38e6363775dfc53af8a9a28a9f7c5dd071dc1
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
hyunuk.tak [Sun, 3 Jan 2021 23:56:54 +0000 (08:56 +0900)]
Add some patches
CircleCI config update
OS_TYPE updation by user fix
Fix to use gbs image for circle ci
Fix sensor detection callback
Fix handle the ua-manager termination
Add support to allow simultaneous device addition
Fix to use differnt device addition callback at same time
Handle device addition failure
Fix API to get all registered users
Clean up unnecessary global variables
Modify device payload structure
unit test: Add scenario table
unit test: Update scenario test cases
unit test: Update detection test cases
ua-test: update for payload verification
Change-Id: Iac4ca3a3978a4a99483994cc1cc0f1df58035899
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
DoHyun Pyun [Mon, 3 Aug 2020 01:39:21 +0000 (10:39 +0900)]
Modify the package version
In order to distinguish the package history as tizen version,
we manage the package version from now.
Change-Id: Ib5b790c6aa2a70d6d2bc323740dbbfa4de251769
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Cheoleun Moon [Wed, 22 Apr 2020 03:36:45 +0000 (12:36 +0900)]
Fix typo for gcov build
Change-Id: I138ea5d8d0b84a1318fe330b2591ff1db8709028
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Abhay Agarwal [Tue, 4 Feb 2020 05:25:18 +0000 (10:55 +0530)]
ua-test: Check bounds for tainted integer device uid length
Integer value 'device_uid_len' is being obtained from untrusted source.
Bounds of device uid length needs to be checked before using it as a loop
bound.
Change-Id: Idcb1f9b67d099d9f3443166ae559c81c563632ad
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Wed, 29 Jan 2020 04:53:02 +0000 (10:23 +0530)]
ua-test: Fix resource leak because of payload params
Change-Id: I19749aca6fef9caa82ddf40aa75dcacc88cdf3cb
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Tue, 28 Jan 2020 10:11:46 +0000 (15:41 +0530)]
Remove logically dead code
Change-Id: Ibcae2066b83eefd37da237302bbda0f4e6cdd425
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Tue, 4 Feb 2020 05:25:18 +0000 (10:55 +0530)]
ua-test: Check bounds for tainted integer device uid length
Integer value 'device_uid_len' is being obtained from untrusted source.
Bounds of device uid length needs to be checked before using it as a loop
bound.
Change-Id: If7d99db801af3d662e1212b5550ba391a916f913
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Jihoon Jung [Wed, 8 Jan 2020 14:01:03 +0000 (23:01 +0900)]
Fix gcc9 build failed : array-bounds error
Change-Id: Ic14f816d544168ad8ca558ec5d7731178841bf3f
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Nishant Chaprana [Mon, 30 Dec 2019 05:45:41 +0000 (11:15 +0530)]
Add Remark to free ble payload's user_data
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Abhay agarwal [Fri, 27 Dec 2019 07:25:49 +0000 (12:55 +0530)]
Fix coding guidelines issues
Signed-off-by: Abhay agarwal <ay.agarwal@samsung.com>
Abhay agarwal [Fri, 27 Dec 2019 04:10:55 +0000 (09:40 +0530)]
modify ua-test app to show payload params in hex
Signed-off-by: Abhay agarwal <ay.agarwal@samsung.com>
Abhay agarwal [Thu, 26 Dec 2019 13:43:20 +0000 (19:13 +0530)]
Get payload device user data
Signed-off-by: Abhay agarwal <ay.agarwal@samsung.com>
Abhay agarwal [Thu, 26 Dec 2019 04:25:15 +0000 (09:55 +0530)]
Set length for payload device uid
Signed-off-by: Abhay agarwal <ay.agarwal@samsung.com>
Abhay agarwal [Wed, 18 Dec 2019 05:36:03 +0000 (11:06 +0530)]
modify ua-test app to select and update payload
Signed-off-by: Abhay agarwal <ay.agarwal@samsung.com>