Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/database/sqlite/
DSQLiteOpenHelper.java49 private final int mNewVersion; field in SQLiteOpenHelper
98 mNewVersion = version; in SQLiteOpenHelper()
161 if (version != mNewVersion) { in getWritableDatabase()
167 if (version > mNewVersion) { in getWritableDatabase()
168 onDowngrade(db, version, mNewVersion); in getWritableDatabase()
170 onUpgrade(db, version, mNewVersion); in getWritableDatabase()
173 db.setVersion(mNewVersion); in getWritableDatabase()
243 if (db.getVersion() != mNewVersion) { in getReadableDatabase()
245 db.getVersion() + " to " + mNewVersion + ": " + path); in getReadableDatabase()
/frameworks/base/core/java/android/content/
DSearchRecentSuggestionsProvider.java123 private int mNewVersion; field in SearchRecentSuggestionsProvider.DatabaseHelper
127 mNewVersion = newVersion; in DatabaseHelper()
136 if (0 != (mNewVersion & DATABASE_MODE_2LINES)) { in onCreate()