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
43 anomalyTypes = builder.mAnomalyTypes; in AppInfo()
51 anomalyTypes = (ArraySet<Integer>) in.readArraySet(null /* loader */); in AppInfo()
69 dest.writeArraySet(anomalyTypes); in writeToParcel()
76 return "packageName=" + packageName + ",anomalyTypes=" + anomalyTypes + ",screenTime=" in toString()
90 return Objects.equals(anomalyTypes, other.anomalyTypes) in equals()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/
DRestrictAppAction.java64 if (CollectionUtils.isEmpty(appInfo.anomalyTypes)) { in handlePositiveAction()
72 for (int type : appInfo.anomalyTypes) { in handlePositiveAction()
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterytip/
DAppInfoTest.java67 assertThat(appInfo.anomalyTypes).containsExactly(TYPE_WAKELOCK, TYPE_WAKEUP); in testParcel()
91 assertThat(mAppInfo.anomalyTypes).containsExactly(TYPE_WAKELOCK, TYPE_WAKEUP); in testBuilder()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
DRestrictAppTip.java127 for (Integer anomalyType : appInfo.anomalyTypes) { in log()