Home
last modified time | relevance | path

Searched refs:insertAnomaly (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryDatabaseManagerTest.java93 mBatteryDatabaseManager.insertAnomaly(UID_NEW, PACKAGE_NAME_NEW, TYPE_NEW, in allAnomalyFunctions()
95 mBatteryDatabaseManager.insertAnomaly(UID_OLD, PACKAGE_NAME_OLD, TYPE_OLD, in allAnomalyFunctions()
118 mBatteryDatabaseManager.insertAnomaly(UID_NEW, PACKAGE_NAME_NEW, TYPE_NEW, in updateAnomalies_updateSuccessfully()
120 mBatteryDatabaseManager.insertAnomaly(UID_OLD, PACKAGE_NAME_OLD, TYPE_OLD, in updateAnomalies_updateSuccessfully()
143 mBatteryDatabaseManager.insertAnomaly(UID_NEW, PACKAGE_NAME_NEW, TYPE_NEW, in queryAnomalies_removeDuplicateByUid()
145 mBatteryDatabaseManager.insertAnomaly(UID_NEW, PACKAGE_NAME_NEW, TYPE_OLD, in queryAnomalies_removeDuplicateByUid()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobServiceTest.java156 verify(mBatteryDatabaseManager, never()).insertAnomaly(anyInt(), anyString(), anyInt(), in saveAnomalyToDatabase_systemAllowlisted_doNotSave()
177 verify(mBatteryDatabaseManager, never()).insertAnomaly(anyInt(), anyString(), anyInt(), in saveAnomalyToDatabase_systemApp_doNotSaveButLog()
197 verify(mBatteryDatabaseManager, never()).insertAnomaly(anyInt(), anyString(), anyInt(), in saveAnomalyToDatabase_systemUid_doNotSave()
212 verify(mBatteryDatabaseManager, never()).insertAnomaly(anyInt(), anyString(), anyInt(), in saveAnomalyToDatabase_uidNull_doNotSave()
232 verify(mBatteryDatabaseManager).insertAnomaly(anyInt(), anyString(), eq(6), in saveAnomalyToDatabase_normalAppWithAutoRestriction_save()
257 verify(mBatteryDatabaseManager).insertAnomaly(anyInt(), anyString(), eq(6), in saveAnomalyToDatabase_normalAppWithoutAutoRestriction_save()
DAnomalyCleanupJobServiceTest.java113 databaseManager.insertAnomaly(UID, PACKAGE_NAME, ANOMALY_TYPE, in onStartJob_cleanUpDataBefore30days()
115 databaseManager.insertAnomaly(UID, PACKAGE_NAME_OLD, ANOMALY_TYPE, in onStartJob_cleanUpDataBefore30days()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobService.java165 databaseManager.insertAnomaly(uid, packageName, anomalyInfo.anomalyType, in saveAnomalyToDatabase()
169 databaseManager.insertAnomaly(uid, packageName, anomalyInfo.anomalyType, in saveAnomalyToDatabase()
DBatteryDatabaseManager.java84 public synchronized boolean insertAnomaly(int uid, String packageName, int type, in insertAnomaly() method in BatteryDatabaseManager