Searched refs:BatteryController (Results 1 – 16 of 16) sorted by relevance
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | BatteryController.java | 46 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/ |
D | FakeBatteryController.java | 20 import com.android.systemui.statusbar.policy.BatteryController; 21 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback; 27 implements BatteryController {
|
D | LeakCheckedTest.java | 26 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/ |
D | BatterySaverTile.java | 30 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/ |
D | BatteryController.java | 21 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback; 26 public interface BatteryController extends DemoMode, Dumpable, interface
|
D | BatteryControllerImpl.java | 41 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/ |
D | CarBatteryController.java | 31 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()
|
D | CarStatusBar.java | 45 import com.android.systemui.statusbar.policy.BatteryController; 232 private BatteryController createBatteryController() { in createBatteryController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LightBarController.java | 29 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()
|
D | KeyguardStatusBarView.java | 49 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()
|
D | StatusBar.java | 220 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/ |
D | BatteryMeterView.java | 48 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()
|
D | Dependency.java | 61 import com.android.systemui.statusbar.policy.BatteryController; 210 mProviders.put(BatteryController.class, () -> in start()
|
/frameworks/base/core/proto/android/server/ |
D | jobscheduler.proto | 243 message BatteryController { message 401 BatteryController battery = 2;
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 93 import com.android.server.job.controllers.BatteryController; 177 private final BatteryController mBatteryController; 1142 mBatteryController = new BatteryController(this); in JobSchedulerService()
|
/frameworks/base/services/ |
D | art-profile | 2580 Lcom/android/server/job/controllers/BatteryController$ChargingTracker; 2581 Lcom/android/server/job/controllers/BatteryController;
|