profile/ivi/murphy.git
9 years agoresource: generate missing acquire event when autoacquire is set
Janos Kovacs [Mon, 30 Sep 2013 20:54:45 +0000 (23:54 +0300)]
resource: generate missing acquire event when autoacquire is set

Change-Id: I50dd51fdb615ff07143bbf961e39d60571a47a9e

9 years agoresource: generate missing create event when autoacquire is set
Janos Kovacs [Mon, 30 Sep 2013 20:08:19 +0000 (23:08 +0300)]
resource: generate missing create event when autoacquire is set

Change-Id: I390d49d9820a76a468d3287b9cf2d470f1336ae7

9 years agoresource-asm: always set appid attribute on resource sets.
Krisztian Litkey [Mon, 30 Sep 2013 17:29:04 +0000 (20:29 +0300)]
resource-asm: always set appid attribute on resource sets.

Use the application name discovered using AUL, or argv[0] if
AUL fails to resolve the pid to a package.

Change-Id: I52f345b0f1fcb344938bf91f3032f0862c715291

9 years agoivi-resource-manager: grant audio resources for visible app's only
Janos Kovacs [Mon, 30 Sep 2013 13:56:44 +0000 (16:56 +0300)]
ivi-resource-manager: grant audio resources for visible app's only

Change-Id: I397e1fb091ba7a8426f8e42323bf1e5b38a141bb

9 years agoresource: fix class name in binary mapping
Janos Kovacs [Mon, 30 Sep 2013 13:44:09 +0000 (16:44 +0300)]
resource: fix class name in binary mapping

Change-Id: I429a5547f520ebbca6ff8983bdf3ce49bc5789bc

9 years agoresource-asm: fix a crash.
Ismo Puustinen [Mon, 30 Sep 2013 13:27:03 +0000 (16:27 +0300)]
resource-asm: fix a crash.

Change-Id: I92e174068e33dc8a9e09dcff84070134e0658ec6

9 years agoresource-set: fix def_hash assertion
Janos Kovacs [Mon, 30 Sep 2013 13:04:38 +0000 (16:04 +0300)]
resource-set: fix def_hash assertion

Change-Id: I62c9fa377a7505a4560b70109efaaa6a181a4c21

9 years agoresource: fixing bugs in binary mapping
Janos Kovacs [Mon, 30 Sep 2013 12:47:34 +0000 (15:47 +0300)]
resource: fixing bugs in binary mapping

Change-Id: I17f5acdd39e2a0a7f233b14239d064c5177aa31b

9 years agoresource: add lua configurability for binaries
Janos Kovacs [Mon, 30 Sep 2013 12:04:53 +0000 (15:04 +0300)]
resource: add lua configurability for binaries

Change-Id: Ibe0372447792d58ebfb4a291ece47ab1d1f29942

9 years agoresource-asm: Added support for effective application classes.
Ismo Puustinen [Mon, 30 Sep 2013 10:13:04 +0000 (13:13 +0300)]
resource-asm: Added support for effective application classes.

Change-Id: Id5af509c0d954cf8695e0289cce1330f17a80a6a

9 years agobuild: added AUL support for resource-asm.
Ismo Puustinen [Mon, 30 Sep 2013 09:27:09 +0000 (12:27 +0300)]
build: added AUL support for resource-asm.

Change-Id: I836e25ea38a1d319863d47b114865639a5ce315e

9 years agoresource: add definitions for binaries
Janos Kovacs [Mon, 30 Sep 2013 09:43:57 +0000 (12:43 +0300)]
resource: add definitions for binaries

Change-Id: Ia7d827f67583840528c7d970b06e9750572c39cf

9 years agoconfig: enabling ivi-resource-manager
Rusty Lynch [Wed, 25 Sep 2013 11:16:32 +0000 (04:16 -0700)]
config: enabling ivi-resource-manager

Change-Id: I54396bf85d96b2370419487a5485ea4fe4b57184

9 years agopackaging: released version 0.0.35.
Ismo Puustinen [Sat, 21 Sep 2013 18:13:10 +0000 (21:13 +0300)]
packaging: released version 0.0.35.

Change-Id: I74002d32fcbae1d2af6ebae8a2eefc509a6e0c27

9 years agopackaging: added support for driving mode.
Ismo Puustinen [Wed, 11 Sep 2013 10:25:30 +0000 (13:25 +0300)]
packaging: added support for driving mode.

