Home
last modified time | relevance | path

Searched refs:ActionColumns (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryDatabaseManager.java40 import com.android.settings.fuelgauge.batterytip.AnomalyDatabaseHelper.ActionColumns;
172 final String[] projection = {ActionColumns.UID, ActionColumns.TIME_STAMP_MS}; in queryActionTime()
173 final String selection = ActionColumns.ACTION_TYPE + " = ? "; in queryActionTime()
178 final int uidIndex = cursor.getColumnIndex(ActionColumns.UID); in queryActionTime()
179 final int timestampIndex = cursor.getColumnIndex(ActionColumns.TIME_STAMP_MS); in queryActionTime()
198 values.put(ActionColumns.UID, uid); in insertAction()
199 values.put(ActionColumns.PACKAGE_NAME, packageName); in insertAction()
200 values.put(ActionColumns.ACTION_TYPE, type); in insertAction()
201 values.put(ActionColumns.TIME_STAMP_MS, timestampMs); in insertAction()
213 ActionColumns.ACTION_TYPE + " = ? AND " + ActionColumns.UID + " = ? AND " in deleteAction()
[all …]
DAnomalyDatabaseHelper.java102 public interface ActionColumns { interface in AnomalyDatabaseHelper
125 ActionColumns.UID +
127 ActionColumns.PACKAGE_NAME +
129 ActionColumns.ACTION_TYPE +
131 ActionColumns.TIME_STAMP_MS +
133 " PRIMARY KEY (" + ActionColumns.ACTION_TYPE + "," + ActionColumns.UID + ","
134 + ActionColumns.PACKAGE_NAME + ")"