Home
last modified time | relevance | path

Searched refs:DatabaseHelper (Results 1 – 15 of 15) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java246 DatabaseHelper database = mDatabases.get(EXTERNAL_VOLUME);
328 static final class DatabaseHelper extends SQLiteOpenHelper { class in MediaProvider
346 public DatabaseHelper(Context context, String name, boolean internal, in DatabaseHelper() method in MediaProvider.DatabaseHelper
510 private void createDefaultFolders(DatabaseHelper helper, SQLiteDatabase db) { in createDefaultFolders()
563 mDatabases = new HashMap<String, DatabaseHelper>(); in onCreate()
2151 DatabaseHelper helper = getDatabaseForUri(uri); in query()
2691 DatabaseHelper helper = getDatabaseForUri(uri); in bulkInsert()
2792 private long insertDirectory(DatabaseHelper helper, SQLiteDatabase db, String path) { in insertDirectory()
2809 private long getParent(DatabaseHelper helper, SQLiteDatabase db, String path) { in getParent()
2866 …private long insertFile(DatabaseHelper helper, Uri uri, ContentValues initialValues, int mediaType, in insertFile()
[all …]
DMediaUpgradeReceiver.java76 MediaProvider.DatabaseHelper helper = new MediaProvider.DatabaseHelper( in onReceive()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java81 private static class DatabaseHelper extends SQLiteOpenHelper { class in UserDictionaryProvider
83 DatabaseHelper(Context context) { in DatabaseHelper() method in UserDictionaryProvider.DatabaseHelper
115 private DatabaseHelper mOpenHelper;
119 mOpenHelper = new DatabaseHelper(getContext()); in onCreate()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java55 public DatabaseHelper mDatabaseHelper;
72 mDatabaseHelper = new DatabaseHelper(this); in onCreate()
246 private class DatabaseHelper extends SQLiteOpenHelper { class in KeyChainService
247 public DatabaseHelper(Context context) { in DatabaseHelper() method in KeyChainService.DatabaseHelper
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFileCache.java60 private DatabaseHelper mDbHelper;
92 mDbHelper = new DatabaseHelper(context, dbName); in FileCache()
286 private final class DatabaseHelper extends SQLiteOpenHelper { class in FileCache
289 public DatabaseHelper(Context context, String dbName) { in DatabaseHelper() method in FileCache.DatabaseHelper
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java126 private final class DatabaseHelper extends SQLiteOpenHelper { class in PartnerBookmarksProvider
133 public DatabaseHelper(Context context) { in DatabaseHelper() method in PartnerBookmarksProvider.DatabaseHelper
344 private DatabaseHelper mOpenHelper;
348 mOpenHelper = new DatabaseHelper(getContext()); in onCreate()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java97 private static class DatabaseHelper extends SQLiteOpenHelper { class in TelephonyProvider
106 public DatabaseHelper(Context context) { in DatabaseHelper() method in TelephonyProvider.DatabaseHelper
404 mOpenHelper = new DatabaseHelper(getContext()); in onCreate()
788 private DatabaseHelper mOpenHelper;
/packages/apps/Email/src/com/android/email/provider/
DEmailProvider.java476 DBHelper.DatabaseHelper helper = new DBHelper.DatabaseHelper(context, DATABASE_NAME); in getDatabase()
589 DBHelper.DatabaseHelper helper = new DBHelper.DatabaseHelper(context, DATABASE_NAME); in getReadableDatabase()
1389 DBHelper.DatabaseHelper helper = new DBHelper.DatabaseHelper(context, BACKUP_DATABASE_NAME); in getBackupDatabase()
DDBHelper.java556 protected static class DatabaseHelper extends SQLiteOpenHelper { class in DBHelper
559 DatabaseHelper(Context context, String name) { in DatabaseHelper() method in DBHelper.DatabaseHelper
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java91 private DatabaseHelper mOpenHelper;
95 mOpenHelper = new DatabaseHelper(getContext()); in onCreate()
125 private static long dbInsertAndCheck(DatabaseHelper helper, in dbInsertAndCheck()
233 private static class DatabaseHelper extends SQLiteOpenHelper { class in LauncherProvider
247 DatabaseHelper(Context context) { in DatabaseHelper() method in LauncherProvider.DatabaseHelper
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadCache.java85 mDatabase = new DatabaseHelper(application.getAndroidContext()) in DownloadCache()
223 private final class DatabaseHelper extends SQLiteOpenHelper { class in DownloadCache
227 public DatabaseHelper(Context context) { in DatabaseHelper() method in DownloadCache.DatabaseHelper
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java120 private final class DatabaseHelper extends SQLiteOpenHelper { class in BluetoothOppProvider
122 public DatabaseHelper(final Context context) { in DatabaseHelper() method in BluetoothOppProvider.DatabaseHelper
298 mOpenHelper = new DatabaseHelper(getContext()); in onCreate()
/packages/apps/Browser/src/com/android/browser/provider/
DBrowserProvider.java247 static class DatabaseHelper extends SQLiteOpenHelper { class in BrowserProvider
250 public DatabaseHelper(Context context) { in DatabaseHelper() method in BrowserProvider.DatabaseHelper
406 mOpenHelper = new DatabaseHelper(context); in onCreate()
DBrowserProvider2.java385 DatabaseHelper mOpenHelper;
392 final class DatabaseHelper extends SQLiteOpenHelper { class in BrowserProvider2
395 public DatabaseHelper(Context context) { in DatabaseHelper() method in BrowserProvider2.DatabaseHelper
512 BrowserProvider.DatabaseHelper helper = in importFromBrowserProvider()
513 new BrowserProvider.DatabaseHelper(context); in importFromBrowserProvider()
793 mOpenHelper = new DatabaseHelper(context); in getDatabaseHelper()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java223 private final class DatabaseHelper extends SQLiteOpenHelper { class in DownloadProvider
224 public DatabaseHelper(final Context context) { in DatabaseHelper() method in DownloadProvider.DatabaseHelper
435 mOpenHelper = new DatabaseHelper(getContext()); in onCreate()