$(nsm_consumer_built_sources): nsm-consumer-dbus.xml Makefile
$(AM_V_GEN) $(GDBUS_CODEGEN) \
- --interface-prefix com.contiautomotive.NodeStateManager \
+ --interface-prefix org.genivi.NodeStateManager \
--c-namespace "" \
--generate-c-code nsm-consumer-dbus \
--annotate \
- com.contiautomotive.NodeStateManager.Consumer \
+ org.genivi.NodeStateManager.Consumer \
org.gtk.GDBus.C.Name NSM_Consumer $<
$(nsm_lifecycle_control_built_sources): nsm-lifecycle-control-dbus.xml Makefile
$(AM_V_GEN) $(GDBUS_CODEGEN) \
- --interface-prefix com.contiautomotive.NodeStateManager \
+ --interface-prefix org.genivi.NodeStateManager \
--c-namespace "" \
--generate-c-code nsm-lifecycle-control-dbus \
--annotate \
- com.contiautomotive.NodeStateManager.LifecycleControl \
+ org.genivi.NodeStateManager.LifecycleControl \
org.gtk.GDBus.C.Name NSM_Lifecycle_Control $<
$(shutdown_consumer_built_sources): shutdown-consumer-dbus.xml Makefile
--c-namespace "" \
--generate-c-code shutdown-consumer-dbus \
--annotate \
- com.contiautomotive.NodeStateManager.LifeCycleConsumer \
+ org.genivi.NodeStateManager.LifeCycleConsumer \
org.gtk.GDBus.C.Name Shutdown_Consumer $<
<?xml version="1.0" encoding="UTF-8"?>
<node>
<!--
- com.contiautomotive.NodeStateManager.Consumer:
+ org.genivi.NodeStateManager.Consumer:
@short_description: Interface for testing the interaction between the
Node Startup Controller and the Node State Manager.
It is an excerpt of
- "com.contiautomotive.NodeStateManager.LifecycleControl"
+ "org.genivi.NodeStateManager.LifecycleControl"
using only the methods needed to test the NSC.
-->
- <interface name="com.contiautomotive.NodeStateManager.Consumer">
+ <interface name="org.genivi.NodeStateManager.Consumer">
<!--
RegisterShutdownClient:
@BusName: Bus name of remote application.
<?xml version="1.0" encoding="UTF-8"?>
<node>
<!--
- com.contiautomotive.NodeStateManager.LifecycleControl:
+ org.genivi.NodeStateManager.LifecycleControl:
@short_description: Interface for testing the interaction between the
Node Startup Controller and the Node State Manager.
It is an excerpt of
- "com.conti.NodeStateManager.LifecycleControl"
+ "org.genivi.NodeStateManager.LifecycleControl"
using only the methods needed to test the NSC.
-->
- <interface name="com.contiautomotive.NodeStateManager.LifecycleControl">
+ <interface name="org.genivi.NodeStateManager.LifecycleControl">
<!--
SetNodeState:
@NodeStateId: The passed value will be based upon the enum
<?xml version="1.0" encoding="UTF-8"?>
<node>
<!--
- com.contiautomotive.NodeStateManager.LifeCycleConsumer:
+ org.genivi.NodeStateManager.LifeCycleConsumer:
@short_description: Interface for receiving LifecycleRequest commands from the NSM
Lifecycle Consumers are D-Bus object which are created to shut down apps
with the Node State Manager (NSM) instead of the apps and respond to any
LifecycleRequest() in the app's place.
-->
- <interface name="com.contiautomotive.NodeStateManager.LifeCycleConsumer">
+ <interface name="org.genivi.NodeStateManager.LifeCycleConsumer">
<!--
Shutdown:
@Request: The code for this request, either normal, fast or runup.
</para>
<itemizedlist>
<listitem>
- <literal>com.contiautomotive.NodeStateManager.LifecycleControl.CheckLucRequired</literal>
+ <literal>org.genivi.NodeStateManager.LifecycleControl.CheckLucRequired</literal>
will alternate between returning <literal>TRUE</literal> and
<literal>FALSE</literal> with every call. This way it is possible to test how the
Node Startup Controller behaves with and without starting the LUC simply by
starting it twice.
</listitem>
<listitem>
- <literal>com.contiautomotive.NodeStateManager.LifecycleControl.SetNodeState</literal>
+ <literal>org.genivi.NodeStateManager.LifecycleControl.SetNodeState</literal>
will alternate between accepting the state and not accepting the state with
every call. This way it is possible to test how the Node Startup Controller
handles both scenarios.
/* connect to the node state manager */
service->nsm_consumer =
nsm_consumer_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM, G_DBUS_PROXY_FLAGS_NONE,
- "com.contiautomotive.NodeStateManager",
- "/com/contiautomotive/NodeStateManager/Consumer",
+ "org.genivi.NodeStateManager",
+ "/org/genivi/NodeStateManager/Consumer",
NULL, &error);
if (error != NULL)
{
starter->nsm_lifecycle_control =
nsm_lifecycle_control_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM,
G_DBUS_PROXY_FLAGS_NONE,
- "com.contiautomotive.NodeStateManager",
- "/com/contiautomotive/NodeStateManager/LifecycleControl",
+ "org.genivi.NodeStateManager",
+ "/org/genivi/NodeStateManager/LifecycleControl",
NULL, &error);
if (error != NULL)
{
monitor->nsm_lifecycle_control =
nsm_lifecycle_control_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM,
G_DBUS_PROXY_FLAGS_NONE,
- "com.contiautomotive.NodeStateManager",
- "/com/contiautomotive/NodeStateManager/LifecycleControl",
+ "org.genivi.NodeStateManager",
+ "/org/genivi/NodeStateManager/LifecycleControl",
NULL, &error);
if (error != NULL)
{
dbus_servicedir = $(datadir)/dbus-1/system-services
dbus_service_in_files = \
- com.contiautomotive.NodeStateManager.Consumer.service.in \
- com.contiautomotive.NodeStateManager.LifecycleControl.service.in
+ org.genivi.NodeStateManager.Consumer.service.in \
+ org.genivi.NodeStateManager.LifecycleControl.service.in
dbus_service_DATA = $(dbus_service_in_files:.service.in=.service)
nsm_dummy_confdir = $(sysconfdir)/dbus-1/system.d
nsm_dummy_conf_DATA = \
- com.contiautomotive.NodeStateManager.conf
+ org.genivi.NodeStateManager.conf
EXTRA_DIST = \
$(nsm_dummy_conf_DATA)
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
- <allow own="com.contiautomotive.NodeStateManager"/>
- <allow send_destination="com.contiautomotive.NodeStateManager" />
- <allow receive_sender="com.contiautomotive.NodeStateManager" />
+ <allow own="org.genivi.NodeStateManager"/>
+ <allow send_destination="org.genivi.NodeStateManager" />
+ <allow receive_sender="org.genivi.NodeStateManager" />
</policy>
</busconfig>
/* announce the Consumer service on the bus */
return g_dbus_interface_skeleton_export (G_DBUS_INTERFACE_SKELETON (service->interface),
service->connection,
- "/com/contiautomotive/NodeStateManager/Consumer",
+ "/org/genivi/NodeStateManager/Consumer",
error);
}
/* get a bus name on the given connection */
application->bus_name_id =
g_bus_own_name_on_connection (application->connection,
- "com.contiautomotive.NodeStateManager",
+ "org.genivi.NodeStateManager",
G_BUS_NAME_OWNER_FLAGS_NONE,
nsm_dummy_application_bus_name_acquired,
nsm_dummy_application_bus_name_lost, NULL, NULL);
[Service]
Type = dbus
-BusName = com.contiautomotive.NodeStateManager
+BusName = org.genivi.NodeStateManager
ExecStart = @libdir@/node-startup-controller-@NODE_STARTUP_CONTROLLER_VERSION_API@/nsm-dummy
WatchdogSec = 5
/* announce the LifecycleControl service on the bus */
return g_dbus_interface_skeleton_export (G_DBUS_INTERFACE_SKELETON (service->interface),
service->connection,
- "/com/contiautomotive/NodeStateManager/LifecycleControl",
+ "/org/genivi/NodeStateManager/LifecycleControl",
error);
}
[D-BUS Service]
-Name=com.contiautomotive.NodeStateManager
+Name=org.genivi.NodeStateManager
SystemdService = nsm-dummy.service
Exec=@libdir@/node-startup-controller-@NODE_STARTUP_CONTROLLER_VERSION_API@/nsm-dummy
[D-BUS Service]
-Name=com.contiautomotive.NodeStateManager
+Name=org.genivi.NodeStateManager
SystemdService = nsm-dummy.service
Exec=@libdir@/node-startup-controller-@NODE_STARTUP_CONTROLLER_VERSION_API@/nsm-dummy