<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Communication between AOSP JNI and HIDL</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/1182330#M164847</link>
    <description>&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;I am also looking into communication from vehicle HAL up to the application layer in android automotive?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any example code to start wtih.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 12 Nov 2020 12:42:50 GMT</pubDate>
    <dc:creator>Janpk</dc:creator>
    <dc:date>2020-11-12T12:42:50Z</dc:date>
    <item>
      <title>Communication between AOSP JNI and HIDL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936528#M140308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir,&lt;/P&gt;&lt;P&gt;I am working on AOSP version 9.0 and using iMX8M Mini EVK development Kit and developing a android application which will use my custom system service to access HAL functionality.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am able to create custom system service in AOSP framework and able to use it from from my Android App.&lt;/P&gt;&lt;P&gt;but while interfacing JNI layer and HIDL layer I am facing issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am following below link for creating my custom HIDL and trying to access it from JNI layer -&lt;/P&gt;&lt;P&gt;&lt;A href="https://devarea.com/android-hidl-and-project-treble/#.XZMirXUzY8o"&gt;https://devarea.com/android-hidl-and-project-treble/#.XZMirXUzY8o&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.jianshu.com/p/ca6823b897b5"&gt;https://www.jianshu.com/p/ca6823b897b5&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also following the Light Example from AOSP to create my own custom HIDL and JNI layer. &lt;/P&gt;&lt;P&gt;AOSP File Path =&amp;gt;&lt;/P&gt;&lt;P&gt;JNI -&amp;gt; com_android_server_lights_LightsService.cpp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt; framework/base/services/core/jni &amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;HIDL -&amp;gt; Light.cpp / Light.h / ILight.Hal &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt; hardware/interfaces/light &amp;gt;&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am Successfully able to build the JNI layer and HIDL layer separately but i am not able to access HIDL from my JNI layer code. I am trying to use Binderized Mode as shown in above links and in AOSP Light Example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After successfully compiling the AOSP code when i try to run it on iMX8M EVK it is not booting and when i checked the logcat it is waiting for my HIDL service. Boot is getting stuck at android logo itself. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Suggest how can I use HIDL in Pass through or Binderized Mode and access it from my JNI code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE :&lt;/STRONG&gt; I am referring above mentioned link and AOSP Light Example for creating my JNI and HIDL code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2019 15:17:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936528#M140308</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2019-10-01T15:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between AOSP JNI and HIDL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936529#M140309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This question is more related to how the Android USB HAL interface with the Android framework. I highly suggest you to ask your question on the Google support page. They could help you and have a better understanding of this problem.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.google.com/android/community?hl=en" title="https://support.google.com/android/community?hl=en"&gt;Community forum - Android Help&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologize for the inconvenience this could give you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2019 20:51:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936529#M140309</guid>
      <dc:creator>diegoadrian</dc:creator>
      <dc:date>2019-10-07T20:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between AOSP JNI and HIDL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936530#M140310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/maneeshsingh"&gt;maneeshsingh&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will you please provide your implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VinothS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Oct 2019 07:01:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936530#M140310</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2019-10-12T07:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between AOSP JNI and HIDL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936531#M140311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinothkumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For JNI to work you need complete framework in place like system service, JNI, HIDL, HAL etc.&lt;/P&gt;&lt;P&gt;I am still working on it and will update you once I will made any progress.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 12:41:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936531#M140311</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2019-10-17T12:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between AOSP JNI and HIDL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936532#M140312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you&amp;nbsp; Maneesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which communication are you using for Vehicle HAL and Vehicle Driver and How you are verify the data pass from Vehicle Driver to HAL ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;VinothS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 12:46:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936532#M140312</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2019-10-17T12:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between AOSP JNI and HIDL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936533#M140313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/maneeshsingh"&gt;maneeshsingh&lt;/A&gt;&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/vinothkumars"&gt;vinothkumars&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking at can communication from vehicle HAL up to the application layer in android automotive? Any idea about this?&lt;/P&gt;&lt;P&gt;Also, can u share implementation for the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 12:06:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936533#M140313</guid>
      <dc:creator>krishnan_ramesh</dc:creator>
      <dc:date>2020-04-29T12:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between AOSP JNI and HIDL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936534#M140314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Share your mail Id and information about your board and android version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinoth S,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 14:47:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936534#M140314</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2020-04-29T14:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between AOSP JNI and HIDL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936535#M140315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/vinothkumars"&gt;vinothkumars&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Working on Android 10 latest nxp automotive release on the IMX8 QXPMEK board.&lt;/P&gt;&lt;P&gt;Any open-source implementation and documents for this Share the links to this email id - &lt;A href="mailto:shriyanayak1992@gmail.com"&gt;shriyanayak1992@gmail.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2020 09:24:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936535#M140315</guid>
      <dc:creator>krishnan_ramesh</dc:creator>
      <dc:date>2020-04-30T09:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between AOSP JNI and HIDL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936536#M140316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: small;"&gt;Dear Maneesh Singh,&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;I am leaning to write HAL, JNI and service in Android by using to Android 9 BSP using i.MX8M Mini board.&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;I am new to Android 9.&amp;nbsp;Please can you share the example you tried on Android 9 BSP, so that will be helpful to me to&amp;nbsp;understand HAL, JNI and Service by referring example&amp;nbsp; ?&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;Thanks and Regards,&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;Devendra&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 May 2020 14:49:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/936536#M140316</guid>
      <dc:creator>devendradevadig</dc:creator>
      <dc:date>2020-05-02T14:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between AOSP JNI and HIDL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/1182329#M164846</link>
      <description>&lt;P&gt;Hi @&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-IV lia-component-message-view-widget-author-username"&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/165947" target="_self"&gt;&lt;SPAN class=""&gt;maneeshsingh192&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-IV lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;Could you please share the code.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-IV lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 12:39:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/1182329#M164846</guid>
      <dc:creator>Janpk</dc:creator>
      <dc:date>2020-11-12T12:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between AOSP JNI and HIDL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/1182330#M164847</link>
      <description>&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;I am also looking into communication from vehicle HAL up to the application layer in android automotive?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any example code to start wtih.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 12:42:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/1182330#M164847</guid>
      <dc:creator>Janpk</dc:creator>
      <dc:date>2020-11-12T12:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between AOSP JNI and HIDL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/1593185#M201023</link>
      <description>&lt;P&gt;Hi Vinoth,&lt;/P&gt;&lt;P&gt;We are trying to use CAN on imx8qxp board (Android Automotive 12.1.0_1.1.0) but we cannot see the CAN interface.&lt;/P&gt;&lt;P&gt;We have tried to update the flexcan in dts files. But we are getting following logs in kernel logs:&lt;/P&gt;&lt;P&gt;can_stby : disabling&lt;/P&gt;&lt;P&gt;can_en : disabling&lt;/P&gt;&lt;P&gt;Could you please support?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 13:53:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Communication-between-AOSP-JNI-and-HIDL/m-p/1593185#M201023</guid>
      <dc:creator>kumarijyoti9994</dc:creator>
      <dc:date>2023-02-03T13:53:10Z</dc:date>
    </item>
  </channel>
</rss>

