summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src
Commit message (Collapse)AuthorAgeFilesLines
* * CAmDatabaseHandlerMap - the main connection now have separate method for ↵Aleksander Donchev2013-08-141-14/+36
| | | | | id generation. Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Refactoring and improvements CAmDatabasehandlerMap ( Ticket #87 )Aleksander Donchev2013-08-141-132/+125
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* make AM compile with newer libstdChristian Linke2013-08-141-0/+1
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* Fix for bug 78: AmNodeStateCommunicatorTest throws a runtime exceptionMuhammad Shakeel2013-07-191-15/+18
| | | | | | | | | | - Fixed data type issues - Fixed some error log messages - Modified the way for reading XML file - Explicitly type cast the variables before sending message to sendLifeCycleRequest interface Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
* * Creation of database handler through the 'new' opertor replaced. Aleksander Donchev2013-07-101-8/+3
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* Created an abstract interface for the database handlers.Aleksander Donchev2013-07-109-327/+336
| | | | | | | | Renamed CAmDatabaseHandler to CAmDatabaseHandlerSQLite and CAmMapHandler to CAmDatabaseHandlerMap. Changed std::map to std::unordered_map. Added to the cmake configuration a definition, which defines the capacity of the source and sink maps. Signed-off-by: Christian Linke <christian.linke@bmw.de>
* Renamed CAmDatabaseHandlerInterface to IAmDatabaseHandler,Aleksander Donchev2013-07-102-0/+0
| | | | | | | | | CAmDatabaseHandler to CAmDatabaseHandlerSQLite, CAmMapHandler to CAmDatabaseHandlerMap. std::map changed to std::unordered_map in CAmDatabaseHandlerMap. Added a cmake definition to the map handler configuration for preallocation of space in the source and sink maps. Signed-off-by: Christian Linke <christian.linke@bmw.de>
* Added 'Dump' method to the database handler and to the telnet server (Info ↵Aleksander Donchev2013-07-105-63/+407
| | | | | | -> Dump). Unit tests for the database handler splited into separate file. Base log class added in order to support logging into a file. Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * corrected private fix for CAmMapHandlerChristian Linke2013-06-261-9/+9
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * make Telnetserver work with maphandlerChristian Linke2013-06-263-10/+17
| | | | | | | | * small changes to get cmake script cleaner * clean up includes of main.cpp * make DatabaseMaphandler structs private Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * remove some warningsChristian Linke2013-06-263-12/+9
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* Minor fix for the ID generation of domains, connection and main connections ↵Aleksandar Donchev2013-06-261-3/+3
| | | | | | ( # 38 ) Signed-off-by: Christian Linke <christian.linke@bmw.de>
* First version Map implementation of database handler with unit tests ( ↵Aleksandar Donchev2013-06-267-34/+2563
| | | | | | ticket 38 ) Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * fix [bug 74] : changesourceDb copy paste errorChristian Linke2013-06-191-5/+5
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* Thomas Göhring: Fix for: Bug 69 - Endless loop in ↵Goehring2013-06-181-1/+13
| | | | | | CAmDatabaseHandler::getRoutingTree() on bidirectional gateway Signed-off-by: Goehring <Thomas.Goehring@continental-corporation.com>
* * fix for Bug 66 - Wrong Log messagesChristian Linke2013-06-111-1/+1
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * fixed bug 59 & Bug 63. Removes superfluss comments in DBusWrapper, removes ↵Christian Linke2013-06-032-9/+21
| | | | | | non existing static in Sockethandler Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * fix for bug [52]: Dbus wrapper sometimes does not deliver all messagesChristian Linke2013-06-031-1/+15
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * remove checks from controlReceiver. No retries where possible when the ↵Christian Linke2013-03-051-73/+0
| | | | | routingplugin had problems so therefore the checks needed to be removed Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * online coding fixed overflow of handlesChristian Linke2013-03-051-1/+5
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * stability fix because of dbus interface of nsmChristian Linke2013-02-281-1/+5
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * calculated delay for mainconnection but forgot to update it. This fixes this.Christian Linke2013-02-121-0/+3
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* CAmDatabaseHandler::enterSourceClassDB does not work in release modeGoehring2013-02-121-1/+2
| | | | Signed-off-by: Goehring <Thomas.Goehring@continental-corporation.com>
* * changes that follow the review comments from Thomas G.Christian Linke2013-01-176-173/+172
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * add support to switch dedicated plugins off, fix databasehandler regarding ↵christian linke2013-01-112-25/+122
| | | | | getSourceInfo and getSinkInfo, add and fix tests for database Signed-off-by: christian linke <christian.linke@bmw.de>
* * fix WITH_NSM=off optionchristian linke2013-01-093-5/+73
| | | Signed-off-by: christian linke <christian.linke@bmw.de>
* * some minor coverity check fixeschristian linke2013-01-086-19/+42
| | | | Signed-off-by: christian linke <christian.linke@bmw.de>
* * enable turning off the NSMchristian linke2013-01-071-0/+6
| | | Signed-off-by: christian linke <christian.linke@bmw.de>
* * added new interfaces & nsm support + nsm tests + fixed some unit tests + ↵christian linke2012-12-1714-60/+2034
| | | | | fixed rundown Signed-off-by: christian linke <christian.linke@bmw.de>
* fix [OSS BUG 23] - connection removed if routing returns !=E_OK. added test ↵christian linke2012-12-062-1/+17
| | | | | | case to test this as well Signed-off-by: christian linke <christian.linke@bmw.de>
* * make AudioManager rundown cleaner. Now an extra created pipe is used to ↵christian linke2012-11-296-13/+47
| | | | | trigger the mainloop one last time before the AudioManager exits. Signed-off-by: christian linke <christian.linke@bmw.de>
* * [Bug 10] - feedback from review . fixed removeSourceDB like suggested in ↵christian linke2012-11-271-2/+2
| | | | | ticket Signed-off-by: christian linke <christian.linke@bmw.de>
* Genivi AudioManager Bug 13: error on update MainSourceSoundProperty in daemon DBGoehring2012-11-271-1/+1
| | | | Signed-off-by: Goehring <Thomas.Goehring@continental-corporation.com>
* * make DLTWrapper unregister itself before exitingchristian linke2012-10-302-0/+12
| | | Signed-off-by: christian linke <christian.linke@bmw.de>
* * make RoutingSender DBus compile with 0xC11christian linke2012-10-221-1/+1
| | | Signed-off-by: christian linke <christian.linke@bmw.de>
* * stability: call bus_threads_init_default before starting DBus.christian linke2012-10-161-0/+3
| | | Signed-off-by: christian linke <christian.linke@bmw.de>
* * nicer handling of singal for exit.christian linke2012-10-162-4/+5
| | | Signed-off-by: christian linke <christian.linke@bmw.de>
* * fix typo in CAmRoutingReceiverchristian linke2012-10-151-1/+1
| | | Signed-off-by: christian linke <christian.linke@bmw.de>
* * Call ControlRundown on receiving SIGTERM.christian linke2012-10-122-1/+7
| | | Signed-off-by: christian linke <christian.linke@bmw.de>
* * [GAM-100] nonexisting tables are droppedchristian linke2012-10-021-6/+13
| | | Signed-off-by: christian linke <christian.linke@bmw.de>
* * [GAM-91] make CAmSerializer calls with references safer3.0christian mueller2012-09-121-5/+5
| | | | Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
* add setVolumeStep, setSinkMuteState, setSourceSoundProperty in telnetserverFrank Herchet2012-09-121-265/+328
| | | | Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
* * [GAM-55] some finetuning on bugfix. christian mueller2012-06-262-4/+9
| | | | | * fixing registration of Dltcontextx too late for Dbus plugins Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
* * fix setSinkSoundProperty in telnetserverFrank Herchet2012-06-261-3/+5
| | | | Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
* * [GAM-55] fix wrong context id in logError and logInfoFrank Herchet2012-06-261-5/+11
| | | | Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
* * [GAM-24] turn watchdog feature off by default.christian mueller2012-06-261-1/+7
| | | Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
* * [GAM-82] fixed CAmRoutingSender::setRoutingReady/setRoutingRundown does ↵christian mueller2012-06-252-4/+4
| | | | | never confirm - incorrect loop size Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
* * remove compiler warningFrank Herchet2012-06-251-0/+1
| | | | Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
* * [GAM-78] Using the AudioManager with Sessionbus does not work fixedChristian Mueller2012-05-241-3/+5
| | | | Signed-off-by: Christian Mueller <christian.ei.mueller@bmw.de>
* * [GAM-24] Watchdog concept for the AudioManager. This patch introduces the ↵Christian Mueller2012-05-244-2/+645
| | | | | | | | watchdog functionality of the AudioManager. The function is based on the systemd watchdog functionality. The desired time intervals for checking the watchdog can be tweaked by the unit file for systemd. A sample unit file is added to the subdirectory cmake. Via Cmake build option, the watchdog functionality can be switched off. If the development package from systemd is available it will use the lib that comes with it. If not, the default handler will be compiled along with the audiomanager and this one will be used. Signed-off-by: Christian Mueller <christian.ei.mueller@bmw.de>