aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/binder/binder_constants.cpp
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2016-07-07 16:48:00 (GMT)
committerJouni Malinen <j@w1.fi>2016-08-07 08:21:28 (GMT)
commitfe1d0771f72e6be7e81d46658dcac37a3629c317 (patch)
tree0f95a62a69b79d5d4f983e83e805449f07097689 /wpa_supplicant/binder/binder_constants.cpp
parentb84ce655d31a2236734c788fd3292c10d5d9f0b1 (diff)
downloadhostap-fe1d0771f72e6be7e81d46658dcac37a3629c317.zip
hostap-fe1d0771f72e6be7e81d46658dcac37a3629c317.tar.gz
hostap-fe1d0771f72e6be7e81d46658dcac37a3629c317.tar.bz2
binder: Expose an aidl interface module
Restructure the binder related makefile sections to expose a separate |libwpa_binder_interface| which can be imported by clients/tests. While there, Change the name of the binder service to the name used in the selinux permissions. Signed-off-by: Roshan Pius <rpius@google.com>
Diffstat (limited to 'wpa_supplicant/binder/binder_constants.cpp')
-rw-r--r--wpa_supplicant/binder/binder_constants.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/wpa_supplicant/binder/binder_constants.cpp b/wpa_supplicant/binder/binder_constants.cpp
new file mode 100644
index 0000000..0d452b1
--- /dev/null
+++ b/wpa_supplicant/binder/binder_constants.cpp
@@ -0,0 +1,18 @@
+/*
+ * binder interface for wpa_supplicant daemon
+ * Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi>
+ * Copyright (c) 2004-2016, Roshan Pius <rpius@google.com>
+ *
+ * This software may be distributed under the terms of the BSD license.
+ * See README for more details.
+ */
+
+#include "binder_constants.h"
+
+namespace wpa_supplicant_binder {
+namespace binder_constants {
+
+const char kServiceName[] = "wpa_supplicant";
+
+} /* namespace binder_constants */
+} /* namespace wpa_supplicant_binder */