summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src
Commit message (Collapse)AuthorAgeFilesLines
* AM: Reorganize daemon, core, utilities and tests to make use of the new ↵Martin Koch2020-01-141-2/+4
| | | | | | | | | | | | logging architecture. - Known side-effect: CAmSerializer.h and TAmPluginTemplate.h no longer indirectly include dlt_user.h. Thus macros like DLT_DECLARE_CONTEXT and DLT_IMPORT_CONTEXT may be undefined in application code unless CAmDltWrapper.h or dlt_user.h is included explicitly. - Since the DLT functionality is now encapsulated inside a dedicated class, such declaration is usually superfluous and can be dropped. Signed-off-by: Martin Koch <mkoch@de.adit-jv.com>
* FOO: Issue #26 fix white space issues and apply new coding styleJens Lorenz2018-07-031-128/+130
| | | | Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
* CMake: Implement VCS agnostic versioningJens Lorenz2018-02-131-14/+14
| | | | | | | | | | | Versioning should not strictly depend on Version Control System (e.g. git). Best approach is to have a dedicated VERSION file exposing with format <Major>.<Minor>.<Revision>. Target is that maintainer will manually release the version once patches/fixes are merged e.g. to a stabilization branch. In order to have an OEM specific meta information exposed with the version information EXTRAVERSIONINFO can be specified by CMAKE flag. Signed-off-by: Guerra Mattia <mguerra@de.adit-jv.com>
* AMDaemon: set pthread_sigmask for signalfdGuerra Mattia2017-11-071-1/+16
| | | | | | | Sets the mask for potential spawned threads (e.g. DLT) so that they won't interfere with the implementation of signalfd Signed-off-by: Guerra Mattia <mguerra@de.adit-jv.com>
* The primary signals SIGINT and SIGQUIT are handled on top level inAleksandar Donchev2017-07-101-11/+43
| | | | | | | | | 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
* Signal handling via main loop with signalfd.Aleksandar Donchev2017-05-021-54/+39
| | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I8c4c2c436ac9fcd61c76a21145c731f327cab0c1
* * many database observers can be registred now by the database handler.Aleksandar Donchev2017-02-201-7/+5
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* add configurable dlt APP ID and descriptionChristian as GENIVI Maintainer2016-10-181-1/+9
| | | Signed-off-by: Christian as GENIVI Maintainer <genivi-maint-audiomanager@genivi.org>
* remove sqlite artefactChristian as GENIVI Maintainer2016-10-181-17/+10
| | | Signed-off-by: Christian as GENIVI Maintainer <genivi-maint-audiomanager@genivi.org>
* remove telnet server from AudiomanagerChristian as GENIVI Maintainer2016-10-181-21/+0
| | | Signed-off-by: Christian as GENIVI Maintainer <genivi-maint-audiomanager@genivi.org>
* some updates of the fixChristian Linke2016-06-211-8/+5
| | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* reworked DltWrapper. fixed gtest and gmock.pc filesChristian Linke2016-02-171-13/+8
|
* * rework of the build structure, adopt to standard cmake package structure7.4Christian Linke2016-02-1514-14862/+4
| | | | | | | | | | | | | | * 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>
* correct cache handling of sink main sound property in changeSinkDB()Toshiaki Isogai2016-02-041-1/+1
| | | | Signed-off-by: Toshiaki Isogai <tisogai@jp.adit-jv.com>
* moved watchdog into utilities and created .pc file for utilitiesChristian Linke2015-12-022-646/+0
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Fix for inconsistency in CAmDatabaseHandlerMap/SQLiteAleksandar Donchev2015-11-182-24/+58
| | | | | | getListMainSinks/Sources. Another minor optimizations as well. Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Condition in CAmRoutingreceiver fixed and redundant function in ↵Aleksandar Donchev2015-11-062-87/+38
| | | | | | CAmDatabaseHandlerMap removed. Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Bug fix 392. Some improvements regarding failed transactions in the router.Christian Linke2015-11-043-80/+283
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* Implement IAmCommand getVolume method7.3Pau Espin Pedrol2015-10-073-0/+37
|
* remove uneccessary registered contextChristian Linke2015-10-061-2/+0
|
* Notification time calculation of watchdog fixedJens Lorenz2015-10-061-4/+5
| | | | Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
* Remove nodestatemanager7.2Christian Linke2015-09-225-1365/+4
| | | | | | Make audiomanager compile with Dbus and CommonAPI Wrapper at the same time Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * remove warningChristian Linke2015-09-111-1/+1
|
* * CAPI wrapper with better someip integration.Aleksandar Donchev2015-09-111-1/+1
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * install tclap headers7.1Christian Linke2015-09-027-7/+7
| | | * rename config.h into audiomanagerconfig.h
* Bug 308 - Change in Database Handlers to enable/disable enforced update7.0Jens Lorenz2015-08-041-84/+144
| | | | Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
* Implemented filtering of duplicated notification configuration types on ↵Jens Lorenz2015-08-041-0/+4
| | | | | | registration of source and sink elements Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
* calculateMainConnectionDelay doesn't work if only a single connection has a ↵Jens Lorenz2015-08-041-10/+6
| | | | | | timing information Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
* * cleaned up compile flagsChristian Linke2015-07-072-4/+25
| | | | | * fix for getDomainOfCrossfader Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * fix compiler issue introduced with new commandline parsing in mainJens Lorenz2015-07-061-1/+1
| | | | Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
* *Routing bug fixing and enhancment.Aleksandar Donchev2015-07-062-602/+480
| | | | Signed-off-by:Christian Linke<christian.linke@bmw.de>
* * Domain id range splited in static and dynamic .Aleksandar Donchev2015-07-061-9/+0
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Fixed bug causing infinite loop by determining all possible paths in the ↵Aleksandar Donchev2015-07-021-36/+53
| | | | | routing mechanism and minor improvment in the routing class for map data storage. Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * enable entering domains with predefined idChristian Linke2015-07-011-0/+9
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Unnecessary exception throwing for empty plugins list deleted.Aleksandar Donchev2015-06-102-2/+0
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Common-API 3 integration and fix for the asserts order in the router tests.Aleksandar Donchev2015-06-021-30/+37
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Updated license fileChristian Linke2015-04-2818-1/+39
| | | | | | * Added authors file * Adopted to spdx header file Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * make commandline argument parsing a little nicer. Christian Linke2015-04-283-68/+83
| | | | | | | * added preparse method * removed debug message * added deamonize function again Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * updated documentation, fixed bug in generation of documentation, adopted ↵Christian Linke2015-04-161-1/+2
| | | | | README Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * implemend command line options for plugins. rework of command line Christian Linke2015-04-151-122/+123
| | | | | | * add tclap as template library * implement bug 344 Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * now only 3 header files are generated. Send and Receive interface s in ↵Christian Linke2015-03-246-7/+16
| | | | | | one. TimingInformation for a single connections is now reported to the controller plugin Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * fully rework. Plugins have now a new own git repositoryChristian Linke2015-03-1220-1681/+38
| | | | | | * building out of source of plugins without AM workss * build system cmake contructions is different now Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Sound property lookup enhancement throught caching . Tests for cached ↵Alexandar Donchev2015-03-113-30/+295
| | | | | | | sound properties. Signed-off-by: Christian Linke <christian.linke@bmw.de> Signed-off-by: Alexandar Donchev <Aleksander.Donchev@partner.bmw.de>>
* * Redundand asserts removed in CAmDatabaseHandlerMap.cpp .Aleksandar Donchev2015-01-221-12/+3
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* Bug #298 - DLT messages will be created only in case respective log level is ↵Jens Lorenz2015-01-131-3/+8
| | | | | | activated Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
* Revert "Bug 298 - Filtering of DLT messages are not working"Christian Linke2015-01-131-5/+3
| | | | | | | | This reverts commit 426d6c6f1ea02c3093181eb36aed68605a5cdd5d. The wrong version of the patch was used. Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Lazy lookup for static registered sources and sinks.Aleksandar Donchev2014-11-181-0/+10
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* Bug 298 - Filtering of DLT messages are not workingAleksandar Donchev2014-11-171-3/+5
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Converter Implementation .6.2Aleksandar Donchev2014-11-058-627/+1935
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Fixed missing reserved flag for MapHandler and corresponding testsChristian Linke2014-11-031-1/+2
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>