/libcore/luni/src/main/java/java/sql/ |
ResultSet.java | 218 * @param columnName 225 public int findColumn(String columnName) throws SQLException; 277 * @param columnName 283 public InputStream getAsciiStream(String columnName) throws SQLException; 318 * @param columnName 324 public BigDecimal getBigDecimal(String columnName) throws SQLException; 331 * @param columnName 340 public BigDecimal getBigDecimal(String columnName, int scale) 369 * @param columnName 376 public InputStream getBinaryStream(String columnName) throws SQLException [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
AbstractSuggestionExtras.java | 45 public String getExtra(String columnName) { 46 String extra = doGetExtra(columnName); 48 extra = mMore.getExtra(columnName); 53 protected abstract String doGetExtra(String columnName);
|
SuggestionExtras.java | 33 * @param columnName The column to get a value from. 35 String getExtra(String columnName);
|
JsonBackedSuggestionExtras.java | 54 public String getExtra(String columnName) { 56 if (mExtras.isNull(columnName)) { 59 return mExtras.getString(columnName);
|
CursorBackedSuggestionExtras.java | 93 public String doGetExtra(String columnName) { 96 int columnIdx = mCursor.getColumnIndex(columnName); 101 Log.e(TAG, "getExtra(" + columnName + ") failed, ", ex);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
StreamItemPhotoEntry.java | 112 private static String getString(Cursor cursor, String columnName) { 113 return cursor.getString(cursor.getColumnIndex(columnName)); 116 private static int getInt(Cursor cursor, String columnName, int missingValue) { 117 final int columnIndex = cursor.getColumnIndex(columnName); 121 private static long getLong(Cursor cursor, String columnName) { 122 final int columnIndex = cursor.getColumnIndex(columnName);
|
StreamItemEntry.java | 189 private static String getString(Cursor cursor, String columnName) { 190 return cursor.getString(cursor.getColumnIndex(columnName)); 193 private static long getLong(Cursor cursor, String columnName) { 194 final int columnIndex = cursor.getColumnIndex(columnName);
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockSuggestionExtras.java | 39 public String doGetExtra(String columnName) { 40 Object o = mMap.get(columnName);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
DataStatus.java | 144 private static String getString(Cursor cursor, String columnName) { 145 return cursor.getString(cursor.getColumnIndex(columnName)); 148 private static int getInt(Cursor cursor, String columnName) { 149 return cursor.getInt(cursor.getColumnIndex(columnName)); 152 private static int getInt(Cursor cursor, String columnName, int missingValue) { 153 final int columnIndex = cursor.getColumnIndex(columnName); 157 private static long getLong(Cursor cursor, String columnName, long missingValue) { 158 final int columnIndex = cursor.getColumnIndex(columnName); 162 private static boolean isNull(Cursor cursor, String columnName) { 163 return cursor.isNull(cursor.getColumnIndex(columnName)); [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
DataStatus.java | 138 private static String getString(Cursor cursor, String columnName) { 139 return cursor.getString(cursor.getColumnIndex(columnName)); 142 private static int getInt(Cursor cursor, String columnName) { 143 return cursor.getInt(cursor.getColumnIndex(columnName)); 146 private static int getInt(Cursor cursor, String columnName, int missingValue) { 147 final int columnIndex = cursor.getColumnIndex(columnName); 151 private static long getLong(Cursor cursor, String columnName, long missingValue) { 152 final int columnIndex = cursor.getColumnIndex(columnName); 156 private static boolean isNull(Cursor cursor, String columnName) { 157 return cursor.isNull(cursor.getColumnIndex(columnName)); [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_TestDataBuilder.java | 197 public long getLong(String columnName) { 198 return mCursor.getLong(mCursor.getColumnIndex(columnName)); 201 public String getString(String columnName) { 202 return mCursor.getString(mCursor.getColumnIndex(columnName)); 205 public void assertColumn(String columnName, long value) { 206 assertEquals(value, mCursor.getLong(getColumnIndex(columnName))); 209 public void assertColumn(String columnName, String value) { 210 assertEquals(value, mCursor.getString(getColumnIndex(columnName))); 213 public void assertColumn(String columnName, byte[] value) { 214 assertEquals(value, mCursor.getBlob(getColumnIndex(columnName))); [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
MatrixCursorWithCachedColumns.java | 42 public int getColumnIndex(String columnName) { 43 final Integer i = mColumnNameMap.get(columnName);
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/ |
Impl_RowSet.java | 273 public int findColumn(String columnName) throws SQLException { 293 public InputStream getAsciiStream(String columnName) throws SQLException { 306 public BigDecimal getBigDecimal(String columnName, int scale) 311 public BigDecimal getBigDecimal(String columnName) throws SQLException { 319 public InputStream getBinaryStream(String columnName) throws SQLException { 327 public Blob getBlob(String columnName) throws SQLException { 335 public boolean getBoolean(String columnName) throws SQLException { 343 public byte getByte(String columnName) throws SQLException { 351 public byte[] getBytes(String columnName) throws SQLException { 359 public Reader getCharacterStream(String columnName) throws SQLException [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
EntrySchema.java | 85 public int getColumnIndex(String columnName) { 87 if (column.name.equals(columnName)) { 94 public ColumnInfo getColumn(String columnName) { 95 int index = getColumnIndex(columnName); 157 String columnName = column.name; 161 setIfNotNull(field, object, values.getAsString(columnName)); 164 setIfNotNull(field, object, values.getAsBoolean(columnName)); 167 setIfNotNull(field, object, values.getAsShort(columnName)); 170 setIfNotNull(field, object, values.getAsInteger(columnName)); 173 setIfNotNull(field, object, values.getAsLong(columnName)); [all...] |
/frameworks/base/core/java/android/database/ |
AbstractCursor.java | 275 public int getColumnIndex(String columnName) { 277 final int periodIndex = columnName.lastIndexOf('.'); 280 Log.e(TAG, "requesting column name with table name -- " + columnName, e); 281 columnName = columnName.substring(periodIndex + 1); 287 if (columnNames[i].equalsIgnoreCase(columnName)) { 294 Log.w("AbstractCursor", "Unknown column " + columnName); 300 public int getColumnIndexOrThrow(String columnName) { 301 final int index = getColumnIndex(columnName); 303 throw new IllegalArgumentException("column '" + columnName + "' does not exist") [all...] |
CursorWrapper.java | 72 public int getColumnIndex(String columnName) { 73 return mCursor.getColumnIndex(columnName); 76 public int getColumnIndexOrThrow(String columnName) 78 return mCursor.getColumnIndexOrThrow(columnName);
|
Cursor.java | 175 * @param columnName the name of the target column. 180 int getColumnIndex(String columnName); 188 * @param columnName the name of the target column. 193 int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException;
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteCursor.java | 165 public int getColumnIndex(String columnName) { 178 final int periodIndex = columnName.lastIndexOf('.'); 181 Log.e(TAG, "requesting column name with table name -- " + columnName, e); 182 columnName = columnName.substring(periodIndex + 1); 185 Integer i = mColumnNameMap.get(columnName);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ConversationUpdater.java | 44 * @param columnName 47 void updateConversation(Collection <Conversation> target, String columnName, String value); 54 * @param columnName 57 void updateConversation(Collection <Conversation> target, String columnName, int value); 64 * @param columnName 67 void updateConversation(Collection <Conversation> target, String columnName, boolean value);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAbstractCursor.java | 115 public int getColumnIndex(String columnName) { 117 if (columnName.equals(columnNameArray[i])) return i; 123 public int getColumnIndexOrThrow(String columnName) { 124 int idx = getColumnIndex(columnName);
|
ShadowSQLiteCursor.java | 46 private Integer getColIndex(String columnName) { 47 if (columnName == null) { 51 Integer i = this.columnNames.get(columnName.toLowerCase()); 57 public int getColumnIndex(String columnName) { 58 return getColIndex(columnName); 62 public int getColumnIndexOrThrow(String columnName) { 63 Integer columnIndex = getColIndex(columnName);
|
/external/emma/core/java12/com/vladium/emma/report/ |
ReportProperties.java | 332 final String columnName = tokenizer.nextToken ().trim (); 333 if (! COLUMNS.get (columnName, out)) 336 throw new EMMARuntimeException (INVALID_COLUMN_NAME, new Object [] {columnName}); 339 if (! REMOVE_DUPLICATE_COLUMNS || ! columnNames.contains (columnName)) 341 columnNames.add (columnName); 361 final String columnName; 369 columnName = sortSpec.substring (1); 376 columnName = sortSpec.substring (1); 383 columnName = sortSpec; 390 if (columnNames.contains (columnName)) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/database/ |
SimpleTestCursor.java | 29 public int getColumnIndex(String columnName) { 30 return columnNames.indexOf(columnName);
|
/external/javasqlite/src/main/java/SQLite/JDBC2z/ |
JDBCResultSet.java | 151 public int findColumn(String columnName) throws SQLException { 153 return m.findColByName(columnName); 228 public String getString(String columnName) throws SQLException { 229 int col = findColumn(columnName); 255 public int getInt(String columnName) throws SQLException { 256 int col = findColumn(columnName); 265 public boolean getBoolean(String columnName) throws SQLException { 266 int col = findColumn(columnName); 299 public short getShort(String columnName) throws SQLException { 300 int col = findColumn(columnName); [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
MockCursor.java | 44 public int getColumnIndex(String columnName) { 48 public int getColumnIndexOrThrow(String columnName) {
|