Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DPluggedInCondition.kt19 import com.android.systemui.statusbar.policy.BatteryController
26 private val batteryController: BatteryController,
33 object : BatteryController.BatteryStateChangeCallback {
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeBatteryController.java21 import com.android.systemui.statusbar.policy.BatteryController;
22 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback;
27 implements BatteryController {
DLeakCheckedTest.java25 import com.android.systemui.statusbar.policy.BatteryController;
62 BatteryController.class,
121 } else if (cls == BatteryController.class) { in getLeakChecker()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DPluggedInConditionTest.kt20 import com.android.systemui.statusbar.policy.BatteryController
37 @Mock private lateinit var batteryController: BatteryController
68 ArgumentCaptor.forClass(BatteryController.BatteryStateChangeCallback::class.java) in testCondition_invokesRetry()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DBatteryController.java50 public final class BatteryController extends RestrictingController { class
76 public BatteryController(JobSchedulerService service) { in BatteryController() method in BatteryController
321 proto.write(StateControllerProto.BatteryController.IS_ON_STABLE_POWER, in dumpControllerStateLocked()
323 proto.write(StateControllerProto.BatteryController.IS_BATTERY_NOT_LOW, in dumpControllerStateLocked()
331 final long jsToken = proto.start(StateControllerProto.BatteryController.TRACKED_JOBS); in dumpControllerStateLocked()
332 js.writeToShortProto(proto, StateControllerProto.BatteryController.TrackedJob.INFO); in dumpControllerStateLocked()
333 proto.write(StateControllerProto.BatteryController.TrackedJob.SOURCE_UID, in dumpControllerStateLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DBatteryMeterViewController.java38 import com.android.systemui.statusbar.policy.BatteryController;
51 private final BatteryController mBatteryController;
76 private final BatteryController.BatteryStateChangeCallback mBatteryStateChangeCallback =
77 new BatteryController.BatteryStateChangeCallback() {
122 BatteryController batteryController) { in BatteryMeterViewController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightBarController.java41 import com.android.systemui.statusbar.policy.BatteryController;
52 public class LightBarController implements BatteryController.BatteryStateChangeCallback, Dumpable {
57 private final BatteryController mBatteryController;
95 BatteryController batteryController, in LightBarController()
318 private final BatteryController mBatteryController;
326 BatteryController batteryController, in Factory()
DDozeParameters.java49 import com.android.systemui.statusbar.policy.BatteryController;
50 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback;
84 private final BatteryController mBatteryController;
125 BatteryController batteryController, in DozeParameters()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java43 import com.android.systemui.statusbar.policy.BatteryController;
49 BatteryController.BatteryStateChangeCallback {
53 private final BatteryController mBatteryController;
72 BatteryController batteryController, in BatterySaverTile()
DUiModeNightTile.java44 import com.android.systemui.statusbar.policy.BatteryController;
61 BatteryController.BatteryStateChangeCallback {
67 private final BatteryController mBatteryController;
80 BatteryController batteryController, in UiModeNightTile()
DRotationLockTile.java50 import com.android.systemui.statusbar.policy.BatteryController;
59 BatteryController.BatteryStateChangeCallback {
68 private final BatteryController mBatteryController;
83 BatteryController batteryController, in RotationLockTile()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DFalsingCollectorImplTest.java41 import com.android.systemui.statusbar.policy.BatteryController;
77 private BatteryController mBatteryController;
104 ArgumentCaptor<BatteryController.BatteryStateChangeCallback> batteryCallbackCaptor = in testNoProximityWhenWirelessCharging()
105 ArgumentCaptor.forClass(BatteryController.BatteryStateChangeCallback.class); in testNoProximityWhenWirelessCharging()
113 ArgumentCaptor<BatteryController.BatteryStateChangeCallback> batteryCallbackCaptor = in testProximityWhenOffWirelessCharging()
114 ArgumentCaptor.forClass(BatteryController.BatteryStateChangeCallback.class); in testProximityWhenOffWirelessCharging()
DClassifierTest.java25 import com.android.systemui.statusbar.policy.BatteryController;
41 private BatteryController mBatteryController;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAospPolicyModule.java41 static BatteryController provideBatteryController( in provideBatteryController()
50 BatteryController bC = new BatteryControllerImpl( in provideBatteryController()
DBatteryController.java23 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback;
32 public interface BatteryController extends DemoMode, interface
DBatteryStateNotifier.kt35 val controller: BatteryController,
39 ) : BatteryController.BatteryStateChangeCallback {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/charging/
DWiredChargingRippleControllerTest.kt32 import com.android.systemui.statusbar.policy.BatteryController
56 @Mock private lateinit var batteryController: BatteryController
83 .forClass(BatteryController.BatteryStateChangeCallback::class.java) in testTriggerRipple_UnlockedState()
163 .forClass(BatteryController.BatteryStateChangeCallback::class.java) in testRipple_whenDocked_doesNotPlayRipple()
186 .forClass(BatteryController.BatteryStateChangeCallback::class.java) in testRipple_layoutsCorrectly()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DSystemEventCoordinator.kt30 import com.android.systemui.statusbar.policy.BatteryController
41 private val batteryController: BatteryController,
83 private val batteryStateListener = object : BatteryController.BatteryStateChangeCallback {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DTestableNotificationInterruptStateProviderImpl.java31 import com.android.systemui.statusbar.policy.BatteryController;
44 BatteryController batteryController, in TestableNotificationInterruptStateProviderImpl()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DClockEventControllerTest.kt39 import com.android.systemui.statusbar.policy.BatteryController
72 @Mock private lateinit var batteryController: BatteryController
177 val batteryCaptor = argumentCaptor<BatteryController.BatteryStateChangeCallback>() in <lambda>()
190 val batteryCaptor = argumentCaptor<BatteryController.BatteryStateChangeCallback>() in batteryCallback_keyguardShowingCharging_Duplicate_verifyChargeAnimation()
203 val batteryCaptor = argumentCaptor<BatteryController.BatteryStateChangeCallback>() in batteryCallback_keyguardHiddenCharging_verifyChargeAnimation()
216 val batteryCaptor = argumentCaptor<BatteryController.BatteryStateChangeCallback>() in batteryCallback_keyguardShowingNotCharging_verifyChargeAnimation()
/frameworks/base/services/core/java/com/android/server/input/
DBatteryController.java44 final class BatteryController { class
45 private static final String TAG = BatteryController.class.getSimpleName();
60 BatteryController(Context context, NativeInputManagerService nativeService) { in BatteryController() method in BatteryController
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingCollectorImpl.java37 import com.android.systemui.statusbar.policy.BatteryController;
38 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback;
65 private final BatteryController mBatteryController;
140 BatteryController batteryController, in FalsingCollectorImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWiredChargingRippleController.kt37 import com.android.systemui.statusbar.policy.BatteryController
55 private val batteryController: BatteryController,
95 val batteryStateChangeCallback = object : BatteryController.BatteryStateChangeCallback { in registerCallbacks()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java47 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback;
149 BatteryController.BatteryStateChangeCallback cb = in testBatteryPresentState_callbackAddedAfterStateChange()
150 mock(BatteryController.BatteryStateChangeCallback.class); in testBatteryPresentState_callbackAddedAfterStateChange()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/
DBatteryMeterViewControllerTest.java40 import com.android.systemui.statusbar.policy.BatteryController;
66 private BatteryController mBatteryController;

123