platform/core/connectivity/ua-manager.git
5 years agoFixed crash when UTC with Wi-Fi dummy plugin. 38/204038/1 accepted/tizen/unified/20190419.110540 accepted/tizen/unified/20190422.231529 submit/tizen/20190418.230305 submit/tizen/20190422.122708
saerome.kim [Thu, 18 Apr 2019 11:10:07 +0000 (20:10 +0900)]
Fixed crash when UTC with Wi-Fi dummy plugin.
Added error code UAM_ERROR_NOT_INITIALIZED

Change-Id: I42542f5281a31a4d5f78b40e6b949cb90be4456d
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
5 years agoAdd dbus policy rule. 26/203726/1 accepted/tizen/unified/20190417.132400 submit/tizen/20190417.070238
saerome.kim [Wed, 17 Apr 2019 05:50:11 +0000 (14:50 +0900)]
Add dbus policy rule.

- Allowed 'users' can access net.uamd/net.uamd.enabler dbus objects.

Change-Id: Id11ed40ac918c2329b6a36bb96decb1585a2a4e9
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
5 years agoFixed invalid memory access [SVACE ID: 414657] 54/202754/1 accepted/tizen/unified/20190404.075546 submit/tizen/20190403.232024
Atul Rai [Wed, 3 Apr 2019 07:23:06 +0000 (12:53 +0530)]
Fixed invalid memory access [SVACE ID: 414657]

Change-Id: I98e5a6528da2c60916216b814ce4ca0fb146994b
Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFix Svace issue : access memory after free 99/202699/1 accepted/tizen/unified/20190404.021956 submit/tizen/20190403.044801
Jihoon Jung [Wed, 3 Apr 2019 04:32:55 +0000 (13:32 +0900)]
Fix Svace issue : access memory after free

Change-Id: I7cd057b2b6956161a34d2033878c52e05e1267e3
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
5 years agoAdded support for GET/SET detection parameters 05/202205/1 accepted/tizen/unified/20190327.025240 submit/tizen/20190326.094010
Atul Rai [Tue, 26 Mar 2019 04:53:04 +0000 (10:23 +0530)]
Added support for GET/SET detection parameters

Change-Id: I7c8d3448fc31fbc7bed714240585a1bb043b04b6
Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoHandle NULL account in add_device_cb from cloud plugin 04/202204/1
Atul Rai [Wed, 20 Mar 2019 11:12:40 +0000 (16:42 +0530)]
Handle NULL account in add_device_cb from cloud plugin

Change-Id: Iebf37b1d4029d23f795f02d27d60ffe349bbcd92
Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAligned OS type across all interface headers 02/202202/1
Atul Rai [Wed, 20 Mar 2019 11:09:11 +0000 (16:39 +0530)]
Aligned OS type across all interface headers

Change-Id: I2d6d44358f350e42d4846709c25a3441454adc04
Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoRemove VD_REQ for power plugin related part submit/tizen/20190315.045054
Mayank Haarit [Thu, 14 Mar 2019 15:29:33 +0000 (20:59 +0530)]
Remove VD_REQ for power plugin related part

Change-Id: I22c77430f9c3b01aee1eb92c82a28c74d2ec5664
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
5 years agoAdded cloud plugin API and callback implementation
Atul Rai [Thu, 14 Mar 2019 10:26:33 +0000 (15:56 +0530)]
Added cloud plugin API and callback implementation

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoModified cloud plugin interface and plugin include dir
Atul Rai [Thu, 14 Mar 2019 10:24:41 +0000 (15:54 +0530)]
Modified cloud plugin interface and plugin include dir

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years ago[Fix review comments] Modify plugin directory path
Atul Rai [Thu, 14 Mar 2019 06:01:45 +0000 (11:31 +0530)]
[Fix review comments] Modify plugin directory path

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFixed Tizen coding rule errors
Atul Rai [Thu, 14 Mar 2019 05:09:24 +0000 (10:39 +0530)]
Fixed Tizen coding rule errors

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdded Cloud plugin handler in ua-manager
Atul Rai [Thu, 14 Mar 2019 05:03:07 +0000 (10:33 +0530)]
Added Cloud plugin handler in ua-manager

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdd app to monitor list if detection is already started accepted/tizen/unified/20190315.061301 submit/tizen/20190314.041456 submit/tizen/20190314.054245 submit/tizen/20190314.073057
Atul Rai [Tue, 12 Mar 2019 11:40:40 +0000 (17:10 +0530)]
Add app to monitor list if detection is already started

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFixed ua-client cleanup on app termination
Atul Rai [Mon, 11 Mar 2019 10:51:21 +0000 (16:21 +0530)]
Fixed ua-client cleanup on app termination

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFixed build error due to dbus-policy checker
saerome.kim [Mon, 11 Mar 2019 08:28:34 +0000 (17:28 +0900)]
Fixed build error due to dbus-policy checker

