Move NotificationEntry.channel to a getter

Also add RankingBuilder for use in tests.

Test: atest
Change-Id: I1905ef172fd6724dc32af4757e16cf615bee9ad3
11 files changed