/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
ConversationImagePartsView.java | 23 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 24 import com.android.messaging.datamodel.DatabaseHelper.PartColumns; 25 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns; 39 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.CONVERSATION_ID 41 + DatabaseHelper.PARTS_TABLE + '.' + PartColumns.CONTENT_URI 43 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.FULL_NAME 45 + DatabaseHelper.PARTS_TABLE + '.' + PartColumns.CONTENT_URI 49 + DatabaseHelper.PARTS_TABLE + '.' + PartColumns.CONTENT_TYPE 54 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.DISPLAY_DESTINATION 56 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.RECEIVED_TIMESTAM [all...] |
DatabaseUpgradeHelper.java | 41 DatabaseHelper.rebuildTables(db); 53 DatabaseHelper.dropAllViews(db); 54 DatabaseHelper.rebuildAllViews(new DatabaseWrapper(context, db)); 60 db.execSQL("ALTER TABLE " + DatabaseHelper.CONVERSATIONS_TABLE + " ADD COLUMN " + 61 DatabaseHelper.ConversationColumns.IS_ENTERPRISE + " INT DEFAULT(0)"); 93 DatabaseHelper.rebuildTables(db);
|
NotificationState.java | 22 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 54 DatabaseHelper.MessageColumns.SEEN + " = 0)"; 56 static final String FAILED_ORDER_BY = DatabaseHelper.MessageColumns.CONVERSATION_ID + ", " + 57 DatabaseHelper.MessageColumns.SENT_TIMESTAMP + " asc";
|
BugleDatabaseOperations.java | 31 import com.android.messaging.datamodel.DatabaseHelper.ConversationColumns; 32 import com.android.messaging.datamodel.DatabaseHelper.ConversationParticipantsColumns; 33 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 34 import com.android.messaging.datamodel.DatabaseHelper.PartColumns; 35 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns; 264 + " FROM " + DatabaseHelper.CONVERSATIONS_TABLE 296 cursor = dbWrapper.query(DatabaseHelper.CONVERSATIONS_TABLE, 331 cursor = db.query(DatabaseHelper.PARTICIPANTS_TABLE, 404 final long conversationRowId = dbWrapper.insert(DatabaseHelper.CONVERSATIONS_TABLE, null, 479 dbWrapper.delete(DatabaseHelper.MESSAGES_TABLE [all...] |
MessagingContentProvider.java | 31 import com.android.messaging.datamodel.DatabaseHelper.ConversationColumns; 32 import com.android.messaging.datamodel.DatabaseHelper.ConversationParticipantsColumns; 33 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns; 65 static final Uri PARTS_URI = Uri.parse(CONTENT_AUTHORITY + DatabaseHelper.PARTS_TABLE); 240 private DatabaseHelper mDatabaseHelper; 295 queryBuilder.setTables(DatabaseHelper.PARTICIPANTS_TABLE); 301 + " FROM " + DatabaseHelper.CONVERSATION_PARTICIPANTS_TABLE 304 + DatabaseHelper.PARTICIPANTS_TABLE + " WHERE " 314 queryBuilder.setTables(DatabaseHelper.PARTICIPANTS_TABLE); 403 protected DatabaseHelper getDatabase() [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
FixupMessageStatusOnStartupAction.java | 24 import com.android.messaging.datamodel.DatabaseHelper; 61 values.put(DatabaseHelper.MessageColumns.STATUS, 63 downloadFailedCnt += db.update(DatabaseHelper.MESSAGES_TABLE, values, 64 DatabaseHelper.MessageColumns.STATUS + " IN (?, ?)", 72 values.put(DatabaseHelper.MessageColumns.STATUS, 74 sendFailedCnt = db.update(DatabaseHelper.MESSAGES_TABLE, values, 75 DatabaseHelper.MessageColumns.STATUS + " IN (?, ?)",
|
MarkAsSeenAction.java | 26 import com.android.messaging.datamodel.DatabaseHelper; 27 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 83 final int count = db.update(DatabaseHelper.MESSAGES_TABLE, values, 91 db.update(DatabaseHelper.MESSAGES_TABLE, values,
|
ProcessPendingMessagesAction.java | 31 import com.android.messaging.datamodel.DatabaseHelper; 32 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 306 sending = db.query(DatabaseHelper.MESSAGES_TABLE, 308 DatabaseHelper.MessageColumns.STATUS + " IN (?, ?)", 313 DatabaseHelper.MessageColumns.RECEIVED_TIMESTAMP + " ASC"); 318 values.put(DatabaseHelper.MessageColumns.STATUS, 320 cursor = db.query(DatabaseHelper.MESSAGES_TABLE, 322 DatabaseHelper.MessageColumns.STATUS + " IN (" 328 DatabaseHelper.MessageColumns.RECEIVED_TIMESTAMP + " ASC"); 399 downloadingCnt = (int) db.queryNumEntries(DatabaseHelper.MESSAGES_TABLE [all...] |
MarkAsReadAction.java | 26 import com.android.messaging.datamodel.DatabaseHelper; 27 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 74 final int count = db.update(DatabaseHelper.MESSAGES_TABLE, values,
|
RedownloadMmsAction.java | 28 import com.android.messaging.datamodel.DatabaseHelper; 85 values.put(DatabaseHelper.MessageColumns.STATUS, 87 values.put(DatabaseHelper.MessageColumns.RETRY_START_TIMESTAMP, timestamp);
|
UpdateMessagePartSizeAction.java | 25 import com.android.messaging.datamodel.DatabaseHelper; 27 import com.android.messaging.datamodel.DatabaseHelper.PartColumns; 72 BugleDatabaseOperations.updateRowIfExists(db, DatabaseHelper.PARTS_TABLE,
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
ConversationListItemData.java | 24 import com.android.messaging.datamodel.DatabaseHelper; 25 import com.android.messaging.datamodel.DatabaseHelper.ConversationColumns; 26 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 27 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns; 293 DatabaseHelper.CONVERSATIONS_TABLE + '.' + ConversationColumns._ID 295 + DatabaseHelper.CONVERSATIONS_TABLE + '.' + ConversationColumns.NAME 297 + DatabaseHelper.CONVERSATIONS_TABLE + '.' + ConversationColumns.CURRENT_SELF_ID 299 + DatabaseHelper.CONVERSATIONS_TABLE + '.' + ConversationColumns.ARCHIVE_STATUS 301 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.READ 303 + DatabaseHelper.CONVERSATIONS_TABLE + '.' + ConversationColumns.ICO [all...] |
ConversationMessageData.java | 25 import com.android.messaging.datamodel.DatabaseHelper; 26 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 27 import com.android.messaging.datamodel.DatabaseHelper.PartColumns; 28 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns; 625 + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns.CONVERSATION_ID + "=?)" 633 + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns.CONVERSATION_ID + "=?)" 640 + "(" + DatabaseHelper.MessageColumns.STATUS + " in (" 644 + DatabaseHelper.MessageColumns.SEEN + " = 0)" 652 + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns.CONVERSATION_ID + "=?" 654 + DatabaseHelper.MessageColumns.STATUS + " IN ( [all...] |
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
TvProviderForTesting.java | 48 DatabaseHelper helper = DatabaseHelper.getInstance(getContext());
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
TvProviderUpgradeReceiver.java | 29 import com.android.providers.tv.TvProvider.DatabaseHelper; 68 DatabaseHelper helper = DatabaseHelper.getInstance(context);
|
TransientRowHelper.java | 29 import com.android.providers.tv.TvProvider.DatabaseHelper; 41 private DatabaseHelper mDatabaseHelper; 62 mDatabaseHelper = DatabaseHelper.getInstance(context);
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
TrackerProvider.java | 49 private static class DatabaseHelper extends SQLiteOpenHelper { 51 DatabaseHelper(Context context) { 77 private DatabaseHelper mOpenHelper; 81 mOpenHelper = new DatabaseHelper(getContext());
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
TestLauncherProvider.java | 34 private static class MyDatabaseHelper extends DatabaseHelper {
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
SearchRecentSuggestionsProvider.java | 75 mOpenHelper = new DatabaseHelper(mContext, DATABASE_VERSION); 96 private static class DatabaseHelper extends SQLiteOpenHelper { 97 public DatabaseHelper(Context context, int newVersion) {
|
/cts/tests/JobScheduler/src/android/jobscheduler/ |
DummyJobContentProvider.java | 35 private DatabaseHelper mDbHelper; 57 mDbHelper = new DatabaseHelper(getContext()); 61 private class DatabaseHelper extends SQLiteOpenHelper { 64 DatabaseHelper(Context context) {
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/ |
DummyJobContentProvider.java | 35 private DatabaseHelper mDbHelper; 57 mDbHelper = new DatabaseHelper(getContext()); 61 private class DatabaseHelper extends SQLiteOpenHelper { 64 DatabaseHelper(Context context) {
|
/cts/tests/tests/content/src/android/content/cts/ |
DummyProvider.java | 40 private DatabaseHelper mDbHelper; 68 mDbHelper = new DatabaseHelper(getContext()); 72 private class DatabaseHelper extends SQLiteOpenHelper { 75 DatabaseHelper(Context context) {
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/ |
ConversationParticipantsDataTest.java | 22 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/ |
RestoreDbTaskTest.java | 10 import com.android.launcher3.LauncherProvider.DatabaseHelper; 64 private class MyDatabaseHelper extends DatabaseHelper {
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaUpgradeReceiver.java | 69 MediaProvider.DatabaseHelper helper = new MediaProvider.DatabaseHelper(
|