- how to test
: dbus-policychecker /etc/dbus-1/system.d/net.uamd.conf

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
5 years agoFix circleci configuration
Semun Lee [Fri, 8 Mar 2019 07:21:03 +0000 (16:21 +0900)]
Fix circleci configuration

It will use specific version of gbs.

Change-Id: I54d747dc92910b9717a1a0d7571b2800e452bc41
Signed-off-by: Semun Lee <semun.lee@samsung.com>
5 years agoInvoke UAM_REQUEST_ADD_DEVICE as ASYNC API
Atul Rai [Wed, 6 Mar 2019 05:53:47 +0000 (11:23 +0530)]
Invoke UAM_REQUEST_ADD_DEVICE as ASYNC API

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoDeleted unnecessary log.
saerome.kim [Thu, 28 Feb 2019 04:38:37 +0000 (13:38 +0900)]
Deleted unnecessary log.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
5 years agoModified to terminate ua-manager when all clients are terminated.
saerome.kim [Wed, 27 Feb 2019 09:17:03 +0000 (18:17 +0900)]
Modified to terminate ua-manager when all clients are terminated.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
5 years agoFixed indent issue of the license phrase.
saerome.kim [Fri, 22 Feb 2019 09:47:03 +0000 (18:47 +0900)]
Fixed indent issue of the license phrase.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
5 years agoRemoved VD req for MAX ALLOWED DEVICE restriction
Atul Rai [Thu, 21 Feb 2019 10:37:01 +0000 (16:07 +0530)]
Removed VD req for MAX ALLOWED DEVICE restriction

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoRemoved VD specific util plugin from ua-manager
Atul Rai [Fri, 22 Feb 2019 03:34:43 +0000 (09:04 +0530)]
Removed VD specific util plugin from ua-manager

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoapplied dbus auto activation
saerome.kim [Thu, 21 Feb 2019 11:40:58 +0000 (20:40 +0900)]
applied dbus auto activation

- implement dbus auto activation by sdding '/net/uamd/enabler'
interface. Currentl, multi-client is not considered.
- disable VD_REQ to avoid guild error.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
5 years agoRemove ua-manager-daemon package
saerome.kim [Mon, 11 Feb 2019 03:59:47 +0000 (12:59 +0900)]
Remove ua-manager-daemon package

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
5 years agoAdded the NOTICE file
saerome.kim [Mon, 11 Feb 2019 02:09:53 +0000 (11:09 +0900)]
Added the NOTICE file

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
5 years agoAdded a space to see error log cleary.
saerome kim [Thu, 7 Feb 2019 09:45:13 +0000 (18:45 +0900)]
Added a space to see error log cleary.

Signed-off-by: saerome kim <saerome.kim@samsung.com>
5 years agoFixed svace issues
saerome kim [Thu, 7 Feb 2019 09:09:17 +0000 (18:09 +0900)]
Fixed svace issues

Signed-off-by: saerome kim <saerome.kim@samsung.com>
5 years agoUpdate IP addr in DB on IP addr change for device
Atul Rai [Mon, 4 Feb 2019 06:09:49 +0000 (11:39 +0530)]
Update IP addr in DB on IP addr change for device

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFix is_sensor_ready() API
Atul Rai [Thu, 31 Jan 2019 07:06:39 +0000 (12:36 +0530)]
Fix is_sensor_ready() API

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdded a -fPIE option
saerome kim [Fri, 1 Feb 2019 04:01:09 +0000 (13:01 +0900)]
Added a -fPIE option

Signed-off-by: saerome kim <saerome.kim@samsung.com>
5 years agoFixed indent issues
saerome kim [Fri, 1 Feb 2019 02:10:32 +0000 (11:10 +0900)]
Fixed indent issues

