OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mHighUsageAppList
(Results
1 - 4
of
4
) sorted by null
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
HighUsageTip.java
39
final List<AppInfo>
mHighUsageAppList
;
45
mHighUsageAppList
= appList;
52
mHighUsageAppList
= in.createTypedArrayList(AppInfo.CREATOR);
59
dest.writeTypedList(
mHighUsageAppList
);
86
for (int i = 0, size =
mHighUsageAppList
.size(); i < size; i++) {
87
final AppInfo appInfo =
mHighUsageAppList
.get(i);
99
return
mHighUsageAppList
;
106
for (int i = 0, size =
mHighUsageAppList
.size(); i < size; i++) {
107
final AppInfo appInfo =
mHighUsageAppList
.get(i);
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/
HighUsageDetector.java
46
private List<AppInfo>
mHighUsageAppList
;
58
mHighUsageAppList
= new ArrayList<>();
80
mHighUsageAppList
.add(new AppInfo.Builder()
91
if (mPolicy.testHighUsageTip &&
mHighUsageAppList
.isEmpty()) {
92
mHighUsageAppList
.add(new AppInfo.Builder()
98
Collections.sort(
mHighUsageAppList
, Collections.reverseOrder());
99
mHighUsageAppList
=
mHighUsageAppList
.subList(0,
100
Math.min(mPolicy.highUsageAppCount,
mHighUsageAppList
.size()));
104
return new HighUsageTip(lastFullChargeTimeMs,
mHighUsageAppList
);
[
all
...]
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
HighUsageAdapter.java
43
private final List<AppInfo>
mHighUsageAppList
;
62
mHighUsageAppList
= highUsageAppList;
76
final AppInfo app =
mHighUsageAppList
.get(position);
88
return
mHighUsageAppList
.size();
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/
HighUsageTipTest.java
80
assertThat(parcelTip.
mHighUsageAppList
).isNotNull();
81
assertThat(parcelTip.
mHighUsageAppList
.size()).isEqualTo(1);
82
final AppInfo app = parcelTip.
mHighUsageAppList
.get(0);
Completed in 200 milliseconds