/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastDatabaseHelperTest.java | 43 import com.android.cellbroadcastreceiver.CellBroadcastDatabaseHelper; 59 private CellBroadcastDatabaseHelper mHelper; // the actual class being tested 84 mHelper = new CellBroadcastDatabaseHelper(mContext, false); in setUp() 93 Cursor cursor = db.query(CellBroadcastDatabaseHelper.TABLE_NAME, in dataBaseHelper_create() 108 Cursor upgradedCursor = db.query(CellBroadcastDatabaseHelper.TABLE_NAME, in databaseHelperOnUpgrade_V12() 122 Cursor upgradedCursor = db.query(CellBroadcastDatabaseHelper.TABLE_NAME, in databaseHelperOnUpgrade_V13() 128 CellBroadcastDatabaseHelper.SMS_SYNC_PENDING)); in databaseHelperOnUpgrade_V13() 136 MatrixCursor mc = new MatrixCursor(CellBroadcastDatabaseHelper.QUERY_COLUMNS); in testMigration() 165 Cursor cursor = db.query(CellBroadcastDatabaseHelper.TABLE_NAME, in testMigration() 166 CellBroadcastDatabaseHelper.QUERY_COLUMNS, null, null, null, null, null); in testMigration() [all …]
|
D | CellBroadcastContentProviderTest.java | 42 import com.android.cellbroadcastreceiver.CellBroadcastDatabaseHelper; 151 CellBroadcastDatabaseHelper.QUERY_COLUMNS, null, null, null); in testDeleteAll() 155 cursor = mContentResolver.query(CONTENT_URI, CellBroadcastDatabaseHelper.QUERY_COLUMNS, in testDeleteAll() 170 CellBroadcastDatabaseHelper.QUERY_COLUMNS, null, null, null); in testDeleteBroadcast() 174 cursor = mContentResolver.query(CONTENT_URI, CellBroadcastDatabaseHelper.QUERY_COLUMNS, in testDeleteBroadcast() 187 CellBroadcastDatabaseHelper.QUERY_COLUMNS, in testMarkSmsSyncPending() 188 CellBroadcastDatabaseHelper.SMS_SYNC_PENDING + "=1" , null, null); in testMarkSmsSyncPending() 194 CellBroadcastDatabaseHelper.QUERY_COLUMNS, in testMarkSmsSyncPending() 195 CellBroadcastDatabaseHelper.SMS_SYNC_PENDING + "=1" , null, null); in testMarkSmsSyncPending() 210 CellBroadcastDatabaseHelper.QUERY_COLUMNS, in testWriteSmsInboxBeforeUserUnlock() [all …]
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastContentProvider.java | 89 public CellBroadcastDatabaseHelper mOpenHelper; 101 mOpenHelper = new CellBroadcastDatabaseHelper(getContext(), false); in onCreate() 157 qb.setTables(CellBroadcastDatabaseHelper.TABLE_NAME); in query() 312 long rowId = db.insert(CellBroadcastDatabaseHelper.TABLE_NAME, null, cv); in insertNewBroadcast() 333 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME, in deleteBroadcast() 352 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME, null, null); in deleteAllBroadcasts() 379 … int rowCount = db.update(CellBroadcastDatabaseHelper.TABLE_NAME, cv, whereClause, whereArgs); in markBroadcastRead() 403 cv.put(CellBroadcastDatabaseHelper.SMS_SYNC_PENDING, isSmsSyncPending ? 1 : 0); in markBroadcastSmsSyncPending() 408 int rowCount = db.update(CellBroadcastDatabaseHelper.TABLE_NAME, cv, whereClause, in markBroadcastSmsSyncPending() 430 CellBroadcastDatabaseHelper.QUERY_COLUMNS, in resyncToSmsInbox() [all …]
|
D | CellBroadcastDatabaseHelper.java | 45 public class CellBroadcastDatabaseHelper extends SQLiteOpenHelper { class 139 public CellBroadcastDatabaseHelper(Context context, boolean legacyProvider) { in CellBroadcastDatabaseHelper() method in CellBroadcastDatabaseHelper 146 public CellBroadcastDatabaseHelper(Context context, boolean legacyProvider, String dbName) { in CellBroadcastDatabaseHelper() method in CellBroadcastDatabaseHelper 241 if (sp.getBoolean(CellBroadcastDatabaseHelper.KEY_LEGACY_DATA_MIGRATION, false)) { in migrateFromLegacyIfNeeded()
|
D | CellBroadcastListItem.java | 88 CellBroadcastDatabaseHelper.QUERY_COLUMNS, in bind()
|
D | CellBroadcastListActivity.java | 323 CellBroadcastDatabaseHelper.QUERY_COLUMNS, null, null, in onCreateLoader()
|
D | CellBroadcastReceiver.java | 163 .getBoolean(CellBroadcastDatabaseHelper.KEY_LEGACY_DATA_MIGRATION, false); in onReceive()
|
/packages/apps/CellBroadcastReceiver/legacy/src/com/android/cellbroadcastreceiver/ |
D | LegacyCellBroadcastContentProvider.java | 52 mOpenHelper = new CellBroadcastDatabaseHelper(getContext(), true); in onCreate() 66 qb.setTables(CellBroadcastDatabaseHelper.TABLE_NAME); in query()
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CellBroadcastDatabaseHelperTest.java | 45 private CellBroadcastProvider.CellBroadcastDatabaseHelper mHelper; 54 mHelper = new CellBroadcastProvider.CellBroadcastDatabaseHelper(mContext); in setUp()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastProvider.java | 150 mDbHelper = new CellBroadcastDatabaseHelper(getContext()); in onCreate() 407 public static class CellBroadcastDatabaseHelper extends SQLiteOpenHelper { class in CellBroadcastProvider 408 public CellBroadcastDatabaseHelper(Context context) { in CellBroadcastDatabaseHelper() method in CellBroadcastProvider.CellBroadcastDatabaseHelper
|
/packages/apps/CellBroadcastReceiver/ |
D | Android.bp | 85 "src/com/android/cellbroadcastreceiver/CellBroadcastDatabaseHelper.java",
|