Refactor alarm setting code in preparation for switch to callback

Bug: 25823676
Change-Id: Id4d1031b5bd3a7f041c32ad4ac9384e045b385e8
1 file changed