Signed-off-by: saerome kim <saerome.kim@samsung.com>
5 years agoFixed build error for 64-bit arch.
saerome kim [Fri, 1 Feb 2019 01:36:44 +0000 (10:36 +0900)]
Fixed build error for 64-bit arch.
build configuration cleand up.

Signed-off-by: saerome kim <saerome.kim@samsung.com>
5 years agoFixed issue that application regards UA_ERROR_NOT_REGISTERED as
saerome kim [Wed, 30 Jan 2019 06:05:31 +0000 (15:05 +0900)]
Fixed issue that application regards UA_ERROR_NOT_REGISTERED as
UA_ERROR_NONE

Signed-off-by: saerome kim <saerome.kim@samsung.com>
5 years agoUpdate config.yml
나영근/Process & Infra Lab(SR)/Engineer/삼성전자 [Fri, 25 Jan 2019 01:29:57 +0000 (10:29 +0900)]
Update config.yml

5 years agoUpdate config.yml
나영근/Process & Infra Lab(SR)/Engineer/삼성전자 [Fri, 25 Jan 2019 01:25:11 +0000 (10:25 +0900)]
Update config.yml

5 years agoFix circleci to build with public package repo
Semun Lee [Thu, 24 Jan 2019 07:36:19 +0000 (16:36 +0900)]
Fix circleci to build with public package repo

Change-Id: Ieaa4fb81e58c45eeb0b82df30fe5389067c42717
Signed-off-by: Semun Lee <semun.lee@samsung.com>
5 years agoFix circleci configuration
Semun Lee [Thu, 24 Jan 2019 07:14:54 +0000 (16:14 +0900)]
Fix circleci configuration

Fix build failure in circleci vm.
qemu from tizen should be used instead of default one.

Change-Id: I433c6cb6ce79e6bdf4e7bd1eaeaec8e7a845df4a
Signed-off-by: Semun Lee <semun.lee@samsung.com>
5 years agomodifided ua-manager
saerome kim [Thu, 24 Jan 2019 06:14:44 +0000 (15:14 +0900)]
modifided ua-manager

- aligned with error codes with user-awareness
- make 'req_vd' feature as default disable

Signed-off-by: saerome kim <saerome.kim@samsung.com>
5 years agoAdd circleci configuration
Semun Lee [Thu, 24 Jan 2019 05:40:11 +0000 (14:40 +0900)]
Add circleci configuration

Change-Id: Ibd9c1fadef5684f038ee816421b22624d6de9bc4
Signed-off-by: Semun Lee <semun.lee@samsung.com>
5 years agoFixed error in get_device_by_mac API
Atul Rai [Thu, 24 Jan 2019 04:17:49 +0000 (09:47 +0530)]
Fixed error in get_device_by_mac API

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoModify VD Power Plugin manager and plugin handler
Atul Rai [Tue, 22 Jan 2019 10:35:42 +0000 (16:05 +0530)]
Modify VD Power Plugin manager and plugin handler

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdd config parser and conf file for detection params
Atul Rai [Tue, 22 Jan 2019 04:44:46 +0000 (10:14 +0530)]
Add config parser and conf file for detection params

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoadded enable/disable BLE headless mode API for power-plugin.
saerome.kim [Mon, 21 Jan 2019 09:47:25 +0000 (18:47 +0900)]
added enable/disable BLE headless mode API for power-plugin.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
5 years agoadded which sensors are available.
saerome.kim [Fri, 18 Jan 2019 03:17:45 +0000 (12:17 +0900)]
added which sensors are available.

- When TV goes into BACKGROUND SUSPEND mode by a sensor (BLE, Light,
Motion), power plugin should check which sensors are enabled then
execute PRESENCE detection with other sensors.

