/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteWalTest.java | 89 SQLiteDatabase db = mContext.openOrCreateDatabase( in openDatabase() local 95 private void assertTestTableExists(SQLiteDatabase db) { in assertTestTableExists() 100 SQLiteDatabase db = openDatabase(); in prepareDatabase() local 132 SQLiteDatabase db = doOperation("testWalTruncate"); in testWalTruncate() local 148 SQLiteDatabase db = doOperation("testWalNoTruncate"); in testWalNoTruncate() local 162 SQLiteDatabase db = doOperation("testWalTruncateDisabled"); in testWalTruncateDisabled() local 170 SQLiteDatabase db = prepareDatabase(); in doOperation() local
|
D | SQLiteOpenHelperTest.java | 260 SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(dbPath, null); in testWalSchemaChangeVisibilityOnUpgrade() local 301 SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(dbPath, null); in testWalSchemaChangeVisibilityOnDowngrade() local 373 public void onCreate(SQLiteDatabase db) { in onCreate() 377 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() 381 public void onOpen(SQLiteDatabase db) { in onOpen() 395 MockCursor(SQLiteDatabase db, SQLiteCursorDriver driver, String editTable, in MockCursor()
|
D | SQLiteDatabaseTest.java | 152 SQLiteDatabase db = SQLiteDatabase.openDatabase(mDatabaseFilePath, in testOpenDatabase() local 179 SQLiteDatabase db = null; in testOpenDatabase_fail_no_path() local 200 SQLiteDatabase db = null; in testOpenDatabase_fail_root_path_create_if_necessary() local 222 SQLiteDatabase db = null; in testOpenDatabase_fail_root_path_no_create() local 279 public MockSQLiteCursor(SQLiteDatabase db, SQLiteCursorDriver driver, in MockSQLiteCursor() 1777 SQLiteDatabase db = SQLiteDatabase.create(null); in testExceptionsFromEnableWriteAheadLogging() local
|
D | DatabaseStatementTest.java | 264 public StatementTestThread(SQLiteDatabase db, SQLiteStatement statement) { in StatementTestThread()
|
/cts/tests/JobScheduler/src/android/jobscheduler/ |
D | DummyJobContentProvider.java | 69 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/JobSchedulerSharedUid/src/android/jobscheduler/ |
D | DummyJobContentProvider.java | 69 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/ |
D | CreatePrivateDataTest.java | 116 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/ |
D | DummyProvider.java | 80 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
|
D | MockContentProvider.java | 88 public void onCreate(SQLiteDatabase db) { in onCreate() 99 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() 143 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() local 246 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() local 262 final SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query() local 344 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query() local 355 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update() local
|
D | ContextTest.java | 444 SQLiteDatabase db = mContext.openOrCreateDatabase("test.db", in testMoveDatabaseFrom() local
|
/cts/tests/appsearch/helper-app/src/com/android/cts/appsearch/helper/ |
D | AppSearchTestService.java | 150 AppSearchSessionShim db = in indexGloballySearchableDocument() local 207 AppSearchSessionShim db = AppSearchSessionShimImpl.createSearchSessionAsync( in indexGloballySearchableDocumentVisibleToConfig() local 263 AppSearchSessionShim db = in indexNotGloballySearchableDocument() local 303 AppSearchSessionShim db = in indexAction() local 363 AppSearchSessionShim db = AppSearchSessionShimImpl.createSearchSessionAsync( in setUpPubliclyVisibleDocuments() local 419 AppSearchSessionShim db = in clearData() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsProvider.java | 251 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query() local 270 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() local 314 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update() local 339 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() local 446 public void onCreate(SQLiteDatabase db) { in onCreate() 459 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
|
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/ |
D | AppSearchDeviceTest.java | 120 AppSearchSessionShim db = AppSearchSessionShimImpl.createSearchSessionAsync( in testPutDocumentsAsAnotherUser() local 155 AppSearchSessionShim db = AppSearchSessionShimImpl.createSearchSessionAsync( in testGetDocumentsAsAnotherUser_exist() local
|
D | EnterpriseContactsDeviceTest.java | 112 AppSearchSessionShim db = AppSearchSessionShimImpl.createSearchSessionAsync( in setUpEnterpriseContactsWithPermissions() local
|
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/ |
D | CompatChangesValidConfigTest.java | 165 DocumentBuilder db = dbf.newDocumentBuilder(); in getExpectedCompatConfig() local
|
/cts/tests/tests/database/src/android/database/cts/ |
D | SQLiteCantOpenDatabaseExceptionTest.java | 71 SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(file, null); in testFileNotReadable() local
|
D | DatabaseUtilsTest.java | 274 SQLiteDatabase db = getContext().openOrCreateDatabase(dbName, 0, null); in testCreateDbFromSqlStatements() local
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
D | ComparisonTask.java | 103 final int db = getAlphaScaledBlue(p1) - getAlphaScaledBlue(p2); in checkNeighbors() local 146 final int db = getAlphaScaledBlue(p1) - getAlphaScaledBlue(p2); in compare() local
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | NdkApiXmlReport.java | 138 DocumentBuilder db = dbf.newDocumentBuilder(); in main() local 239 DocumentBuilder db = dbf.newDocumentBuilder(); in saveToXML() local
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CurrentApiHelper.java | 133 DocumentBuilder db = dbf.newDocumentBuilder(); in parseXmlFile() local
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | SplitAppTest.java | 648 final SQLiteDatabase db = getContext().openOrCreateDatabase("my_db", in testDataWrite() local 667 final SQLiteDatabase db = getContext().openOrCreateDatabase("my_db", in testDataRead() local
|
/cts/hostsidetests/security/src/android/security/cts/ |
D | SELinuxHostTest.java | 470 DocumentBuilder db = dbf.newDocumentBuilder(); in getVendorSepolicyVersionFromManifests() local
|