RESTRICT AUTOMERGE Refactor device policy resource APIs to a separate class

Also moved Dialer constant definitions from DPM to Dialer

Bug: 217388602
Bug: 218875965
Test: atest EnterpriseResourcesTests
Test: manual
Change-Id: Id047eab50366273d99580d53433e25742e1f8516
(cherry picked from commit 187477b9b7b6a34a8133689c26fbd800301078ed)
Merged-In: Id047eab50366273d99580d53433e25742e1f8516
3 files changed