Searched refs:IndexDatabaseHelper (Results 1 – 2 of 2) sorted by relevance
26 public class IndexDatabaseHelper extends SQLiteOpenHelper { class136 private static IndexDatabaseHelper sSingleton;140 public static synchronized IndexDatabaseHelper getInstance(Context context) { in getInstance()142 sSingleton = new IndexDatabaseHelper(context); in getInstance()147 public IndexDatabaseHelper(Context context) { in IndexDatabaseHelper() method in IndexDatabaseHelper
47 import com.android.settings.search.IndexDatabaseHelper.IndexColumns;48 import com.android.settings.search.IndexDatabaseHelper.Tables;269 sb.append(IndexDatabaseHelper.SavedQueriesColums.QUERY); in buildSuggestionsSQL()277 sb.append(IndexDatabaseHelper.SavedQueriesColums.QUERY); in buildSuggestionsSQL()521 return IndexDatabaseHelper.getInstance(mContext).getReadableDatabase(); in getReadableDatabase()526 return IndexDatabaseHelper.getInstance(mContext).getWritableDatabase(); in getWritableDatabase()1227 IndexDatabaseHelper.setLocaleIndexed(mContext, localeStr); in doInBackground()1240 if (!forceUpdate && IndexDatabaseHelper.isLocaleAlreadyIndexed(mContext, localeStr)) { in processDataToUpdate()1313 values.put(IndexDatabaseHelper.SavedQueriesColums.QUERY, params[0]); in doInBackground()1314 values.put(IndexDatabaseHelper.SavedQueriesColums.TIME_STAMP, now); in doInBackground()[all …]