OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:drainType
(Results
1 - 9
of
9
) sorted by null
/frameworks/base/core/java/com/android/internal/os/
BatterySipper.java
27
public
DrainType
drainType
;
79
public enum
DrainType
{
94
public BatterySipper(
DrainType
drainType
, Uid uid, double value) {
96
this.
drainType
=
drainType
;
108
if (
drainType
!= other.
drainType
) {
109
if (
drainType
== DrainType.OVERCOUNTED)
[
all
...]
BatteryStatsHelper.java
40
import com.android.internal.os.BatterySipper.
DrainType
;
466
BatterySipper bs = new BatterySipper(
DrainType
.UNACCOUNTED, null, amount);
479
BatterySipper bs = new BatterySipper(
DrainType
.OVERCOUNTED, null, amount);
499
final BatterySipper app = new BatterySipper(BatterySipper.
DrainType
.APP, u, 0);
561
addEntry(BatterySipper.
DrainType
.PHONE, phoneOnTimeMs, phoneOnPower);
588
addEntry(BatterySipper.
DrainType
.SCREEN, screenOnTimeMs, power);
593
BatterySipper radio = new BatterySipper(BatterySipper.
DrainType
.CELL, null, 0);
631
addEntry(BatterySipper.
DrainType
.IDLE, mTypeBatteryRealtimeUs / 1000, totalPowerMah);
643
BatterySipper bs = new BatterySipper(
DrainType
.WIFI, null, 0);
656
BatterySipper bs = new BatterySipper(BatterySipper.
DrainType
.BLUETOOTH, null, 0)
[
all
...]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
PowerUsageSummary.java
39
import com.android.internal.os.BatterySipper.
DrainType
;
224
BatterySipper newSipper = new BatterySipper(sipper.
drainType
,
313
if (sipper.
drainType
== BatterySipper.
DrainType
.OVERCOUNTED) {
326
if (sipper.
drainType
== BatterySipper.
DrainType
.UNACCOUNTED) {
345
final String key = sipper.
drainType
==
DrainType
.APP ? sipper.getPackages() != null
348
: sipper.
drainType
.toString();
365
if ((sipper.
drainType
!= DrainType.APP || sipper.uidObj.getUid() == 0
[
all
...]
BatteryEntry.java
133
switch (sipper.
drainType
) {
PowerUsageDetail.java
47
import com.android.internal.os.BatterySipper.
DrainType
;
68
// Note: Must match the sequence of the
DrainType
104
args.putSerializable(PowerUsageDetail.EXTRA_DRAIN_TYPE, entry.sipper.
drainType
);
111
switch (entry.sipper.
drainType
) {
151
if (entry.sipper.
drainType
== BatterySipper.
DrainType
.APP) {
305
public static final String EXTRA_DRAIN_TYPE = "
drainType
"; //
DrainType
329
private BatterySipper.
DrainType
mDrainType;
392
mDrainType = (BatterySipper.
DrainType
) args.getSerializable(EXTRA_DRAIN_TYPE)
[
all
...]
/frameworks/base/core/java/android/os/
BatteryStats.java
[
all
...]
/external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar
android-all-5.0.0_r2-robolectric-1.jar
android-all-5.1.1_r9-robolectric-1.jar
Completed in 77 milliseconds