summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* AM-Test: Adjust expectation in test cases connectionIDBoundary and ↵EarlyAudioMartin Koch2020-07-011-6/+8
| | | | | | mainConnectionIDBoundary from CAmMapHandlerTest Signed-off-by: Martin Koch <martin.koch@ese.de>
* AMCore: correct behavior regarding registration of early connectionsMartin Koch2020-07-016-15/+29
| | | | | | - 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>
* AM-Test: add test cases for registerEarlyConnection() and transferConnection()Martin Koch2020-07-013-0/+128
| | | | Signed-off-by: Martin Koch <martin.koch@ese.de>
* AMCore: remove handle after unsuccessful asyncTransferConnection()Martin Koch2020-07-011-1/+6
| | | | Signed-off-by: Martin Koch <martin.koch@ese.de>
* AM: add missing forwarding function for cbAckTransferConnection()Martin Koch2020-07-012-0/+7
| | | | Signed-off-by: Martin Koch <martin.koch@ese.de>
* AM: fix const handle in transferConnection family of functionsMartin Koch2020-07-015-5/+28
| | | | Signed-off-by: Martin Koch <martin.koch@ese.de>
* AM: change handling or registerEarlyConnectionMartin Koch2020-07-018-18/+52
| | | | | | | | - use type am_Route_s for announcement from routing side - register also main connection internally - forward route details to controller Signed-off-by: Martin Koch <martin.koch@ese.de>
* AM: add parameter domainID to asyncTransferConnection()Martin Koch2020-07-012-6/+7
| | | | Signed-off-by: Martin Koch <martin.koch@ese.de>
* AM: add handle type for use in transferConnection() family of functionsMartin Koch2020-07-012-1/+3
| | | | Signed-off-by: Martin Koch <martin.koch@ese.de>
* Documentation: Include details of early-audio implementationMartin Koch2020-07-014-15/+109
| | | | Signed-off-by: Martin Koch <martin.koch@ese.de>
* Add support for announcement and handling of pre-established audio ↵Martin Koch2020-07-0113-17/+261
| | | | | | | | | | | | | | | | | | | 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>
* Merge pull request #57 from GENIVI/AM_uninstalledMartin Koch2020-06-293-9/+33
|\ | | | | Build: allow applications and plugins to build against an uninstalled AM
| * Build: allow applications and plugins to build against an uninstalled AM and ↵AM_uninstalledMartin Koch2020-06-243-9/+33
| | | | | | | | | | | | | | | | | | | | | | | | its utilities during development phase - build AM normally - build application or plugin with below cmake options: -DAudioManager-uninstalled:OPTION=ON -DAudioManager_DIR:PATH=<path-to-AM-build-directory> -DAudioManagerUtilities_DIR:PATH=<path-to-AM-build-directory>/AudioManagerUtilities Signed-off-by: Martin Koch <martin.koch@ese.de>
* | Merge pull request #56 from GENIVI/BuildScriptsMartin Koch2020-06-292-26/+27
|\ \ | |/ |/| Minor fixes in build scripting
| * Build: fix cmake-variable type mismatchBuildScriptsMartin Koch2020-06-221-15/+14
| | | | | | | | Signed-off-by: Martin Koch <martin.koch@ese.de>
| * build: improve handling of WITH_DOCUMENTATION optionMartin Koch2020-06-222-11/+13
|/ | | | Signed-off-by: Martin Koch <martin.koch@ese.de>
* Merge pull request #55 from daduki/masterMartin Koch2020-06-191-36/+59
|\ | | | | Null-Pointer Handling Patch in CAmRouter.cpp
| * Null Point Handling PatchDaeduek Cho2020-06-181-36/+59
| | | | | | | | | | Null Point Handling Patch Detected by static analysis
* | 7.8.07.8.0Martin Koch2020-05-202-2/+2
| | | | | | | | | | | | | | | | - additional build options - typo corrections in CAmSerialzer - typo correction in IAmControl.h (interface version incremented -> 5.3) Signed-off-by: Martin Koch <martin.koch@ese.de>
* | Merge pull request #54 from daduki/masterMartin Koch2020-05-151-25/+33
|\ \ | |/ | | | | Update CAmSerializer.h(typo correction regarding getListDelegagePoiters) - public interface kept intact.
| * Update CAmSerializer.hDaeduek Cho2020-05-151-2/+6
| | | | | | | | inline redirection for getListDelegatePoiters on V1
| * Update CAmSerializer.hDaeduek Cho2020-05-151-25/+29
| | | | | | | | | | | | | | CAmDelegagePtr > CAmDelegatePtr mListDelegatePoiters > mListDelegatePointers getListDelegatePoiters > getListDelegatePointersSize (for getListDelegatePoiters inline redirection is added for downward compatibility)
* | Merge pull request #52 from daduki/masterMartin Koch2020-05-144-4/+14
|\ \ | |/ | | IAmControl: typo correction for changDomainStateDB to changeDomainStateDB
| * Update CAmControlReceiver.hdaduki2020-05-131-1/+1
| | | | | | | | | | Indent /t to four spaces (I'm sorry that I'm not accustomed with gitHub GUI.)
| * legacy redirection for typo correctiondaduki2020-05-132-0/+10
| | | | | | | | | | | | | | legacy redirection for typo correction for the chage : from : changDomainStateDB to : changeDomainStateDB
| * typo changDomainStateDB > changeDomainStateDBdaduki2020-05-111-1/+1
| | | | | | typo changDomainStateDB > changeDomainStateDB
| * typo changDomainStateDB > changeDomainStateDBdaduki2020-05-111-1/+1
| | | | | | typo changDomainStateDB > changeDomainStateDB
| * typo changDomainStateDB > changeDomainStateDBdaduki2020-05-111-1/+1
| | | | | | typo changDomainStateDB > changeDomainStateDB
| * typo changDomainStateDB > changeDomainStateDBdaduki2020-05-111-1/+1
| | | | | | typo changDomainStateDB > changeDomainStateDB
* | Merge pull request #50 from GENIVI/BuildOptionsMartin Koch2020-05-132-1/+14
|\ \ | |/ |/| AM daemon: Add build options
| * AM daemon: Add build options forMartin Koch2020-02-212-1/+14
| | | | | | | | | | | | | | | | | | | | - Max paths count returned to the controller (default: 5) - How many times the routing algorithm should look back into domains (0 = disallowed, 1 = single = default, ..., UINT_MAX = unlimited) Add default value and description for - existing option WITH_DATABASE_CHANGE_CHECK Signed-off-by: Martin Koch <mkoch@de.adit-jv.com>
* | AM: create patch version 7.7.1 due to build problem with preceding 7.7.07.7.1Martin Koch2020-02-241-1/+1
|/ | | | Signed-off-by: Martin Koch <mkoch@de.adit-jv.com>
* AM: fix build problem from accidentally introduced new-line character in ↵Martin Koch2020-02-131-1/+1
| | | | | | VERSION file Signed-off-by: Martin Koch <mkoch@de.adit-jv.com>
* update version to 7.7.07.7Martin Koch2020-02-101-1/+1
| | | | Signed-off-by: Martin Koch <mkoch@de.adit-jv.com>
* Merge pull request #48 from GENIVI/LoggingArchitectureMartin Koch2020-02-1037-1052/+1836
|\ | | | | 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-1422-30/+35
| | | | | | | | | | | | | | | | | | | | | | | | 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-Test: exclude AmSocketHandlerTest from build if WITH_DLT is not enabledMartin Koch2020-01-141-1/+7
| | | | | | | | Signed-off-by: Martin Koch <mkoch@de.adit-jv.com>
| * AM_Utils: reduce CAmDltWrapper to legacy wrapper around new logging architectureMartin Koch2020-01-143-1021/+90
| | | | | | | | Signed-off-by: Martin Koch <mkoch@de.adit-jv.com>
| * AM-Utils: Introduce new logging architecture, providing separate classes for ↵Martin Koch2020-01-1412-0/+1704
| | | | | | | | | | | | each logging channel (DLT, file or stdout) and a channel-independent wrapper class. (first preparation step of AM for build without strong dependency to DLT library) Signed-off-by: Martin Koch <mkoch@de.adit-jv.com>
* | Merge pull request #49 from GENIVI/PluralPropertiesMartin Koch2020-02-1017-3/+281
|\ \ | |/ |/| Add plural form of set/get ..SoundProperty() and ..SystemProperty() to allow for simultaneous handling of multible, possibly interrelated attributes.
| * AM: add plural form of setSystemProperties for global configuration ↵Martin Koch2020-01-1717-1/+86
| | | | | | | | | | | | | | | | | | | | | | | | 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-1717-2/+195
|/ | | | | | | | | | | | | 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>
* Merge pull request #47 from mkoch-aditg/fixRemoveConnectionMartin Koch2019-12-161-3/+3
|\ | | | | Fix remove connection
| * AM database: correct implementation of ↵Martin Koch2019-10-171-3/+3
| | | | | | | | CAmDatabaseHandlerMap::removeMainConnectionDB()
* | Merge pull request #46 from mkoch-aditg/addNamespaceDocMartin Koch2019-12-161-0/+3
|\ \ | | | | | | Add namespace doc
| * | add a documentation to the global namespace 'am'Martin Koch2019-10-161-0/+3
| |/ | | | | | | | | - the presence of this documentation enables doxygen (as of version 1.8.11) to resolve \ref links not only for classes, but also for documented enums, typedefs and defines.
* | Merge pull request #45 from mkoch-aditg/masterMartin Koch2019-12-161-48/+0
|\ \ | |/ | | AM-Test: drop accidentally pushed backup file: AudioManagerCore/test/…
| * AM-Test: drop accidentally pushed backup file: ↵Martin Koch2019-10-161-48/+0
|/ | | | AudioManagerCore/test/AmRoutingInterfaceTest/CMakeLists.txt~
* Merge pull request #39 from GENIVI/genivi_impJens Lorenz2018-09-255-303/+375
|\ | | | | Minor improvements for DLT and Database handler.
| * Notifying observers of sound properties only by value changes.genivi_impJacqueline Molz2018-08-225-303/+375
|/ | | | | | | | | 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