/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | SyncCalendarTest.java | 81 String newTitle = cursor.getString(cursor.getColumnIndex("title")) + time.toString(); in testEditEventTitle() 82 long dtStart = cursor.getLong(cursor.getColumnIndex("dtstart")); in testEditEventTitle() 83 long dtEnd = cursor.getLong(cursor.getColumnIndex("dtend")); in testEditEventTitle() 86 long eventId = cursor.getLong(cursor.getColumnIndex("_id")); in testEditEventTitle() 93 if (cursor.getLong(cursor.getColumnIndex("_id")) == eventId) { in testEditEventTitle() 94 assertEquals(cursor.getString(cursor.getColumnIndex("title")), newTitle); in testEditEventTitle() 108 String title = cursor.getString(cursor.getColumnIndex("title")); in testEditEventDate() 109 long dtStart = cursor.getLong(cursor.getColumnIndex("dtstart")); in testEditEventDate() 116 long eventId = cursor.getLong(cursor.getColumnIndex("_id")); in testEditEventDate() 125 if (cursor.getLong(cursor.getColumnIndex("_id")) == eventId) { in testEditEventDate() [all …]
|
D | CalendarProvider2Test.java | 308 int beginColumn = cursor.getColumnIndex(Instances.BEGIN); in execute() 322 int titleColumn = cursor.getColumnIndex(Events.TITLE); in execute() 323 int allDayColumn = cursor.getColumnIndex(Events.ALL_DAY); in execute() 382 int beginColumn = cursor.getColumnIndex(Instances.BEGIN); in execute() 1402 int selfColumn = cursor.getColumnIndex(Calendar.Events.SELF_ATTENDEE_STATUS); in testAttendees() 1451 int dirty = cursor.getInt(cursor.getColumnIndex(Calendar.Events._SYNC_DIRTY)); in testAndClearDirty() 1956 int colIndexTitle = cursor.getColumnIndex(Calendar.Events.TITLE); in checkEvent() 1957 int colIndexDtStart = cursor.getColumnIndex(Calendar.Events.DTSTART); in checkEvent() 1958 int colIndexDtEnd = cursor.getColumnIndex(Calendar.Events.DTEND); in checkEvent() 1959 int colIndexAllDay = cursor.getColumnIndex(Calendar.Events.ALL_DAY); in checkEvent()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | CursorBackedSuggestionCursor.java | 67 mFormatCol = getColumnIndex(SearchManager.SUGGEST_COLUMN_FORMAT); in CursorBackedSuggestionCursor() 68 mText1Col = getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_1); in CursorBackedSuggestionCursor() 69 mText2Col = getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in CursorBackedSuggestionCursor() 70 mText2UrlCol = getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2_URL); in CursorBackedSuggestionCursor() 71 mIcon1Col = getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_1); in CursorBackedSuggestionCursor() 72 mIcon2Col = getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_2); in CursorBackedSuggestionCursor() 73 mRefreshSpinnerCol = getColumnIndex(SearchManager.SUGGEST_COLUMN_SPINNER_WHILE_REFRESHING); in CursorBackedSuggestionCursor() 243 protected int getColumnIndex(String colName) { in getColumnIndex() method in CursorBackedSuggestionCursor 246 return mCursor.getColumnIndex(colName); in getColumnIndex() 281 int col = getColumnIndex(colName); in getStringOrNull()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | DataStatus.java | 139 return cursor.getString(cursor.getColumnIndex(columnName)); in getString() 143 return cursor.getInt(cursor.getColumnIndex(columnName)); in getInt() 147 final int columnIndex = cursor.getColumnIndex(columnName); in getInt() 152 final int columnIndex = cursor.getColumnIndex(columnName); in getLong() 157 return cursor.isNull(cursor.getColumnIndex(columnName)); in isNull()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | PhoneDisambigDialog.java | 215 long id = phonesCursor.getLong(phonesCursor.getColumnIndex(Data._ID)); in makePhoneItemsList() 216 String phone = phonesCursor.getString(phonesCursor.getColumnIndex(Phone.NUMBER)); in makePhoneItemsList() 218 phonesCursor.getString(phonesCursor.getColumnIndex(RawContacts.ACCOUNT_TYPE)); in makePhoneItemsList() 219 int type = phonesCursor.getInt(phonesCursor.getColumnIndex(Phone.TYPE)); in makePhoneItemsList() 220 String label = phonesCursor.getString(phonesCursor.getColumnIndex(Phone.LABEL)); in makePhoneItemsList()
|
D | ContactsUtils.java | 69 colType = cursor.getColumnIndex(Phone.TYPE); in getDisplayLabel() 70 colLabel = cursor.getColumnIndex(Phone.LABEL); in getDisplayLabel() 72 colType = cursor.getColumnIndex(Email.TYPE); in getDisplayLabel() 73 colLabel = cursor.getColumnIndex(Email.LABEL); in getDisplayLabel() 75 colType = cursor.getColumnIndex(StructuredPostal.TYPE); in getDisplayLabel() 76 colLabel = cursor.getColumnIndex(StructuredPostal.LABEL); in getDisplayLabel() 78 colType = cursor.getColumnIndex(Organization.TYPE); in getDisplayLabel() 79 colLabel = cursor.getColumnIndex(Organization.LABEL); in getDisplayLabel()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LiveFolderAdapter.java | 80 holder.descriptionIndex = cursor.getColumnIndex(LiveFolders.DESCRIPTION); in newView() 81 holder.intentIndex = cursor.getColumnIndex(LiveFolders.INTENT); in newView() 82 holder.iconBitmapIndex = cursor.getColumnIndex(LiveFolders.ICON_BITMAP); in newView() 83 holder.iconResourceIndex = cursor.getColumnIndex(LiveFolders.ICON_RESOURCE); in newView() 84 holder.iconPackageIndex = cursor.getColumnIndex(LiveFolders.ICON_PACKAGE); in newView()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | UserBigramDictionary.java | 220 int word1Index = cursor.getColumnIndex(MAIN_COLUMN_WORD1); in loadDictionaryAsync() 221 int word2Index = cursor.getColumnIndex(MAIN_COLUMN_WORD2); in loadDictionaryAsync() 222 int frequencyIndex = cursor.getColumnIndex(FREQ_COLUMN_FREQUENCY); in loadDictionaryAsync() 324 int pairIdColumnId = c.getColumnIndex(FREQ_COLUMN_PAIR_ID); in checkPruneData() 365 pairId = c.getInt(c.getColumnIndex(MAIN_COLUMN_ID)); in doInBackground()
|
D | AutoDictionary.java | 122 int wordIndex = cursor.getColumnIndex(COLUMN_WORD); in loadDictionaryAsync() 123 int frequencyIndex = cursor.getColumnIndex(COLUMN_FREQUENCY); in loadDictionaryAsync()
|
/packages/apps/Mms/src/com/android/mms/ |
D | SuggestionsProvider.java | 134 int textColumn = mDatabaseCursor.getColumnIndex("index_text"); in computeRows() 135 int offsetsColumn = mDatabaseCursor.getColumnIndex("offsets(words)"); in computeRows() 245 public int getColumnIndex(String columnName) { in getColumnIndex() method in SuggestionsProvider.SuggestionsCursor 251 return mDatabaseCursor.getColumnIndex(columnName); in getColumnIndex() 312 return getString(getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_1)); in getString()
|
/packages/apps/Music/src/com/android/music/ |
D | MusicPicker.java | 302 mIdIdx = cursor.getColumnIndex(MediaStore.Audio.Media._ID); in changeCursor() 303 mTitleIdx = cursor.getColumnIndex(MediaStore.Audio.Media.TITLE); in changeCursor() 304 mArtistIdx = cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST); in changeCursor() 305 mAlbumIdx = cursor.getColumnIndex(MediaStore.Audio.Media.ALBUM); in changeCursor() 306 mDurationIdx = cursor.getColumnIndex(MediaStore.Audio.Media.DURATION); in changeCursor() 627 + mCursor.getLong(mCursor.getColumnIndex(MediaStore.Audio.Media._ID)) in onListItemClick() 635 long newId = mCursor.getLong(mCursor.getColumnIndex(MediaStore.Audio.Media._ID)); in setSelected()
|
D | AudioPreview.java | 135 int titleIdx = cursor.getColumnIndex(MediaStore.Audio.Media.TITLE); in onCreate() 136 int artistIdx = cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST); in onCreate() 137 int idIdx = cursor.getColumnIndex(MediaStore.Audio.Media._ID); in onCreate() 138 int displaynameIdx = cursor.getColumnIndex(OpenableColumns.DISPLAY_NAME); in onCreate()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | SearchActivity.java | 241 final int threadIdPos = c.getColumnIndex("thread_id"); in onCreate() 242 final int addressPos = c.getColumnIndex("address"); in onCreate() 243 final int bodyPos = c.getColumnIndex("body"); in onCreate() 244 final int rowidPos = c.getColumnIndex("_id"); in onCreate()
|
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
D | ApplicationsProvider.java | 419 int nameCol = inserter.getColumnIndex(NAME); in updateApplicationsList() 420 int descriptionCol = inserter.getColumnIndex(DESCRIPTION); in updateApplicationsList() 421 int packageCol = inserter.getColumnIndex(PACKAGE); in updateApplicationsList() 422 int classCol = inserter.getColumnIndex(CLASS); in updateApplicationsList() 423 int iconCol = inserter.getColumnIndex(ICON); in updateApplicationsList()
|
D | ApplicationsAdapter.java | 57 int col = cursor.getColumnIndex(columnName); in getColumnString()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 1178 int statusColumn = entries.getColumnIndex(Events.STATUS); in performInstanceExpansion() 1179 int dtstartColumn = entries.getColumnIndex(Events.DTSTART); in performInstanceExpansion() 1180 int dtendColumn = entries.getColumnIndex(Events.DTEND); in performInstanceExpansion() 1181 int eventTimezoneColumn = entries.getColumnIndex(Events.EVENT_TIMEZONE); in performInstanceExpansion() 1182 int durationColumn = entries.getColumnIndex(Events.DURATION); in performInstanceExpansion() 1183 int rruleColumn = entries.getColumnIndex(Events.RRULE); in performInstanceExpansion() 1184 int rdateColumn = entries.getColumnIndex(Events.RDATE); in performInstanceExpansion() 1185 int exruleColumn = entries.getColumnIndex(Events.EXRULE); in performInstanceExpansion() 1186 int exdateColumn = entries.getColumnIndex(Events.EXDATE); in performInstanceExpansion() 1187 int allDayColumn = entries.getColumnIndex(Events.ALL_DAY); in performInstanceExpansion() [all …]
|
/packages/apps/Phone/src/com/android/phone/ |
D | BluetoothAtPhonebook.java | 386 pbr.numberColumn = pbr.cursor.getColumnIndex(Phone.NUMBER); in queryPhonebook() 387 pbr.typeColumn = pbr.cursor.getColumnIndex(Phone.TYPE); in queryPhonebook() 388 pbr.nameColumn = pbr.cursor.getColumnIndex(Phone.DISPLAY_NAME); in queryPhonebook()
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserProvider.java | 430 mSuggestText1Id = mSuggestCursor.getColumnIndex( in MySuggestionCursor() 432 mSuggestText2Id = mSuggestCursor.getColumnIndex( in MySuggestionCursor() 434 mSuggestText2UrlId = mSuggestCursor.getColumnIndex( in MySuggestionCursor() 436 mSuggestQueryId = mSuggestCursor.getColumnIndex( in MySuggestionCursor() 438 mSuggestIntentExtraDataId = mSuggestCursor.getColumnIndex( in MySuggestionCursor()
|
D | WebsiteSettingsActivity.java | 271 int urlIndex = c.getColumnIndex(Browser.BookmarkColumns.URL); in populateIcons() 272 int titleIndex = c.getColumnIndex(Browser.BookmarkColumns.TITLE); in populateIcons() 273 int faviconIndex = c.getColumnIndex(Browser.BookmarkColumns.FAVICON); in populateIcons()
|
/packages/apps/Browser/tests/src/com/android/browser/ |
D | BrowserProviderTests.java | 162 int col = c.getColumnIndex(name); in getCol()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 410 long contactId = c.getLong(c.getColumnIndex(RawContacts.CONTACT_ID)); in queryContactId() 418 long photoId = c.getInt(c.getColumnIndex(Contacts.PHOTO_ID)); in queryPhotoId() 426 String displayName = c.getString(c.getColumnIndex(Contacts.DISPLAY_NAME)); in queryDisplayName() 434 String lookupKey = c.getString(c.getColumnIndex(Contacts.LOOKUP_KEY)); in queryLookupKey() 680 value = c.getString(c.getColumnIndex(column)); in getStoredValue() 767 int index = cursor.getColumnIndex(column); in assertCursorValues()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsSmsDatabaseHelper.java | 1200 int partIdColumn = textRows.getColumnIndex(Part._ID); in upgradeDatabaseToVersion46() 1201 int partDataColumn = textRows.getColumnIndex(Part._DATA); in upgradeDatabaseToVersion46() 1202 int partTextColumn = textRows.getColumnIndex(Part.TEXT); in upgradeDatabaseToVersion46()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadReceiver.java | 166 cursor.getInt(cursor.getColumnIndex(Downloads.Impl.COLUMN_IS_PUBLIC_API)) != 0; in sendNotificationClickedIntent()
|
D | Helpers.java | 502 File file = new File(cursor.getString(cursor.getColumnIndex(Downloads.Impl._DATA))); in discardPurgeableFiles() 509 long id = cursor.getLong(cursor.getColumnIndex(Downloads.Impl._ID)); in discardPurgeableFiles()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 1055 final int idColumnIndex = cursor.getColumnIndex(BaseColumns._ID); in updateBucketNames() 1056 final int dataColumnIndex = cursor.getColumnIndex(MediaColumns.DATA); in updateBucketNames() 1086 final int idColumnIndex = cursor.getColumnIndex(BaseColumns._ID); in updateDisplayName() 1087 final int dataColumnIndex = cursor.getColumnIndex(MediaColumns.DATA); in updateDisplayName() 1088 final int displayNameIndex = cursor.getColumnIndex(MediaColumns.DISPLAY_NAME); in updateDisplayName() 1769 int audioidcolidx = helper.getColumnIndex(MediaStore.Audio.Playlists.Members.AUDIO_ID); in playlistBulkInsert() 1770 int playlistididx = helper.getColumnIndex(Audio.Playlists.Members.PLAYLIST_ID); in playlistBulkInsert() 1771 int playorderidx = helper.getColumnIndex(MediaStore.Audio.Playlists.Members.PLAY_ORDER); in playlistBulkInsert()
|