Add location permission grant/check actions to the CDM test app

Bug: 211757348

Test: First add an association and register device presence. Then grant the one-time permission, remove the app from task
manager and wait for 5 seconds. Finally open the app again, check the
location permission should be gone.

Change-Id: I3f551bc56cfb82c82ce06046e584d0754d3023cc
2 files changed