summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevi Sandeep Endluri V V <dendluri@codeaurora.org>2017-07-10 14:00:21 +0530
committerDevi Sandeep Endluri V V <dendluri@codeaurora.org>2017-07-10 20:03:39 +0530
commit563eeda87d513a7d0b04651412e12401c777bffe (patch)
treea5d384577662eb45afc1f5e021d3bfe4f4a3585d
parent351d7233cd0ed7fafe90cb873fcfc556018a1e84 (diff)
HIDL: cnd: Add cnd HALs.
Add two HALs IApiService and IServer that are registered from cnd Change-Id: I07b0ea9eeb3f3d0388e67466c79f6e4e3e376b5a
-rwxr-xr-xandroid_filesystem_config.h8
-rw-r--r--vintf.xml30
2 files changed, 38 insertions, 0 deletions
diff --git a/android_filesystem_config.h b/android_filesystem_config.h
index f3b04d5..f2fbfa1 100755
--- a/android_filesystem_config.h
+++ b/android_filesystem_config.h
@@ -39,6 +39,14 @@ static const struct fs_path_config android_device_files[] = {
{ 00755, AID_SYSTEM, AID_SYSTEM, (1ULL << CAP_NET_BIND_SERVICE), "system/vendor/bin/imsdatadaemon" },
{ 00755, AID_SYSTEM, AID_RADIO, (1ULL << CAP_NET_BIND_SERVICE), "system/vendor/bin/ims_rtp_daemon" },
{ 00755, AID_SYSTEM, AID_SYSTEM, (1ULL << CAP_NET_BIND_SERVICE), "vendor/bin/imsdatadaemon" },
+ { 00755, AID_SYSTEM, AID_SYSTEM, CAP_MASK_LONG(CAP_NET_BIND_SERVICE) |
+ CAP_MASK_LONG(CAP_BLOCK_SUSPEND) |
+ CAP_MASK_LONG(CAP_NET_ADMIN),
+ "vendor/bin/cnd" },
+ { 00755, AID_SYSTEM, AID_SYSTEM, CAP_MASK_LONG(CAP_NET_BIND_SERVICE) |
+ CAP_MASK_LONG(CAP_BLOCK_SUSPEND) |
+ CAP_MASK_LONG(CAP_NET_ADMIN),
+ "system/vendor/bin/cnd" },
{ 00755, AID_SYSTEM, AID_RADIO, (1ULL << CAP_NET_BIND_SERVICE), "vendor/bin/ims_rtp_daemon" },
#ifdef NO_ANDROID_FILESYSTEM_CONFIG_DEVICE_DIRS
{ 00000, AID_ROOT, AID_ROOT, 0, "system/etc/fs_config_dirs" },
diff --git a/vintf.xml b/vintf.xml
index 895a0f9..4e3fbc7 100644
--- a/vintf.xml
+++ b/vintf.xml
@@ -456,4 +456,34 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<instance>qti.ims.connectionmanagerservice</instance>
</interface>
</hal>
+ <hal format="hidl">
+ <name>com.quicinc.cne.server</name>
+ <transport>hwbinder</transport>
+ <impl level="generic"></impl>
+ <version>1.0</version>
+ <interface>
+ <name>IServer</name>
+ <instance>cnd</instance>
+ </interface>
+ </hal>
+ <hal format="hidl">
+ <name>com.quicinc.cne.api</name>
+ <transport>hwbinder</transport>
+ <impl level="generic"></impl>
+ <version>1.0</version>
+ <interface>
+ <name>IApiService</name>
+ <instance>cnd</instance>
+ </interface>
+ </hal>
+ <hal format="hidl">
+ <name>com.quicinc.cne.server</name>
+ <transport>hwbinder</transport>
+ <impl level="generic"></impl>
+ <version>2.0</version>
+ <interface>
+ <name>IServer</name>
+ <instance>cnd</instance>
+ </interface>
+ </hal>
</manifest>