Home
last modified time | relevance | path

Searched refs:BatteryController (Results 1 – 19 of 19) 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.java29 import com.android.systemui.statusbar.policy.BatteryController;
34 BatteryController.BatteryStateChangeCallback {
36 private final BatteryController mBatteryController;
47 public BatterySaverTile(QSHost host, BatteryController batteryController) { in BatterySaverTile()
DUiModeNightTile.java31 import com.android.systemui.statusbar.policy.BatteryController;
44 BatteryController.BatteryStateChangeCallback {
49 private final BatteryController mBatteryController;
53 BatteryController batteryController) { in UiModeNightTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java23 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback;
28 public interface BatteryController extends DemoMode, Dumpable, interface
DBatteryControllerImpl.java52 public class BatteryControllerImpl extends BroadcastReceiver implements BatteryController {
61 …private final ArrayList<BatteryController.BatteryStateChangeCallback> mChangeCallbacks = new Array…
121 public void addCallback(BatteryController.BatteryStateChangeCallback cb) { in addCallback()
131 public void removeCallback(BatteryController.BatteryStateChangeCallback cb) { in removeCallback()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarBatteryController.java31 import com.android.systemui.statusbar.policy.BatteryController;
42 public class CarBatteryController extends BroadcastReceiver implements BatteryController {
105 public void addCallback(BatteryController.BatteryStateChangeCallback cb) { in addCallback()
115 public void removeCallback(BatteryController.BatteryStateChangeCallback cb) { in removeCallback()
DCarStatusBar.java77 import com.android.systemui.statusbar.policy.BatteryController;
705 private BatteryController createBatteryController() { in createBatteryController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightBarController.java31 import com.android.systemui.statusbar.policy.BatteryController;
43 public class LightBarController implements BatteryController.BatteryStateChangeCallback, Dumpable {
48 private final BatteryController mBatteryController;
87 BatteryController batteryController) { in LightBarController()
DKeyguardStatusBarView.java50 import com.android.systemui.statusbar.policy.BatteryController;
51 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback;
86 private BatteryController mBatteryController;
122 mBatteryController = Dependency.get(BatteryController.class); in onFinishInflate()
DStatusBar.java212 import com.android.systemui.statusbar.policy.BatteryController;
213 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback;
544 private BatteryController mBatteryController;
628 mBatteryController = Dependency.get(BatteryController.class); in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java57 import com.android.systemui.statusbar.policy.BatteryController;
58 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback;
88 private BatteryController mBatteryController;
296 mBatteryController = Dependency.get(BatteryController.class); in onAttachedToWindow()
DDependencyBinder.java39 import com.android.systemui.statusbar.policy.BatteryController;
162 public abstract BatteryController provideBatteryController( in provideBatteryController()
DDependency.java88 import com.android.systemui.statusbar.policy.BatteryController;
215 @Inject Lazy<BatteryController> mBatteryController;
346 mProviders.put(BatteryController.class, mBatteryController::get); in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNavigationBarController.java47 import com.android.systemui.statusbar.policy.BatteryController;
145 Dependency.get(BatteryController.class)); in createNavigationBar()
/frameworks/base/core/proto/android/server/
Djobscheduler.proto360 message BatteryController { message
661 BatteryController battery = 2;
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java100 import com.android.server.job.controllers.BatteryController;
185 private final BatteryController mBatteryController;
1333 mBatteryController = new BatteryController(this); in JobSchedulerService()
/frameworks/base/services/
Dart-profile7636 HSPLcom/android/server/job/controllers/BatteryController$ChargingTracker;->onReceive(Landroid/conte…
7637 HSPLcom/android/server/job/controllers/BatteryController$ChargingTracker;->onReceiveInternal(Landro…
7638 HSPLcom/android/server/job/controllers/BatteryController$ChargingTracker;->startTracking()V
7639 PLcom/android/server/job/controllers/BatteryController;->dumpControllerStateLocked(Landroid/util/pr…
7640 PLcom/android/server/job/controllers/BatteryController;->dumpControllerStateLocked(Lcom/android/int…
7641 HSPLcom/android/server/job/controllers/BatteryController;->maybeReportNewChargingStateLocked()V
7642 HSPLcom/android/server/job/controllers/BatteryController;->maybeStartTrackingJobLocked(Lcom/android…
7643 HSPLcom/android/server/job/controllers/BatteryController;->maybeStopTrackingJobLocked(Lcom/android/…
19349 Lcom/android/server/job/controllers/BatteryController$ChargingTracker;
19350 Lcom/android/server/job/controllers/BatteryController;