profile/ivi/murphy.git
9 years agopackaging: fixed the doc directory.
Ismo Puustinen [Tue, 18 Jun 2013 08:48:11 +0000 (11:48 +0300)]
packaging: fixed the doc directory.

9 years agopackaging: removed ASM support.
Ismo Puustinen [Tue, 18 Jun 2013 08:37:54 +0000 (11:37 +0300)]
packaging: removed ASM support.

9 years agopackaging: added json dependency.
Ismo Puustinen [Tue, 18 Jun 2013 08:35:40 +0000 (11:35 +0300)]
packaging: added json dependency.

9 years agoRevert "packaging: disable telephony temporarily."
Ismo Puustinen [Mon, 15 Apr 2013 12:47:47 +0000 (15:47 +0300)]
Revert "packaging: disable telephony temporarily."

This reverts commit 8215b1e3caa24a6d9368a3256bd8f609fadf560d.

9 years agopackaging: add resource-api-fuzz binary.
Ismo Puustinen [Mon, 15 Apr 2013 12:46:56 +0000 (15:46 +0300)]
packaging: add resource-api-fuzz binary.

9 years agopackaging: collect and package full datadir.
Krisztian Litkey [Thu, 28 Mar 2013 13:04:19 +0000 (15:04 +0200)]
packaging: collect and package full datadir.

9 years agopackaging: create process watch directory.
Ismo Puustinen [Tue, 19 Mar 2013 11:05:49 +0000 (13:05 +0200)]
packaging: create process watch directory.

9 years agopackaging: disable telephony temporarily.
Ismo Puustinen [Mon, 11 Mar 2013 12:48:09 +0000 (14:48 +0200)]
packaging: disable telephony temporarily.

9 years agopackaging: set AMB change notification signals.
Krisztian Litkey [Thu, 21 Feb 2013 17:49:07 +0000 (19:49 +0200)]
packaging: set AMB change notification signals.

9 years agopackaging: override share_mmplayer to be exclusive mm_player.
Krisztian Litkey [Tue, 19 Feb 2013 19:55:35 +0000 (21:55 +0200)]
packaging: override share_mmplayer to be exclusive mm_player.

9 years agopackaging: updated configuration.
Krisztian Litkey [Mon, 18 Feb 2013 14:45:47 +0000 (16:45 +0200)]
packaging: updated configuration.

9 years agopackaging: declare a pid audio playback attribute.
Krisztian Litkey [Tue, 12 Feb 2013 18:20:33 +0000 (20:20 +0200)]
packaging: declare a pid audio playback attribute.

9 years agopackaging: add webconsole example to config file.
Krisztian Litkey [Wed, 13 Feb 2013 17:21:49 +0000 (19:21 +0200)]
packaging: add webconsole example to config file.

9 years agopackaging: added websocket switch to spec file, enabled by default.
Krisztian Litkey [Tue, 12 Feb 2013 09:55:07 +0000 (11:55 +0200)]
packaging: added websocket switch to spec file, enabled by default.

9 years agopackaging: don't pre-generate linker scripts.
Krisztian Litkey [Tue, 12 Feb 2013 06:59:27 +0000 (08:59 +0200)]
packaging: don't pre-generate linker scripts.

9 years agopackaging: fixed lost application classes, added AMB plugin config file.
Krisztian Litkey [Wed, 16 Jan 2013 09:57:37 +0000 (11:57 +0200)]
packaging: fixed lost application classes, added AMB plugin config file.

9 years agopackaging: update to latest configuration.
Krisztian Litkey [Tue, 15 Jan 2013 08:12:00 +0000 (10:12 +0200)]
packaging: update to latest configuration.

9 years agopackaging: start up with logging to dlog with info verbosity.
Krisztian Litkey [Thu, 20 Dec 2012 20:20:28 +0000 (22:20 +0200)]
packaging: start up with logging to dlog with info verbosity.

