Home
last modified time | relevance | path

Searched refs:columns (Results 1 – 14 of 14) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSocialProvider.java83 HashMap<String, String> columns;
86 columns = new HashMap<String, String>();
88 columns.put(Contacts.DISPLAY_NAME, "contact." + Contacts.DISPLAY_NAME + " AS " in columns.put()
90 sContactsProjectionMap = columns;
93 columns = new HashMap<String, String>();
94 columns.put(RawContacts._ID, Tables.RAW_CONTACTS + "." + RawContacts._ID + " AS _id"); in columns.put()
95 columns.put(RawContacts.CONTACT_ID, RawContacts.CONTACT_ID); in columns.put()
96 sRawContactsProjectionMap = columns;
99 columns = new HashMap<String, String>();
100 columns.put(Activities._ID, "activities._id AS _id"); in columns.put()
[all …]
DContactsProvider2.java670 HashMap<String, String> columns;
671 columns = new HashMap<String, String>();
672 columns.put(RawContacts._ID, RawContacts._ID); in columns.put()
673 columns.put(RawContacts.CONTACT_ID, RawContacts.CONTACT_ID); in columns.put()
674 columns.put(RawContacts.ACCOUNT_NAME, RawContacts.ACCOUNT_NAME); in columns.put()
675 columns.put(RawContacts.ACCOUNT_TYPE, RawContacts.ACCOUNT_TYPE); in columns.put()
676 columns.put(RawContacts.SOURCE_ID, RawContacts.SOURCE_ID); in columns.put()
677 columns.put(RawContacts.VERSION, RawContacts.VERSION); in columns.put()
678 columns.put(RawContacts.DIRTY, RawContacts.DIRTY); in columns.put()
679 columns.put(RawContacts.DELETED, RawContacts.DELETED); in columns.put()
[all …]
DLegacyContactImporter.java496 String[] columns = mPhoneticNameAvailable in importPeople() local
499 Cursor c = mSourceDb.query(PeopleQuery.TABLE, columns, "name IS NULL", null, null, in importPeople()
512 columns = mPhoneticNameAvailable in importPeople()
515 c = mSourceDb.query(PeopleQuery.TABLE, columns, "name IS NOT NULL", null, null, null, in importPeople()
DContactsDatabaseHelper.java3054 public boolean isInProjection(String[] projection, String... columns) { in isInProjection() argument
3060 if (columns.length == 1) { in isInProjection()
3061 String column = columns[0]; in isInProjection()
3069 for (String column : columns) { in isInProjection()
/packages/apps/Gallery3D/src/com/cooliris/picasa/
DEntrySchema.java49 ColumnInfo[] columns = parseColumnInfo(clazz); in EntrySchema() local
51 mColumnInfo = columns; in EntrySchema()
56 if (columns != null) { in EntrySchema()
57 projection = new String[columns.length]; in EntrySchema()
58 for (int i = 0; i != columns.length; ++i) { in EntrySchema()
59 ColumnInfo column = columns[i]; in EntrySchema()
89 ColumnInfo[] columns = mColumnInfo; in cursorToObject() local
90 for (int i = 0, size = columns.length; i != size; ++i) { in cursorToObject()
91 ColumnInfo column = columns[i]; in cursorToObject()
130 ColumnInfo[] columns = mColumnInfo; in objectToValues() local
[all …]
/packages/apps/Launcher2/
Dprint_db.py43 columns = [d[0] for d in c.description]
47 return columns,rows
76 columns,rows = get_favorites(conn)
77 data = [dict(zip(columns,row)) for row in rows]
98 for col in columns:
100 for i in range(0,len(columns)):
101 col = columns[i]
/packages/apps/QuickSearchBox/tests/partial/src/com/android/quicksearchbox/tests/partial/
DPartialSuggestionProvider.java65 MutableMatrixCursor(String[] columns) { in MutableMatrixCursor() argument
66 super(columns); in MutableMatrixCursor()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DDownloadManagerFunctionalTest.java119 final String[] columns = new String[] {column}; in getDownloadField() local
120 Cursor cursor = mResolver.query(downloadUri, columns, null, null, null); in getDownloadField()
DAbstractDownloadManagerFunctionalTest.java192 String[] columns = new String[] {Downloads._DATA}; in cleanUpDownloads() local
193 Cursor cursor = mResolver.query(Downloads.CONTENT_URI, columns, null, null, null); in cleanUpDownloads()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DShortcutRepositoryImplLog.java190 final String[] columns = SourceStats.COLUMNS; in buildSourceRankingSql() local
197 false, tables, columns, where, groupBy, having, orderBy, limit); in buildSourceRankingSql()
641 String[] columns = new String[vals.length]; in initColumns() local
643 columns[i] = vals[i].fullName; in initColumns()
645 return columns; in initColumns()
670 String[] columns = new String[vals.length]; in initColumns() local
672 columns[i] = vals[i].fullName; in initColumns()
674 return columns; in initColumns()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java764 String[] columns = handleNullMessageProjection(projection); in getConversations() local
791 columns, null, null, "tid", in getConversations()
946 String[] columns = handleNullMessageProjection(projection); in getMessagesByPhoneNumber() local
948 MmsSms.TYPE_DISCRIMINATOR_COLUMN, columns, MMS_COLUMNS, in getMessagesByPhoneNumber()
951 MmsSms.TYPE_DISCRIMINATOR_COLUMN, columns, SMS_COLUMNS, in getMessagesByPhoneNumber()
979 String[] columns = handleNullThreadsProjection(projection); in getConversationById() local
984 mOpenHelper.getReadableDatabase(), columns, finalSelection, in getConversationById()
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java748 int columns, int blockWidth, Bitmap outline) { in ImageBlockManager() argument
755 mColumns = columns; in ImageBlockManager()
1015 int columns = numColumns(mRow); in loadImages() local
1018 int needMask = ((1 << columns) - 1) in loadImages()
1028 for (int col = 0; col < columns; col++) { in loadImages()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java1052 String[] columns = {BaseColumns._ID, MediaColumns.DATA}; in updateBucketNames() local
1053 Cursor cursor = db.query(tableName, columns, null, null, null, null, null); in updateBucketNames()
1083 String[] columns = {BaseColumns._ID, MediaColumns.DATA, MediaColumns.DISPLAY_NAME}; in updateDisplayName() local
1084 Cursor cursor = db.query(tableName, columns, null, null, null, null, null); in updateDisplayName()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DLocalStoreUnitTests.java1251 String[] columns = new String[] { "id", "message_id", "flags", in testDbUpgrade22ToLatest() local
1253 Cursor c = db.query("messages", columns, null, null, null, null, null); in testDbUpgrade22ToLatest()