/cts/tests/tests/database/src/android/database/cts/ |
MatrixCursorTest.java | 217 assertEquals(COLUMN0_INDEX, mMatrixCursor.getColumnIndex(COLUMN0_NAME)); 218 assertEquals(COLUMN1_INDEX, mMatrixCursor.getColumnIndex(COLUMN1_NAME)); 219 assertEquals(COLUMN2_INDEX, mMatrixCursor.getColumnIndex(COLUMN2_NAME));
|
AbstractCursorTest.java | 511 method = "getColumnIndex", 517 assertEquals(POSITION0, mDatabaseCursor.getColumnIndex(COLUMN_NAMES1[POSITION0])); 518 assertEquals(POSITION1, mDatabaseCursor.getColumnIndex(COLUMN_NAMES1[POSITION1])); 532 method = "getColumnIndex.", 536 assertEquals(POSITION0, mDatabaseCursor.getColumnIndex(COLUMN_NAMES1[POSITION0])); 537 assertEquals(POSITION1, mDatabaseCursor.getColumnIndex(COLUMN_NAMES1[POSITION1]));
|
CursorWrapperTest.java | 253 notes = "Test getColumnIndex(String)", 254 method = "getColumnIndex", 281 // Test getColumnIndex 282 assertEquals(0, cursorWrapper.getColumnIndex("_id")); 283 assertEquals(1, cursorWrapper.getColumnIndex("number")); 284 assertEquals(-1, cursorWrapper.getColumnIndex("NON_EXISTENCE"));
|
/packages/apps/Phone/src/com/android/phone/ |
BluetoothAtPhonebook.java | 356 pbr.numberColumn = pbr.cursor.getColumnIndex(Phone.NUMBER); 357 pbr.typeColumn = pbr.cursor.getColumnIndex(Phone.TYPE); 358 pbr.nameColumn = pbr.cursor.getColumnIndex(Phone.DISPLAY_NAME);
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
MyRssReader4.java | 185 int hasBeenReadColumnIndex = getCursor().getColumnIndex(
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
ExportTestProvider.java | 157 public int getColumnIndex(String columnName) {
|
/packages/apps/Browser/tests/src/com/android/browser/ |
BrowserProviderTests.java | 171 int col = c.getColumnIndex(name);
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
SearchRecentSuggestionsProviderTest.java | 164 int colDisplay2 = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); 320 int colDisplay2 = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
BaseContactsProvider2Test.java | 554 long contactId = c.getLong(c.getColumnIndex(RawContacts.CONTACT_ID)); 562 long photoId = c.getInt(c.getColumnIndex(Contacts.PHOTO_ID)); 576 return c.getLong(c.getColumnIndex(RawContacts.STARRED)) != 0; 585 String displayName = c.getString(c.getColumnIndex(Contacts.DISPLAY_NAME)); 593 String lookupKey = c.getString(c.getColumnIndex(Contacts.LOOKUP_KEY)); [all...] |
/packages/apps/Browser/src/com/android/browser/provider/ |
BrowserProvider.java | 492 mSuggestText1Id = mSuggestCursor.getColumnIndex( 494 mSuggestText2Id = mSuggestCursor.getColumnIndex( 496 mSuggestText2UrlId = mSuggestCursor.getColumnIndex( 498 mSuggestQueryId = mSuggestCursor.getColumnIndex( 500 mSuggestIntentExtraDataId = mSuggestCursor.getColumnIndex( [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
ShortcutPickerFragment.java | 368 long mailboxId = cursor.getLong(cursor.getColumnIndex(REAL_ID)); 408 long mailboxId = data.getLong(data.getColumnIndex(REAL_ID));
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
SearchIndexManager.java | 99 return mCursor.getString(mCursor.getColumnIndex(columnName)); 103 return mCursor.getInt(mCursor.getColumnIndex(columnName));
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
StorageManager.java | 332 File file = new File(cursor.getString(cursor.getColumnIndex(Downloads.Impl._DATA))); 339 long id = cursor.getLong(cursor.getColumnIndex(Downloads.Impl._ID));
|
DownloadReceiver.java | 178 cursor.getInt(cursor.getColumnIndex(Downloads.Impl.COLUMN_IS_PUBLIC_API)) != 0;
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteCursor.java | 181 public int getColumnIndex(String columnName) {
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
ResultActivity.java | 118 int index = cursor.getColumnIndex(names[i]);
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
MailboxFragmentAdapterTest.java | 117 Assert.assertTrue(cursor.getLong(cursor.getColumnIndex("_id")) >= 0);
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarProvider2Test.java | 386 int beginColumn = cursor.getColumnIndex(Instances.BEGIN); 400 int titleColumn = cursor.getColumnIndex(Events.TITLE); 401 int allDayColumn = cursor.getColumnIndex(Events.ALL_DAY); 460 int beginColumn = cursor.getColumnIndex(Instances.BEGIN); [all...] |
/frameworks/base/core/java/android/content/ |
SyncStorageEngine.java | [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
EntrySchema.java | 85 public int getColumnIndex(String columnName) { 95 int index = getColumnIndex(columnName);
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteCursorTest.java | 258 method = "getColumnIndex", 271 assertEquals(i, cursor.getColumnIndex(COLUMNS[i]));
|
SQLiteStatementTest.java | 170 assertEquals(STRING2, c.getString(c.getColumnIndex("data")));
|
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerFunctionalTest.java | 139 int colIndex = cursor.getColumnIndex(DownloadManager.COLUMN_LOCAL_FILENAME);
|
/frameworks/ex/common/java/com/android/common/widget/ |
CompositeCursorAdapter.java | 218 mPartitions[partition].idColumnIndex = cursor.getColumnIndex("_id");
|
/packages/apps/Settings/src/com/android/settings/quicklaunch/ |
QuickLaunchSettings.java | 313 int intentColumn = c.getColumnIndex(Bookmarks.INTENT);
|