9 years agopackaging: added prepare-release.sh.
Krisztian Litkey [Fri, 30 Nov 2012 16:38:56 +0000 (18:38 +0200)]
packaging: added prepare-release.sh.

9 years agopackaging: added preliminary packaging for tizen.
Krisztian Litkey [Tue, 27 Nov 2012 11:42:37 +0000 (13:42 +0200)]
packaging: added preliminary packaging for tizen.

Notes: compiling domain-control as a dynamic plugins is a workaround
to avoid trying to unconditionally regenerate the linker script for
the domain-control plugin. This would fail due to ctags/etags not
being available in the tizen repos.

9 years agopackaging: added configuration files to be packaged.
Krisztian Litkey [Tue, 27 Nov 2012 16:19:56 +0000 (18:19 +0200)]
packaging: added configuration files to be packaged.

9 years agotelephony: don't try to create multi-column index.
Krisztian Litkey [Sat, 14 Sep 2013 11:16:22 +0000 (14:16 +0300)]
telephony: don't try to create multi-column index.

Change-Id: I8c6b38855eebf87e693a823a47c5770382ea7e42

9 years agotelephony: plugin arguments for resource set configuration
Krisztian Litkey [Sat, 14 Sep 2013 11:11:32 +0000 (14:11 +0300)]
telephony: plugin arguments for resource set configuration

The resource set the plugin controls on behalf of the
telephony stack is now configurable using plugin arguments.
Currently the resource set zone, class and priority as well
as the playback and recording resource names, role,
optionality and shareability are configurable. The policies
are currently always set to relaxed. Adding configurability
for this using a plugin argument is now trivial if needed.

Change-Id: Ia80245c458014231fed1bb62cf3c660d091cd075

9 years agoamb: query ambd properties again when it's started up.
Ismo Puustinen [Fri, 23 Aug 2013 14:05:24 +0000 (17:05 +0300)]
amb: query ambd properties again when it's started up.

Also don't query ambd properties in the beginning if ambd isn't running.
Let ambd have some time to settle and bring up the D-Bus interface after
startup.

9 years agoresource-asm: added the "dontwait" flag.
Ismo Puustinen [Wed, 31 Jul 2013 11:41:05 +0000 (14:41 +0300)]
resource-asm: added the "dontwait" flag.

9 years agoresource-asm: added process watching support.
Ismo Puustinen [Wed, 24 Apr 2013 11:15:43 +0000 (14:15 +0300)]
resource-asm: added process watching support.

9 years agoresource-asm: relaunch asm-bridge is something goes wrong.
Ismo Puustinen [Mon, 15 Apr 2013 12:19:41 +0000 (15:19 +0300)]
resource-asm: relaunch asm-bridge is something goes wrong.

9 years agoresource-asm: handle errors better in asm-bridge.
Ismo Puustinen [Mon, 15 Apr 2013 10:46:47 +0000 (13:46 +0300)]
resource-asm: handle errors better in asm-bridge.

Now, if something really bad happens to the message queues (such as they
are removed or become inaccessible), exit asm-bridge instead of looping
forever receiving error messages.

9 years agoresource-asm: move tmp file unlinking to a proper place.
Ismo Puustinen [Mon, 15 Apr 2013 08:48:47 +0000 (11:48 +0300)]
resource-asm: move tmp file unlinking to a proper place.

9 years agoresource-asm: temporary hack to write the resource set ids to a file.
Ismo Puustinen [Fri, 12 Apr 2013 12:46:19 +0000 (15:46 +0300)]
resource-asm: temporary hack to write the resource set ids to a file.

9 years agoresource-asm: keep the handles below maximum.
Ismo Puustinen [Fri, 12 Apr 2013 09:06:08 +0000 (12:06 +0300)]
resource-asm: keep the handles below maximum.

9 years agoresource-asm: remember to initialize event filtering.
Ismo Puustinen [Fri, 12 Apr 2013 08:12:46 +0000 (11:12 +0300)]
resource-asm: remember to initialize event filtering.

