Move device management resource retrieval calls to bg thread

Fixes: 217176608
Test: added Assert.isNotMainThread and manually verified it doesn't
crash

Change-Id: I506123117567128fc4cb0a712d6c8c0ff683d20f
7 files changed