Home
last modified time | relevance | path

Searched refs:anomalyTypes (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAppInfo.java37 public final ArraySet<Integer> anomalyTypes; field in AppInfo
44 anomalyTypes = builder.mAnomalyTypes; in AppInfo()
52 anomalyTypes = (ArraySet<Integer>) in.readArraySet(null /* loader */); in AppInfo()
70 dest.writeArraySet(anomalyTypes); in writeToParcel()
80 + anomalyTypes in toString()
95 return Objects.equals(anomalyTypes, other.anomalyTypes) in equals()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/
DRestrictAppAction.java57 if (CollectionUtils.isEmpty(appInfo.anomalyTypes)) { in handlePositiveAction()
66 for (int type : appInfo.anomalyTypes) { in handlePositiveAction()
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterytip/
DAppInfoTest.java69 assertThat(appInfo.anomalyTypes).containsExactly(TYPE_WAKELOCK, TYPE_WAKEUP); in testParcel()
93 assertThat(mAppInfo.anomalyTypes).containsExactly(TYPE_WAKELOCK, TYPE_WAKEUP); in testBuilder()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
DRestrictAppTip.java137 for (Integer anomalyType : appInfo.anomalyTypes) { in log()