Home
last modified time | relevance | path

Searched refs:BatteryEntry (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageAdvanced.java85 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()
DPowerUsageSummary.java146 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:
DPowerGaugePreference.java41 private BatteryEntry mInfo;
46 BatteryEntry info) { in PowerGaugePreference()
59 CharSequence contentDescription, BatteryEntry info) { in PowerGaugePreference()
91 BatteryEntry getInfo() { in getInfo()
DBatteryEntry.java45 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
DAdvancedPowerUsageDetail.java100 BatteryStatsHelper helper, int which, BatteryEntry entry, String usagePercent) { in startBatteryDetailPage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryEntryTest.java76 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()
DAdvancedPowerUsageDetailTest.java102 private BatteryEntry mBatteryEntry;
/packages/apps/Settings/src/com/android/settings/applications/
DInstalledAppDetails.java93 import com.android.settings.fuelgauge.BatteryEntry;
1060 BatteryEntry entry = new BatteryEntry(getContext(), null, mUserManager, mSipper);