9 years agoresource-asm: do not create resource sets for merged requests.
Ismo Puustinen [Fri, 12 Apr 2013 07:23:32 +0000 (10:23 +0300)]
resource-asm: do not create resource sets for merged requests.

9 years agoresource-asm: remember to register ASM clients to client classes.
Ismo Puustinen [Fri, 12 Apr 2013 07:09:21 +0000 (10:09 +0300)]
resource-asm: remember to register ASM clients to client classes.

9 years agoresource-asm: first try at class-based resources.
Ismo Puustinen [Thu, 11 Apr 2013 13:50:56 +0000 (16:50 +0300)]
resource-asm: first try at class-based resources.

9 years agoresource-asm: fix off-by-one underallocation.
Krisztian Litkey [Thu, 4 Apr 2013 11:38:36 +0000 (14:38 +0300)]
resource-asm: fix off-by-one underallocation.

9 years agoresource-asm: fix error case handling.
Ismo Puustinen [Wed, 3 Apr 2013 08:00:26 +0000 (11:00 +0300)]
resource-asm: fix error case handling.

9 years agoresource-asm: fixed string formats, error case handling.
Ismo Puustinen [Wed, 3 Apr 2013 07:50:34 +0000 (10:50 +0300)]
resource-asm: fixed string formats, error case handling.

9 years agoresource-asm: added types for EXCLUSIVE_RESOURCE and EMERGENCY.
Ismo Puustinen [Tue, 2 Apr 2013 07:55:25 +0000 (10:55 +0300)]
resource-asm: added types for EXCLUSIVE_RESOURCE and EMERGENCY.

9 years agoresource-asm: update for mainloop notification signature changes.
Krisztian Litkey [Thu, 28 Mar 2013 12:51:50 +0000 (14:51 +0200)]
resource-asm: update for mainloop notification signature changes.

9 years agoresource-asm: remove TODOs, fix compiler warnings.
Ismo Puustinen [Fri, 15 Mar 2013 12:18:50 +0000 (14:18 +0200)]
resource-asm: remove TODOs, fix compiler warnings.

9 years agoresource-asm: fixed compiler warnings.
Ismo Puustinen [Fri, 15 Mar 2013 11:18:22 +0000 (13:18 +0200)]
resource-asm: fixed compiler warnings.

9 years agoresource-asm: updated for tizen 2.0.
Ismo Puustinen [Tue, 5 Mar 2013 13:11:34 +0000 (15:11 +0200)]
resource-asm: updated for tizen 2.0.

9 years agoresource-asm: more configurable event/resource set mapping.
Krisztian Litkey [Mon, 18 Feb 2013 14:05:37 +0000 (16:05 +0200)]
resource-asm: more configurable event/resource set mapping.

9 years agoresource-asm: set client pid to the resource set, configurable asm-bridge logging.
Krisztian Litkey [Tue, 12 Feb 2013 18:18:00 +0000 (20:18 +0200)]
resource-asm: set client pid to the resource set, configurable asm-bridge logging.

9 years agoresource-asm: s/MRP_TRANSPORT_MODE_DATA/MRP_TRANSPORT_MODE_CUSTOM/g.
Krisztian Litkey [Tue, 12 Feb 2013 18:10:28 +0000 (20:10 +0200)]
resource-asm: s/MRP_TRANSPORT_MODE_DATA/MRP_TRANSPORT_MODE_CUSTOM/g.

9 years agoresource-asm: fix a memory leak.
Ismo Puustinen [Thu, 20 Dec 2012 08:05:40 +0000 (10:05 +0200)]
resource-asm: fix a memory leak.

9 years agoresource-asm: state call support and event type lookup refactoring.
Ismo Puustinen [Thu, 13 Dec 2012 09:25:32 +0000 (11:25 +0200)]
resource-asm: state call support and event type lookup refactoring.

