/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/ |
D | PluggedInCondition.kt | 19 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/ |
D | FakeBatteryController.java | 21 import com.android.systemui.statusbar.policy.BatteryController; 22 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback; 27 implements BatteryController {
|
D | LeakCheckedTest.java | 25 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/ |
D | PluggedInConditionTest.kt | 20 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/ |
D | BatteryController.java | 50 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/ |
D | BatteryMeterViewController.java | 38 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/ |
D | LightBarController.java | 41 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()
|
D | DozeParameters.java | 49 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/ |
D | BatterySaverTile.java | 43 import com.android.systemui.statusbar.policy.BatteryController; 49 BatteryController.BatteryStateChangeCallback { 53 private final BatteryController mBatteryController; 72 BatteryController batteryController, in BatterySaverTile()
|
D | UiModeNightTile.java | 44 import com.android.systemui.statusbar.policy.BatteryController; 61 BatteryController.BatteryStateChangeCallback { 67 private final BatteryController mBatteryController; 80 BatteryController batteryController, in UiModeNightTile()
|
D | RotationLockTile.java | 50 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/ |
D | FalsingCollectorImplTest.java | 41 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()
|
D | ClassifierTest.java | 25 import com.android.systemui.statusbar.policy.BatteryController; 41 private BatteryController mBatteryController;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | AospPolicyModule.java | 41 static BatteryController provideBatteryController( in provideBatteryController() 50 BatteryController bC = new BatteryControllerImpl( in provideBatteryController()
|
D | BatteryController.java | 23 import com.android.systemui.statusbar.policy.BatteryController.BatteryStateChangeCallback; 32 public interface BatteryController extends DemoMode, interface
|
D | BatteryStateNotifier.kt | 35 val controller: BatteryController, 39 ) : BatteryController.BatteryStateChangeCallback {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/charging/ |
D | WiredChargingRippleControllerTest.kt | 32 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/ |
D | SystemEventCoordinator.kt | 30 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/ |
D | TestableNotificationInterruptStateProviderImpl.java | 31 import com.android.systemui.statusbar.policy.BatteryController; 44 BatteryController batteryController, in TestableNotificationInterruptStateProviderImpl()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | ClockEventControllerTest.kt | 39 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/ |
D | BatteryController.java | 44 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/ |
D | FalsingCollectorImpl.java | 37 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/ |
D | WiredChargingRippleController.kt | 37 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/ |
D | BatteryControllerTest.java | 47 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/ |
D | BatteryMeterViewControllerTest.java | 40 import com.android.systemui.statusbar.policy.BatteryController; 66 private BatteryController mBatteryController;
|