/frameworks/base/core/java/android/database/sqlite/ |
SQLiteStatementInfo.java | 33 public String[] columnNames;
|
/packages/apps/Email/src/com/android/email/data/ |
ClosingMatrixCursor.java | 30 public ClosingMatrixCursor(String[] columnNames, Cursor innerCursor) { 31 super(columnNames);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/database/ |
SimpleTestCursor.java | 15 List<String> columnNames= new ArrayList<String>(); 30 return columnNames.indexOf(columnName); 54 public void setColumnNames(ArrayList<String> columnNames) { 55 this.columnNames = columnNames;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
MemoryCursor.java | 30 public MemoryCursor(String name, String[] columnNames) { 32 mColumnNames = columnNames;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
AggregatorRecordStorage.java | 57 public AggregatorRecordStorage(Context context, String tableName, String [] columnNames) { 58 if (columnNames.length < 1) { 61 mColumnNames = Arrays.asList(columnNames); 64 String tableCmd = "create table " + tableName + "( " + columnNames[0] + 66 for (int i = 1; i < columnNames.length; ++i) 67 tableCmd = tableCmd + ", " + columnNames[i] + " TEXT";
|
/frameworks/base/core/java/android/database/ |
MatrixCursor.java | 28 private final String[] columnNames; 36 * @param columnNames names of the columns, the ordering of which 40 public MatrixCursor(String[] columnNames, int initialCapacity) { 41 this.columnNames = columnNames; 42 this.columnCount = columnNames.length; 54 * @param columnNames names of the columns, the ordering of which 57 public MatrixCursor(String[] columnNames) { 58 this(columnNames, 16); 98 * columnNames.length [all...] |
BulkCursorDescriptor.java | 45 public String[] columnNames; 58 out.writeStringArray(columnNames); 71 columnNames = in.readStringArray();
|
CursorJoiner.java | 105 * @param columnNames the array of names to lookup 108 private int[] buildColumnIndiciesArray(Cursor cursor, String[] columnNames) { 109 int[] columns = new int[columnNames.length]; 110 for (int i = 0; i < columnNames.length; i++) { 111 columns[i] = cursor.getColumnIndexOrThrow(columnNames[i]);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
SQLiteCursorTest.java | 49 String[] columnNames = cursor.getColumnNames(); 51 assertColumnNames(columnNames); 57 String[] columnNames = cursor.getColumnNames(); 60 assertThat(columnNames, notNullValue()); 61 assertColumnNames(columnNames); 354 private void assertColumnNames(String[] columnNames) { 355 assertThat(columnNames.length, equalTo(7)); 356 assertThat(columnNames[0], equalTo("id")); 357 assertThat(columnNames[1], equalTo("name")); 358 assertThat(columnNames[2], equalTo("long_value")) [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
CursorJoinerTest.java | 73 String[] columnNames = new String[] { "number" }; 74 cursor1 = getCursor(TABLE_NAME_1, null, columnNames); 75 cursor2 = getCursor(TABLE_NAME_2, null, columnNames); 135 String[] columnNames = new String[] { "number" }; 136 Cursor cursor1 = getCursor(TABLE_NAME_1, null, columnNames); 137 Cursor cursor2 = getCursor(TABLE_NAME_2, null, columnNames); 226 private void createTable(String tableName, String columnNames) { 227 String sql = "Create TABLE " + tableName + " (_id INTEGER PRIMARY KEY, " + columnNames 247 private Cursor getCursor(String tableName, String selection, String[] columnNames) { 248 return mDatabase.query(tableName, columnNames, selection, null, null, null, "number") [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/android/database/ |
SimpleTestCursorTest.java | 31 ArrayList<String> columnNames = new ArrayList<String>(); 32 columnNames.add("stringColumn"); 33 columnNames.add("longColumn"); 34 cursor.setColumnNames(columnNames);
|
/external/webkit/Source/WebCore/storage/ |
SQLResultSetRowList.h | 43 const Vector<String>& columnNames() const { return m_columns; }
|
/external/svox/pico/src/com/svox/pico/providers/ |
SettingsProvider.java | 40 public SettingsCursor(String[] columnNames) {
41 super(columnNames);
|
/external/webkit/Source/WebCore/bindings/js/ |
JSSQLResultSetRowListCustom.cpp | 57 unsigned numColumns = m_impl->columnNames().size(); 77 object->putDirect(exec->globalData(), Identifier(exec, stringToUString(m_impl->columnNames()[i])), jsValue, DontDelete | ReadOnly);
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8SQLResultSetRowListCustom.cpp | 65 unsigned numColumns = rowList->columnNames().size(); 85 item->Set(v8String(rowList->columnNames()[i]), value, static_cast<v8::PropertyAttribute>(v8::DontDelete|v8::ReadOnly));
|
/external/webkit/Source/WebCore/inspector/front-end/ |
DatabaseTableView.js | 57 _queryFinished: function(columnNames, values) 61 var dataGrid = WebInspector.panels.resources.dataGridForResult(columnNames, values);
|
Database.js | 123 sqlTransactionSucceeded: function(transactionId, columnNames, values) 131 callback(columnNames, values);
|
DatabaseQueryView.js | 140 _queryFinished: function(query, columnNames, values) 142 var dataGrid = WebInspector.panels.resources.dataGridForResult(columnNames, values);
|
/development/apps/Development/src/com/android/development/ |
DataList.java | 89 String[] columnNames = mCursor.getColumnNames(); 90 for (int i=0; i<columnNames.length; i++) { 92 ColumnData cd = new ColumnData(columnNames[i], str);
|
Details.java | 121 String[] columnNames = c.getColumnNames(); 122 for (int i=0; i<columnNames.length; i++) { 124 ColumnData cd = new ColumnData(columnNames[i], str);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
ExtendedCursor.java | 60 String[] columnNames = mCursor.getColumnNames(); 61 int length = columnNames.length; 63 System.arraycopy(columnNames, 0, extendedColumnNames, 0, length);
|
/libcore/luni/src/main/java/java/sql/ |
Statement.java | 214 * @param columnNames 224 public boolean execute(String sql, String[] columnNames) 338 * @param columnNames 348 public int executeUpdate(String sql, String[] columnNames)
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
ResultActivity.java | 113 String[] columnNames = cursor.getColumnNames(); 114 String[] names = new String[columnNames.length]; 115 System.arraycopy(columnNames, 0, names, 0, columnNames.length);
|
/external/webkit/Source/WebCore/inspector/ |
InspectorDatabaseAgent.cpp | 106 RefPtr<InspectorArray> columnNames = InspectorArray::create(); 107 const Vector<String>& columns = rowList->columnNames(); 109 columnNames->pushString(columns[i]); 121 m_frontendProvider->frontend()->sqlTransactionSucceeded(m_transactionId, columnNames, values);
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
MockContentProvider.java | 179 String[] columnNames; 181 columnNames = projection; 183 columnNames = mProjection != null ? mProjection : mDefaultProjection; 186 MatrixCursor cursor = new MatrixCursor(columnNames);
|