Home
last modified time | relevance | path

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

/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
DDummyJobContentProvider.java69 public void onCreate(SQLiteDatabase db) { in onCreate()
76 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
91 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() local
110 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query() local
136 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in update() local
153 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete() local
/cts/tests/JobScheduler/src/android/jobscheduler/
DDummyJobContentProvider.java69 public void onCreate(SQLiteDatabase db) { in onCreate()
76 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
91 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() local
110 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query() local
136 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in update() local
153 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete() local
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DCreatePrivateDataTest.java116 SQLiteDatabase db = null; in writeToDatabase() local
154 SQLiteDatabase db = null; in assertDatabaseDataDoesNotExist() local
180 public void onCreate(SQLiteDatabase db) { in onCreate()
187 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
/cts/tests/tests/content/src/android/content/cts/
DDummyProvider.java80 public void onCreate(SQLiteDatabase db) { in onCreate()
87 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
102 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() local
121 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query() local
167 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in update() local
184 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete() local
DMockContentProvider.java87 public void onCreate(SQLiteDatabase db) { in onCreate()
98 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
142 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() local
245 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() local
310 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query() local
321 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update() local
DContextTest.java153 SQLiteDatabase db = mContext.openOrCreateDatabase("test.db", in testMoveDatabaseFrom() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsProvider.java116 public void onCreate(SQLiteDatabase db) { in onCreate()
127 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
160 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query() local
166 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() local
203 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update() local
214 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() local
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteOpenHelperTest.java260 SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(dbPath, null); in testWalSchemaChangeVisibilityOnUpgrade() local
320 public void onCreate(SQLiteDatabase db) { in onCreate()
324 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
328 public void onOpen(SQLiteDatabase db) { in onOpen()
342 MockCursor(SQLiteDatabase db, SQLiteCursorDriver driver, String editTable, in MockCursor()
DSQLiteDatabaseTest.java110 SQLiteDatabase db = SQLiteDatabase.openDatabase(mDatabaseFilePath, in testOpenDatabase() local
169 public MockSQLiteCursor(SQLiteDatabase db, SQLiteCursorDriver driver, in MockSQLiteCursor()
1374 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/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DNdkApiXmlReport.java137 DocumentBuilder db = dbf.newDocumentBuilder(); in main() local
238 DocumentBuilder db = dbf.newDocumentBuilder(); in saveToXML() local
/cts/hostsidetests/theme/src/android/theme/cts/
DComparisonTask.java118 final int db = getAlphaScaledBlue(p1) - getAlphaScaledBlue(p2); in compare() local
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java375 final SQLiteDatabase db = getContext().openOrCreateDatabase("my_db", in testDataWrite() local
393 final SQLiteDatabase db = getContext().openOrCreateDatabase("my_db", in testDataRead() local
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCurrentApiHelper.java128 DocumentBuilder db = dbf.newDocumentBuilder(); in parseXmlFile() local
/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtilsTest.java146 SQLiteDatabase db = getContext().openOrCreateDatabase(dbName, 0, null); in testCreateDbFromSqlStatements() local
/cts/hostsidetests/security/src/android/security/cts/
DSELinuxHostTest.java278 DocumentBuilder db = dbf.newDocumentBuilder(); in getVendorSepolicyVersion() local