summaryrefslogtreecommitdiff
path: root/AudioManagerCore
Commit message (Collapse)AuthorAgeFilesLines
* AMCore: remodel ctor Sender in Command and RoutingGuerra Mattia2017-09-294-224/+238
| | | | | | | | | Moving plugin opening to a separate function, this gets rid of a memory writer behavior on ARM64 platforms, otherwise leading to a this pointer of lambda functions severely corrupted (only when compiling optimizations are enabled). Signed-off-by: Guerra Mattia <mguerra@de.adit-jv.com>
* AMUtil: Fix for destroy controller on rundownJens Lorenz2017-09-291-11/+14
| | | | | | | | | On rundown the controller will be unloaded. In case the controller wasn't loaded successfully or the controller doesn't implement the destroy function the rundown of AudioManager crashed. Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
* CMake: Use GNUInstalDirs destinationsGuerra Mattia2017-09-291-1/+1
| | | | | | | | Replace hardcoded "lib" with ${CMAKE_INSTALL_LIBDIR} to provide multilib support. Signed-off-by: Frederik Sdun <frederik_sdun@mentor.com> Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com>
* AM: Destroy plugin implementation.Kapildev Patel2017-09-293-94/+14
| | | | | | | With these changes AudioManager would call destroy function of the controller plugin at the time of shutdown. Signed-off-by: Kapildev Patel <kpatel@jp.adit-jv.com>
* The primary signals SIGINT and SIGQUIT are handled on top level inAleksandar Donchev2017-07-106-1/+6
| | | | | | | | | 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
* Two versions of CAmSerializer due to interface changes.Aleksandar Donchev2017-05-021-1/+1
| | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I8c5d2b436ac9fcd61c76a21145c731f327cab1e2
* Signal handling via main loop with signalfd.Aleksandar Donchev2017-05-022-2/+3
| | | | | 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-021-21/+23
| | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I8b4c2c436ac9fbc37c76a21145c731f327cab0e4
* 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-111-7/+7
| | | | | | | 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>
* * 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-2026-875/+948
| | | 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
* AMCore: Fix deamon to update interrupt state of source.Jens Lorenz2016-11-256-1/+58
| | | | Signed-off-by: Toshiaki Isogai <tisogai@jp.adit-jv.com>
* AudioManagerUtilities: use LINK_DIRECTORIESMathieu Duponchelle2016-11-142-0/+8
| | | | | | | | | | | | The -L flags were not retrieved from pkg_check_modules, except for automotive-dlt, where LDFLAGS was added to the LIBS variable, which was then passed to TARGET_LINK_LIBRARIES. This led to compile-time errors when compiling in a custom prefix. We also propagate the LIB_DIRECTORIES and use them in AmControlInterfaceTest and AudioManagerDaemon.
* logging beautifyingChristian as GENIVI Maintainer2016-10-186-270/+281
| | | Signed-off-by: Christian as GENIVI Maintainer <genivi-maint-audiomanager@genivi.org>
* remove telnet server from AudiomanagerChristian as GENIVI Maintainer2016-10-1810-2368/+1
| | | Signed-off-by: Christian as GENIVI Maintainer <genivi-maint-audiomanager@genivi.org>
* Change error in databasehandler into warningChristian as GENIVI Maintainer2016-09-281-2/+2
| | | Signed-off-by: Christian as GENIVI Maintainer <genivi-maint-audiomanager@genivi.org>
* wrong error messageChristian Linke2016-09-021-2/+2
|
* some test fixesChristian Linke2016-08-302-65/+1
| | | | Change-Id: I22ea9682756dd36f6442241951ec6678f3c3f7ae
* Improved the changes. Cleared wrongly issued errors.Christian Linke2016-08-304-18/+39
| | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* Changed error to warning in database if data is receivedChristian Linke2016-07-291-31/+31
| | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* some updates of the fixChristian Linke2016-06-219-118/+119
| | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* cleanup routing interface to add clean abort and resend possibilities7.5Christian Linke2016-06-1711-694/+1129
| | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* Fix enter gateway issueChristian Linke2016-05-202-24/+1
| | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* close pipes after useChristian Linke2016-05-171-0/+2
| | | | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de> Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* switch off std::out route informationChristian Linke2016-04-271-2/+1
| | | | | destroy pipe in destructor of CAmSerializer. Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* remove parallel installations of the Audiomanager packagesChristian Linke2016-04-261-1/+1
| | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* fix exitsSourcebug for databasehandler.Christian Linke2016-04-131-1/+1
| | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* audiomanager: Use proper cmake path to install cmake and pkg-config filesHelio Chissini de Castro2016-04-111-12/+12
| | | | | Change-Id: I9a16f88ee3c27425904fc5aa0e2924e0af5df8a2 Signed-off-by: Helio Chissini de Castro <Helio.Chissini-de-Castro@bmw.de>
* Remove assert from database and replace by error handlingChristian Linke2016-04-1113-293/+1000
| | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* some cleanupChristian Linke2016-03-099-154/+12
| | | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* fixed pc filesChristian Linke2016-02-221-1/+1
|
* reworked DltWrapper. fixed gtest and gmock.pc filesChristian Linke2016-02-177-17/+18
|
* * rework of the build structure, adopt to standard cmake package structure7.4Christian Linke2016-02-1563-0/+24426
* check versions when loading the libs * introduction of the AudioManagerCore * give control plugin as file or directory * remove SQLITE * either find and use gmock or build and install it * fixed [Bug 411] * compile flag gnu11 is now used Signed-off-by: Christian Linke <Christian.Linke@bmw.de> Signed-off-by: Christian Linke <Christian.Linke@bmw.de>