Store TestInputListener in unique_ptr instead of sp

Since we are removing RefBase from InputListener, we should no longer be
storing it inside sp<>. Store as unique_ptr instead.

Bug: 198472780
Test: m CVE-2021-0684
Change-Id: Icf1c7fd7a87e3884f20cbaa3f1518c6fca3f0e69
5 files changed