Lines Matching defs:Database
29 import android.database.Cursor;
30 import android.database.sqlite.SQLiteDatabase;
31 import android.database.sqlite.SQLiteOpenHelper;
32 import android.database.sqlite.SQLiteDatabase.CursorFactory;
55 // Initialize the provider and set the database.
57 setDatabase(new Database(context, Database.DATABASE_NAME));
67 // The database wasn't created successfully, we create a memory backed database.
68 setDatabase(new Database(context, null));
72 public static final class Database extends SQLiteOpenHelper {
76 public Database(Context context, String name) {
115 // Retrieve the photo from the database to get the edit URI.
128 // Retrieve the album from the database to get the edit URI.
253 // Log.i(TAG, "No users in database yet");
288 // Merge the truth from the API into the local database.
389 // Merge the truth from the API into the local database.