Searched refs:BatteryEntry (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerUsageAdvanced.java | 85 case BatteryEntry.MSG_UPDATE_NAME_ICON: 89 final BatteryEntry entry = (BatteryEntry) msg.obj; 99 case BatteryEntry.MSG_REPORT_FULLY_DRAWN: 132 BatteryEntry.stopRequestQueue(); in onPause() 133 mHandler.removeMessages(BatteryEntry.MSG_UPDATE_NAME_ICON); in onPause() 141 BatteryEntry.clearUidCache(); in onDestroy() 173 BatteryEntry.startRequestQueue(); in refreshUi() 300 BatteryEntry batteryEntry = new BatteryEntry(getContext(), mHandler, mUserManager, in updateUsageDataSummary()
|
D | PowerUsageSummary.java | 146 BatteryEntry.stopRequestQueue(); in onPause() 147 mHandler.removeMessages(BatteryEntry.MSG_UPDATE_NAME_ICON); in onPause() 155 BatteryEntry.clearUidCache(); in onDestroy() 174 BatteryEntry entry = pgp.getInfo(); in onPreferenceTreeClick() 488 final BatteryEntry entry = new BatteryEntry(getActivity(), mHandler, mUm, sipper); in refreshUi() 531 BatteryEntry.startRequestQueue(); in refreshUi() 655 case BatteryEntry.MSG_UPDATE_NAME_ICON: 656 BatteryEntry entry = (BatteryEntry) msg.obj; 670 case BatteryEntry.MSG_REPORT_FULLY_DRAWN:
|
D | PowerGaugePreference.java | 41 private BatteryEntry mInfo; 46 BatteryEntry info) { in PowerGaugePreference() 59 CharSequence contentDescription, BatteryEntry info) { in PowerGaugePreference() 91 BatteryEntry getInfo() { in getInfo()
|
D | BatteryEntry.java | 45 public class BatteryEntry { class 53 static final ArrayList<BatteryEntry> mRequestQueue = new ArrayList<BatteryEntry>(); 70 BatteryEntry be; in run() 132 public BatteryEntry(Context context, Handler handler, UserManager um, BatterySipper sipper) { in BatteryEntry() method in BatteryEntry
|
D | AdvancedPowerUsageDetail.java | 100 BatteryStatsHelper helper, int which, BatteryEntry entry, String usagePercent) { in startBatteryDetailPage()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryEntryTest.java | 76 private BatteryEntry createBatteryEntryForApp() { in createBatteryEntryForApp() 77 return new BatteryEntry(mockContext, mockHandler, mockUserManager, createSipperForApp()); in createBatteryEntryForApp() 89 BatteryEntry entry = createBatteryEntryForApp(); in batteryEntryForApp_shouldSetDefaultPackageNameAndLabel() 101 BatteryEntry entry = createBatteryEntryForApp(); in batteryEntryForApp_shouldSetLabelAsPackageName_whenPackageCannotBeFound() 110 BatteryEntry entry = createBatteryEntryForApp(); in batteryEntryForApp_shouldSetHighestDrainPackage_whenPackagesCannotBeFoundForUid() 120 BatteryEntry entry = createBatteryEntryForApp(); in batteryEntryForApp_shouldSetHighestDrainPackage_whenMultiplePackagesFoundForUid()
|
D | AdvancedPowerUsageDetailTest.java | 102 private BatteryEntry mBatteryEntry;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | InstalledAppDetails.java | 93 import com.android.settings.fuelgauge.BatteryEntry; 1060 BatteryEntry entry = new BatteryEntry(getContext(), null, mUserManager, mSipper);
|