Re: [android-porting] what's advantage of binderised hidl comparing to passthrough hidl?

2019-01-28 Thread Satish Patel
On Fri, Jan 25, 2019 at 10:53 PM jeon  wrote:

>  In android, what's advantage of binderised hidl comparing to passthrough
> hidl?
> In android, as i know, there are two hidl usages( binderised way(client /
> server in seperated process ) , passthrough way ( client /server in same
> process ).
> What is advantage of binderised way comparing to passthrough way?
>
> I think binderised way has more overhead than passthrough because
> binderised way need to use binder communication(RPC).
>
> why does vendor use binderised way??
>
The whole idea of adopting binderised way (as of I know) is to separate
system and vendor layer. This is to update the system image very
independently than vendor. depending on vendor version system layer can
call certain APIs to accomplish task from vendor side binary.



> --
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-porting+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Regards,
satish patel

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-porting] what's advantage of binderised hidl comparing to passthrough hidl?

2019-01-29 Thread Srinivas N
As per my understanding , if any thing crash in vendor will not effect on
above android layers , b'cos both run in separate process - if you use
binderised why.

On Mon, Jan 28, 2019 at 10:37 PM Satish Patel 
wrote:

>
>
> On Fri, Jan 25, 2019 at 10:53 PM jeon  wrote:
>
>>  In android, what's advantage of binderised hidl comparing to passthrough
>> hidl?
>> In android, as i know, there are two hidl usages( binderised way(client /
>> server in seperated process ) , passthrough way ( client /server in same
>> process ).
>> What is advantage of binderised way comparing to passthrough way?
>>
>> I think binderised way has more overhead than passthrough because
>> binderised way need to use binder communication(RPC).
>>
>> why does vendor use binderised way??
>>
> The whole idea of adopting binderised way (as of I know) is to separate
> system and vendor layer. This is to update the system image very
> independently than vendor. depending on vendor version system layer can
> call certain APIs to accomplish task from vendor side binary.
>
>
>
>> --
>> --
>> unsubscribe: android-porting+unsubscr...@googlegroups.com
>> website: http://groups.google.com/group/android-porting
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "android-porting" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to android-porting+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> Regards,
> satish patel
>
> --
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-porting+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.