added usage of CM torch config

Change-Id: If185dd46ede877ac232d884ac982c01d18cd43de
Avoid unnecessary FindClass("java/lang/String").

Use previously retrieved global reference instead.
Check for NULL after creating the global reference.

Change-Id: I21670d2ef0f63ddb5801dd21e7e56359e5519479
make CPUInfoService work for non HTC tegra devices

Change-Id: I3fd483c5e20f21c6be4f33e508ada71f5a7c2033
scale CPUInfoService width correctly

Change-Id: I39fb0360d016db3ece10f67193b20e04998a0810