Then if all sensors detect PRESENCE, then wake up TV goes into NORMAL
mode as well.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
5 years ago[UA-API] Added Enable/Disable LPM APIs
Atul Rai [Thu, 17 Jan 2019 11:14:55 +0000 (16:44 +0530)]
[UA-API] Added Enable/Disable LPM APIs

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdded Util plugin for VD specific requirements
Atul Rai [Thu, 17 Jan 2019 10:04:35 +0000 (15:34 +0530)]
Added Util plugin for VD specific requirements

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdded SQL query to update ip address for device database
Abhishek Sansanwal [Thu, 17 Jan 2019 03:55:01 +0000 (09:25 +0530)]
Added SQL query to update ip address for device database

Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
5 years agoRemove device from SQL db on device removal from list
Atul Rai [Fri, 11 Jan 2019 06:56:28 +0000 (12:26 +0530)]
Remove device from SQL db on device removal from list

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFix UAM_EVENT_ABSENCE_DETECTED event type handling
Mayank Haarit [Thu, 10 Jan 2019 15:28:07 +0000 (20:58 +0530)]
Fix UAM_EVENT_ABSENCE_DETECTED event type handling

Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
5 years agoFixed _uam_pm_stop_detection return value
Atul Rai [Thu, 10 Jan 2019 06:31:52 +0000 (12:01 +0530)]
Fixed _uam_pm_stop_detection return value

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFixed plugin manager start/stop detection
Atul Rai [Wed, 9 Jan 2019 10:58:40 +0000 (16:28 +0530)]
Fixed plugin manager start/stop detection

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFixed coding style error and build warnings
Atul Rai [Wed, 9 Jan 2019 09:23:55 +0000 (14:53 +0530)]
Fixed coding style error and build warnings

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoCleanup monitor list on application termination
Atul Rai [Wed, 9 Jan 2019 07:10:37 +0000 (12:40 +0530)]
Cleanup monitor list on application termination

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFixed UA API dbus event handling
Atul Rai [Wed, 9 Jan 2019 07:08:27 +0000 (12:38 +0530)]
Fixed UA API dbus event handling

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdded WiFi plugin callback handler
Atul Rai [Wed, 9 Jan 2019 07:55:30 +0000 (13:25 +0530)]
Added WiFi plugin callback handler

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFixed review comments
Atul Rai [Mon, 7 Jan 2019 11:31:52 +0000 (17:01 +0530)]
Fixed review comments

This patch fixes review comments as following:
1/ Modify Log TAG as 'UAM_MANAGER' -> 'UA_MANAGER'
2/ Modify macro names as '*_SIZE' -> '*_LEN'

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoSend device list to plugins on core init
Atul Rai [Mon, 7 Jan 2019 11:27:03 +0000 (16:57 +0530)]
Send device list to plugins on core init

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFix Add device dbus request timeout
Atul Rai [Mon, 7 Jan 2019 11:26:33 +0000 (16:56 +0530)]
Fix Add device dbus request timeout

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFix device added callback handling
Atul Rai [Mon, 7 Jan 2019 11:26:04 +0000 (16:56 +0530)]
Fix device added callback handling

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years ago[ua-api] Fix set_detection_threshold API
Atul Rai [Mon, 7 Jan 2019 03:43:12 +0000 (09:13 +0530)]
[ua-api] Fix set_detection_threshold API

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFix Add device request handling
Atul Rai [Mon, 7 Jan 2019 03:41:58 +0000 (09:11 +0530)]
Fix Add device request handling

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFix Dbus request sender and request handler logic
Atul Rai [Fri, 4 Jan 2019 10:53:00 +0000 (16:23 +0530)]
Fix Dbus request sender and request handler logic

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFix Add user API in ua-manager-core
Atul Rai [Fri, 4 Jan 2019 10:52:14 +0000 (16:22 +0530)]
Fix Add user API in ua-manager-core

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFix UA sqlite db open fail issue
Atul Rai [Fri, 4 Jan 2019 10:49:28 +0000 (16:19 +0530)]
Fix UA sqlite db open fail issue

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFix ua-manager service daemon dbus name
Atul Rai [Fri, 4 Jan 2019 10:48:03 +0000 (16:18 +0530)]
Fix ua-manager service daemon dbus name

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFixed a review comment
unknown [Fri, 4 Jan 2019 14:26:40 +0000 (23:26 +0900)]
Fixed a review comment

Signed-off-by: unknown <saerome.kim@internal.sds.cloud.com>
5 years agoFixed review comments
saerome kim [Fri, 4 Jan 2019 08:47:31 +0000 (17:47 +0900)]
Fixed review comments

Signed-off-by: saerome kim <saerome.kim@samsung.com>
5 years agoFixed review comments
saerome kim [Fri, 4 Jan 2019 01:11:26 +0000 (10:11 +0900)]
Fixed review comments

