Fix a set of random warnings in frameworks/base/

Bug: 26936282
Change-Id: Ic411d7a1673503d5945f952ebf5a8be964bb54a4
12 files changed