/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);
|
JsonBackedSuggestionExtras.java | 54 public String getExtra(String columnName) { 56 if (mExtras.isNull(columnName)) { 59 return mExtras.getString(columnName);
|
SuggestionExtras.java | 33 * @param columnName The column to get a value from. 35 String getExtra(String columnName);
|
CursorBackedSuggestionExtras.java | 93 public String doGetExtra(String columnName) { 96 int columnIdx = mCursor.getColumnIndex(columnName); 101 Log.e(TAG, "getExtra(" + columnName + ") failed, ", ex);
|
/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...] |
/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 void assertColumn(String columnName, long value) { 202 assertEquals(value, mCursor.getLong(getColumnIndex(columnName))); 205 public void assertColumn(String columnName, String value) { 206 assertEquals(value, mCursor.getString(getColumnIndex(columnName))); 209 public void assertColumn(String columnName, byte[] value) { 210 assertEquals(value, mCursor.getBlob(getColumnIndex(columnName))); 213 public void assertBlobColumnNotNull(String columnName) { 214 assertNotNull(mCursor.getBlob(getColumnIndex(columnName))); [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...] |
/packages/apps/Contacts/src/com/android/contacts/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...] |
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 | 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/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...] |
/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/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);
|
/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...] |
JDBCResultSetMetaData.java | 192 int findColByName(String columnName) throws java.sql.SQLException { 198 if (c.compareToIgnoreCase(columnName) == 0) { 204 if (c.compareToIgnoreCase(columnName) == 0) { 212 throw new SQLException("column " + columnName + " not found");
|
/frameworks/base/core/java/android/database/ |
CursorWrapper.java | 68 public int getColumnIndex(String columnName) { 69 return mCursor.getColumnIndex(columnName); 72 public int getColumnIndexOrThrow(String columnName) 74 return mCursor.getColumnIndexOrThrow(columnName);
|
AbstractCursor.java | 273 public int getColumnIndex(String columnName) { 275 final int periodIndex = columnName.lastIndexOf('.'); 278 Log.e(TAG, "requesting column name with table name -- " + columnName, e); 279 columnName = columnName.substring(periodIndex + 1); 285 if (columnNames[i].equalsIgnoreCase(columnName)) { 292 Log.w("AbstractCursor", "Unknown column " + columnName); 298 public int getColumnIndexOrThrow(String columnName) { 299 final int index = getColumnIndex(columnName); 301 throw new IllegalArgumentException("column '" + columnName + "' does not exist") [all...] |
/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...] |
/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...] |
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteCursor.java | 112 String columnName = mQuery.columnNameLocked(i); 113 mColumns[i] = columnName; 120 if ("_id".equals(columnName)) { 177 public int getColumnIndex(String columnName) { 190 final int periodIndex = columnName.lastIndexOf('.'); 193 Log.e(TAG, "requesting column name with table name -- " + columnName, e); 194 columnName = columnName.substring(periodIndex + 1); 197 Integer i = mColumnNameMap.get(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;
|
/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);
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockCursor.java | 44 public int getColumnIndex(String columnName) { 48 public int getColumnIndexOrThrow(String columnName) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
SearchIndexManager.java | 97 public String getString(String columnName) { 98 return mCursor.getString(mCursor.getColumnIndex(columnName)); 101 public int getInt(String columnName) { 102 return mCursor.getInt(mCursor.getColumnIndex(columnName)); 124 public void appendContentFromColumn(String columnName) { 125 appendContentFromColumn(columnName, SEPARATOR_SPACE); 128 public void appendContentFromColumn(String columnName, int format) { 129 appendContent(getString(columnName), format);
|