Home
last modified time | relevance | path

Searched refs:IPowerStatsService (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/os/health/
DSystemHealthManager.java28 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()
/frameworks/base/services/core/java/com/android/server/powerstats/
DPowerStatsService.java36 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()
/frameworks/base/core/java/android/os/
DIPowerStatsService.aidl21 interface IPowerStatsService { interface
/frameworks/base/services/tests/powerstatstests/src/com/android/server/powerstats/
DPowerStatsServiceTest.java36 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()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java184 import android.os.IPowerStatsService;
1183 IPowerStatsService.Stub.asInterface(powerStats)); in registerService()