Aleksander Donchev [Mon, 8 Jul 2013 09:27:30 +0000 (11:27 +0200)]
Added 'Dump' method to the database handler and to the telnet server (Info -> 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>
Christian Linke [Mon, 1 Jul 2013 17:06:58 +0000 (19:06 +0200)]
* added possibilty to ask for routing ready state
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Fri, 28 Jun 2013 09:02:48 +0000 (11:02 +0200)]
* new naming convention for dbus interfaces.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Wed, 26 Jun 2013 16:35:20 +0000 (18:35 +0200)]
* corrected private fix for CAmMapHandler
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Wed, 26 Jun 2013 15:31:10 +0000 (17:31 +0200)]
* update documentation and readme
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Wed, 26 Jun 2013 15:14:08 +0000 (17:14 +0200)]
* make Telnetserver work with maphandler
* 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>
Christian Linke [Thu, 20 Jun 2013 14:21:48 +0000 (16:21 +0200)]
* some adoptins in the routinginterface
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 20 Jun 2013 14:18:54 +0000 (16:18 +0200)]
* remove some warnings
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Fri, 21 Jun 2013 15:21:03 +0000 (17:21 +0200)]
Minor fix for the ID generation of domains, connection and main connections ( # 38 )
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Fri, 21 Jun 2013 14:38:56 +0000 (16:38 +0200)]
First version Map implementation of database handler with unit tests ( ticket 38 )
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Wed, 19 Jun 2013 15:05:13 +0000 (17:05 +0200)]
* fix [bug 74] : changesourceDb copy paste error
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Goehring [Wed, 12 Jun 2013 14:09:22 +0000 (16:09 +0200)]
Thomas Göhring: Fix for: Bug 69 - Endless loop in CAmDatabaseHandler::getRoutingTree() on bidirectional gateway
Signed-off-by: Goehring <Thomas.Goehring@continental-corporation.com>
Christian Linke [Thu, 13 Jun 2013 08:55:22 +0000 (10:55 +0200)]
* fixed bug64 genivi.audiomanager.service contains hardcoded "User=christian"
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 13 Jun 2013 08:47:51 +0000 (10:47 +0200)]
* fixed bug54
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 13 Jun 2013 08:40:17 +0000 (10:40 +0200)]
* adds test for bug63 to the database tests
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Tue, 11 Jun 2013 12:54:36 +0000 (14:54 +0200)]
* fix for Bug 66 - Wrong Log messages
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Mon, 3 Jun 2013 07:34:50 +0000 (09:34 +0200)]
* fixed bug 59 & Bug 63. Removes superfluss comments in DBusWrapper, removes non existing static in Sockethandler
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Tue, 7 May 2013 13:11:21 +0000 (15:11 +0200)]
* fix for bug [52]: Dbus wrapper sometimes does not deliver all messages
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Nrusingh Dash [Sat, 2 Mar 2013 05:12:59 +0000 (14:12 +0900)]
D-Bus method hanlers should reply back, even if the return type is void else timeout occurs at client File: PluginRoutingInterfaceDbus/src/IAmRoutingReceiverShadow.cpp Functions: ackConnect, ackDisconnect, ackSetSinkVolume, ackSetSourceState, ackSinkVolumeTick, ackSourceVolumeTick, ackSetSourceVolume, ackSetSinkSoundProperty, ackSetSourceSoundProperty, ackSetSinkSoundProperties, ackSetSourceSoundProperties, ackCrossFading
Signed-off-by: Nrusingh Dash <ndash@jp.adit-jv.com>
Christian Linke [Tue, 5 Mar 2013 13:05:03 +0000 (14:05 +0100)]
* remove checks from controlReceiver. No retries where possible when the routingplugin had problems so therefore the checks needed to be removed
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Tue, 5 Mar 2013 12:58:27 +0000 (13:58 +0100)]
* online coding fixed overflow of handles
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 28 Feb 2013 16:44:28 +0000 (17:44 +0100)]
* stability fix because of dbus interface of nsm
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Nrusingh Dash [Tue, 26 Feb 2013 14:56:44 +0000 (23:56 +0900)]
- changed domainData, sourceData, sinkData, gatewayData, crossfaderData to D-Bus Struct - confirmRoutingReady, confirmRoutingRundown, hookDomainRegistrationComplete should reply even return type on D-Bus is void - to parse domainID "getUInt" is used instead of "getInt"
Signed-off-by: Nrusingh Dash <ndash@jp.adit-jv.com>
Christian Linke [Thu, 21 Feb 2013 15:27:56 +0000 (16:27 +0100)]
* Johanne's Bug fix
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Mon, 18 Feb 2013 11:52:43 +0000 (12:52 +0100)]
* add missing include
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Tue, 12 Feb 2013 16:47:31 +0000 (17:47 +0100)]
* calculated delay for mainconnection but forgot to update it. This fixes this.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Goehring [Tue, 12 Feb 2013 12:46:08 +0000 (13:46 +0100)]
CAmDatabaseHandler::enterSourceClassDB does not work in release mode
Signed-off-by: Goehring <Thomas.Goehring@continental-corporation.com>
Christian Linke [Thu, 7 Feb 2013 09:16:56 +0000 (10:16 +0100)]
* enhancing documentation
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 31 Jan 2013 14:19:55 +0000 (15:19 +0100)]
* Added Abstract component compliance description
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 31 Jan 2013 12:43:42 +0000 (13:43 +0100)]
* updated documentation to match foton release
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Fri, 18 Jan 2013 13:23:24 +0000 (14:23 +0100)]
* update NSM test
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Fri, 18 Jan 2013 11:12:32 +0000 (12:12 +0100)]
* fix asyncRoutingTest and NSM test
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Fri, 18 Jan 2013 09:25:46 +0000 (10:25 +0100)]
* repair NSM test
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 17 Jan 2013 11:47:00 +0000 (12:47 +0100)]
* changes that follow the review comments from Thomas G.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
christian linke [Fri, 11 Jan 2013 12:09:26 +0000 (13:09 +0100)]
* add support to switch dedicated plugins off, fix databasehandler regarding getSourceInfo and getSinkInfo, add and fix tests for database
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Wed, 9 Jan 2013 14:01:19 +0000 (15:01 +0100)]
* fix WITH_NSM=off option
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Tue, 8 Jan 2013 15:31:16 +0000 (16:31 +0100)]
* remove python from nodestatemanger test, remove warnings from test CXX flags, fix compare warning
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Tue, 8 Jan 2013 09:25:46 +0000 (10:25 +0100)]
* some minor coverity check fixes
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Mon, 7 Jan 2013 17:07:41 +0000 (18:07 +0100)]
* enable turning off the NSM
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Mon, 7 Jan 2013 12:32:52 +0000 (13:32 +0100)]
* take away mandatory NSM dependency and ship NSM headers as fallback
Signed-off-by: christian linke <christian.linke@bmw.de>
Nrusingh Dash [Fri, 28 Dec 2012 14:21:22 +0000 (23:21 +0900)]
added DL library path to the following cmake files - AudioManagerDaemon/test/AmControlInterfaceTest/CMakeLists.txt - AudioManagerDaemon/test/AmDatabaseHandlerTest/CMakeLists.txt - AudioManagerDaemon/test/AmRouterTest/CMakeLists.txt - AudioManagerDaemon/test/AmRoutingInterfaceTest/CMakeLists.txt - AudioManagerDaemon/test/AmTelnetServerTest/CMakeLists.txt
Signed-off-by: Nrusingh Dash <ndash@jp.adit-jv.com>
christian linke [Mon, 17 Dec 2012 15:15:11 +0000 (16:15 +0100)]
* added new interfaces & nsm support + nsm tests + fixed some unit tests + fixed rundown
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Thu, 6 Dec 2012 12:31:52 +0000 (13:31 +0100)]
fix [OSS BUG 23] - connection removed if routing returns !=E_OK. added test case to test this as well
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Thu, 29 Nov 2012 15:00:05 +0000 (16:00 +0100)]
* make AudioManager rundown cleaner. Now an extra created pipe is used to trigger the mainloop one last time before the AudioManager exits.
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Tue, 27 Nov 2012 14:10:27 +0000 (15:10 +0100)]
* [Bug 10] - feedback from review . fixed removeSourceDB like suggested in ticket
Signed-off-by: christian linke <christian.linke@bmw.de>
Goehring [Wed, 7 Nov 2012 13:54:44 +0000 (14:54 +0100)]
Genivi AudioManager Bug 13: error on update MainSourceSoundProperty in daemon DB
Signed-off-by: Goehring <Thomas.Goehring@continental-corporation.com>
christian linke [Tue, 30 Oct 2012 16:52:13 +0000 (17:52 +0100)]
* make DLTWrapper unregister itself before exiting
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Thu, 25 Oct 2012 14:21:04 +0000 (16:21 +0200)]
* changes to make the package and documentation easier
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Mon, 22 Oct 2012 15:26:53 +0000 (17:26 +0200)]
* make RoutingSender DBus compile with 0xC11
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Mon, 22 Oct 2012 14:41:52 +0000 (16:41 +0200)]
* adding a sample player to the project.
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Mon, 22 Oct 2012 12:09:09 +0000 (14:09 +0200)]
* restructured the README and updated the content. Now, an html can be generadted via asciidoc
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Tue, 16 Oct 2012 17:33:53 +0000 (19:33 +0200)]
* more consistent naming of routing interface and fix in type
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Tue, 16 Oct 2012 17:33:16 +0000 (19:33 +0200)]
* stability: call bus_threads_init_default before starting DBus.
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Tue, 16 Oct 2012 17:31:43 +0000 (19:31 +0200)]
* nicer handling of singal for exit.
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Mon, 15 Oct 2012 13:21:23 +0000 (15:21 +0200)]
* fix typo in CAmRoutingReceiver
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Fri, 12 Oct 2012 14:49:34 +0000 (16:49 +0200)]
* Call ControlRundown on receiving SIGTERM.
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Thu, 4 Oct 2012 14:25:51 +0000 (16:25 +0200)]
* adding GoogleMock including GoogleTest into the project
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Thu, 4 Oct 2012 13:49:12 +0000 (15:49 +0200)]
* change global include for gest.h to local include
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Tue, 2 Oct 2012 12:04:45 +0000 (14:04 +0200)]
* make sure that cmake -DCONTROLLER_PLUGIN="......." works
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Tue, 2 Oct 2012 11:38:21 +0000 (13:38 +0200)]
* create bin directory if does not exists
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Tue, 2 Oct 2012 11:02:51 +0000 (13:02 +0200)]
* small change in CommanSenderTest to be more generic
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Tue, 2 Oct 2012 10:41:06 +0000 (12:41 +0200)]
* [GAM-100] nonexisting tables are dropped
Signed-off-by: christian linke <christian.linke@bmw.de>
christian linke [Thu, 27 Sep 2012 08:47:37 +0000 (10:47 +0200)]
* include google test into source tree
Signed-off-by: christian linke <christian.linke@bmw.de>
christian mueller [Tue, 11 Sep 2012 16:21:13 +0000 (18:21 +0200)]
* [GAM-91] make CAmSerializer calls with references safer, no working
Signed-off-by: christian mueller <christian.linke@bmw.de>
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Mon, 10 Sep 2012 15:41:30 +0000 (17:41 +0200)]
* [GAM-91] make CAmSerializer calls with references safer
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
Johannes Schanda (qxb7952) [Mon, 3 Sep 2012 11:26:12 +0000 (13:26 +0200)]
Fix for commit
bf5814ff3aa87fde46904a747a7108ea458f063e, signals now send on correct interface
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Mon, 3 Sep 2012 07:41:26 +0000 (09:41 +0200)]
* [GAM-90] fixed signals send on wrong interface
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
Frank Herchet [Tue, 3 Jul 2012 08:47:51 +0000 (10:47 +0200)]
add setVolumeStep, setSinkMuteState, setSourceSoundProperty in telnetserver
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Wed, 27 Jun 2012 12:33:52 +0000 (14:33 +0200)]
* [GAM-45] fixed projecttypes.h is missing in source package
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Wed, 27 Jun 2012 12:32:56 +0000 (14:32 +0200)]
* [GAM-65] seg faults when starting AudiManager as daemon. This is now totally fixed. The absolut path is handed over via cmake so the AudioManager can find the xmls to be loaded in daemon mode as well
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Tue, 26 Jun 2012 17:32:28 +0000 (19:32 +0200)]
* [GAM-55] some finetuning on bugfix.
* fixing registration of Dltcontextx too late for Dbus plugins
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Tue, 26 Jun 2012 16:34:45 +0000 (18:34 +0200)]
* typo in documentation
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
Frank Herchet [Tue, 26 Jun 2012 12:06:30 +0000 (14:06 +0200)]
* fix setSinkSoundProperty in telnetserver
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
Frank Herchet [Tue, 26 Jun 2012 12:03:16 +0000 (14:03 +0200)]
* [GAM-55] fix wrong context id in logError and logInfo
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Tue, 26 Jun 2012 08:57:47 +0000 (10:57 +0200)]
* [GAM-24] turn watchdog feature off by default.
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Mon, 25 Jun 2012 14:10:07 +0000 (16:10 +0200)]
* [GAM-80] fixed PluginRoutingInterfaceAsync test does not compile without dlt installed (WITH_DLT=OFF)
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Mon, 25 Jun 2012 13:49:26 +0000 (15:49 +0200)]
* [GAM-82] fixed CAmRoutingSender::setRoutingReady/setRoutingRundown does never confirm - incorrect loop size
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
Frank Herchet [Wed, 20 Jun 2012 11:36:38 +0000 (13:36 +0200)]
* remove compiler warning
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
Frank Herchet [Wed, 20 Jun 2012 11:35:50 +0000 (13:35 +0200)]
* fix undefined reference to `clock_gettime' in In functions of `am::CAmSocketHandler'
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Thu, 24 May 2012 10:36:43 +0000 (12:36 +0200)]
* [GAM-8] documentation of communication between routing plugins & sources / sinks
[GAM-9] document in EA
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
Christian Mueller [Tue, 22 May 2012 16:02:59 +0000 (18:02 +0200)]
* corrected packageconf handling for systemd
Signed-off-by: Christian Mueller <christian.ei.mueller@bmw.de>
christian mueller [Tue, 22 May 2012 15:42:23 +0000 (17:42 +0200)]
* updated documentation for watchdog. Little adoptions on unit file and dependency graph
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
Christian Mueller [Mon, 21 May 2012 17:03:24 +0000 (19:03 +0200)]
* [GAM-78] Using the AudioManager with Sessionbus does not work fixed
Signed-off-by: Christian Mueller <christian.ei.mueller@bmw.de>
Christian Mueller [Mon, 21 May 2012 17:00:35 +0000 (19:00 +0200)]
* [GAM-24] Watchdog concept for the AudioManager. This patch introduces the 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>
christian mueller [Tue, 15 May 2012 13:30:57 +0000 (15:30 +0200)]
* fixed wrong implementation of ProjectSpecific folder by using absolute paths
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Tue, 15 May 2012 07:57:50 +0000 (09:57 +0200)]
* [GAM-76] fix : add 64bit support for DLT logging
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Mon, 14 May 2012 09:03:52 +0000 (11:03 +0200)]
* fixed AmRoutingTest. Fixed missing mpDBusWrapper Initialisation
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Mon, 14 May 2012 08:32:58 +0000 (10:32 +0200)]
* forgot to submit Python include for Dbus test
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Fri, 11 May 2012 10:26:26 +0000 (12:26 +0200)]
* fix warnings that come with new compiler
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Fri, 11 May 2012 08:49:15 +0000 (10:49 +0200)]
* [GAM-75] fix: make AudioManager independend from python version
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Thu, 3 May 2012 12:40:20 +0000 (14:40 +0200)]
* [GAM-74] resolving issues found by coverity scan
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Wed, 2 May 2012 12:43:40 +0000 (14:43 +0200)]
* some changes to AMM POC Control Sender base sample code to make statemachines more clear
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Wed, 2 May 2012 12:42:55 +0000 (14:42 +0200)]
* [GAM-70] fix wrong type on database interface for source sound properties
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Fri, 27 Apr 2012 12:51:38 +0000 (14:51 +0200)]
* [GAM-69] AudioManager tests does not compile without dlt installed (WITH_DLT=OFF) fixed
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Fri, 27 Apr 2012 12:41:10 +0000 (14:41 +0200)]
* [GAM-72] change type std::list to std::vector in DbusWrapper
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Wed, 18 Apr 2012 12:37:36 +0000 (14:37 +0200)]
* changes for enabling the demo @AMM
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
Frank Herchet [Tue, 24 Apr 2012 07:47:04 +0000 (09:47 +0200)]
*[GAM-71]: remove debug output
Author: Frank Herchet <frank.fh.herchet@bmw.de>
Signed-off-by: Christian Mueller <christian.ei.mueller@bmw.de>
Frank Herchet [Tue, 24 Apr 2012 07:37:37 +0000 (09:37 +0200)]
*[GAM-71]: move connectNoMoreThreads test
*[GAM-71]: change timeout to 1.5s
*[GAM-71]: fix connectAbortTooLate test
* fix issue in CAmEnvironment::TearDown
Signed-off-by: Christian Mueller <christian.ei.mueller@bmw.de>
christian mueller [Wed, 11 Apr 2012 15:29:39 +0000 (17:29 +0200)]
* [GAM-61] implement mute in sample controller
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
christian mueller [Wed, 11 Apr 2012 15:27:46 +0000 (17:27 +0200)]
* [GAM-60] wrong calculation of time in asyncRoutingPlugin
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>