9 years agoresource-asm: map SLP media classes to Murphy classes.
Ismo Puustinen [Wed, 12 Dec 2012 14:47:44 +0000 (16:47 +0200)]
resource-asm: map SLP media classes to Murphy classes.

9 years agoresource-asm: fix a bug in callback handling, add logging.
Ismo Puustinen [Wed, 12 Dec 2012 08:12:55 +0000 (10:12 +0200)]
resource-asm: fix a bug in callback handling, add logging.

9 years agoresource-asm: improve SLP interoperability.
Ismo Puustinen [Wed, 12 Dec 2012 07:44:56 +0000 (09:44 +0200)]
resource-asm: improve SLP interoperability.

9 years agoresource-asm: close all file descriptors when forking.
Ismo Puustinen [Tue, 11 Dec 2012 12:54:51 +0000 (14:54 +0200)]
resource-asm: close all file descriptors when forking.

9 years agoresource-asm: fix memory handling.
Ismo Puustinen [Tue, 4 Dec 2012 13:22:03 +0000 (15:22 +0200)]
resource-asm: fix memory handling.

9 years agoresource-asm: handle non-resume callback answers.
Ismo Puustinen [Mon, 3 Dec 2012 14:36:13 +0000 (16:36 +0200)]
resource-asm: handle non-resume callback answers.

9 years agoresource-asm: changed the commands sent to applications over ASM.
Ismo Puustinen [Mon, 3 Dec 2012 13:32:52 +0000 (15:32 +0200)]
resource-asm: changed the commands sent to applications over ASM.

9 years agoresource-asm: filter non-relevant server events.
Ismo Puustinen [Fri, 30 Nov 2012 10:57:38 +0000 (12:57 +0200)]
resource-asm: filter non-relevant server events.

9 years agoresource-asm: better file handling in asm-bridge.
Ismo Puustinen [Fri, 30 Nov 2012 09:35:28 +0000 (11:35 +0200)]
resource-asm: better file handling in asm-bridge.

9 years agoresource-asm: fixed the special resource unregister case.
Ismo Puustinen [Thu, 29 Nov 2012 14:18:31 +0000 (16:18 +0200)]
resource-asm: fixed the special resource unregister case.

9 years agoresource-asm: better message queue error handling.
Ismo Puustinen [Thu, 29 Nov 2012 13:48:16 +0000 (15:48 +0200)]
resource-asm: better message queue error handling.

9 years agoresource-asm: started writing monitor support.
Ismo Puustinen [Thu, 29 Nov 2012 13:39:04 +0000 (15:39 +0200)]
resource-asm: started writing monitor support.

9 years agoresource-asm: applications now respond to resource events.
Ismo Puustinen [Wed, 28 Nov 2012 15:29:08 +0000 (17:29 +0200)]
resource-asm: applications now respond to resource events.

9 years agoresource-asm: print error string.
Ismo Puustinen [Wed, 28 Nov 2012 08:59:01 +0000 (10:59 +0200)]
resource-asm: print error string.

9 years agoresource-asm: fix forgotten defines.
Ismo Puustinen [Wed, 28 Nov 2012 08:49:06 +0000 (10:49 +0200)]
resource-asm: fix forgotten defines.

9 years agoresource-asm: add ASM plugin to build.
Ismo Puustinen [Mon, 26 Nov 2012 13:52:13 +0000 (15:52 +0200)]
resource-asm: add ASM plugin to build.

9 years agoresource-asm: added initial version of Audio Session Manager plugin.
Ismo Puustinen [Mon, 26 Nov 2012 13:51:52 +0000 (15:51 +0200)]
resource-asm: added initial version of Audio Session Manager plugin.

Audio Session Manager handles resource policy arbitration in Tizen. The
Murphy ASM plugin makes Murphy the Tizen audio resource manager.

9 years agoamb: fix a bug in error handling.
Ismo Puustinen [Fri, 26 Jul 2013 12:14:40 +0000 (15:14 +0300)]
amb: fix a bug in error handling.

