Searched refs:getBatteryInfo (Results 1 - 8 of 8) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
H A DBatteryInfoTest.java138 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mDisChargingBatteryBroadcast,
141 BatteryInfo info2 = BatteryInfo.getBatteryInfo(mContext, mDisChargingBatteryBroadcast,
153 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mDisChargingBatteryBroadcast,
156 BatteryInfo info2 = BatteryInfo.getBatteryInfo(mContext, mDisChargingBatteryBroadcast,
169 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mChargingBatteryBroadcast,
180 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mChargingBatteryBroadcast,
260 private BatteryInfo getBatteryInfo(boolean charging, boolean enhanced, boolean estimate) { method in class:BatteryInfoTest
266 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext,
279 info = getBatteryInfo(false /* charging */, false /* enhanced */, false /* estimate */);
282 info = getBatteryInfo(fals
[all...]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryInfo.java133 public static void getBatteryInfo(final Context context, final Callback callback) { method in class:BatteryInfo
134 BatteryInfo.getBatteryInfo(context, callback, false /* shortString */);
137 public static void getBatteryInfo(final Context context, final Callback callback, method in class:BatteryInfo
143 BatteryInfo.getBatteryInfo(context, callback, statsHelper, shortString);
146 public static void getBatteryInfo(final Context context, final Callback callback, method in class:BatteryInfo
151 getBatteryInfo(context, callback, stats, shortString);
154 public static void getBatteryInfo(final Context context, final Callback callback, method in class:BatteryInfo
175 return BatteryInfo.getBatteryInfo(context, batteryBroadcast, stats,
182 return BatteryInfo.getBatteryInfo(context, batteryBroadcast, stats,
199 return getBatteryInfo(contex
204 public static BatteryInfo getBatteryInfo(Context context, Intent batteryBroadcast, method in class:BatteryInfo
[all...]
H A DBatteryInfoLoader.java76 batteryInfo = BatteryInfo.getBatteryInfo(context, batteryBroadcast, stats,
80 batteryInfo = BatteryInfo.getBatteryInfo(context, batteryBroadcast, stats,
H A DDebugEstimatesLoader.java59 BatteryInfo newinfo = BatteryInfo.getBatteryInfo(getContext(), batteryBroadcast, stats,
H A DBatteryHistoryPreference.java52 BatteryInfo.getBatteryInfo(getContext(), info -> {
H A DBatteryHistoryDetail.java93 BatteryInfo.getBatteryInfo(getContext(), info -> {
H A DPowerUsageSummary.java890 BatteryInfo.getBatteryInfo(mContext, new BatteryInfo.Callback() {
H A DBatteryHistoryChart.java509 BatteryInfo.getBatteryInfo(getContext(), info -> {

Completed in 3253 milliseconds