public class HardwarePropertiesManagerService
extends IHardwarePropertiesManager.Stub
HardwarePropertiesManager
Constructor and Description |
---|
HardwarePropertiesManagerService(Context context) |
Modifier and Type | Method and Description |
---|---|
CpuUsageInfo[] |
getCpuUsages(String callingPackage) |
float[] |
getDeviceTemperatures(String callingPackage,
int type,
int source) |
float[] |
getFanSpeeds(String callingPackage) |
public HardwarePropertiesManagerService(Context context)
public float[] getDeviceTemperatures(String callingPackage, int type, int source) throws SecurityException
SecurityException
public CpuUsageInfo[] getCpuUsages(String callingPackage) throws SecurityException
SecurityException
public float[] getFanSpeeds(String callingPackage) throws SecurityException
SecurityException