Searched refs:IPowerStatsService (Results 1 – 5 of 5) sorted by relevance
28 import android.os.IPowerStatsService;70 private final IPowerStatsService mPowerStats;90 IPowerStatsService.Stub.asInterface( in SystemHealthManager()96 @Nullable IPowerStatsService powerStats) { in SystemHealthManager()258 IPowerStatsService.KEY_MONITORS, PowerMonitor.class); in getSupportedPowerMonitors()313 if (resultCode == IPowerStatsService.RESULT_SUCCESS) { in getPowerMonitorReadings()315 resultData.getLongArray(IPowerStatsService.KEY_ENERGY), in getPowerMonitorReadings()316 resultData.getLongArray(IPowerStatsService.KEY_TIMESTAMPS)); in getPowerMonitorReadings()324 if (resultCode == IPowerStatsService.RESULT_UNSUPPORTED_POWER_MONITOR) { in getPowerMonitorReadings()
36 import android.os.IPowerStatsService;207 private final IBinder mService = new IPowerStatsService.Stub() {662 result.putParcelableArray(IPowerStatsService.KEY_MONITORS, mPowerMonitors); in getSupportedPowerMonitorsImpl()663 resultReceiver.send(IPowerStatsService.RESULT_SUCCESS, result); in getSupportedPowerMonitorsImpl()679 resultReceiver.send(IPowerStatsService.RESULT_UNSUPPORTED_POWER_MONITOR, null); in getPowerMonitorReadingsImpl()727 result.putLongArray(IPowerStatsService.KEY_ENERGY, energy); in getPowerMonitorReadingsImpl()728 result.putLongArray(IPowerStatsService.KEY_TIMESTAMPS, timestamps); in getPowerMonitorReadingsImpl()729 resultReceiver.send(IPowerStatsService.RESULT_SUCCESS, result); in getPowerMonitorReadingsImpl()
21 interface IPowerStatsService { interface
36 import android.os.IPowerStatsService;1072 powerMonitors = resultData.getParcelableArray(IPowerStatsService.KEY_MONITORS, in onReceiveResult()1103 energyUws = resultData.getLongArray(IPowerStatsService.KEY_ENERGY); in onReceiveResult()1104 timestamps = resultData.getLongArray(IPowerStatsService.KEY_TIMESTAMPS); in onReceiveResult()1192 IPowerStatsService.RESULT_UNSUPPORTED_POWER_MONITOR); in featureFlag()
184 import android.os.IPowerStatsService;1183 IPowerStatsService.Stub.asInterface(powerStats)); in registerService()