| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
When copying the list of Poll fd, also the revents have to be copied. This
is very important for AM Plugins which rely on revents in order to consume
data. Without updating the revents, there's concrete risk of endless poll
and general stuck situation.
Signed-off-by: Guerra Mattia <mguerra@de.adit-jv.com>
|
|
|
|
| |
Signed-off-by: Guerra Mattia <mguerra@de.adit-jv.com>
|
|
|
|
|
|
|
|
| |
Protecting access to DLT API dlt_user_is_logLevel_enabled by checking if
destination is really meant to be DLT daemon. Otherwise, invalid DLT
Context could be accessed.
Signed-off-by: Guerra Mattia <mguerra@de.adit-jv.com>
|
|
|
|
|
|
|
| |
If DLT is turned off, CAmDltWrapper needs linkage to pthread.
Furthermore, CAmSerializer doesn't need to #include pthread.
Signed-off-by: Guerra Mattia <mguerra@de.adit-jv.com>
|
|
|
|
|
|
|
|
|
| |
On rundown the controller will be unloaded.
In case the controller wasn't loaded successfully or
the controller doesn't implement the destroy function
the rundown of AudioManager crashed.
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
|
|
|
|
|
|
|
|
| |
Replace hardcoded "lib" with ${CMAKE_INSTALL_LIBDIR} to provide multilib
support.
Signed-off-by: Frederik Sdun <frederik_sdun@mentor.com>
Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com>
|
|
|
|
|
|
|
| |
With these changes AudioManager would call destroy function of the
controller plugin at the time of shutdown.
Signed-off-by: Kapildev Patel <kpatel@jp.adit-jv.com>
|
|\
| |
| | |
Utility updates
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
contrast to secondary signals SIGHUP, SIGTERM, SIGCHLD, which are
handled in the SocketHandler.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Change-Id: I8c5d3c436ac9fcd61c76a26145c731b427cab1e6
|
| |
| |
| |
| |
| | |
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Change-Id: I8d3d2b436ac9fcd61c73a28145a731f327cab1e2
|
| |
| |
| |
| |
| | |
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Change-Id: I8c5d2b436ac9fcd61c76a21145c731f327cab1e2
|
| |
| |
| |
| |
| | |
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Change-Id: I8c4c2c436ac9fcd61c76a21145c731f327cab0c1
|
| |
| |
| |
| |
| |
| |
| | |
registerObserver.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Change-Id: I5a1c23436ac9bcc37c76a12245c731f327cab0d4
|
| |
| |
| |
| |
| | |
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Change-Id: I8b4c2c436ac9fbc37c76a21145c731f327cab0e4
|
| |
| |
| |
| |
| |
| |
| | |
code cleanup and minior optimizations.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Change-Id: I8c2c2c436ac9abc37c76a12245c731f327cab0e5
|
|/
|
|
| |
Signed-off-by: Christian Linke <christian.linke@bmw.de>
|
|\
| |
| | |
AMCore Enhancements and Fixes
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Application might use libraries which are using CAmDltWrapper class.
The singleton implementation requires an instanctiateOnce() initialization
but if the application is not aware of this AudioManager utility a
nullptr exception occurs on standard instance() calls.
instance() checks now if the singleton exists and initializes
the singleton and registers a fallback application towards DLT on demand.
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
|
| |
| |
| |
| | |
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
| |
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>
|
|\
| |
| | |
after phoneconference merged
|
| |
| |
| |
| |
| | |
database change has been observed.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
|
| |
| |
| | |
Signed-off-by: Christian Linke <christian.linke@bmw.de>
|
| |
| |
| | |
Signed-off-by: Christian Linke <christian.linke@bmw.de>
|
| |
| |
| | |
Signed-off-by: Christian Linke <christian.linke@bmw.de>
|
| |
| |
| |
| | |
Signed-off-by: Christian Linke <christian.linke@bmw.de>
|
| |
| |
| |
| | |
Signed-off-by: Christian Linke <christian.linke@bmw.de>
|
| |
| |
| |
| | |
Signed-off-by: Christian Linke <christian.linke@bmw.de>
|
| |
| |
| |
| |
| |
| |
| | |
Removed obsolete sqlite interface handling
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Change-Id: I380f6d4ce1dab2efa47620164e72a30fa144afdd
|
|/
|
| |
Signed-off-by: Christian Linke <christian.linke@bmw.de>
|
|\
| |
| | |
Cmake fixes
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
The DLT version determination works in AudioManager repository.
Other libraries including header only don't know the respective version.
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
|
| |
| |
| |
| | |
Signed-off-by: Guerra Mattia <mguerra@de.adit-jv.com>
|
|/
|
|
| |
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
|
|\
| |
| | |
AMUtil: New check log level support of DLT added.
|
| |
| |
| |
| | |
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
|
|\ \
| |/
| | |
AMCore: Fix deamon to update interrupt state of source.
|
|/
|
|
| |
Signed-off-by: Toshiaki Isogai <tisogai@jp.adit-jv.com>
|
|\
| |
| | |
talked through in telefone conference
|
| |
| |
| | |
Signed-off-by: Christian as GENIVI Maintainer <genivi-maint-audiomanager@genivi.org>
|
| |
| |
| |
| | |
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
|
| |
| |
| |
| | |
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
|
| |
| |
| |
| |
| |
| | |
new register a connection object. This allows to attach to already existing interface bindings.
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
|
| |
| |
| |
| | |
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
|
| |
| |
| |
| |
| | |
pkg-config looks for the exact, case-sensitive names listed
in the requirements.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The -L flags were not retrieved from pkg_check_modules, except
for automotive-dlt, where LDFLAGS was added to the LIBS variable,
which was then passed to TARGET_LINK_LIBRARIES.
This led to compile-time errors when compiling in a custom
prefix.
We also propagate the LIB_DIRECTORIES and use them in
AmControlInterfaceTest and AudioManagerDaemon.
|