Home
last modified time | relevance | path

Searched refs:dbh (Results 1 – 4 of 4) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogMigrationTest.java62 final CallLogDatabaseHelperTestable dbh = in testMigration() local
65 final SQLiteDatabase db = dbh.getReadableDatabase(); in testMigration()
77 dbh.getProperty(CallLogDatabaseHelper.DbProperties.CALL_LOG_LAST_SYNCED, "")); in testMigration()
84 dbh.getProperty(CallLogDatabaseHelper.DbProperties.DATA_MIGRATED, "")); in testMigration()
DTestUtils.java227 ContentResolver resolver, ContactsDatabaseHelper dbh, ContentValues values) { in insertRawContact() argument
228 return insertRawContact(RawContacts.CONTENT_URI, resolver, dbh, values); in insertRawContact()
232 ContentResolver resolver, ContactsDatabaseHelper dbh, ContentValues values) { in insertProfileRawContact() argument
233 return insertRawContact(Profile.CONTENT_RAW_CONTACTS_URI, resolver, dbh, values); in insertProfileRawContact()
237 ContentResolver resolver, ContactsDatabaseHelper dbh, ContentValues values) { in insertRawContact() argument
238 final SQLiteDatabase db = dbh.getWritableDatabase(); in insertRawContact()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/sqlite/
DDatabaseAnalyzerTest.java28 final ContactsDatabaseHelper dbh = in testFindTableViewsAllowingColumns() local
33 dbh.getReadableDatabase()); in testFindTableViewsAllowingColumns()
45 dbh.close(); in testFindTableViewsAllowingColumns()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java6564 private String dump(DatabaseHelper dbh, boolean dumpDbLog) { in dump() argument
6566 s.append(dbh.mName); in dump()
6568 SQLiteDatabase db = dbh.getReadableDatabase(); in dump()
6584 if (dbh.mScanStartTime != 0) { in dump()
6586 dbh.mScanStartTime / 1000, in dump()
6590 long now = dbh.mScanStopTime; in dump()
6591 if (now < dbh.mScanStartTime) { in dump()
6595 (now - dbh.mScanStartTime) / 1000000) + ")"); in dump()
6596 if (dbh.mScanStopTime < dbh.mScanStartTime) { in dump()
6598 dbh.mName.startsWith(mMediaScannerVolume)) { in dump()