Fix determining request expiration time

Add a helper method to LocationRequest for determining the expiration
time and utilise from both LMS and GeofenceManager.

Bug: 143963313
Test: atest LocationManagerTest
Change-Id: Iac2af3f7f41d68342ef067cfef3b7169476266eb
3 files changed