Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAnomalyCleanupJobServiceTest.java59 private static final int ANOMALY_TYPE = 1; field in AnomalyCleanupJobServiceTest
113 databaseManager.insertAnomaly(UID, PACKAGE_NAME, ANOMALY_TYPE, in onStartJob_cleanUpDataBefore30days()
115 databaseManager.insertAnomaly(UID, PACKAGE_NAME_OLD, ANOMALY_TYPE, in onStartJob_cleanUpDataBefore30days()
126 .addAnomalyType(ANOMALY_TYPE) in onStartJob_cleanUpDataBefore30days()
DAnomalyDetectionJobServiceTest.java87 private static final int ANOMALY_TYPE = 6; field in AnomalyDetectionJobServiceTest
183 ANOMALY_TYPE); in saveAnomalyToDatabase_systemApp_doNotSaveButLog()
238 ANOMALY_TYPE); in saveAnomalyToDatabase_normalAppWithAutoRestriction_save()
263 ANOMALY_TYPE); in saveAnomalyToDatabase_normalAppWithoutAutoRestriction_save()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDatabaseHelper.java72 String ANOMALY_TYPE = "anomaly_type"; field
91 AnomalyColumns.ANOMALY_TYPE +
97 " PRIMARY KEY (" + AnomalyColumns.UID + "," + AnomalyColumns.ANOMALY_TYPE + ","
DBatteryDatabaseManager.java23 …static com.android.settings.fuelgauge.batterytip.AnomalyDatabaseHelper.AnomalyColumns.ANOMALY_TYPE;
91 values.put(ANOMALY_TYPE, type); in insertAnomaly()
104 final String[] projection = {PACKAGE_NAME, ANOMALY_TYPE, UID}; in queryAllAnomalies()
123 cursor.getInt(cursor.getColumnIndex(ANOMALY_TYPE))); in queryAllAnomalies()