OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:draintype
(Results
1 - 3
of
3
) sorted by null
/packages/apps/Settings/src/com/android/settings/fuelgauge/
BatterySipper.java
19
import com.android.settings.fuelgauge.PowerUsageDetail.
DrainType
;
44
DrainType
drainType
;
64
Handler handler, String label,
DrainType
drainType
,
71
this.
drainType
=
drainType
;
PowerUsageSummary.java
50
import com.android.settings.fuelgauge.PowerUsageDetail.
DrainType
;
198
args.putSerializable(PowerUsageDetail.EXTRA_DRAIN_TYPE, sipper.
drainType
);
202
switch (sipper.
drainType
) {
545
packageWithHighestDrain,
DrainType
.APP, 0, u,
600
addEntry(getActivity().getString(R.string.power_phone),
DrainType
.PHONE, phoneOnTimeMs,
621
addEntry(getActivity().getString(R.string.power_screen),
DrainType
.SCREEN, screenOnTimeMs,
639
addEntry(getActivity().getString(R.string.power_cell),
DrainType
.CELL,
672
BatterySipper bs = addEntry(getActivity().getString(R.string.power_wifi),
DrainType
.WIFI,
681
addEntry(getActivity().getString(R.string.power_idle),
DrainType
.IDLE, idleTimeMs,
693
DrainType
.BLUETOOTH, btOnTimeMs, R.drawable.ic_settings_bluetooth
[
all
...]
PowerUsageDetail.java
58
enum
DrainType
{
68
// Note: Must match the sequence of the
DrainType
101
public static final String EXTRA_DRAIN_TYPE = "
drainType
"; //
DrainType
121
private
DrainType
mDrainType;
166
mDrainType = (
DrainType
) args.getSerializable(EXTRA_DRAIN_TYPE);
Completed in 272 milliseconds