Signed-off-by: saerome kim <saerome.kim@samsung.com>
5 years agoAdded power manager
saerome kim [Fri, 4 Jan 2019 01:11:26 +0000 (10:11 +0900)]
Added power manager

- added power plugin loader
- implemented empty check presence callback

Signed-off-by: saerome kim <saerome.kim@samsung.com>
5 years agoIntegrate UA database (persistent) into ua-manager
Atul Rai [Thu, 3 Jan 2019 06:54:59 +0000 (12:24 +0530)]
Integrate UA database (persistent) into ua-manager

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoModified UA database interface APIs
Atul Rai [Thu, 3 Jan 2019 06:49:26 +0000 (12:19 +0530)]
Modified UA database interface APIs

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdded code to handle database queries
Abhishek Sansanwal [Thu, 20 Dec 2018 06:56:30 +0000 (12:26 +0530)]
Added code to handle database queries

5 years agoImplemented events handling in ua-api
Mayank Haarit [Fri, 28 Dec 2018 17:27:21 +0000 (22:57 +0530)]
Implemented events handling in ua-api

This patch implemented :
1) Change name and account size to 254
2) Implemented events handling :
a) User events
b) Device events
c) monitoring events
d) sensor ready events

Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
5 years agoAdd motion plugin handler
Jihoon Jung [Thu, 27 Dec 2018 07:23:35 +0000 (16:23 +0900)]
Add motion plugin handler

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
5 years agoFix PRESENCE/ABSENCE event sending logic
Atul Rai [Fri, 28 Dec 2018 10:40:04 +0000 (16:10 +0530)]
Fix PRESENCE/ABSENCE event sending logic

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFix presence state updation logic
Atul Rai [Thu, 27 Dec 2018 03:29:22 +0000 (08:59 +0530)]
Fix presence state updation logic

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdded Set Low Power Mode request handling
Atul Rai [Wed, 26 Dec 2018 09:57:53 +0000 (15:27 +0530)]
Added Set Low Power Mode request handling

This patch also adds core init/deinit, set detection parametres APIs
in ua-manager core.

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFix param sequence in start/stop detection APIs
Atul Rai [Wed, 26 Dec 2018 03:14:08 +0000 (08:44 +0530)]
Fix param sequence in start/stop detection APIs

This patch fixes param sequence in _uam_pm_start_detection and
_uam_pm_stop_detection APIs. It also combines absence and presence
start/stop functions and fixed typo error sesors -> sensors.

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdded/modified sensor bitmasks in ua-manager
Atul Rai [Fri, 21 Dec 2018 11:25:36 +0000 (16:55 +0530)]
Added/modified sensor bitmasks in ua-manager

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdded implementation for detection APIs
Atul Rai [Fri, 21 Dec 2018 11:12:21 +0000 (16:42 +0530)]
Added implementation for detection APIs

This patch adds implementation for following detection APIs:
1/ UAM_REQUEST_SET_DETECTION_THRESHOLD
2/ UAM_REQUEST_START_PRESENCE_DETECTION
3/ UAM_REQUEST_STOP_PRESENCE_DETECTION
4/ UAM_REQUEST_START_ABSENCE_DETECTION
5/ UAM_REQUEST_STOP_ABSENCE_DETECTION

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoSet/update registered device to plugins
Atul Rai [Fri, 21 Dec 2018 08:32:13 +0000 (14:02 +0530)]
Set/update registered device to plugins

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdd Presence/Absence detected events
Atul Rai [Thu, 20 Dec 2018 11:51:25 +0000 (17:21 +0530)]
Add Presence/Absence detected events

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdded user added/remoced events
Atul Rai [Thu, 20 Dec 2018 09:45:45 +0000 (15:15 +0530)]
Added user added/remoced events

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdded device added/removed events
Atul Rai [Thu, 20 Dec 2018 09:17:49 +0000 (14:47 +0530)]
Added device added/removed events

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdd sensor state (Ready<->Not Ready) changed event
Atul Rai [Thu, 20 Dec 2018 05:58:40 +0000 (11:28 +0530)]
Add sensor state (Ready<->Not Ready) changed event

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoImplement device and user related APIs
Mayank Haarit [Thu, 20 Dec 2018 06:40:06 +0000 (12:10 +0530)]
Implement device and user related APIs

