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
144
) sorted by null
1
2
3
4
5
6
/packages/apps/Mms/src/com/android/mms/ui/
MessageListAdapter.java
372
mColumnMsgType = cursor.
getColumnIndexOrThrow
(
379
mColumnMsgId = cursor.
getColumnIndexOrThrow
(BaseColumns._ID);
385
mColumnSmsAddress = cursor.
getColumnIndexOrThrow
(Sms.ADDRESS);
391
mColumnSmsBody = cursor.
getColumnIndexOrThrow
(Sms.BODY);
397
mColumnSmsDate = cursor.
getColumnIndexOrThrow
(Sms.DATE);
403
mColumnSmsDateSent = cursor.
getColumnIndexOrThrow
(Sms.DATE_SENT);
409
mColumnSmsType = cursor.
getColumnIndexOrThrow
(Sms.TYPE);
415
mColumnSmsStatus = cursor.
getColumnIndexOrThrow
(Sms.STATUS);
421
mColumnSmsLocked = cursor.
getColumnIndexOrThrow
(Sms.LOCKED);
427
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
452
int idColumn = cursor.
getColumnIndexOrThrow
(BluetoothShare._ID);
561
String uriString = cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare.URI));
571
cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare._ID)),
573
cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare.FILENAME_HINT)),
574
cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare._DATA)),
575
cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare.MIMETYPE)),
576
cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare.DIRECTION)),
577
cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare.DESTINATION)),
578
cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare.VISIBILITY)),
579
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);
379
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/apps/Camera2/src/com/android/camera/data/
DataUtils.java
38
int columnIndex = cursor.
getColumnIndexOrThrow
(MediaStore.Images.Media.DATA);
/development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/sms/
SmsTest.java
56
String number = c.getString(c.
getColumnIndexOrThrow
("address"));
57
String body = c.getString(c.
getColumnIndexOrThrow
("body"));
/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);
/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/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadStorageProvider.java
240
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_MEDIA_TYPE));
242
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_MEDIAPROVIDER_URI));
291
final long id = cursor.getLong(cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_ID));
295
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_TITLE));
297
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_DESCRIPTION));
299
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_MEDIA_TYPE));
305
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_TOTAL_SIZE_BYTES));
311
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_STATUS));
322
final long progress = cursor.getLong(cursor.
getColumnIndexOrThrow
(
344
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP))
[
all
...]
OpenHelper.java
133
return cursor.getInt(cursor.
getColumnIndexOrThrow
(Constants.UID));
143
return cursor.getString(cursor.
getColumnIndexOrThrow
(column));
151
return new File(cursor.getString(cursor.
getColumnIndexOrThrow
(column)));
/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);
/frameworks/opt/telephony/src/java/android/telephony/
CellBroadcastMessage.java
129
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.GEOGRAPHICAL_SCOPE));
131
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.SERIAL_NUMBER));
133
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.SERVICE_CATEGORY));
135
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.LANGUAGE_CODE));
137
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.MESSAGE_BODY));
139
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.MESSAGE_FORMAT));
141
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.MESSAGE_PRIORITY));
239
long deliveryTime = cursor.getLong(cursor.
getColumnIndexOrThrow
(
241
boolean isRead = (cursor.getInt(cursor.
getColumnIndexOrThrow
(
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
AbstractPublicApiTest.java
64
return (int) cursor.getLong(cursor.
getColumnIndexOrThrow
(
80
return cursor.getString(cursor.
getColumnIndexOrThrow
(field));
91
return cursor.getLong(cursor.
getColumnIndexOrThrow
(field));
181
cursor.
getColumnIndexOrThrow
(
184
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);
Completed in 1761 milliseconds
1
2
3
4
5
6