/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 …]
|
D | CellBroadcastContentProviderTestable.java | 27 import com.android.cellbroadcastreceiver.CellBroadcastDatabaseHelper; 59 public static class InMemoryCellBroadcastProviderDbHelper extends CellBroadcastDatabaseHelper { 69 db.execSQL(CellBroadcastDatabaseHelper.getStringForCellBroadcastTableCreation( in onCreate() 70 CellBroadcastDatabaseHelper.TABLE_NAME)); in onCreate()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastContentProvider.java | 86 public CellBroadcastDatabaseHelper mOpenHelper; 98 mOpenHelper = new CellBroadcastDatabaseHelper(getContext(), false); in onCreate() 150 qb.setTables(CellBroadcastDatabaseHelper.TABLE_NAME); in query() 305 long rowId = db.insert(CellBroadcastDatabaseHelper.TABLE_NAME, null, cv); in insertNewBroadcast() 326 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME, in deleteBroadcast() 345 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME, null, null); in deleteAllBroadcasts() 372 … int rowCount = db.update(CellBroadcastDatabaseHelper.TABLE_NAME, cv, whereClause, whereArgs); in markBroadcastRead() 396 cv.put(CellBroadcastDatabaseHelper.SMS_SYNC_PENDING, isSmsSyncPending ? 1 : 0); in markBroadcastSmsSyncPending() 401 int rowCount = db.update(CellBroadcastDatabaseHelper.TABLE_NAME, cv, whereClause, in markBroadcastSmsSyncPending() 423 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 | 78 CellBroadcastDatabaseHelper.QUERY_COLUMNS, in bind()
|
D | CellBroadcastReceiver.java | 132 .getBoolean(CellBroadcastDatabaseHelper.KEY_LEGACY_DATA_MIGRATION, false); in onReceive()
|
D | CellBroadcastListActivity.java | 350 CellBroadcastDatabaseHelper.QUERY_COLUMNS, null, null, in onCreateLoader()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastProvider.java | 150 mDbHelper = new CellBroadcastDatabaseHelper(getContext()); in onCreate() 408 public static class CellBroadcastDatabaseHelper extends SQLiteOpenHelper { class in CellBroadcastProvider 409 public CellBroadcastDatabaseHelper(Context context) { in CellBroadcastDatabaseHelper() method in CellBroadcastProvider.CellBroadcastDatabaseHelper
|
/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/apps/CellBroadcastReceiver/ |
D | Android.bp | 91 "src/com/android/cellbroadcastreceiver/CellBroadcastDatabaseHelper.java",
|