9 years agoamb: fixed function bridge issues.
Ismo Puustinen [Wed, 24 Jul 2013 10:55:26 +0000 (13:55 +0300)]
amb: fixed function bridge issues.

9 years agoamb: added support for new findProperty() call.
Ismo Puustinen [Thu, 20 Jun 2013 11:40:52 +0000 (14:40 +0300)]
amb: added support for new findProperty() call.

9 years agoamb: updated test data to match the changed AMB D-Bus interface.
Ismo Puustinen [Wed, 24 Jul 2013 08:19:24 +0000 (11:19 +0300)]
amb: updated test data to match the changed AMB D-Bus interface.

9 years agoamb: added error logging messages to D-Bus error conditions.
Ismo Puustinen [Tue, 18 Jun 2013 10:55:06 +0000 (13:55 +0300)]
amb: added error logging messages to D-Bus error conditions.

9 years agotelephony: minor update for latest resource API.
Krisztian Litkey [Mon, 8 Jul 2013 16:33:23 +0000 (19:33 +0300)]
telephony: minor update for latest resource API.

9 years agoivi-resource-manager: add appid mapping
Jaska Uimonen [Tue, 25 Jun 2013 20:29:32 +0000 (23:29 +0300)]
ivi-resource-manager: add appid mapping

9 years agoivi-resource-manager: manage audio_playback resource
Janos Kovacs [Mon, 24 Jun 2013 23:36:04 +0000 (02:36 +0300)]
ivi-resource-manager: manage audio_playback resource

9 years agoivi-resource-manager: make scripting definition static
Jaska Uimonen [Sun, 16 Jun 2013 19:47:23 +0000 (22:47 +0300)]
ivi-resource-manager: make scripting definition static

9 years agoivi-resource-manager: add key based resource allocation for screen
Janos Kovacs [Sun, 16 Jun 2013 11:17:48 +0000 (14:17 +0300)]
ivi-resource-manager: add key based resource allocation for screen

9 years agoivi-resource-manager: add console support
Janos Kovacs [Sun, 16 Jun 2013 00:01:33 +0000 (03:01 +0300)]
ivi-resource-manager: add console support

9 years agoivi-resource-manager: integrate to resolver
Janos Kovacs [Sat, 15 Jun 2013 20:22:21 +0000 (23:22 +0300)]
ivi-resource-manager: integrate to resolver

9 years agoivi-resource-manager: screen resource grant depends on active_screen table
Janos Kovacs [Fri, 14 Jun 2013 00:32:38 +0000 (03:32 +0300)]
ivi-resource-manager: screen resource grant depends on active_screen table

9 years agoivi-resource-manager: basic framework for screen resource
Janos Kovacs [Thu, 13 Jun 2013 07:56:27 +0000 (10:56 +0300)]
ivi-resource-manager: basic framework for screen resource

9 years agoivi-resource-manager: add plugin skeleton
Janos Kovacs [Tue, 11 Jun 2013 09:11:15 +0000 (12:11 +0300)]
ivi-resource-manager: add plugin skeleton

9 years agoamb: fixed reopening the listening socket after disconnect.
Ismo Puustinen [Tue, 19 Mar 2013 10:19:01 +0000 (12:19 +0200)]
amb: fixed reopening the listening socket after disconnect.

9 years agoamb: started working on setting properies to AMB.
Ismo Puustinen [Wed, 9 Jan 2013 14:26:52 +0000 (16:26 +0200)]
amb: started working on setting properies to AMB.

9 years agoamb: started adding process watching support.
Ismo Puustinen [Fri, 1 Mar 2013 12:28:54 +0000 (14:28 +0200)]
amb: started adding process watching support.

9 years agotelephony: run with a single transaction.
Krisztian Litkey [Thu, 21 Feb 2013 17:48:14 +0000 (19:48 +0200)]
telephony: run with a single transaction.

