OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getColumnIndexOrThrow
(Results
1 - 25
of
124
) sorted by null
1
2
3
4
5
/packages/apps/Mms/src/com/android/mms/ui/
MessageListAdapter.java
370
mColumnMsgType = cursor.
getColumnIndexOrThrow
(
377
mColumnMsgId = cursor.
getColumnIndexOrThrow
(BaseColumns._ID);
383
mColumnSmsAddress = cursor.
getColumnIndexOrThrow
(Sms.ADDRESS);
389
mColumnSmsBody = cursor.
getColumnIndexOrThrow
(Sms.BODY);
395
mColumnSmsDate = cursor.
getColumnIndexOrThrow
(Sms.DATE);
401
mColumnSmsDateSent = cursor.
getColumnIndexOrThrow
(Sms.DATE_SENT);
407
mColumnSmsType = cursor.
getColumnIndexOrThrow
(Sms.TYPE);
413
mColumnSmsStatus = cursor.
getColumnIndexOrThrow
(Sms.STATUS);
419
mColumnSmsLocked = cursor.
getColumnIndexOrThrow
(Sms.LOCKED);
425
mColumnSmsErrorCode = cursor.
getColumnIndexOrThrow
(Sms.ERROR_CODE)
[
all
...]
/packages/providers/PartnerBookmarksProvider/tests/src/com/android/providers/partnerbookmarks/
PartnerBookmarksProviderTest.java
48
cursor.
getColumnIndexOrThrow
(PartnerBookmarksContract.Bookmarks.ID));
50
cursor.
getColumnIndexOrThrow
(PartnerBookmarksContract.Bookmarks.PARENT));
52
cursor.
getColumnIndexOrThrow
(PartnerBookmarksContract.Bookmarks.TYPE))
55
cursor.
getColumnIndexOrThrow
(PartnerBookmarksContract.Bookmarks.URL));
57
cursor.
getColumnIndexOrThrow
(PartnerBookmarksContract.Bookmarks.TITLE));
/cts/tests/tests/content/src/android/content/cts/
ContentResolverTest.java
311
assertEquals(3, mCursor.getInt(mCursor.
getColumnIndexOrThrow
(COLUMN_ID_NAME)));
312
assertEquals(KEY3, mCursor.getString(mCursor.
getColumnIndexOrThrow
(COLUMN_KEY_NAME)));
313
assertEquals(VALUE3, mCursor.getInt(mCursor.
getColumnIndexOrThrow
(COLUMN_VALUE_NAME)));
316
assertEquals(2, mCursor.getInt(mCursor.
getColumnIndexOrThrow
(COLUMN_ID_NAME)));
317
assertEquals(KEY2, mCursor.getString(mCursor.
getColumnIndexOrThrow
(COLUMN_KEY_NAME)));
318
assertEquals(VALUE2, mCursor.getInt(mCursor.
getColumnIndexOrThrow
(COLUMN_VALUE_NAME)));
328
assertEquals(1, mCursor.getInt(mCursor.
getColumnIndexOrThrow
(COLUMN_ID_NAME)));
329
assertEquals(KEY1, mCursor.getString(mCursor.
getColumnIndexOrThrow
(COLUMN_KEY_NAME)));
330
assertEquals(VALUE1, mCursor.getInt(mCursor.
getColumnIndexOrThrow
(COLUMN_VALUE_NAME)));
340
assertEquals(3, mCursor.getInt(mCursor.
getColumnIndexOrThrow
(COLUMN_ID_NAME)))
[
all
...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppTransferAdapter.java
71
int status = cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare.STATUS));
72
int dir = cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare.DIRECTION));
86
cursor.
getColumnIndexOrThrow
(BluetoothShare.FILENAME_HINT));
95
int destinationColumnId = cursor.
getColumnIndexOrThrow
(BluetoothShare.DESTINATION);
102
long totalBytes = cursor.getLong(cursor.
getColumnIndexOrThrow
(BluetoothShare.TOTAL_BYTES));
120
int dateColumnId = cursor.
getColumnIndexOrThrow
(BluetoothShare.TIMESTAMP);
BluetoothOppUtility.java
74
info.mID = cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare._ID));
75
info.mStatus = cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare.STATUS));
77
.
getColumnIndexOrThrow
(BluetoothShare.DIRECTION));
79
.
getColumnIndexOrThrow
(BluetoothShare.TOTAL_BYTES));
81
.
getColumnIndexOrThrow
(BluetoothShare.CURRENT_BYTES));
83
.
getColumnIndexOrThrow
(BluetoothShare.TIMESTAMP));
85
.
getColumnIndexOrThrow
(BluetoothShare.DESTINATION));
88
.
getColumnIndexOrThrow
(BluetoothShare._DATA));
91
.
getColumnIndexOrThrow
(BluetoothShare.FILENAME_HINT));
97
info.mFileUri = cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare.URI))
[
all
...]
BluetoothOppService.java
440
int idColumn = cursor.
getColumnIndexOrThrow
(BluetoothShare._ID);
546
String uriString = cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare.URI));
556
cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare._ID)),
558
cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare.FILENAME_HINT)),
559
cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare._DATA)),
560
cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare.MIMETYPE)),
561
cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare.DIRECTION)),
562
cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare.DESTINATION)),
563
cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare.VISIBILITY)),
564
cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare.USER_CONFIRMATION))
[
all
...]
BluetoothOppNotification.java
229
final int timestampIndex = cursor.
getColumnIndexOrThrow
(BluetoothShare.TIMESTAMP);
230
final int directionIndex = cursor.
getColumnIndexOrThrow
(BluetoothShare.DIRECTION);
231
final int idIndex = cursor.
getColumnIndexOrThrow
(BluetoothShare._ID);
232
final int totalBytesIndex = cursor.
getColumnIndexOrThrow
(BluetoothShare.TOTAL_BYTES);
233
final int currentBytesIndex = cursor.
getColumnIndexOrThrow
(BluetoothShare.CURRENT_BYTES);
234
final int dataIndex = cursor.
getColumnIndexOrThrow
(BluetoothShare._DATA);
235
final int filenameHintIndex = cursor.
getColumnIndexOrThrow
(BluetoothShare.FILENAME_HINT);
236
final int confirmIndex = cursor.
getColumnIndexOrThrow
(BluetoothShare.USER_CONFIRMATION);
237
final int destinationIndex = cursor.
getColumnIndexOrThrow
(BluetoothShare.DESTINATION);
377
final int timestampIndex = cursor.
getColumnIndexOrThrow
(BluetoothShare.TIMESTAMP)
[
all
...]
/packages/apps/Mms/src/com/android/mms/model/
AudioModel.java
72
path = c.getString(c.
getColumnIndexOrThrow
(Part._DATA));
73
mContentType = c.getString(c.
getColumnIndexOrThrow
(Part.CONTENT_TYPE));
75
path = c.getString(c.
getColumnIndexOrThrow
(Audio.Media.DATA));
76
mContentType = c.getString(c.
getColumnIndexOrThrow
(
80
String album = c.getString(c.
getColumnIndexOrThrow
("album"));
85
String artist = c.getString(c.
getColumnIndexOrThrow
("artist"));
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DownloadAdapter.java
70
mIdColumnId = cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_ID);
71
mTitleColumnId = cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_TITLE);
72
mDescriptionColumnId = cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_DESCRIPTION);
73
mStatusColumnId = cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_STATUS);
74
mReasonColumnId = cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_REASON);
75
mTotalBytesColumnId = cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_TOTAL_SIZE_BYTES);
76
mMediaTypeColumnId = cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_MEDIA_TYPE);
78
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP);
80
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_LOCAL_FILENAME);
DateSortedDownloadAdapter.java
37
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP));
/cts/tests/tests/database/src/android/database/sqlite/cts/
DatabaseStatementTest.java
141
int numCol = c.
getColumnIndexOrThrow
("num");
163
int numCol = c.
getColumnIndexOrThrow
("num");
186
int numCol = c.
getColumnIndexOrThrow
("num");
208
int numCol = c.
getColumnIndexOrThrow
("num");
209
int valCol = c.
getColumnIndexOrThrow
("value");
233
int numCol = c.
getColumnIndexOrThrow
("num");
234
int strCol = c.
getColumnIndexOrThrow
("str");
268
int numCol = c.
getColumnIndexOrThrow
("num");
269
int strCol = c.
getColumnIndexOrThrow
("str");
317
int numCol = c.
getColumnIndexOrThrow
("num")
[
all
...]
/frameworks/base/core/tests/coretests/src/android/database/
DatabaseStatementTest.java
140
int numCol = c.
getColumnIndexOrThrow
("num");
162
int numCol = c.
getColumnIndexOrThrow
("num");
185
int numCol = c.
getColumnIndexOrThrow
("num");
207
int numCol = c.
getColumnIndexOrThrow
("num");
208
int valCol = c.
getColumnIndexOrThrow
("value");
232
int numCol = c.
getColumnIndexOrThrow
("num");
233
int strCol = c.
getColumnIndexOrThrow
("str");
267
int numCol = c.
getColumnIndexOrThrow
("num");
268
int strCol = c.
getColumnIndexOrThrow
("str");
316
int numCol = c.
getColumnIndexOrThrow
("num")
[
all
...]
/packages/apps/VoiceDialer/src/com/android/voicedialer/
VoiceContact.java
135
final int phoneIdColumn = cursor.
getColumnIndexOrThrow
(Phone._ID);
136
final int typeColumn = cursor.
getColumnIndexOrThrow
(Phone.TYPE);
137
final int isPrimaryColumn = cursor.
getColumnIndexOrThrow
(Phone.IS_PRIMARY);
138
final int labelColumn = cursor.
getColumnIndexOrThrow
(Phone.LABEL);
139
final int nameColumn = cursor.
getColumnIndexOrThrow
(Phone.DISPLAY_NAME);
140
final int personIdColumn = cursor.
getColumnIndexOrThrow
(Phone.CONTACT_ID);
312
int column = cursor.
getColumnIndexOrThrow
(CallLog.Calls.NUMBER);
/frameworks/opt/telephony/src/java/android/telephony/
CellBroadcastMessage.java
104
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.GEOGRAPHICAL_SCOPE));
106
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.SERIAL_NUMBER));
108
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.SERVICE_CATEGORY));
110
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.LANGUAGE_CODE));
112
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.MESSAGE_BODY));
114
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.MESSAGE_FORMAT));
116
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.MESSAGE_PRIORITY));
214
long deliveryTime = cursor.getLong(cursor.
getColumnIndexOrThrow
(
216
boolean isRead = (cursor.getInt(cursor.
getColumnIndexOrThrow
(
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
OpenHelper.java
107
return cursor.getInt(cursor.
getColumnIndexOrThrow
(Constants.UID));
117
return cursor.getString(cursor.
getColumnIndexOrThrow
(column));
125
return cursor.getLong(cursor.
getColumnIndexOrThrow
(column));
129
return new File(cursor.getString(cursor.
getColumnIndexOrThrow
(column)));
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
VoicemailProviderHelpers.java
272
long id = cursor.getLong(cursor.
getColumnIndexOrThrow
(Voicemails._ID));
274
cursor.
getColumnIndexOrThrow
(Voicemails.SOURCE_PACKAGE));
277
.setTimestamp(cursor.getLong(cursor.
getColumnIndexOrThrow
(Voicemails.DATE)))
278
.setNumber(cursor.getString(cursor.
getColumnIndexOrThrow
(Voicemails.NUMBER)))
280
.setDuration(cursor.getLong(cursor.
getColumnIndexOrThrow
(Voicemails.DURATION)))
283
cursor.
getColumnIndexOrThrow
(Voicemails.SOURCE_DATA)))
286
cursor.
getColumnIndexOrThrow
(Voicemails.HAS_CONTENT)) == 1)
287
.setIsRead(cursor.getInt(cursor.
getColumnIndexOrThrow
(Voicemails.IS_READ)) == 1)
/packages/apps/Calendar/src/com/android/calendar/event/
CreateEventDialogFragment.java
277
int calendarOwnerIndex = cursor.
getColumnIndexOrThrow
(Calendars.OWNER_ACCOUNT);
278
int accountNameIndex = cursor.
getColumnIndexOrThrow
(Calendars.ACCOUNT_NAME);
279
int accountTypeIndex = cursor.
getColumnIndexOrThrow
(Calendars.ACCOUNT_TYPE);
305
int calendarIdIndex = cursor.
getColumnIndexOrThrow
(Calendars._ID);
306
int colorIndex = cursor.
getColumnIndexOrThrow
(Calendars.CALENDAR_COLOR);
307
int calendarNameIndex = cursor.
getColumnIndexOrThrow
(Calendars.CALENDAR_DISPLAY_NAME);
308
int accountNameIndex = cursor.
getColumnIndexOrThrow
(Calendars.ACCOUNT_NAME);
309
int calendarOwnerIndex = cursor.
getColumnIndexOrThrow
(Calendars.OWNER_ACCOUNT);
/packages/apps/Music/src/com/android/music/
MediaPickerActivity.java
99
String type = mCursor.getString(mCursor.
getColumnIndexOrThrow
(
109
mediaId = mCursor.getLong(mCursor.
getColumnIndexOrThrow
(
113
mediaId = mCursor.getLong(mCursor.
getColumnIndexOrThrow
(
235
mTitleIdx = cursor.
getColumnIndexOrThrow
(MediaStore.Audio.Media.TITLE);
236
mArtistIdx = cursor.
getColumnIndexOrThrow
(MediaStore.Audio.Media.ARTIST);
237
mAlbumIdx = cursor.
getColumnIndexOrThrow
(MediaStore.Audio.Media.ALBUM);
238
mMimeIdx = cursor.
getColumnIndexOrThrow
(MediaStore.Audio.Media.MIME_TYPE);
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
AbstractPublicApiTest.java
61
return (int) cursor.getLong(cursor.
getColumnIndexOrThrow
(
77
return cursor.getString(cursor.
getColumnIndexOrThrow
(field));
88
return cursor.getLong(cursor.
getColumnIndexOrThrow
(field));
174
cursor.
getColumnIndexOrThrow
(
177
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_TOTAL_SIZE_BYTES));
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCursorAdapter.java
149
mRowIDColumn = cursorPresent ? c.
getColumnIndexOrThrow
("_id") : -1;
198
this.mCursor.
getColumnIndexOrThrow
("_id");
304
mRowIDColumn = cursor.
getColumnIndexOrThrow
("_id");
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
SelectCalendarsSyncAdapter.java
112
mIdColumn = c.
getColumnIndexOrThrow
(Calendars._ID);
113
mNameColumn = c.
getColumnIndexOrThrow
(Calendars.CALENDAR_DISPLAY_NAME);
114
mColorColumn = c.
getColumnIndexOrThrow
(Calendars.CALENDAR_COLOR);
115
mSyncedColumn = c.
getColumnIndexOrThrow
(Calendars.SYNC_EVENTS);
116
mAccountNameColumn = c.
getColumnIndexOrThrow
(Calendars.ACCOUNT_NAME);
117
mAccountTypeColumn = c.
getColumnIndexOrThrow
(Calendars.ACCOUNT_TYPE);
/packages/apps/Mms/src/com/android/mms/transaction/
RetryScheduler.java
117
int msgType = cursor.getInt(cursor.
getColumnIndexOrThrow
(
120
int retryIndex = cursor.getInt(cursor.
getColumnIndexOrThrow
(
224
int columnIndex = cursor.
getColumnIndexOrThrow
(
245
respStatus = cursor.getInt(cursor.
getColumnIndexOrThrow
(Mms.RESPONSE_STATUS));
263
retrieveStatus = cursor.getInt(cursor.
getColumnIndexOrThrow
(
284
long retryAt = cursor.getLong(cursor.
getColumnIndexOrThrow
(
/cts/tests/tests/provider/src/android/provider/cts/
Settings_NameValueTableTest.java
53
assertEquals("name1", c.getString(c.
getColumnIndexOrThrow
(NameValueTable.NAME)));
54
assertEquals("value1", c.getString(c.
getColumnIndexOrThrow
(NameValueTable.VALUE)));
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
WordActivity.java
59
int wIndex = cursor.
getColumnIndexOrThrow
(DictionaryDatabase.KEY_WORD);
60
int dIndex = cursor.
getColumnIndexOrThrow
(DictionaryDatabase.KEY_DEFINITION);
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
NoteEdit.java
72
note.
getColumnIndexOrThrow
(NotesDbAdapter.KEY_TITLE)));
74
note.
getColumnIndexOrThrow
(NotesDbAdapter.KEY_BODY)));
Completed in 574 milliseconds
1
2
3
4
5