RPC Binder: acquire/release for Parcel send

Previously, when onBinderLeaving is called for a Parcel, this implies
that the ownership for the binder object is transferred to the other
side of the RPC binder connection. However, if there is an error
during parceling or a Parcel is created but not sent, then the resources
would be leaked.

This clarifies the release/acquisition structure of RPC binder objects.
Until the Parcel object is sent, the Parcel itself owns the binder
object.

Bug: 424526253
Test: binderRpcTest
Flag: EXEMPT bug fix
Change-Id: Ia28e9159e0bccfe72470f01fdd7db4fcc743200a
5 files changed