9 years agoplugin-amb: property change notification signal is now configurable.
Krisztian Litkey [Thu, 21 Feb 2013 17:46:59 +0000 (19:46 +0200)]
plugin-amb: property change notification signal is now configurable.

9 years agoplugin-amb: updated to changed lua object creation signature.
Krisztian Litkey [Thu, 14 Feb 2013 13:58:35 +0000 (15:58 +0200)]
plugin-amb: updated to changed lua object creation signature.

9 years agoplugin-dlog: added a plugin that enables logging to dlog.
Krisztian Litkey [Thu, 20 Dec 2012 18:36:37 +0000 (20:36 +0200)]
plugin-dlog: added a plugin that enables logging to dlog.

9 years agotelephony: added preliminary resource allocation.
Krisztian Litkey [Thu, 13 Dec 2012 22:44:14 +0000 (00:44 +0200)]
telephony: added preliminary resource allocation.

9 years agoamb: fix handling of error cases.
Ismo Puustinen [Tue, 4 Dec 2012 12:35:54 +0000 (14:35 +0200)]
amb: fix handling of error cases.

9 years agoamb: added some mdb updating support to test configuration file.
Ismo Puustinen [Fri, 30 Nov 2012 09:38:43 +0000 (11:38 +0200)]
amb: added some mdb updating support to test configuration file.

9 years agoamb: debug print fix.
Ismo Puustinen [Fri, 30 Nov 2012 09:36:17 +0000 (11:36 +0200)]
amb: debug print fix.

9 years agotelephony: added telephony plugin.
Krisztian Litkey [Tue, 27 Nov 2012 15:28:34 +0000 (17:28 +0200)]
telephony: added telephony plugin.

9 years agoamb: add AMB plugin to build.
Ismo Puustinen [Mon, 26 Nov 2012 13:53:57 +0000 (15:53 +0200)]
amb: add AMB plugin to build.

9 years agoamb: added initial version of Automotive Message Broker plugin.
Ismo Puustinen [Mon, 26 Nov 2012 13:53:19 +0000 (15:53 +0200)]
amb: added initial version of Automotive Message Broker plugin.

Automotive Message Broker sends information about the current vehicle
system status. The AMB plugin allows Murphy to listen for these changes
and put the data to Murphy internal database for decision making.

9 years agosample config: test message dispatching, message sending.
Krisztian Litkey [Fri, 8 Nov 2013 21:30:07 +0000 (23:30 +0200)]
sample config: test message dispatching, message sending.

9 years ago{common,resource}: make sure buffers are null-terminated. upstream v0.0.74
Jan Ekström [Thu, 8 Jan 2015 15:29:04 +0000 (17:29 +0200)]
{common,resource}: make sure buffers are null-terminated.

These were found by Coverity, and technically they are correct.
Thus explicit null termination is added or strncpy is used.

9 years agocommon: use decltype to approximate typeof for C++. v0.0.70 v0.0.72 v0.0.73
Krisztian Litkey [Tue, 16 Dec 2014 19:05:03 +0000 (21:05 +0200)]
common: use decltype to approximate typeof for C++.

decltype looks good enough to approximate some usage of the
very handy gcc-compatible typeof extension. It does not seem
to be good enough to cover all cases (one known cas where it
breaks down is mrp_list_entry).

9 years agocommon: more C++-friendly bitmask handling. v0.0.69
Krisztian Litkey [Mon, 15 Dec 2014 09:11:47 +0000 (11:11 +0200)]
common: more C++-friendly bitmask handling.

9 years agocommon: reject gracefully async events on the global (NULL) bus.
Krisztian Litkey [Mon, 15 Dec 2014 09:10:48 +0000 (11:10 +0200)]
common: reject gracefully async events on the global (NULL) bus.

9 years agomask-test: get rid of a warning on 32-bit systems.
Krisztian Litkey [Fri, 12 Dec 2014 17:02:49 +0000 (19:02 +0200)]
mask-test: get rid of a warning on 32-bit systems.