summaryrefslogtreecommitdiff
path: root/AudioManagerCore/src/CAmDatabaseHandlerMap.cpp
Commit message (Collapse)AuthorAgeFilesLines
* AMCore: correct behavior regarding registration of early connectionsMartin Koch2020-07-011-6/+10
| | | | | | - modify enterConnectionDB() and enterMainConnectionDB() to accept also connections using reserved (peeked-only) sources and/or sinks Signed-off-by: Martin Koch <martin.koch@ese.de>
* Add support for announcement and handling of pre-established audio ↵Martin Koch2020-07-011-17/+57
| | | | | | | | | | | | | | | | | | | connections through routing side As the complete initialization of the cockpit system takes some time, a few use-cases exist where information needs to be audible (or visible) right before the system is fully started. Here we mainly have: - system alerts + door open + seat belt missing + engine faults - parking assistant warnings + rear view camera screen + beeps if distance goes below limit Both routing- and control-side are extended to allow notifying about such connections Signed-off-by: Martin Koch <martin.koch@ese.de>
* typo changDomainStateDB > changeDomainStateDBdaduki2020-05-111-1/+1
| | | typo changDomainStateDB > changeDomainStateDB
* Merge pull request #48 from GENIVI/LoggingArchitectureMartin Koch2020-02-101-1/+1
|\ | | | | AM-Utils: Introduce new logging architecture, providing a common DLT-independant wrapper for the 3 logging channels (DLT, file and stdout)
| * AM: Reorganize daemon, core, utilities and tests to make use of the new ↵Martin Koch2020-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | AM: add plural form of setSystemProperties for global configuration ↵Martin Koch2020-01-171-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | attributes to command and control interface - implement plural form of requests and acknowledgments in core - provide empty default implementations in interfaces to ensure backward compatibility with older plugins - accommodate extension in module tests Main purpose of this extension is to allow for one-shot (uninterrupted), consistent change of multiple, possibly interrelated configuration attributes. Signed-off-by: Martin Koch <mkoch@de.adit-jv.com>
* | AM: add plural form of set...SoundProperties for sources and sinks to ↵Martin Koch2020-01-171-0/+71
|/ | | | | | | | | | | | | command and control interface - implement plural form of requests and acknowledgments in core - provide empty default implementations in interfaces to ensure backward compatibility with older plugins - accommodate extensions in module tests - leave existing singular form untouched Main purpose of this extension is to allow for one-shot (uninterrupted), consistent change of multiple, possibly interrelated sound properties. Signed-off-by: Martin Koch <mkoch@de.adit-jv.com>
* AM database: correct implementation of ↵Martin Koch2019-10-171-3/+3
| | | | CAmDatabaseHandlerMap::removeMainConnectionDB()
* Notifying observers of sound properties only by value changes.genivi_impJacqueline Molz2018-08-221-23/+52
| | | | | | | | | Fix infinite loop in CAmDltWrapper by logging out enum values exceeding the boundaries. Minor changes: Pull request 36 changed implementation to database macros (review comments) added option "WITH_DATABASE_CHANGE_CHECK" to audiomanagerconfig.h.in whitespace cleanup in test/AmMapHandlerTest/CAmMapHandlerTest.cpp additional cast to uint in DB_UPDATE call in function removeMainConnectionDB to solve error in macro expansion
* FOO: Issue #26 fix white space issues and apply new coding styleJens Lorenz2018-07-031-1717/+1949
| | | | Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
* codestyle: Remove empty single line c++ comments in ctor initializersJens Lorenz2018-06-201-8/+8
| | | | Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
* 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
* 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-111-15/+15
| | | | | | 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>
* * many database observers can be registred now by the database handler.Aleksandar Donchev2017-02-201-134/+191
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* AMCore: Fix deamon to update interrupt state of source.Jens Lorenz2016-11-251-0/+13
| | | | Signed-off-by: Toshiaki Isogai <tisogai@jp.adit-jv.com>
* logging beautifyingChristian as GENIVI Maintainer2016-10-181-134/+136
| | | 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
|
* Changed error to warning in database if data is receivedChristian Linke2016-07-291-31/+31
| | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* cleanup routing interface to add clean abort and resend possibilities7.5Christian Linke2016-06-171-177/+191
| | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* Fix enter gateway issueChristian Linke2016-05-201-24/+0
| | | 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>
* Remove assert from database and replace by error handlingChristian Linke2016-04-111-139/+416
| | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* * rework of the build structure, adopt to standard cmake package structure7.4Christian Linke2016-02-151-0/+3079
* 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>