Home
last modified time | relevance | path

Searched refs:BatteryConsumerInfo (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerInfoHelper.java33 public static class BatteryConsumerInfo { class in BatteryConsumerInfoHelper
44 public static BatteryConsumerInfo makeBatteryConsumerInfo( in makeBatteryConsumerInfo()
63 BatteryConsumerInfo info = new BatteryConsumerInfo(); in makeBatteryConsumerInfo()
68 private static BatteryConsumerInfo makeBatteryConsumerInfo( in makeBatteryConsumerInfo()
70 BatteryConsumerInfo info = new BatteryConsumerInfo(); in makeBatteryConsumerInfo()
137 private static BatteryConsumerInfo makeAggregateBatteryConsumerInfo( in makeAggregateBatteryConsumerInfo()
139 BatteryConsumerInfo info = new BatteryConsumerInfo(); in makeAggregateBatteryConsumerInfo()
DBatteryConsumerPickerActivity.java133 AsyncLoaderCompat<List<BatteryConsumerInfoHelper.BatteryConsumerInfo>> {
146 public List<BatteryConsumerInfoHelper.BatteryConsumerInfo> loadInBackground() { in loadInBackground()
152 List<BatteryConsumerInfoHelper.BatteryConsumerInfo> batteryConsumerList = in loadInBackground()
170 (BatteryConsumerInfoHelper.BatteryConsumerInfo a) -> a.powerMah) in loadInBackground()
177 protected void onDiscardResult(List<BatteryConsumerInfoHelper.BatteryConsumerInfo> result) { in onDiscardResult()
182 LoaderManager.LoaderCallbacks<List<BatteryConsumerInfoHelper.BatteryConsumerInfo>> {
186 public Loader<List<BatteryConsumerInfoHelper.BatteryConsumerInfo>> onCreateLoader(int id, in onCreateLoader()
194 @NonNull Loader<List<BatteryConsumerInfoHelper.BatteryConsumerInfo>> loader, in onLoadFinished()
195 List<BatteryConsumerInfoHelper.BatteryConsumerInfo> batteryConsumerList) { in onLoadFinished()
202 @NonNull Loader<List<BatteryConsumerInfoHelper.BatteryConsumerInfo>> loader) { in onLoaderReset()
[all …]
DBatteryConsumerData.java61 private BatteryConsumerInfoHelper.BatteryConsumerInfo mBatteryConsumerInfo;
364 public BatteryConsumerInfoHelper.BatteryConsumerInfo getBatteryConsumerInfo() { in getBatteryConsumerInfo()
DBatteryStatsViewerActivity.java189 BatteryConsumerInfoHelper.BatteryConsumerInfo in onBatteryStatsDataLoaded()