Searched refs:insertAnomaly (Results 1 – 5 of 5) sorted by relevance
93 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()
156 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()
113 databaseManager.insertAnomaly(UID, PACKAGE_NAME, ANOMALY_TYPE, in onStartJob_cleanUpDataBefore30days()115 databaseManager.insertAnomaly(UID, PACKAGE_NAME_OLD, ANOMALY_TYPE, in onStartJob_cleanUpDataBefore30days()
165 databaseManager.insertAnomaly(uid, packageName, anomalyInfo.anomalyType, in saveAnomalyToDatabase()169 databaseManager.insertAnomaly(uid, packageName, anomalyInfo.anomalyType, in saveAnomalyToDatabase()
84 public synchronized boolean insertAnomaly(int uid, String packageName, int type, in insertAnomaly() method in BatteryDatabaseManager