Driving mode is currently turned on when the vehicle speed is not zero,
but the algorithm is likely to become more complex. The mode is
communicated to AMB.

Change-Id: I5840af1dc1c81c82d78afd9b785da4e22be68703

9 years agoAdd systemd tmpfiles config to init tmp directories
Mikko Ylinen [Tue, 10 Sep 2013 09:15:02 +0000 (12:15 +0300)]
Add systemd tmpfiles config to init tmp directories

systemd-tmpfiles services take care of tmpfiles creation/removal if
proper .conf file is installed. Add murphyd.conf to define tmpfiles
for murphy.

Change-Id: Ia54fa13f482e030971e76e880a8607a72e5c2d67
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agopackaging: released version 0.0.34.
Ismo Puustinen [Thu, 15 Aug 2013 08:18:56 +0000 (11:18 +0300)]
packaging: released version 0.0.34.

9 years agopackaging: added packaging.
Ismo Puustinen [Wed, 31 Jul 2013 12:42:43 +0000 (15:42 +0300)]
packaging: added packaging.

9 years agopackaging: added gbs.conf.
Ismo Puustinen [Tue, 30 Jul 2013 13:11:38 +0000 (16:11 +0300)]
packaging: added gbs.conf.

9 years agopackaging: reenabled Audio Session Manager support.
Ismo Puustinen [Wed, 31 Jul 2013 11:30:01 +0000 (14:30 +0300)]
packaging: reenabled Audio Session Manager support.

9 years agopackaging: fix json devel dependency.
Ismo Puustinen [Mon, 29 Jul 2013 14:00:59 +0000 (17:00 +0300)]
packaging: fix json devel dependency.

9 years agopackaging: reenabled ecore support.
Ismo Puustinen [Mon, 29 Jul 2013 13:59:46 +0000 (16:59 +0300)]
packaging: reenabled ecore support.

9 years agopackaging: update night mode when the brightness is first read.
Ismo Puustinen [Fri, 26 Jul 2013 11:09:02 +0000 (14:09 +0300)]
packaging: update night mode when the brightness is first read.

9 years agopackaging: added processing for night mode.
Ismo Puustinen [Thu, 25 Jul 2013 13:58:24 +0000 (16:58 +0300)]
packaging: added processing for night mode.

9 years agopackaging: enable SMACK support.
Krisztian Litkey [Thu, 11 Jul 2013 17:18:53 +0000 (20:18 +0300)]
packaging: enable SMACK support.

9 years agopackaging: BuildRequire systemd bits, don't use dlog.
Krisztian Litkey [Mon, 8 Jul 2013 16:19:31 +0000 (19:19 +0300)]
packaging: BuildRequire systemd bits, don't use dlog.

9 years agopackaging: try starting from the changelog of the previous release.
Krisztian Litkey [Mon, 8 Jul 2013 15:40:34 +0000 (18:40 +0300)]
packaging: try starting from the changelog of the previous release.

9 years agopackaging: added ivi-resource-manager bits to the configuration.
Krisztian Litkey [Mon, 8 Jul 2013 15:26:58 +0000 (18:26 +0300)]
packaging: added ivi-resource-manager bits to the configuration.

9 years agopackaging: add %post- and %postun-dependency on /bin/systemctl.
Krisztian Litkey [Fri, 28 Jun 2013 10:37:06 +0000 (13:37 +0300)]
packaging: add %post- and %postun-dependency on /bin/systemctl.

9 years agopackaging: rpmlint fixes.
Krisztian Litkey [Wed, 26 Jun 2013 19:01:23 +0000 (22:01 +0300)]
packaging: rpmlint fixes.

9 years agopackaging: changed to start by systemd.
Krisztian Litkey [Wed, 26 Jun 2013 18:27:24 +0000 (21:27 +0300)]
packaging: changed to start by systemd.

9 years agopackaging: updated amb-config.lua to match the new interface names.
Ismo Puustinen [Wed, 19 Jun 2013 08:26:35 +0000 (11:26 +0300)]
packaging: updated amb-config.lua to match the new interface names.

9 years agopackaging: updated AMB config file.
Ismo Puustinen [Tue, 18 Jun 2013 14:18:01 +0000 (17:18 +0300)]
packaging: updated AMB config file.

9 years agopackaging: added libresource pkg-config file.
Ismo Puustinen [Tue, 18 Jun 2013 08:54:25 +0000 (11:54 +0300)]
packaging: added libresource pkg-config file.

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.