/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseLocaleTest.java | 19 import android.database.sqlite.SQLiteDatabase; 33 private SQLiteDatabase mDatabase; 48 mDatabase = SQLiteDatabase.create(null);
|
DatabaseLockTest.java | 19 import android.database.sqlite.SQLiteDatabase; 38 private SQLiteDatabase mDatabase; 51 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForStructuredPostal.java | 21 import android.database.sqlite.SQLiteDatabase; 55 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, 62 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values,
|
DataRowHandlerForOrganization.java | 22 import android.database.sqlite.SQLiteDatabase; 41 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, 53 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, 95 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) {
|
DataRowHandlerForPhoto.java | 21 import android.database.sqlite.SQLiteDatabase; 58 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, 78 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, 131 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) {
|
DataRowHandlerForGroupMembership.java | 22 import android.database.sqlite.SQLiteDatabase; 75 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, 87 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, 103 private void updateRawContactsStar(SQLiteDatabase db, long rawContactId, boolean starred) { 112 private boolean hasFavoritesGroupMembership(SQLiteDatabase db, long rawContactId) { 123 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { 147 long rawContactId, SQLiteDatabase db, ContentValues values, boolean isInsert) { 179 * @param db SQLiteDatabase to use for this operation 188 private long getOrMakeGroup(SQLiteDatabase db, long rawContactId, String sourceId,
|
VoicemailContentTable.java | 27 import android.database.sqlite.SQLiteDatabase; 150 SQLiteDatabase db = mDbHelper.getWritableDatabase(); 180 private void updateVoicemailUri(SQLiteDatabase db, Uri newUri) { 191 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); 233 SQLiteDatabase db = mDbHelper.getReadableDatabase(); 248 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); 284 private DatabaseModifier getDatabaseModifier(SQLiteDatabase db) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
CommonNicknameCache.java | 20 import android.database.sqlite.SQLiteDatabase; 41 private final SQLiteDatabase mDb; 43 public CommonNicknameCache(SQLiteDatabase db) {
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
DBHelper.java | 25 import android.database.sqlite.SQLiteDatabase; 213 static void createMessageCountTriggers(final SQLiteDatabase db) { 242 static void createCredentialsTable(SQLiteDatabase db) { 253 static void dropDeleteDuplicateMessagesTrigger(final SQLiteDatabase db) { 275 final SQLiteDatabase db) { 298 static void createMessageTable(Context context, SQLiteDatabase db) { 413 static void resetMessageTable(Context context, SQLiteDatabase db, 436 * @param db The {@link SQLiteDatabase}. 439 private static void createMessageChangeLogTableIndices(final SQLiteDatabase db, 447 * @param db The {@link SQLiteDatabase} [all...] |
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssContentProvider.java | 25 import android.database.sqlite.SQLiteDatabase; 38 private SQLiteDatabase mDb; 72 public void onCreate(SQLiteDatabase db){ 90 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion){
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
DictionaryDatabase.java | 24 import android.database.sqlite.SQLiteDatabase; 163 private SQLiteDatabase mDatabase; 181 public void onCreate(SQLiteDatabase db) { 237 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteQuery.java | 36 SQLiteQuery(SQLiteDatabase db, String query, CancellationSignal cancellationSignal) {
|
/frameworks/base/core/tests/coretests/src/android/content/ |
MemoryFileProvider.java | 21 import android.database.sqlite.SQLiteDatabase; 71 public void onCreate(SQLiteDatabase db) { 86 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { 158 SQLiteDatabase db = mOpenHelper.getReadableDatabase();
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSQLiteDatabase.java | 31 * Shadow for {@code SQLiteDatabase} that simulates the movement of a {@code Cursor} through database tables. 35 @Implements(SQLiteDatabase.class) 37 @RealObject SQLiteDatabase realSQLiteDatabase; 66 public static SQLiteDatabase openDatabase(String path, SQLiteDatabase.CursorFactory factory, int flags) { 68 return newInstanceOf(SQLiteDatabase.class); 73 return insertWithOnConflict(table, nullColumnHack, values, SQLiteDatabase.CONFLICT_NONE); 80 return insertWithOnConflict(table, nullColumnHack, values, SQLiteDatabase.CONFLICT_NONE); 85 return insertWithOnConflict(table, nullColumnHack, values, SQLiteDatabase.CONFLICT_REPLACE); 228 return rawQueryWithFactory( new SQLiteDatabase.CursorFactory() [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
SQLite_Test.java | 4 import android.database.sqlite.SQLiteDatabase; 31 SQLite.SQLStringAndBindings insertString = buildInsertString("table_name", values, SQLiteDatabase.CONFLICT_NONE);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaUpgradeReceiver.java | 26 import android.database.sqlite.SQLiteDatabase; 68 SQLiteDatabase db = null;
|
/frameworks/base/core/java/android/content/ |
SearchRecentSuggestionsProvider.java | 21 import android.database.sqlite.SQLiteDatabase; 137 public void onCreate(SQLiteDatabase db) { 152 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 226 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 273 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 321 SQLiteDatabase db = mOpenHelper.getReadableDatabase();
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastContentProvider.java | 26 import android.database.sqlite.SQLiteDatabase; 121 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); 192 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 218 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 236 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 257 SQLiteDatabase db = mOpenHelper.getWritableDatabase();
|
/packages/apps/Gallery/src/com/android/camera/ |
PhotoAppWidgetProvider.java | 26 import android.database.sqlite.SQLiteDatabase; 100 public void onCreate(SQLiteDatabase db) { 108 public void onUpgrade(SQLiteDatabase db, int oldVersion, 139 SQLiteDatabase db = getWritableDatabase(); 168 SQLiteDatabase db = getReadableDatabase(); 200 SQLiteDatabase db = getWritableDatabase();
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
SQLiteContentProvider.java | 26 import android.database.sqlite.SQLiteDatabase; 35 * General purpose {@link ContentProvider} base class that uses SQLiteDatabase 121 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 141 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 164 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 188 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 210 SQLiteDatabase db = mOpenHelper.getWritableDatabase();
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherProvider.java | 37 import android.database.sqlite.SQLiteDatabase; 124 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 132 SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) { 156 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 179 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 201 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 216 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 228 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 273 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 451 final SQLiteDatabase db = mOpenHelper.getWritableDatabase() [all...] |
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
WapPushManager.java | 28 import android.database.sqlite.SQLiteDatabase; 73 public void onCreate(SQLiteDatabase db) { 92 public void onUpgrade(SQLiteDatabase db, 118 protected queryData queryLastApp(SQLiteDatabase db, 186 SQLiteDatabase db = dbh.getReadableDatabase(); 247 SQLiteDatabase db = dbh.getWritableDatabase(); 307 SQLiteDatabase db = dbh.getWritableDatabase(); 342 SQLiteDatabase db = dbh.getWritableDatabase(); 396 SQLiteDatabase db = dbh.getReadableDatabase(); 430 SQLiteDatabase db = dbh.getReadableDatabase() [all...] |
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
UserDictionaryProvider.java | 30 import android.database.sqlite.SQLiteDatabase; 109 public void onCreate(SQLiteDatabase db) { 121 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 182 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); 241 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 255 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 284 SQLiteDatabase db = mOpenHelper.getWritableDatabase();
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherProvider.java | 39 import android.database.sqlite.SQLiteDatabase; 126 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 134 SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) { 141 private static void deleteId(SQLiteDatabase db, long id) { 151 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 165 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 187 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 198 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 304 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 308 SQLiteDatabase.deleteDatabase(dbFile) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppProvider.java | 42 import android.database.sqlite.SQLiteDatabase; 117 public void onCreate(final SQLiteDatabase db) { 129 * @Override public void onOpen(final SQLiteDatabase db) { 141 public void onUpgrade(final SQLiteDatabase db, int oldV, final int newV) { 160 private void createTable(SQLiteDatabase db) { 178 private void dropTable(SQLiteDatabase db) { 227 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 298 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); 376 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); 420 SQLiteDatabase db = mOpenHelper.getWritableDatabase() [all...] |