DeviceUtils:  add some commonly used helper functions from kk44

Change-Id: I6b0850cda60e151b6f1746530dcd3b81f70dd52b