This patch includes implementation of :
1) _uam_get_default_user
2) _uam_add_user
3) _uam_remove_user
4) _uam_request_get_user_by_account
5) _uam_request_get_user_by_deviceid
6) _uam_request_get_user_by_mac
7) _uam_request_remove_device
8) _uam_request_remove_device_by_deviceid
9) _uam_request_remove_device_by_mac
10) _uam_request_get_device_by_deviceid
11) _uam_request_get_device_by_mac
12) _uam_request_get_devices
13) _uam_request_get_user_devices

Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
5 years agoModify ua-api headers as per capi to ua-api interface
Mayank Haarit [Wed, 19 Dec 2018 10:26:42 +0000 (15:56 +0530)]
Modify ua-api headers as per capi to ua-api interface

Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
5 years agoAdds functions and structures in ua-api
Mayank Haarit [Thu, 20 Dec 2018 06:09:36 +0000 (11:39 +0530)]
Adds functions and structures in ua-api

This patch adds new functions and structures as per
new capi and ua-daemon request handler.

Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
5 years agoModify "email" -> "account"
Atul Rai [Thu, 20 Dec 2018 05:50:13 +0000 (11:20 +0530)]
Modify "email" -> "account"

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoImplement is_device_added() API
Atul Rai [Thu, 20 Dec 2018 04:04:43 +0000 (09:34 +0530)]
Implement is_device_added() API

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdded implementation for remove device requests
Atul Rai [Tue, 18 Dec 2018 09:50:51 +0000 (15:20 +0530)]
Added implementation for remove device requests

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdded implementation for dbus GET requests
Atul Rai [Tue, 18 Dec 2018 07:24:19 +0000 (12:54 +0530)]
Added implementation for dbus GET requests

This patch adds implementation for following dbus requests:
1/ UAM_REQUEST_GET_USER_BY_EMAIL
2/ UAM_REQUEST_GET_USER_BY_DEVICE_ID
3/ UAM_REQUEST_GET_USER_BY_MAC
4/ UAM_REQUEST_GET_USERS
5/ UAM_REQUEST_GET_DEVICE_BY_DEVICE_ID
6/ UAM_REQUEST_GET_DEVICE_BY_MAC
7/ UAM_REQUEST_GET_DEVICES
8/ UAM_REQUEST_GET_USER_DEVICES

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoImplement VD requirement of MAX 6 devices in UA DB
Atul Rai [Mon, 17 Dec 2018 04:17:18 +0000 (09:47 +0530)]
Implement VD requirement of MAX 6 devices in UA DB

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoImplement BLE Plugin callback handler functions
Atul Rai [Thu, 13 Dec 2018 11:43:57 +0000 (17:13 +0530)]
Implement BLE Plugin callback handler functions

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoFix Remove user functionality
Atul Rai [Thu, 13 Dec 2018 04:56:29 +0000 (10:26 +0530)]
Fix Remove user functionality

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoAdd request handler implementation for DBUS requests
Atul Rai [Thu, 13 Dec 2018 04:49:59 +0000 (10:19 +0530)]
Add request handler implementation for DBUS requests

This patch adds implementation to handle following DBUS requests from
application:
1/ UAM_REQUEST_IS_SENSOR_READY
2/ UAM_REQUEST_GET_DEFAULT_USER
3/ UAM_REQUEST_ADD_USER
4/ UAM_REQUEST_DELETE_USER
5/ UAM_REQUEST_ADD_DEVICE
6/ UAM_REQUEST_DELETE_DEVICE

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoImplement device added cb in ble plugin handler
Atul Rai [Wed, 12 Dec 2018 10:45:50 +0000 (16:15 +0530)]
Implement device added cb in ble plugin handler

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoHandle user added event in ua-manager-core
Atul Rai [Wed, 12 Dec 2018 09:44:14 +0000 (15:14 +0530)]
Handle user added event in ua-manager-core

Signed-off-by: Atul Rai <a.rai@samsung.com>
5 years agoDefined unknown user id value in ua-plugin.h
Atul Rai [Wed, 12 Dec 2018 09:28:29 +0000 (14:58 +0530)]
Defined unknown user id value in ua-plugin.h

Signed-off-by: Atul Rai <a.rai@samsung.com>