Home
last modified time | relevance | path

Searched defs:db (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteOpenHelperTest.java109 public void onCreate(SQLiteDatabase db) { in onCreate()
113 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
117 public void onOpen(SQLiteDatabase db) { in onOpen()
131 public MockCursor(SQLiteDatabase db, SQLiteCursorDriver driver, String editTable, in MockCursor()
DSQLiteDatabaseTest.java98 SQLiteDatabase db = SQLiteDatabase.openDatabase(mDatabaseFilePath, in testOpenDatabase() local
157 public MockSQLiteCursor(SQLiteDatabase db, SQLiteCursorDriver driver, in MockSQLiteCursor()
1364 SQLiteDatabase db = SQLiteDatabase.create(null); in testExceptionsFromEnableWriteAheadLogging() local
DDatabaseStatementTest.java250 public StatementTestThread(SQLiteDatabase db, SQLiteStatement statement) { in StatementTestThread()
DSQLiteQueryBuilderTest.java155 public MockCursor(SQLiteDatabase db, SQLiteCursorDriver driver, in MockCursor()
/cts/tests/tests/content/src/android/content/cts/
DDummyProvider.java83 public void onCreate(SQLiteDatabase db) { in onCreate()
90 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
105 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() local
124 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query() local
170 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in update() local
187 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete() local
DMockContentProvider.java78 public void onCreate(SQLiteDatabase db) { in onCreate()
89 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
133 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() local
221 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() local
290 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query() local
301 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsProvider.java102 public void onCreate(SQLiteDatabase db) { in onCreate()
113 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
146 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query() local
152 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() local
189 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update() local
200 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() local
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DCreatePrivateDataTest.java121 SQLiteDatabase db = null; in writeToDatabase() local
159 SQLiteDatabase db = null; in assertDatabaseDataDoesNotExist() local
255 public void onCreate(SQLiteDatabase db) { in onCreate()
262 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
/cts/hostsidetests/theme/src/android/theme/cts/
DComparisonTask.java94 final int db = ((p1 & 0x00FF0000) - (p2 & 0x00FF0000)) >> 16; in compare() local
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java341 final SQLiteDatabase db = getContext().openOrCreateDatabase("my_db", in testDataWrite() local
359 final SQLiteDatabase db = getContext().openOrCreateDatabase("my_db", in testDataRead() local
/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtilsTest.java144 SQLiteDatabase db = getContext().openOrCreateDatabase(dbName, 0, null); in testCreateDbFromSqlStatements() local