summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Remainning fixes from utility update"utility_updatesJacqueline Molz2018-02-273-114/+104
| | | | This reverts commit 2989fcc50a6f334574b0fe0df91d30a6badbd7fa.
* Remainning fixes from utility updateDon Al2018-02-273-104/+114
| | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I3c8a2b474bc8fac62c76a46545a231c718edb2a9
* Removed real-time scheduler implementationJacqueline Molz2018-02-1211-75/+17
|\
| * The real-time scheduler removed.Aleksandar Donchev2018-02-076-60/+0
| | | | | | | | | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I7c8a2c474bc8fac62c76a46545a231c518edb2a8
| * Cmake parameters for real-time scheduler's priority and policy and throw ↵Aleksandar Donchev2017-12-017-65/+120
| | | | | | | | | | | | | | | | runtime error if read fails. Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I6a7a2c424bc8fac62c76a66545a231c518edb2e1
| * Fix for CAPI timeouts and support for more than one CAPI watchAleksandar Donchev2017-12-012-116/+198
| | | | | | | | | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I9a9d2c424bc8fac62c76a66545a531c518edb2e3
| * Real time scheduler added, capi wrapper timeout return value considered in ↵Aleksandar Donchev2017-12-015-67/+90
| | | | | | | | | | | | | | | | registerTimeout, only requested revent passed from within the camsockethandler instead of all Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I2d9d2c424ac3fac62c76a66545a531c518edb2e8
| * * All methods in CAPI wrapper with connectionID parameter are deprecated ↵Aleksandar Donchev2017-09-294-121/+119
| | | | | | | | | | | | | | | | | | | | because CommonAPI creates new filedescriptor per connection which isn't needed. * revents flag is passed to the CommonAPI watcher instead events * revents set to 0 in Sockethandler Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I9d9d2c424ac9fad62c76a66545c731c518adb2e4
| * Runtime check for calls to the sockethandler from other threadsAleksandar Donchev2017-09-273-56/+99
| | | | | | | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I9d9d3c424ac9fad62c76a76545c731b518bdb1e2
| * A filedescriptor removal will set an invalidation flag which will prevent ↵Aleksandar Donchev2017-09-273-28/+50
| | | | | | | | | | | | | | calls on the invalidated objects in the current iteration. Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I9d5d3c434ac9fad62c76a76145c731b538aeb1e3
| * Timer fd is closed at the beginning of the next iteration + some unit ↵Aleksandar Donchev2017-09-265-44/+378
| | | | | | | | | | | | | | tests. Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I8c5d3c436ac9fad62c76a26145c731b538abb1e7
| * The primary signals SIGINT and SIGQUIT are handled on top level inAleksandar Donchev2017-05-3013-1261/+1347
| | | | | | | | | | | | | | | | | | contrast to secondary signals SIGHUP, SIGTERM, SIGCHLD, which are handled in the SocketHandler. Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I8c5d3c436ac9fcd61c76a26145c731b427cab1e6
| * [Doc] removed link in docs added by mistakeJacqueline Molz2017-05-181-1/+1
| | | | | | | | Change-Id: Ia370e64f20da7a692c07ea378a8619ee72715f17
| * updated misleading log message for setSystemPropertyJacqueline Molz2017-05-171-1/+1
| | | | | | | | Change-Id: I331913ecaf302d5c00a4c4dfaf84b71e25f8eebf
| * clang minor findingsChristian Linke2017-05-092-3/+5
| | | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* | Cmake parameters for real-time scheduler's priority and policy and throw ↵Aleksandar Donchev2017-12-047-65/+120
| | | | | | | | | | | | | | | | runtime error if read fails. Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I6a7a2c424bc8fac62c76a66545a231c518edb2e1
* | FIx for CAPI timeouts and support for more than one CAPI watchAleksandar Donchev2017-11-062-116/+198
| | | | | | | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I9a9d2c424bc8fac62c76a66545a531c518edb2e3
* | Real time scheduler added, capi wrapper timeout return value considered in ↵Aleksandar Donchev2017-11-065-67/+90
| | | | | | | | | | | | | | registerTimeout, only requested revent passed from within the camsockethandler instead of all Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I2d9d2c424ac3fac62c76a66545a531c518edb2e8
* | * All methods in CAPI wrapper with connectionID parameter are deprecated ↵Aleksandar Donchev2017-11-064-121/+119
| | | | | | | | | | | | | | | | | | | | | | because CommonAPI creates new filedescriptor per connection which isn't needed. * revents flag is passed to the CommonAPI watcher instead events * revents set to 0 in Sockethandler Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I9d9d2c424ac9fad62c76a66545c731c518adb2e4
* | Runtime check for calls to the sockethandler from other threadsAleksandar Donchev2017-11-063-56/+99
| | | | | | | | | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I9d9d3c424ac9fad62c76a76545c731b518bdb1e2
* | A filedescriptor removal will set an invalidation flag which will prevent ↵Aleksandar Donchev2017-11-063-28/+50
| | | | | | | | | | | | | | | | calls on the invalidated objects in the current iteration. Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I9d5d3c434ac9fad62c76a76145c731b538aeb1e3
* | Timer fd is closed at the beginning of the next iteration + some unit tests. ↵Aleksandar Donchev2017-11-065-44/+378
| | | | | | | | | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I8c5d3c436ac9fad62c76a26145c731b538abb1e7
* | The primary signals SIGINT and SIGQUIT are handled on top level inAleksandar Donchev2017-07-1015-1258/+1344
|/ | | | | | | | | contrast to secondary signals SIGHUP, SIGTERM, SIGCHLD, which are handled in the SocketHandler. Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I8c5d3c436ac9fcd61c76a26145c731b427cab1e6
* Fix for bug in CAmSocketHandler causing invalid pointers and crash.Aleksandar Donchev2017-05-024-62/+124
| | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I8d3d2b436ac9fcd61c73a28145a731f327cab1e2
* Two versions of CAmSerializer due to interface changes.Aleksandar Donchev2017-05-023-549/+1212
| | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I8c5d2b436ac9fcd61c76a21145c731f327cab1e2
* Signal handling via main loop with signalfd.Aleksandar Donchev2017-05-027-152/+468
| | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I8c4c2c436ac9fcd61c76a21145c731f327cab0c1
* The database observer reverse pointer to the handler is initialized in ↵Aleksandar Donchev2017-05-021-9/+7
| | | | | | | registerObserver. Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I5a1c23436ac9bcc37c76a12245c731f327cab0d4
* CAmSerializer interface extended to support std::function. Aleksandar Donchev2017-05-0210-999/+1053
| | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I8b4c2c436ac9fbc37c76a21145c731f327cab0e4
* CAmSocketHandler - usage of std::function instead of function pointers,Aleksandar Donchev2017-05-024-386/+640
| | | | | | | code cleanup and minior optimizations. Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I8c2c2c436ac9abc37c76a12245c731f327cab0e5
* Linux specific TIMERFD implementation as alternative timer mechanismAleksandar Donchev2017-05-025-861/+1133
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* Merge pull request #15 from JensLorenz/boundary_fixGENIVI Audio Manager Maintainer2017-05-025-42/+53
|\ | | | | AMCore Enhancements and Fixes
| * AMUtil: Fix nullptr exception in DLT singletonJens Lorenz2017-04-111-0/+9
| | | | | | | | | | | | | | | | | | | | | | Application might use libraries which are using CAmDltWrapper class. The singleton implementation requires an instanctiateOnce() initialization but if the application is not aware of this AudioManager utility a nullptr exception occurs on standard instance() calls. instance() checks now if the singleton exists and initializes the singleton and registers a fallback application towards DLT on demand. Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
| * AMUtil: Only add active DBus watch FDs to socket handlerJens Lorenz2017-04-111-9/+9
| | | | | | | | Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
| * AMCore: Fix connection state notification on remove connectionJens Lorenz2017-04-111-4/+7
| | | | | | | | | | | | | | The CS_DISCONNECTED was notified even in case WITH_DATABASE_CHANGE_CHECK flag was activated and the main connection was already disconnected by controller. Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
| * AMCore: Start dynamic resources range from DYNAMIC_ID_BOUNDARYJens Lorenz2017-04-112-9/+9
| | | | | | | | | | | | | | Currently the DYNAMIC_ID_BOUNDARY value is not part of static nor dynamic section. Every element like a source which is registered with this value is not addressable. Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
| * AMCore: Fix parameter names of increaseID & getNextConnectionIDJens Lorenz2017-04-112-20/+19
|/ | | | | | The functions are used in a generic way which should be covered by the parameter names. Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
* Merge pull request #14 from GENIVI/Router_adaptionsGENIVI Audio Manager Maintainer2017-03-0732-3367/+4065
|\ | | | | after phoneconference merged
| * * if needed the routing graph will be re-created from getRoute after aRouter_adaptionsAleksandar Donchev2017-02-205-2760/+2846
| | | | | | | | | | database change has been observed. Signed-off-by: Christian Linke <christian.linke@bmw.de>
| * handle overflow of handles correctlyChristian Linke2017-02-202-9/+121
| | | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
| * * many database observers can be registred now by the database handler.Aleksandar Donchev2017-02-2027-882/+953
| | | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
| * update license graphsChristian Linke2017-02-203-0/+0
| | | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
| * * CAmRouterTest adoptions.Aleksandar Donchev2017-02-203-18/+17
| | | | | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
| * * Max count of the returned routes tweaked up.Aleksandar Donchev2017-02-203-55/+57
| | | | | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
| * * Max count of the returned routes and max allowed domain cyclesAleksandar Donchev2017-02-205-377/+723
| | | | | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
| * Return all routes with all possible connection formatsChristian Linke2017-02-203-118/+200
| | | | | | | | | | | | | | Removed obsolete sqlite interface handling Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I380f6d4ce1dab2efa47620164e72a30fa144afdd
| * fix proper log level checkingChristian Linke2017-02-201-1/+1
|/ | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* Merge pull request #13 from JensLorenz/cmake_fixesGENIVI Audio Manager Maintainer2017-02-155-34/+23
|\ | | | | Cmake fixes
| * Update MacroVersionFromGit.cmakeGENIVI Audio Manager Maintainer2017-02-151-1/+1
| |
| * AMUtil: Enhancement of check log level support for DLT.Jens Lorenz2017-02-152-13/+4
| | | | | | | | | | | | | | The DLT version determination works in AudioManager repository. Other libraries including header only don't know the respective version. Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
| * CMake: Allow to specify manually the version without git repo.Jens Lorenz2017-02-141-19/+17
| | | | | | | | Signed-off-by: Guerra Mattia <mguerra@de.adit-jv.com>