Refactor LocationTest

Bug: 187142700
Test: atest LocationTest
Change-Id: Ieeef09016a486190126ed56c3b9bdb78cb939387
1 file changed