summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * AmMapHanlderTest - added tests for the callbacks in CAmDatabaseObserver.Aleksandar Donchev2013-09-038-79/+825
| | | | | | * An object ID added to the response whenever E_ALREADY_EXISTS is returned in CAmDatabasehandlerMap Signed-off-by: Christian Linke <christian.linke@bmw.de>
* *PluginCommandInterfaceCAPI, PluginRoutingInterfaceCAPI, ↵Aleksandar Donchev2013-09-03162-243/+30742
| | | | | | | | | | NodeStateCommunicatorCAPI with unit tests first version. Choosing between DBUS and Common-API via cmake. CommonAPI - legacy support for DBus properties (Set 1) Signed-off-by: Christian Linke <christian.linke@bmw.de> (cherry picked from commit ea96ef59e29466667c90b506426e2a5a9cdb82d2)
* * Prevent infinite loop when iterating over arraysChristian Linke2013-09-021-9/+9
| | | | | | | If the array contains more than one element dbus_message_iter_recurse will reset the iterator to the beginning on every iteration leading to an infinite loop. Signed-off-by: Christian Linke <christian.linke@bmw.de>
* Handle cases where readdir() does not return the file typeChristian Linke2013-09-022-0/+33
| | | | | | | readdir() does not guarantee that the d_type member is set on all file systems. This resulted in plugins not being loaded on some platforms as regular files were not detected. Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * fix for Bug 92 - sinkID wrongly reported to DatabaseObserverChristian Linke2013-09-022-5/+11
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * CAmDatabaseHandlerMap - the main connection now have separate method for ↵Aleksander Donchev2013-08-142-16/+45
| | | | | id generation. Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Refactoring and improvements CAmDatabasehandlerMap ( Ticket #87 )Aleksander Donchev2013-08-145-188/+197
| | | 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-192-16/+19
| | | | | | | | | | - 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>
* * enhance sleep at beginn of NSM test to be more robustChristian Linke2013-07-191-1/+2
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * took over changes for bug 42 since patch did no longer apply cleanlyChristian Linke2013-07-191-7/+7
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* Fixed define in the map handler header causing compile error for some tests. ↵Aleksander Donchev2013-07-123-8/+7
| | | | | | | (ticket #79) Renamed variable in the CAmTelnetServerTest.cpp Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Creation of database handler through the 'new' opertor replaced. Aleksander Donchev2013-07-102-9/+5
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* cmake configuration now allows change of inital map sizesAleksander Donchev2013-07-101-1/+3
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* Minor: Access specifier of function changed from protected to public.Aleksander Donchev2013-07-101-5/+2
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* Created an abstract interface for the database handlers.Aleksander Donchev2013-07-1034-410/+757
| | | | | | | | 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-105-316/+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-1020-280/+2808
| | | | | | -> 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>
* * added possibilty to ask for routing ready stateChristian Linke2013-07-014-3/+23
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * new naming convention for dbus interfaces.Christian Linke2013-06-285-5/+5
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * corrected private fix for CAmMapHandlerChristian Linke2013-06-262-10/+11
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * update documentation and readmeChristian Linke2013-06-264-32/+48
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * make Telnetserver work with maphandlerChristian Linke2013-06-267-176/+186
| | | | | | | | * 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>
* * some adoptins in the routinginterfaceChristian Linke2013-06-2610-64/+488
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * remove some warningsChristian Linke2013-06-265-17/+12
| | | | 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-2625-82/+5688
| | | | | | 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-182-1/+151
| | | | | | CAmDatabaseHandler::getRoutingTree() on bidirectional gateway Signed-off-by: Goehring <Thomas.Goehring@continental-corporation.com>
* * fixed bug64 genivi.audiomanager.service contains hardcoded "User=christian" Christian Linke2013-06-131-1/+1
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * fixed bug54Christian Linke2013-06-132-0/+2
| | | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de> Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * adds test for bug63 to the database testsChristian Linke2013-06-131-0/+24
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * fix for Bug 66 - Wrong Log messagesChristian Linke2013-06-112-3/+3
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * fixed bug 59 & Bug 63. Removes superfluss comments in DBusWrapper, removes ↵Christian Linke2013-06-033-10/+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-032-1/+18
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* D-Bus method hanlers should reply back, even if the return type is void else ↵Nrusingh Dash2013-03-061-0/+24
| | | | | | 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>
* * 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-282-2/+6
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* - changed domainData, sourceData, sinkData, gatewayData, crossfaderData to ↵Nrusingh Dash2013-02-274-126/+198
| | | | | | 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>
* * Johanne's Bug fix4.0Christian Linke2013-02-211-0/+1
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * add missing include 3.2Christian Linke2013-02-181-0/+1
| | | 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>
* * enhancing documentationChristian Linke2013-02-0713-12/+146
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Added Abstract component compliance descriptionChristian Linke2013-01-313-0/+0
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * updated documentation to match foton releaseChristian Linke2013-01-318-1/+4
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * update NSM testChristian Linke2013-01-181-2/+2
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * fix asyncRoutingTest and NSM testChristian Linke2013-01-182-5/+4
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * repair NSM testChristian Linke2013-01-181-1/+4
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>