/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 270 int type = c.getInt(c.getColumnIndex(SoundModelContract.KEY_TYPE)); in getValidKeyphraseSoundModelForUser() 279 c.getColumnIndex(SoundModelContract.KEY_MODEL_UUID)); in getValidKeyphraseSoundModelForUser() 286 int vendorUuidColumn = c.getColumnIndex(SoundModelContract.KEY_VENDOR_UUID); in getValidKeyphraseSoundModelForUser() 291 c.getColumnIndex(SoundModelContract.KEY_KEYPHRASE_ID)); in getValidKeyphraseSoundModelForUser() 292 byte[] data = c.getBlob(c.getColumnIndex(SoundModelContract.KEY_DATA)); in getValidKeyphraseSoundModelForUser() 294 c.getColumnIndex(SoundModelContract.KEY_RECOGNITION_MODES)); in getValidKeyphraseSoundModelForUser() 296 c.getString(c.getColumnIndex(SoundModelContract.KEY_USERS))); in getValidKeyphraseSoundModelForUser() 298 c.getColumnIndex(SoundModelContract.KEY_LOCALE))); in getValidKeyphraseSoundModelForUser() 300 c.getColumnIndex(SoundModelContract.KEY_HINT_TEXT)); in getValidKeyphraseSoundModelForUser() 302 c.getColumnIndex(SoundModelContract.KEY_MODEL_VERSION)); in getValidKeyphraseSoundModelForUser() [all …]
|
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/customization/data/content/ |
D | CustomizationProviderClient.kt | 234 cursor.getColumnIndex( in querySlots() 238 cursor.getColumnIndex( in querySlots() 272 cursor.getColumnIndex(Contract.FlagsTable.Columns.NAME) in queryFlags() 274 cursor.getColumnIndex(Contract.FlagsTable.Columns.VALUE) in queryFlags() 314 cursor.getColumnIndex( in queryAffordances() 318 cursor.getColumnIndex( in queryAffordances() 322 cursor.getColumnIndex( in queryAffordances() 326 cursor.getColumnIndex( in queryAffordances() 331 cursor.getColumnIndex( in queryAffordances() 336 cursor.getColumnIndex( in queryAffordances() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/ |
D | ClockOptionsProviderTest.java | 132 cursor.getColumnIndex(NAME_COLUMN))).isEqualTo("name_a"); in testQuery_listOptions() 134 cursor.getColumnIndex(TITLE_COLUMN))).isEqualTo("title_a"); in testQuery_listOptions() 136 cursor.getColumnIndex(ID_COLUMN))).isEqualTo("id_a"); in testQuery_listOptions() 138 cursor.getColumnIndex(PREVIEW_COLUMN))) in testQuery_listOptions() 141 cursor.getColumnIndex(THUMBNAIL_COLUMN))) in testQuery_listOptions() 145 cursor.getColumnIndex(NAME_COLUMN))).isEqualTo("name_b"); in testQuery_listOptions() 147 cursor.getColumnIndex(TITLE_COLUMN))).isEqualTo("title_b"); in testQuery_listOptions() 149 cursor.getColumnIndex(ID_COLUMN))).isEqualTo("id_b"); in testQuery_listOptions() 151 cursor.getColumnIndex(PREVIEW_COLUMN))) in testQuery_listOptions() 154 cursor.getColumnIndex(THUMBNAIL_COLUMN))) in testQuery_listOptions()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/ |
D | EabUtil.java | 58 result.append(cursor.getString(cursor.getColumnIndex( in getContactFromEab() 61 result.append(cursor.getString(cursor.getColumnIndex( in getContactFromEab() 64 result.append(cursor.getString(cursor.getColumnIndex( in getContactFromEab() 67 result.append(cursor.getString(cursor.getColumnIndex( in getContactFromEab() 95 result.append(cursor.getString(cursor.getColumnIndex( in getCapabilityFromEab() 98 result.append(cursor.getString(cursor.getColumnIndex( in getCapabilityFromEab() 101 result.append(cursor.getString(cursor.getColumnIndex( in getCapabilityFromEab() 104 result.append(cursor.getString(cursor.getColumnIndex( in getCapabilityFromEab() 107 result.append(cursor.getString(cursor.getColumnIndex( in getCapabilityFromEab() 151 contactId = cursor.getInt(cursor.getColumnIndex(EabProvider.ContactColumns._ID)); in getEabContactId() [all …]
|
D | EabContactSyncController.java | 148 String contactId = cursor.getString(cursor.getColumnIndex( in handleContactDeletedCase() 173 cursor.getColumnIndex(ContactsContract.Data.MIMETYPE)); in handlePhoneNumberDeletedCase() 179 cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.RAW_CONTACT_ID)); in handlePhoneNumberDeletedCase() 181 cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER))); in handlePhoneNumberDeletedCase() 249 String contactId = contactCursor.getString(contactCursor.getColumnIndex( in handlePhoneNumberInsertedCase() 251 String rawContactId = contactCursor.getString(contactCursor.getColumnIndex( in handlePhoneNumberInsertedCase() 254 contactCursor.getColumnIndex(ContactsContract.Data._ID)); in handlePhoneNumberInsertedCase() 256 contactCursor.getColumnIndex(ContactsContract.Data.MIMETYPE)); in handlePhoneNumberInsertedCase() 263 contactCursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER))); in handlePhoneNumberInsertedCase() 301 int dataId = cursor.getInt(cursor.getColumnIndex(EabProvider.ContactColumns.DATA_ID)); in searchDataIdIndex() [all …]
|
D | EabBulkCapabilityUpdater.java | 300 result.getColumnIndex(EabProvider.EabCommonColumns.MECHANISM)); in getLeastExpiredTimestamp() 303 timestamp = result.getLong(result.getColumnIndex( in getLeastExpiredTimestamp() 306 timestamp = result.getLong(result.getColumnIndex( in getLeastExpiredTimestamp() 387 result.getColumnIndex(EabProvider.ContactColumns.PHONE_NUMBER)); in getExpiredContactList()
|
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
D | WapPushManager.java | 149 ret.installOrder = cur.getInt(cur.getColumnIndex("install_order")); in queryLastApp() 150 ret.packageName = cur.getString(cur.getColumnIndex("package_name")); in queryLastApp() 151 ret.className = cur.getString(cur.getColumnIndex("class_name")); in queryLastApp() 152 ret.appType = cur.getInt(cur.getColumnIndex("app_type")); in queryLastApp() 153 ret.needSignature = cur.getInt(cur.getColumnIndex("need_signature")); in queryLastApp() 154 ret.furtherProcessing = cur.getInt(cur.getColumnIndex("further_processing")); in queryLastApp() 457 cur.getString(cur.getColumnIndex("x_wap_application")), in migrateWapPushManDBIfNeeded() 458 cur.getString(cur.getColumnIndex("content_type")), in migrateWapPushManDBIfNeeded() 459 cur.getString(cur.getColumnIndex("package_name")), in migrateWapPushManDBIfNeeded() 460 cur.getString(cur.getColumnIndex("class_name")), in migrateWapPushManDBIfNeeded() [all …]
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | ContactsQueryHelper.java | 127 int idIndex = cursor.getColumnIndex(Contacts._ID); in queryContact() 131 int lookupKeyIndex = cursor.getColumnIndex(Contacts.LOOKUP_KEY); in queryContact() 137 int starredIndex = cursor.getColumnIndex(Contacts.STARRED); in queryContact() 141 int hasPhoneNumIndex = cursor.getColumnIndex(Contacts.HAS_PHONE_NUMBER); in queryContact() 145 int lastUpdatedTimestampIndex = cursor.getColumnIndex( in queryContact() 178 int phoneNumIdx = cursor.getColumnIndex( in queryPhoneNumber()
|
D | MmsQueryHelper.java | 85 int msgIdIndex = cursor.getColumnIndex(Mms._ID); in querySince() 89 int dateIndex = cursor.getColumnIndex(Mms.DATE); in querySince() 93 int msgBoxIndex = cursor.getColumnIndex(Mms.MESSAGE_BOX); in querySince() 126 int typeIndex = cursor.getColumnIndex(Mms.Addr.TYPE); in getMmsAddress() 132 int addrIndex = cursor.getColumnIndex(Mms.Addr.ADDRESS); in getMmsAddress()
|
D | CallLogQueryHelper.java | 76 int numberIndex = cursor.getColumnIndex(Calls.CACHED_NORMALIZED_NUMBER); in querySince() 80 int dateIndex = cursor.getColumnIndex(Calls.DATE); in querySince() 84 int durationIndex = cursor.getColumnIndex(Calls.DURATION); in querySince() 88 int typeIndex = cursor.getColumnIndex(Calls.TYPE); in querySince()
|
D | SmsQueryHelper.java | 79 int msgIdIndex = cursor.getColumnIndex(Sms._ID); in querySince() 83 int dateIndex = cursor.getColumnIndex(Sms.DATE); in querySince() 87 int typeIndex = cursor.getColumnIndex(Sms.TYPE); in querySince() 91 int addressIndex = cursor.getColumnIndex(Sms.ADDRESS); in querySince()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | CallerInfo.java | 230 columnIndex = cursor.getColumnIndex(PhoneLookup.DISPLAY_NAME); in getCallerInfo() 236 columnIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in getCallerInfo() 242 columnIndex = cursor.getColumnIndex(PhoneLookup.NORMALIZED_NUMBER); in getCallerInfo() 248 columnIndex = cursor.getColumnIndex(PhoneLookup.LABEL); in getCallerInfo() 250 int typeColumnIndex = cursor.getColumnIndex(PhoneLookup.TYPE); in getCallerInfo() 282 columnIndex = cursor.getColumnIndex(PhoneLookup.LOOKUP_KEY); in getCallerInfo() 288 columnIndex = cursor.getColumnIndex(PhoneLookup.PHOTO_URI); in getCallerInfo() 295 columnIndex = cursor.getColumnIndex(Data.PREFERRED_PHONE_ACCOUNT_COMPONENT_NAME); in getCallerInfo() 301 columnIndex = cursor.getColumnIndex(Data.PREFERRED_PHONE_ACCOUNT_ID); in getCallerInfo() 312 columnIndex = cursor.getColumnIndex(PhoneLookup.CUSTOM_RINGTONE); in getCallerInfo() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsCbMessage.java | 644 int plmnColumn = cursor.getColumnIndex(CellBroadcasts.PLMN); in createFromCursor() 652 int lacColumn = cursor.getColumnIndex(CellBroadcasts.LAC); in createFromCursor() 660 int cidColumn = cursor.getColumnIndex(CellBroadcasts.CID); in createFromCursor() 670 int etwsWarningTypeColumn = cursor.getColumnIndex(CellBroadcasts.ETWS_WARNING_TYPE); in createFromCursor() 671 int etwsIsPrimaryColumn = cursor.getColumnIndex(CellBroadcasts.ETWS_IS_PRIMARY); in createFromCursor() 682 int cmasMessageClassColumn = cursor.getColumnIndex(CellBroadcasts.CMAS_MESSAGE_CLASS); in createFromCursor() 687 int cmasCategoryColumn = cursor.getColumnIndex(CellBroadcasts.CMAS_CATEGORY); in createFromCursor() 695 int cmasResponseTypeColumn = cursor.getColumnIndex(CellBroadcasts.CMAS_RESPONSE_TYPE); in createFromCursor() 703 int cmasSeverityColumn = cursor.getColumnIndex(CellBroadcasts.CMAS_SEVERITY); in createFromCursor() 711 int cmasUrgencyColumn = cursor.getColumnIndex(CellBroadcasts.CMAS_URGENCY); in createFromCursor() [all …]
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | RecurrenceSet.java | 71 int rruleColumn = cursor.getColumnIndex(CalendarContract.Events.RRULE); in RecurrenceSet() 72 int rdateColumn = cursor.getColumnIndex(CalendarContract.Events.RDATE); in RecurrenceSet() 73 int exruleColumn = cursor.getColumnIndex(CalendarContract.Events.EXRULE); in RecurrenceSet() 74 int exdateColumn = cursor.getColumnIndex(CalendarContract.Events.EXDATE); in RecurrenceSet() 256 int dtstartColumn = cursor.getColumnIndex(CalendarContract.Events.DTSTART); in populateComponent() 257 int durationColumn = cursor.getColumnIndex(CalendarContract.Events.DURATION); in populateComponent() 258 int tzidColumn = cursor.getColumnIndex(CalendarContract.Events.EVENT_TIMEZONE); in populateComponent() 259 int rruleColumn = cursor.getColumnIndex(CalendarContract.Events.RRULE); in populateComponent() 260 int rdateColumn = cursor.getColumnIndex(CalendarContract.Events.RDATE); in populateComponent() 261 int exruleColumn = cursor.getColumnIndex(CalendarContract.Events.EXRULE); in populateComponent() [all …]
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerDbHelper.java | 117 byte[] data = c.getBlob(c.getColumnIndex( in getGenericSoundModel() 120 c.getColumnIndex(GenericSoundModelContract.KEY_VENDOR_UUID)); in getGenericSoundModel() 122 c.getColumnIndex(GenericSoundModelContract.KEY_MODEL_VERSION)); in getGenericSoundModel() 164 int colNameIndex = c.getColumnIndex(name); in dump()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | TrackerEntry.java | 209 String timestamp = cursor.getString(cursor.getColumnIndex(TIMESTAMP)); in createEntry() 210 String tag = cursor.getString(cursor.getColumnIndex(TAG)); in createEntry() 211 String sType = cursor.getString(cursor.getColumnIndex(ENTRY_TYPE)); in createEntry() 237 location.setTime(cursor.getLong(cursor.getColumnIndex(LOC_TIME))); in createEntry() 240 entry.setLogMsg(cursor.getString(cursor.getColumnIndex(DEBUG_INFO))); in createEntry()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/ |
D | IconCacheUpdateHandler.java | 153 final int indexComponent = c.getColumnIndex(IconDB.COLUMN_COMPONENT); in updateIconsPerUser() 154 final int indexLastUpdate = c.getColumnIndex(IconDB.COLUMN_LAST_UPDATED); in updateIconsPerUser() 155 final int indexVersion = c.getColumnIndex(IconDB.COLUMN_VERSION); in updateIconsPerUser() 156 final int rowIndex = c.getColumnIndex(IconDB.COLUMN_ROWID); in updateIconsPerUser() 157 final int systemStateIndex = c.getColumnIndex(IconDB.COLUMN_SYSTEM_STATE); in updateIconsPerUser()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | CustomizationProviderTest.kt | 427 cursor.getColumnIndex( in <lambda>() 431 cursor.getColumnIndex( in <lambda>() 435 cursor.getColumnIndex( in <lambda>() 473 cursor.getColumnIndex( in <lambda>() 477 cursor.getColumnIndex( in <lambda>() 509 cursor.getColumnIndex( in <lambda>() 513 cursor.getColumnIndex( in <lambda>() 517 cursor.getColumnIndex( in <lambda>()
|
/frameworks/opt/telephony/testing/src/com/android/internal/telephony/testing/ |
D | CursorSubject.java | 101 int index = mActual.getColumnIndex(columnName); in hasRowValue() 111 int index = mActual.getColumnIndex(columnName); in intField() 120 int index = mActual.getColumnIndex(columnName); in stringField()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerBaseTest.java | 442 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() 454 columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() 494 int index = response.getColumnIndex(DownloadManager.COLUMN_ID); in getBytesDownloaded() 499 int index = response.getColumnIndex(DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR); in getBytesDownloaded() 522 int index = cursor.getColumnIndex(DownloadManager.COLUMN_ID); in removeAllCurrentDownloads()
|
/frameworks/base/core/java/android/widget/ |
D | SuggestionsAdapter.java | 268 mText1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_1); in changeCursor() 269 mText2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in changeCursor() 270 mText2UrlCol = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2_URL); in changeCursor() 271 mIconName1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_1); in changeCursor() 272 mIconName2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_2); in changeCursor() 273 mFlagsCol = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_FLAGS); in changeCursor() 718 int col = cursor.getColumnIndex(columnName); in getColumnString()
|
/frameworks/base/core/java/android/database/ |
D | DatabaseUtils.java | 829 int colIndex = cursor.getColumnIndex(field); in cursorIntToContentValues() 859 int colIndex = cursor.getColumnIndex(field); in cursorLongToContentValues() 890 int colIndex = cursor.getColumnIndex(field); in cursorDoubleToContentValues() 1080 final int index = cursor.getColumnIndex(column); in cursorStringToContentValuesIfPresent() 1096 final int index = cursor.getColumnIndex(column); in cursorLongToContentValuesIfPresent() 1112 final int index = cursor.getColumnIndex(column); in cursorShortToContentValuesIfPresent() 1128 final int index = cursor.getColumnIndex(column); in cursorIntToContentValuesIfPresent() 1144 final int index = cursor.getColumnIndex(column); in cursorFloatToContentValuesIfPresent() 1160 final int index = cursor.getColumnIndex(column); in cursorDoubleToContentValuesIfPresent() 1299 int i = getColumnIndex(key); in insertInternal() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 152 int status = cursor.getInt(cursor.getColumnIndex( in onReceive() 458 int index = cursor.getColumnIndex(column); in logDBColumnData() 806 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() 818 columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() 898 int index = cursor.getColumnIndex(DownloadManager.COLUMN_ID); in removeAllCurrentDownloads() 972 int index = cursor.getColumnIndex(columnName); in verifyInt() 985 int index = cursor.getColumnIndex(columnName); in verifyString()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsProviderTest.java | 124 assertEquals(testKey, c.getString(c.getColumnIndex(nameField))); in testRowNameContentUri() 125 assertEquals(testValue, c.getString(c.getColumnIndex(valueField))); in testRowNameContentUri() 143 assertEquals(testKey, c.getString(c.getColumnIndex(nameField))); in testRowNameContentUri() 144 assertEquals(testValue, c.getString(c.getColumnIndex(valueField))); in testRowNameContentUri() 159 assertEquals(testKey, c.getString(c.getColumnIndex(nameField))); in testRowNameContentUri() 160 assertEquals(secondTestValue, c.getString(c.getColumnIndex(valueField))); in testRowNameContentUri()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | PeopleSpaceUtilsTest.java | 387 when(mMockCursor.getColumnIndex(eq(ContactsContract.CommonDataKinds.Event.LOOKUP_KEY) in testDoNotUpdateSingleConversationAppWidgetWhenNotBirthday() 407 when(mMockCursor.getColumnIndex(eq(ContactsContract.CommonDataKinds.Event.LOOKUP_KEY) in testUpdateSingleConversationAppWidgetWithoutPersonContactUriToRemoveBirthday() 430 when(mockBirthdaysUriCursor.getColumnIndex( in testUpdateSingleConversationAppWidgetToRemoveBirthdayWhenNoLongerBirthday() 433 when(mockPersonUriCursor.getColumnIndex( in testUpdateSingleConversationAppWidgetToRemoveBirthdayWhenNoLongerBirthday() 465 when(mMockCursor.getColumnIndex(eq(ContactsContract.Contacts.STARRED))).thenReturn( in testUpdateSingleConversationAppWidgetWhenBirthday() 467 when(mMockCursor.getColumnIndex(eq(ContactsContract.CommonDataKinds.Event.LOOKUP_KEY) in testUpdateSingleConversationAppWidgetWhenBirthday() 552 String contactId = cursor.getString(cursor.getColumnIndex( in cleanupTestContactFromContactProvider()
|