Lines Matching full:database
24 import android.database.Cursor;
25 import android.database.sqlite.SQLiteDatabase;
26 import android.database.sqlite.SQLiteOpenHelper;
27 import android.database.sqlite.SQLiteQueryBuilder;
36 * ContentProvider for the database of received cell broadcasts.
67 /** The database for this content provider. */
148 * Insert a new row. This throws an exception, as the database can only be modified by
151 * @param values a set of column_name/value pairs to add to the database.
160 * Delete one or more rows. This throws an exception, as the database can only be modified by
172 * Update one or more rows. This throws an exception, as the database can only be modified by
185 * Internal method to insert a new Cell Broadcast into the database and notify observers.
193 // Note: this method previously queried the database for duplicate message IDs, but this
195 // alerts, e.g. ETWS, to not display if the database is filled with old messages.
200 Log.e(TAG, "failed to insert new broadcast into database");
205 // broadcast could not be written to the database.
213 * @return true if the database was updated, false otherwise
231 * @return true if the database was updated, false otherwise
252 * @return true if the database was updated, false otherwise
310 Log.d(TAG, "database changed: notifying observers...");