add device_utils.py to support test case replace add docs for api change add device_context dir supply docs for hal api format change supply rest