Home
last modified time | relevance | path

Searched refs:BatteryController (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/core/java/com/android/server/job/controllers/
DBatteryController.java46 public final class BatteryController extends StateController { class
59 public BatteryController(JobSchedulerService service) { in BatteryController() method in BatteryController
257 proto.write(StateControllerProto.BatteryController.IS_ON_STABLE_POWER, in dumpControllerStateLocked()
259 proto.write(StateControllerProto.BatteryController.IS_BATTERY_NOT_LOW, in dumpControllerStateLocked()
262 proto.write(StateControllerProto.BatteryController.IS_MONITORING, in dumpControllerStateLocked()
264 proto.write(StateControllerProto.BatteryController.LAST_BROADCAST_SEQUENCE_NUMBER, in dumpControllerStateLocked()
272 final long jsToken = proto.start(StateControllerProto.BatteryController.TRACKED_JOBS); in dumpControllerStateLocked()
273 js.writeToShortProto(proto, StateControllerProto.BatteryController.TrackedJob.INFO); in dumpControllerStateLocked()
274 proto.write(StateControllerProto.BatteryController.TrackedJob.SOURCE_UID, in dumpControllerStateLocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeBatteryController.java20 import com.android.systemui.statusbar.policy.BatteryController;
21 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback;
27 implements BatteryController {
DLeakCheckedTest.java26 import com.android.systemui.statusbar.policy.BatteryController;
64 BatteryController.class,
123 } else if (cls == BatteryController.class) { in getLeakChecker()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java30 import com.android.systemui.statusbar.policy.BatteryController;
33 BatteryController.BatteryStateChangeCallback {
35 private final BatteryController mBatteryController;
44 mBatteryController = Dependency.get(BatteryController.class); in BatterySaverTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java21 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback;
26 public interface BatteryController extends DemoMode, Dumpable, interface
DBatteryControllerImpl.java41 public class BatteryControllerImpl extends BroadcastReceiver implements BatteryController {
48 …private final ArrayList<BatteryController.BatteryStateChangeCallback> mChangeCallbacks = new Array…
101 public void addCallback(BatteryController.BatteryStateChangeCallback cb) { in addCallback()
111 public void removeCallback(BatteryController.BatteryStateChangeCallback cb) { in removeCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DCarBatteryController.java31 import com.android.systemui.statusbar.policy.BatteryController;
42 public class CarBatteryController extends BroadcastReceiver implements BatteryController {
102 public void addCallback(BatteryController.BatteryStateChangeCallback cb) { in addCallback()
112 public void removeCallback(BatteryController.BatteryStateChangeCallback cb) { in removeCallback()
DCarStatusBar.java45 import com.android.systemui.statusbar.policy.BatteryController;
232 private BatteryController createBatteryController() { in createBatteryController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightBarController.java29 import com.android.systemui.statusbar.policy.BatteryController;
41 public class LightBarController implements BatteryController.BatteryStateChangeCallback, Dumpable {
46 private final BatteryController mBatteryController;
83 mBatteryController = Dependency.get(BatteryController.class); in LightBarController()
DKeyguardStatusBarView.java49 import com.android.systemui.statusbar.policy.BatteryController;
50 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback;
80 private BatteryController mBatteryController;
115 mBatteryController = Dependency.get(BatteryController.class); in onFinishInflate()
DStatusBar.java220 import com.android.systemui.statusbar.policy.BatteryController;
221 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback;
578 private BatteryController mBatteryController;
639 mBatteryController = Dependency.get(BatteryController.class); in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java48 import com.android.systemui.statusbar.policy.BatteryController;
49 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback;
70 private BatteryController mBatteryController;
210 mBatteryController = Dependency.get(BatteryController.class); in onAttachedToWindow()
DDependency.java61 import com.android.systemui.statusbar.policy.BatteryController;
210 mProviders.put(BatteryController.class, () -> in start()
/frameworks/base/core/proto/android/server/
Djobscheduler.proto243 message BatteryController { message
401 BatteryController battery = 2;
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java93 import com.android.server.job.controllers.BatteryController;
177 private final BatteryController mBatteryController;
1142 mBatteryController = new BatteryController(this); in JobSchedulerService()
/frameworks/base/services/
Dart-profile2580 Lcom/android/server/job/controllers/BatteryController$ChargingTracker;
2581 Lcom/android/server/job/controllers/BatteryController;