Home
last modified time | relevance | path

Searched refs:BatteryStatsInternal (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DBaseAppStateTracker.java33 import android.os.BatteryStatsInternal;
283 BatteryStatsInternal mBatteryStatsInternal;
304 mBatteryStatsInternal = LocalServices.getService(BatteryStatsInternal.class); in onSystemReady()
333 BatteryStatsInternal getBatteryStatsInternal() { in getBatteryStatsInternal()
DAppBatteryTracker.java56 import android.os.BatteryStatsInternal;
523 final BatteryStatsInternal batteryStatsInternal = mInjector.getBatteryStatsInternal(); in updateBatteryUsageStatsOnce()
680 ArraySet<UserHandle> userIds, BatteryStatsInternal batteryStatsInternal) { in updateBatteryUsageStatsOnceInternal()
DBatteryStatsService.java57 import android.os.BatteryStatsInternal;
58 import android.os.BatteryStatsInternal.CpuWakeupSubsystem;
595 LocalServices.addService(BatteryStatsInternal.class, new LocalService()); in publish()
686 private final class LocalService extends BatteryStatsInternal {
1540 noteCpuWakingActivity(BatteryStatsInternal.CPU_WAKEUP_SUBSYSTEM_SENSOR, elapsedMillis, uid); in noteWakeupSensorEvent()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/wakeups/
DCpuWakeupStatsTest.java19 import static android.os.BatteryStatsInternal.CPU_WAKEUP_SUBSYSTEM_ALARM;
20 import static android.os.BatteryStatsInternal.CPU_WAKEUP_SUBSYSTEM_CELLULAR_DATA;
21 import static android.os.BatteryStatsInternal.CPU_WAKEUP_SUBSYSTEM_SENSOR;
22 import static android.os.BatteryStatsInternal.CPU_WAKEUP_SUBSYSTEM_SOUND_TRIGGER;
23 import static android.os.BatteryStatsInternal.CPU_WAKEUP_SUBSYSTEM_UNKNOWN;
24 import static android.os.BatteryStatsInternal.CPU_WAKEUP_SUBSYSTEM_WIFI;
/frameworks/base/services/core/java/com/android/server/power/stats/wakeups/
DCpuWakeupStats.java19 import static android.os.BatteryStatsInternal.CPU_WAKEUP_SUBSYSTEM_ALARM;
20 import static android.os.BatteryStatsInternal.CPU_WAKEUP_SUBSYSTEM_CELLULAR_DATA;
21 import static android.os.BatteryStatsInternal.CPU_WAKEUP_SUBSYSTEM_SENSOR;
22 import static android.os.BatteryStatsInternal.CPU_WAKEUP_SUBSYSTEM_SOUND_TRIGGER;
23 import static android.os.BatteryStatsInternal.CPU_WAKEUP_SUBSYSTEM_UNKNOWN;
24 import static android.os.BatteryStatsInternal.CPU_WAKEUP_SUBSYSTEM_WIFI;
/frameworks/base/services/core/java/android/os/
DBatteryStatsInternal.java36 public abstract class BatteryStatsInternal { class
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareLoggingLatencyTest.java37 import android.os.BatteryStatsInternal;
69 private BatteryStatsInternal mBatteryStatsInternal;
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareLogging.java51 import android.os.BatteryStatsInternal;
103 private final @NonNull Supplier<BatteryStatsInternal> mBatteryStatsInternalSupplier;
121 @NonNull Supplier<BatteryStatsInternal> batteryStatsInternalSupplier, in SoundTriggerMiddlewareLogging()
481 private static final BatteryStatsInternal INSTANCE =
482 LocalServices.getService(BatteryStatsInternal.class);
/frameworks/base/services/core/java/com/android/server/
DBinderCallsStatsService.java39 import android.os.BatteryStatsInternal;
292 BatteryStatsInternal batteryStatsInternal = getLocalService( in onBootPhase()
293 BatteryStatsInternal.class); in onBootPhase()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java34 import android.os.BatteryStatsInternal;
322 final BatteryStatsInternal bsi = LocalServices.getService(BatteryStatsInternal.class); in onWakeupEvent()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java126 import android.os.BatteryStatsInternal;
287 @Mock private BatteryStatsInternal mBatteryStatsInternal;
3390 BatteryStatsInternal getBatteryStatsInternal() { in getBatteryStatsInternal()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java101 import android.os.BatteryStatsInternal;
257 private BatteryStatsInternal mBatteryStatsInternal;
2084 mBatteryStatsInternal = LocalServices.getService(BatteryStatsInternal.class); in onBootPhase()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java71 import android.os.BatteryStatsInternal;
378 private final BatteryStatsInternal mBatteryStatsInternal;
2644 mBatteryStatsInternal = LocalServices.getService(BatteryStatsInternal.class);
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java123 import android.os.BatteryStatsInternal;
2111 SystemServiceCpuThreadTimes times = LocalServices.getService(BatteryStatsInternal.class)
/frameworks/base/services/
Dart-wear-profile31 Landroid/os/BatteryStatsInternal;
1702 HSPLandroid/os/BatteryStatsInternal;-><init>()V
4038 …tteryStatsInternal(Lcom/android/server/alarm/AlarmManagerService;)Landroid/os/BatteryStatsInternal;
Dart-profile1314 …tring;III[BLjava/lang/String;Ljava/lang/String;IIJ)V+]Landroid/os/BatteryStatsInternal;Lcom/androi…
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt34790 Landroid/os/BatteryStatsInternal;-><init>()V
34791 Landroid/os/BatteryStatsInternal;->getMobileIfaces()[Ljava/lang/String;
34792 Landroid/os/BatteryStatsInternal;->getWifiIfaces()[Ljava/lang/String;
34793 Landroid/os/BatteryStatsInternal;->noteJobsDeferred(IIJ)V