Searched refs:dbHelper (Results 1 - 21 of 21) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForCustomMimetype.java23 public DataRowHandlerForCustomMimetype(Context context, ContactsDatabaseHelper dbHelper, argument
25 super(context, dbHelper, aggregator, mimetype);
H A DDataRowHandlerForNote.java29 public DataRowHandlerForNote(Context context, ContactsDatabaseHelper dbHelper, argument
31 super(context, dbHelper, aggregator, Note.CONTENT_ITEM_TYPE);
H A DDataRowHandlerForIdentity.java29 public DataRowHandlerForIdentity(Context context, ContactsDatabaseHelper dbHelper, argument
31 super(context, dbHelper, aggregator, Identity.CONTENT_ITEM_TYPE);
H A DDataRowHandlerForIm.java29 public DataRowHandlerForIm(Context context, ContactsDatabaseHelper dbHelper, argument
31 super(context, dbHelper, aggregator, Im.CONTENT_ITEM_TYPE, Im.TYPE, Im.LABEL);
H A DDataRowHandlerForCommonDataKind.java35 public DataRowHandlerForCommonDataKind(Context context, ContactsDatabaseHelper dbHelper, argument
38 super(context, dbHelper, aggregator, mimetype);
H A DDataRowHandlerForEmail.java32 Context context, ContactsDatabaseHelper dbHelper, AbstractContactAggregator aggregator) {
33 super(context, dbHelper, aggregator, Email.CONTENT_ITEM_TYPE, Email.TYPE, Email.LABEL);
31 DataRowHandlerForEmail( Context context, ContactsDatabaseHelper dbHelper, AbstractContactAggregator aggregator) argument
H A DDataRowHandlerForNickname.java32 public DataRowHandlerForNickname(Context context, ContactsDatabaseHelper dbHelper, argument
34 super(context, dbHelper, aggregator, Nickname.CONTENT_ITEM_TYPE, Nickname.TYPE,
H A DDataRowHandlerForStructuredPostal.java48 public DataRowHandlerForStructuredPostal(Context context, ContactsDatabaseHelper dbHelper, argument
50 super(context, dbHelper, aggregator, StructuredPostal.CONTENT_ITEM_TYPE);
H A DDataRowHandlerForOrganization.java34 public DataRowHandlerForOrganization(Context context, ContactsDatabaseHelper dbHelper, argument
36 super(context, dbHelper, aggregator,
H A DDataRowHandlerForPhoto.java49 Context context, ContactsDatabaseHelper dbHelper, AbstractContactAggregator aggregator,
51 super(context, dbHelper, aggregator, Photo.CONTENT_ITEM_TYPE);
48 DataRowHandlerForPhoto( Context context, ContactsDatabaseHelper dbHelper, AbstractContactAggregator aggregator, PhotoStore photoStore, int maxDisplayPhotoDim, int maxThumbnailPhotoDim) argument
H A DDataRowHandlerForPhoneNumber.java37 ContactsDatabaseHelper dbHelper, AbstractContactAggregator aggregator) {
38 super(context, dbHelper, aggregator, Phone.CONTENT_ITEM_TYPE, Phone.TYPE, Phone.LABEL);
36 DataRowHandlerForPhoneNumber(Context context, ContactsDatabaseHelper dbHelper, AbstractContactAggregator aggregator) argument
H A DVoicemailStatusTable.java63 public VoicemailStatusTable(String tableName, Context context, CallLogDatabaseHelper dbHelper, argument
67 mDbHelper = dbHelper;
H A DDataRowHandlerForGroupMembership.java67 public DataRowHandlerForGroupMembership(Context context, ContactsDatabaseHelper dbHelper, argument
70 super(context, dbHelper, aggregator, GroupMembership.CONTENT_ITEM_TYPE);
H A DDataRowHandlerForStructuredName.java38 public DataRowHandlerForStructuredName(Context context, ContactsDatabaseHelper dbHelper, argument
41 super(context, dbHelper, aggregator, StructuredName.CONTENT_ITEM_TYPE);
H A DVoicemailContentTable.java83 public VoicemailContentTable(String tableName, Context context, CallLogDatabaseHelper dbHelper, argument
88 mDbHelper = dbHelper;
H A DDataRowHandler.java86 public DataRowHandler(Context context, ContactsDatabaseHelper dbHelper, argument
89 mDbHelper = dbHelper;
H A DContactsProvider2.java1686 ContactsDatabaseHelper dbHelper, AbstractContactAggregator contactAggregator,
1690 new DataRowHandlerForEmail(context, dbHelper, contactAggregator));
1692 new DataRowHandlerForIm(context, dbHelper, contactAggregator));
1694 new DataRowHandlerForOrganization(context, dbHelper, contactAggregator));
1696 new DataRowHandlerForPhoneNumber(context, dbHelper, contactAggregator));
1698 new DataRowHandlerForNickname(context, dbHelper, contactAggregator));
1700 new DataRowHandlerForStructuredName(context, dbHelper, contactAggregator,
1703 new DataRowHandlerForStructuredPostal(context, dbHelper, contactAggregator,
1706 new DataRowHandlerForGroupMembership(context, dbHelper, contactAggregator,
1709 new DataRowHandlerForPhoto(context, dbHelper, contactAggregato
1685 initDataRowHandlers(Map<String, DataRowHandler> handlerMap, ContactsDatabaseHelper dbHelper, AbstractContactAggregator contactAggregator, PhotoStore photoStore) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/
H A DGalleryWidgetMigrator.java79 WidgetDatabaseHelper dbHelper = new WidgetDatabaseHelper(context);
82 List<Entry> entries = dbHelper.getEntries(WidgetDatabaseHelper.TYPE_ALBUM);
96 updateEntryUsingRelativePath(entry, dbHelper);
103 if (!localEntries.isEmpty()) migrateLocalEntries(context, localEntries, dbHelper);
107 HashMap<Integer, Entry> entries, WidgetDatabaseHelper dbHelper) {
111 migrateLocalEntries(entries, dbHelper, oldExtPath);
116 migrateLocalEntries(entries, dbHelper, PRE_JB_EXT_PATH);
119 migrateLocalEntries(entries, dbHelper, JB_EXT_PATH);
124 WidgetDatabaseHelper dbHelper, String oldExtPath) {
127 updatePath(new File(root, "DCIM"), entries, dbHelper, oldExtPat
106 migrateLocalEntries(Context context, HashMap<Integer, Entry> entries, WidgetDatabaseHelper dbHelper) argument
123 migrateLocalEntries(HashMap<Integer, Entry> entries, WidgetDatabaseHelper dbHelper, String oldExtPath) argument
131 updatePath(File root, HashMap<Integer, Entry> entries, WidgetDatabaseHelper dbHelper, String oldExtStorage) argument
159 updateEntryUsingRelativePath(Entry entry, WidgetDatabaseHelper dbHelper) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
H A DFilterStackSource.java37 private final FilterStackDBHelper dbHelper; field in class:FilterStackSource
40 dbHelper = new FilterStackDBHelper(context);
45 database = dbHelper.getWritableDatabase();
53 dbHelper.close();
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DSearchIndexManagerTest.java532 ContactsDatabaseHelper dbHelper = (ContactsDatabaseHelper) getContactsProvider()
534 assertEquals(expectedContent, dbHelper.querySearchIndexContentForTest(contactId));
535 assertEquals(expectedTokens, dbHelper.querySearchIndexTokensForTest(contactId));
H A DContactsProvider2Test.java1937 final ContactsDatabaseHelper dbHelper = cp.getThreadActiveDatabaseHelperForTest();
1940 final boolean oldUseStrict = dbHelper.getUseStrictPhoneNumberComparisonForTest();
1941 dbHelper.setUseStrictPhoneNumberComparisonForTest(true);
1987 dbHelper.setUseStrictPhoneNumberComparisonForTest(oldUseStrict);
3034 // Reset the dbHelper to be the one ContactsProvider2 is using. Before this, two providers
3090 // Reset the dbHelper to be the one ContactsProvider2 is using. Before this, two providers
3156 // Reset the dbHelper to be the one ContactsProvider2 is using. Before this, two providers
6645 final ContactsDatabaseHelper dbHelper = cp.getThreadActiveDatabaseHelperForTest();
6646 dbHelper.setProperty(DbProperties.KNOWN_ACCOUNTS, "x");
6780 // Reset the dbHelper t
[all...]

Completed in 625 milliseconds