Searched refs:BatteryManagerInternal (Results 1 – 13 of 13) sorted by relevance
18 import android.os.BatteryManagerInternal;140 private BatteryManagerInternal mBatteryManagerInternal;174 mBatteryManagerInternal = LocalServices.getService(BatteryManagerInternal.class); in BatterySavingStats()177 private BatteryManagerInternal getBatteryManagerInternal() { in getBatteryManagerInternal()179 mBatteryManagerInternal = LocalServices.getService(BatteryManagerInternal.class); in getBatteryManagerInternal()244 final BatteryManagerInternal bmi = getBatteryManagerInternal(); in injectBatteryLevel()253 final BatteryManagerInternal bmi = getBatteryManagerInternal(); in injectBatteryPercent()
24 import android.os.BatteryManagerInternal;84 final BatteryManagerInternal batteryManager = in queryIsCharging()85 LocalServices.getService(BatteryManagerInternal.class); in queryIsCharging()
37 import android.os.BatteryManagerInternal;246 publishLocalService(BatteryManagerInternal.class, new LocalService()); in onStart()1280 private final class LocalService extends BatteryManagerInternal {
27 import android.os.BatteryManagerInternal;53 @Mock private BatteryManagerInternal mBatteryManager;74 LocalServices.addService(BatteryManagerInternal.class, mBatteryManager); in setUp()86 LocalServices.removeServiceForTest(BatteryManagerInternal.class); in tearDown()
24 public abstract class BatteryManagerInternal { class
26 import android.os.BatteryManagerInternal;138 BatteryManagerInternal batteryManagerInternal = in startTracking()139 LocalServices.getService(BatteryManagerInternal.class); in startTracking()
48 import android.os.BatteryManagerInternal;1464 BatteryManagerInternal batteryManagerInternal = in startTracking()1465 LocalServices.getService(BatteryManagerInternal.class); in startTracking()
54 import android.os.BatteryManagerInternal;104 @Mock private BatteryManagerInternal mBatteryManagerInternalMock;156 addLocalServiceMock(BatteryManagerInternal.class, mBatteryManagerInternalMock); in setUp()209 LocalServices.removeServiceForTest(BatteryManagerInternal.class); in tearDown()
48 import android.os.BatteryManagerInternal;107 doReturn(mock(BatteryManagerInternal.class)) in setUp()108 .when(() -> LocalServices.getService(BatteryManagerInternal.class)); in setUp()
64 import android.os.BatteryManagerInternal;155 doReturn(mock(BatteryManagerInternal.class)) in setUp()156 .when(() -> LocalServices.getService(BatteryManagerInternal.class)); in setUp()
46 import android.os.BatteryManagerInternal;243 private BatteryManagerInternal mBatteryManagerInternal;837 mBatteryManagerInternal = getLocalService(BatteryManagerInternal.class); in systemReady()
48589 Landroid/os/BatteryManagerInternal;-><init>()V48590 Landroid/os/BatteryManagerInternal;->getBatteryChargeCounter()I48591 Landroid/os/BatteryManagerInternal;->getBatteryFullCharge()I48592 Landroid/os/BatteryManagerInternal;->getBatteryLevel()I48593 Landroid/os/BatteryManagerInternal;->getBatteryLevelLow()Z48594 Landroid/os/BatteryManagerInternal;->getInvalidCharger()I48595 Landroid/os/BatteryManagerInternal;->getPlugType()I48596 Landroid/os/BatteryManagerInternal;->isPowered(I)Z
35144 Landroid/os/BatteryManagerInternal;