/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; 319 * @param columnName 325 public BigDecimal getBigDecimal(String columnName) throws SQLException; 333 * @param columnName 342 public BigDecimal getBigDecimal(String columnName, int scale) 371 * @param columnName 378 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);
|
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...] |
StreamItemEntry.java | 139 private static String getString(Cursor cursor, String columnName) { 140 return cursor.getString(cursor.getColumnIndex(columnName)); 143 private static long getLong(Cursor cursor, String columnName) { 144 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);
|
SuggestionCursorWithExtrasTest.java | 128 private Cursor createCursorWithExtras(String columnName, Object columnValue) { 130 new String[]{"_id", SearchManager.SUGGEST_COLUMN_TEXT_1, columnName }); 143 assertTrue("Extra column present in cursor", rows.contains(columnName)); 148 private void checkSuggestionCursorExtraColumnValue(String columnName, Object columnValue) { 150 new String[]{"_id", SearchManager.SUGGEST_COLUMN_TEXT_1, columnName }); 164 assertTrue("Extra column missing", extras.getExtraColumnNames().contains(columnName)); 166 Object extraValue = extras.getExtra(columnName);
|
/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...] |
MediaStore_FilesTest.java | 102 private void assertStringColumn(Uri fileUri, String columnName, String expectedValue) { 106 int index = cursor.getColumnIndexOrThrow(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/providers/ApplicationsProvider/src/com/android/providers/applications/ |
ApplicationsAdapter.java | 50 public static Uri getColumnUri(Cursor cursor, String columnName) { 51 String uriString = getColumnString(cursor, columnName); 56 public static String getColumnString(Cursor cursor, String columnName) { 57 int col = cursor.getColumnIndex(columnName);
|
/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 | 239 public int getColumnIndex(String columnName) { 241 final int periodIndex = columnName.lastIndexOf('.'); 244 Log.e(TAG, "requesting column name with table name -- " + columnName, e); 245 columnName = columnName.substring(periodIndex + 1); 251 if (columnNames[i].equalsIgnoreCase(columnName)) { 258 Log.w("AbstractCursor", "Unknown column " + columnName); 264 public int getColumnIndexOrThrow(String columnName) { 265 final int index = getColumnIndex(columnName); 267 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 | 170 * @param columnName the name of the target column. 175 int getColumnIndex(String columnName); 183 * @param columnName the name of the target column. 188 int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException;
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteCursor.java | 116 String columnName = mQuery.columnNameLocked(i); 117 mColumns[i] = columnName; 124 if ("_id".equals(columnName)) { 181 public int getColumnIndex(String columnName) { 194 final int periodIndex = columnName.lastIndexOf('.'); 197 Log.e(TAG, "requesting column name with table name -- " + columnName, e); 198 columnName = columnName.substring(periodIndex + 1); 201 Integer i = mColumnNameMap.get(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/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) {
|
/external/webkit/Source/WebCore/storage/ |
DatabaseAuthorizer.h | 80 int allowUpdate(const String& tableName, const String& columnName); 84 int allowRead(const String& tableName, const String& columnName);
|
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
ExtendedCursor.java | 44 * @param columnName the name of the additional column 47 public ExtendedCursor(Cursor cursor, String columnName, Object value) { 49 mColumnName = columnName;
|