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
180
) sorted by null
1
2
3
4
5
6
7
8
/frameworks/base/apct-tests/perftests/core/src/android/database/
TableHelper.java
70
final int cursorIndexOfA = cursor.
getColumnIndexOrThrow
("a");
125
final int cursorIndexOfA = cursor.
getColumnIndexOrThrow
("a");
126
final int cursorIndexOfB = cursor.
getColumnIndexOrThrow
("b");
127
final int cursorIndexOfC = cursor.
getColumnIndexOrThrow
("c");
128
final int cursorIndexOfD = cursor.
getColumnIndexOrThrow
("d");
129
final int cursorIndexOfE = cursor.
getColumnIndexOrThrow
("e");
130
final int cursorIndexOfF = cursor.
getColumnIndexOrThrow
("f");
131
final int cursorIndexOfG = cursor.
getColumnIndexOrThrow
("g");
132
final int cursorIndexOfH = cursor.
getColumnIndexOrThrow
("h");
133
final int cursorIndexOfI = cursor.
getColumnIndexOrThrow
("i")
[
all
...]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
ReadableArchiveTest.java
91
cursor.getString(cursor.
getColumnIndexOrThrow
(Document.COLUMN_DOCUMENT_ID)));
93
cursor.getString(cursor.
getColumnIndexOrThrow
(Document.COLUMN_DISPLAY_NAME)));
95
cursor.getString(cursor.
getColumnIndexOrThrow
(Document.COLUMN_MIME_TYPE)));
97
cursor.getInt(cursor.
getColumnIndexOrThrow
(Document.COLUMN_SIZE)));
101
cursor.getString(cursor.
getColumnIndexOrThrow
(Document.COLUMN_DOCUMENT_ID)));
103
cursor.getString(cursor.
getColumnIndexOrThrow
(Document.COLUMN_DISPLAY_NAME)));
105
cursor.getString(cursor.
getColumnIndexOrThrow
(Document.COLUMN_MIME_TYPE)));
107
cursor.getInt(cursor.
getColumnIndexOrThrow
(Document.COLUMN_SIZE)));
112
cursor.getString(cursor.
getColumnIndexOrThrow
(Document.COLUMN_DOCUMENT_ID)));
114
cursor.getString(cursor.
getColumnIndexOrThrow
(Document.COLUMN_DISPLAY_NAME)))
[
all
...]
WriteableArchiveTest.java
159
cursor.getString(cursor.
getColumnIndexOrThrow
(Document.COLUMN_DOCUMENT_ID)));
161
cursor.getString(cursor.
getColumnIndexOrThrow
(Document.COLUMN_DISPLAY_NAME)));
163
cursor.getString(cursor.
getColumnIndexOrThrow
(Document.COLUMN_MIME_TYPE)));
165
cursor.getInt(cursor.
getColumnIndexOrThrow
(Document.COLUMN_SIZE)));
174
cursor.getString(cursor.
getColumnIndexOrThrow
(Document.COLUMN_DOCUMENT_ID)));
176
cursor.getString(cursor.
getColumnIndexOrThrow
(Document.COLUMN_DISPLAY_NAME)));
178
cursor.getString(cursor.
getColumnIndexOrThrow
(Document.COLUMN_MIME_TYPE)));
180
cursor.getInt(cursor.
getColumnIndexOrThrow
(Document.COLUMN_SIZE)));
209
cursor.getString(cursor.
getColumnIndexOrThrow
(Document.COLUMN_DOCUMENT_ID)));
211
cursor.getString(cursor.
getColumnIndexOrThrow
(Document.COLUMN_DISPLAY_NAME)))
[
all
...]
/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)));
333
assertEquals(1, mCursor.getInt(mCursor.
getColumnIndexOrThrow
(COLUMN_ID_NAME)));
334
assertEquals(KEY1, mCursor.getString(mCursor.
getColumnIndexOrThrow
(COLUMN_KEY_NAME)));
335
assertEquals(VALUE1, mCursor.getInt(mCursor.
getColumnIndexOrThrow
(COLUMN_VALUE_NAME)));
346
assertEquals(3, mCursor.getInt(mCursor.
getColumnIndexOrThrow
(COLUMN_ID_NAME)))
[
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));
/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
90
info.mID = cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare._ID));
91
info.mStatus = cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare.STATUS));
93
.
getColumnIndexOrThrow
(BluetoothShare.DIRECTION));
95
.
getColumnIndexOrThrow
(BluetoothShare.TOTAL_BYTES));
97
.
getColumnIndexOrThrow
(BluetoothShare.CURRENT_BYTES));
99
.
getColumnIndexOrThrow
(BluetoothShare.TIMESTAMP));
101
.
getColumnIndexOrThrow
(BluetoothShare.DESTINATION));
104
.
getColumnIndexOrThrow
(BluetoothShare._DATA));
107
.
getColumnIndexOrThrow
(BluetoothShare.FILENAME_HINT));
113
info.mFileUri = cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare.URI))
[
all
...]
BluetoothOppService.java
492
int idColumn = cursor.
getColumnIndexOrThrow
(BluetoothShare._ID);
601
String uriString = cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare.URI));
611
cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare._ID)),
613
cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare.FILENAME_HINT)),
614
cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare._DATA)),
615
cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare.MIMETYPE)),
616
cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare.DIRECTION)),
617
cursor.getString(cursor.
getColumnIndexOrThrow
(BluetoothShare.DESTINATION)),
618
cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare.VISIBILITY)),
619
cursor.getInt(cursor.
getColumnIndexOrThrow
(BluetoothShare.USER_CONFIRMATION))
[
all
...]
/packages/apps/Camera2/src/com/android/camera/data/
DataUtils.java
38
int columnIndex = cursor.
getColumnIndexOrThrow
(MediaStore.Images.Media.DATA);
/frameworks/support/room/compiler/src/test/data/daoWriter/output/
ComplexDao.java
49
final int _cursorIndexOfFullName = _cursor.
getColumnIndexOrThrow
("fullName");
50
final int _cursorIndexOfId = _cursor.
getColumnIndexOrThrow
("id");
74
final int _cursorIndexOfUid = _cursor.
getColumnIndexOrThrow
("uid");
75
final int _cursorIndexOfName = _cursor.
getColumnIndexOrThrow
("name");
76
final int _cursorIndexOfLastName = _cursor.
getColumnIndexOrThrow
("lastName");
77
final int _cursorIndexOfAge = _cursor.
getColumnIndexOrThrow
("ageColumn");
115
final int _cursorIndexOfUid = _cursor.
getColumnIndexOrThrow
("uid");
116
final int _cursorIndexOfName = _cursor.
getColumnIndexOrThrow
("name");
117
final int _cursorIndexOfLastName = _cursor.
getColumnIndexOrThrow
("lastName");
118
final int _cursorIndexOfAge = _cursor.
getColumnIndexOrThrow
("ageColumn")
[
all
...]
/development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/sms/
SmsTest.java
54
String number = c.getString(c.
getColumnIndexOrThrow
("address"));
55
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/Dialer/java/com/android/dialer/calllog/ui/
NewCallLogAdapter.java
32
timestampIndex = cursor.
getColumnIndexOrThrow
(CoalescedAnnotatedCallLog.TIMESTAMP);
/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/Car/Radio/src/com/android/car/radio/
RadioDatabase.java
164
cursor.
getColumnIndexOrThrow
(RadioPresetsTable.Columns.CHANNEL_NUMBER));
166
cursor.
getColumnIndexOrThrow
(RadioPresetsTable.Columns.SUB_CHANNEL));
168
cursor.
getColumnIndexOrThrow
(RadioPresetsTable.Columns.BAND));
170
cursor.
getColumnIndexOrThrow
(RadioPresetsTable.Columns.PROGRAM_SERVICE));
284
int channel = cursor.getInt(cursor.
getColumnIndexOrThrow
(
287
cursor.
getColumnIndexOrThrow
(PreScannedStationsTable.Columns.SUB_CHANNEL));
289
cursor.
getColumnIndexOrThrow
(PreScannedStationsTable.Columns.BAND));
290
String programService = cursor.getString(cursor.
getColumnIndexOrThrow
(
/packages/apps/Launcher3/src/com/android/launcher3/provider/
ImportDataTask.java
165
final int idIndex = c.
getColumnIndexOrThrow
(Favorites._ID);
166
final int intentIndex = c.
getColumnIndexOrThrow
(Favorites.INTENT);
167
final int titleIndex = c.
getColumnIndexOrThrow
(Favorites.TITLE);
168
final int containerIndex = c.
getColumnIndexOrThrow
(Favorites.CONTAINER);
169
final int itemTypeIndex = c.
getColumnIndexOrThrow
(Favorites.ITEM_TYPE);
170
final int widgetProviderIndex = c.
getColumnIndexOrThrow
(Favorites.APPWIDGET_PROVIDER);
171
final int screenIndex = c.
getColumnIndexOrThrow
(Favorites.SCREEN);
172
final int cellXIndex = c.
getColumnIndexOrThrow
(Favorites.CELLX);
173
final int cellYIndex = c.
getColumnIndexOrThrow
(Favorites.CELLY);
174
final int spanXIndex = c.
getColumnIndexOrThrow
(Favorites.SPANX)
[
all
...]
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/
SystemCallLogDataSource.java
209
int idColumn = cursor.
getColumnIndexOrThrow
(Calls._ID);
210
int dateColumn = cursor.
getColumnIndexOrThrow
(Calls.DATE);
211
int lastModifiedColumn = cursor.
getColumnIndexOrThrow
(Calls.LAST_MODIFIED);
212
int numberColumn = cursor.
getColumnIndexOrThrow
(Calls.NUMBER);
213
int countryIsoColumn = cursor.
getColumnIndexOrThrow
(Calls.COUNTRY_ISO);
283
int idColumn = cursor.
getColumnIndexOrThrow
(AnnotatedCallLog._ID);
317
int idColumn = cursor.
getColumnIndexOrThrow
(Calls._ID);
/packages/apps/Music/src/com/android/music/
MediaPickerActivity.java
90
mCursor.getString(mCursor.
getColumnIndexOrThrow
(MediaStore.Audio.Media.MIME_TYPE));
100
mCursor.getLong(mCursor.
getColumnIndexOrThrow
(MediaStore.Video.Media._ID));
104
mCursor.getLong(mCursor.
getColumnIndexOrThrow
(MediaStore.Audio.Media._ID));
216
mTitleIdx = cursor.
getColumnIndexOrThrow
(MediaStore.Audio.Media.TITLE);
217
mArtistIdx = cursor.
getColumnIndexOrThrow
(MediaStore.Audio.Media.ARTIST);
218
mAlbumIdx = cursor.
getColumnIndexOrThrow
(MediaStore.Audio.Media.ALBUM);
219
mMimeIdx = cursor.
getColumnIndexOrThrow
(MediaStore.Audio.Media.MIME_TYPE);
/packages/apps/Launcher3/src/com/android/launcher3/model/
LoaderCursor.java
106
iconIndex =
getColumnIndexOrThrow
(LauncherSettings.Favorites.ICON);
107
iconPackageIndex =
getColumnIndexOrThrow
(LauncherSettings.Favorites.ICON_PACKAGE);
108
iconResourceIndex =
getColumnIndexOrThrow
(LauncherSettings.Favorites.ICON_RESOURCE);
109
titleIndex =
getColumnIndexOrThrow
(LauncherSettings.Favorites.TITLE);
111
idIndex =
getColumnIndexOrThrow
(LauncherSettings.Favorites._ID);
112
containerIndex =
getColumnIndexOrThrow
(LauncherSettings.Favorites.CONTAINER);
113
itemTypeIndex =
getColumnIndexOrThrow
(LauncherSettings.Favorites.ITEM_TYPE);
114
screenIndex =
getColumnIndexOrThrow
(LauncherSettings.Favorites.SCREEN);
115
cellXIndex =
getColumnIndexOrThrow
(LauncherSettings.Favorites.CELLX);
116
cellYIndex =
getColumnIndexOrThrow
(LauncherSettings.Favorites.CELLY)
[
all
...]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadStorageProvider.java
311
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_MEDIA_TYPE));
313
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_MEDIAPROVIDER_URI));
353
rawFilesCursor.
getColumnIndexOrThrow
(Document.COLUMN_DOCUMENT_ID));
401
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_LOCAL_FILENAME));
438
final long id = cursor.getLong(cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_ID));
442
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_TITLE));
444
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_DESCRIPTION));
446
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_MEDIA_TYPE));
452
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_TOTAL_SIZE_BYTES));
457
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_LOCAL_FILENAME))
[
all
...]
/frameworks/opt/telephony/src/java/android/telephony/
CellBroadcastMessage.java
131
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.GEOGRAPHICAL_SCOPE));
133
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.SERIAL_NUMBER));
135
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.SERVICE_CATEGORY));
137
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.LANGUAGE_CODE));
139
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.MESSAGE_BODY));
141
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.MESSAGE_FORMAT));
143
cursor.
getColumnIndexOrThrow
(Telephony.CellBroadcasts.MESSAGE_PRIORITY));
241
long deliveryTime = cursor.getLong(cursor.
getColumnIndexOrThrow
(
243
boolean isRead = (cursor.getInt(cursor.
getColumnIndexOrThrow
(
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
AbstractPublicApiTest.java
66
return (int) cursor.getLong(cursor.
getColumnIndexOrThrow
(
82
return cursor.getString(cursor.
getColumnIndexOrThrow
(field));
93
return cursor.getLong(cursor.
getColumnIndexOrThrow
(field));
183
cursor.
getColumnIndexOrThrow
(
186
cursor.
getColumnIndexOrThrow
(DownloadManager.COLUMN_TOTAL_SIZE_BYTES));
/external/robolectric/v1/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");
Completed in 1111 milliseconds
1
2
3
4
5
6
7
8