Lines Matching refs:CacheDb
69 private final CacheDb mDb;
80 mDb = new CacheDb(context); in WidgetPreviewLoader()
107 private static class CacheDb extends SQLiteCacheHelper { class in WidgetPreviewLoader
119 public CacheDb(Context context) { in CacheDb() method in WidgetPreviewLoader.CacheDb
153 values.put(CacheDb.COLUMN_COMPONENT, key.componentName.flattenToShortString()); in writeToDb()
154 values.put(CacheDb.COLUMN_USER, mUserManager.getSerialNumberForUser(key.user)); in writeToDb()
155 values.put(CacheDb.COLUMN_SIZE, key.size); in writeToDb()
156 values.put(CacheDb.COLUMN_PACKAGE, key.componentName.getPackageName()); in writeToDb()
157 values.put(CacheDb.COLUMN_VERSION, versions[0]); in writeToDb()
158 values.put(CacheDb.COLUMN_LAST_UPDATED, versions[1]); in writeToDb()
159 values.put(CacheDb.COLUMN_PREVIEW_BITMAP, Utilities.flattenBitmap(preview)); in writeToDb()
173 CacheDb.COLUMN_PACKAGE + " = ? AND " + CacheDb.COLUMN_USER + " = ?", in removePackage()
213 new String[]{CacheDb.COLUMN_USER, CacheDb.COLUMN_PACKAGE, in removeObsoletePreviews()
214 CacheDb.COLUMN_LAST_UPDATED, CacheDb.COLUMN_VERSION}, in removeObsoletePreviews()
263 new String[]{CacheDb.COLUMN_PREVIEW_BITMAP}, in readFromDb()
264 CacheDb.COLUMN_COMPONENT + " = ? AND " + CacheDb.COLUMN_USER + " = ? AND " in readFromDb()
265 + CacheDb.COLUMN_SIZE + " = ?", in readFromDb()