Searched refs:queryAllAnomalies (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | RestrictAppDetectorTest.java | 126 .queryAllAnomalies(anyLong(), eq(AnomalyDatabaseHelper.State.NEW)); in testDetect_hasAnomaly_tipNew() 138 .queryAllAnomalies(anyLong(), eq(AnomalyDatabaseHelper.State.NEW)); in testDetect_hasAutoHandledAnomaly_tipHandled() 140 .queryAllAnomalies(anyLong(), eq(AnomalyDatabaseHelper.State.AUTO_HANDLED)); in testDetect_hasAutoHandledAnomaly_tipHandled() 152 .queryAllAnomalies(anyLong(), eq(AnomalyDatabaseHelper.State.NEW)); in testDetect_typeNewHasUninstalledAnomaly_removeIt() 167 .queryAllAnomalies(anyLong(), eq(AnomalyDatabaseHelper.State.NEW)); in testDetect_typeNewHasRestrictedAnomaly_removeIt() 185 .queryAllAnomalies(anyLong(), eq(AnomalyDatabaseHelper.State.NEW)); in testDetect_typeHandledHasUnRestrictedAnomaly_removeIt() 187 .queryAllAnomalies(anyLong(), eq(AnomalyDatabaseHelper.State.AUTO_HANDLED)); in testDetect_typeHandledHasUnRestrictedAnomaly_removeIt() 198 .queryAllAnomalies(anyLong(), anyInt()); in testDetect_noAnomaly_tipInvisible()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryDatabaseManagerTest.java | 99 List<AppInfo> totalAppInfos = mBatteryDatabaseManager.queryAllAnomalies(0 /* timeMsAfter */, in allAnomalyFunctions() 104 List<AppInfo> appInfos = mBatteryDatabaseManager.queryAllAnomalies(ONE_DAY_BEFORE, in allAnomalyFunctions() 111 List<AppInfo> appInfos1 = mBatteryDatabaseManager.queryAllAnomalies(0 /* timeMsAfter */, in allAnomalyFunctions() 131 List<AppInfo> newAppInfos = mBatteryDatabaseManager.queryAllAnomalies(ONE_DAY_BEFORE, in updateAnomalies_updateSuccessfully() 136 List<AppInfo> handledAppInfos = mBatteryDatabaseManager.queryAllAnomalies(ONE_DAY_BEFORE, in updateAnomalies_updateSuccessfully() 149 List<AppInfo> newAppInfos = mBatteryDatabaseManager.queryAllAnomalies(ONE_DAY_BEFORE, in queryAnomalies_removeDuplicateByUid()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | RestrictAppDetector.java | 77 final List<AppInfo> autoHandledApps = mBatteryDatabaseManager.queryAllAnomalies( in detect()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/ |
D | AnomalyCleanupJobServiceTest.java | 121 final List<AppInfo> appInfos = databaseManager.queryAllAnomalies(0, in onStartJob_cleanUpDataBefore30days()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipUtils.java | 135 .queryAllAnomalies(timeAfterMs, AnomalyDatabaseHelper.State.NEW); in detectAnomalies()
|
D | BatteryDatabaseManager.java | 101 public synchronized List<AppInfo> queryAllAnomalies(long timestampMsAfter, int state) { in queryAllAnomalies() method in BatteryDatabaseManager
|