BufferPoolAccessor cached the pid via a static constructor. If the
process forks after this, then multiple processes generating unique ids
using the same pid value. This resulted in connection ID collisions.
use getpid(), which already caches and resets appropriately across fork().
Bug: 142423602
Bug: 133186424
Test: boot, watch log connectionIds, collision-induced failures are gone
Hidl oneway call works as synchronous call when it is called from same
process. Avoid lock while calling hidl oneway interfaces.
Bug: 121047202
Change-Id: I20c29640414edd70e414af749c0b3f96efda8ca3
Fix bufferpool carsh sporadically on invalidation. use android::sp
instead of android::wp for caching IObserver hidl interface.
Bug: 112203066
Change-Id: I69aafa11cc617f9ae36cce88283a3294fcab9bbd
Implementation is currently identical to 1.0 impl.
The update will be applied afterwards.
Bug: 112203066
Change-Id: If19af34121f5c9736ab4e8ccf7b1716d0be05c81