HomeSort by relevance Sort by last modified time
    Searched refs:columnNames (Results 1 - 25 of 73) sorted by null

1 2 3

  /frameworks/base/core/java/android/database/sqlite/
SQLiteStatementInfo.java 33 public String[] columnNames;
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
MatrixCursorWithCachedColumns.java 27 public MatrixCursorWithCachedColumns(final String[] columnNames, final int initialCapacity) {
28 super(columnNames, initialCapacity);
30 final int columnCount = columnNames.length;
33 mColumnNameMap.put(columnNames[i], i);
37 public MatrixCursorWithCachedColumns(final String[] columnNames) {
38 this(columnNames, 16);
MatrixCursorWithExtra.java 23 public MatrixCursorWithExtra(String[] columnNames, int initialCapacity, Bundle extras) {
24 super(columnNames, initialCapacity);
  /packages/apps/Email/src/com/android/email/data/
ClosingMatrixCursor.java 31 public ClosingMatrixCursor(String[] columnNames, Cursor innerCursor) {
32 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/
BulkCursorDescriptor.java 45 public String[] columnNames;
58 out.writeStringArray(columnNames);
71 columnNames = in.readStringArray();
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);
97 * columnNames.length
    [all...]
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/chromium_org/third_party/WebKit/Source/modules/webdatabase/
SQLResultSetRowList.h 43 const Vector<String>& columnNames() const { return m_columns; }
  /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/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8SQLResultSetRowListCustom.cpp 60 unsigned numColumns = rowList->columnNames().size();
80 item->Set(v8String(info.GetIsolate(), rowList->columnNames()[i]), value, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::ReadOnly));
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DatabaseTableView.js 69 _queryFinished: function(columnNames, values)
74 var dataGrid = WebInspector.DataGrid.createSortableDataGrid(columnNames, values);
Database.js 104 * @param {!Array.<string>=} columnNames
108 function callback(error, columnNames, values, errorObj)
125 onSuccess(columnNames, values);
DatabaseQueryView.js 144 _queryFinished: function(query, columnNames, values)
146 var dataGrid = WebInspector.DataGrid.createSortableDataGrid(columnNames, values);
  /external/svox/pico/src/com/svox/pico/providers/
SettingsProvider.java 40 public SettingsCursor(String[] columnNames) {
41 super(columnNames);
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
MockRespondMatrixCursor.java 36 public MockRespondMatrixCursor(final String[] columnNames, final int initialCapacity,
38 super(columnNames, initialCapacity);
  /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);
  /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/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorDatabaseAgent.cpp 84 RefPtr<TypeBuilder::Array<String> > columnNames = TypeBuilder::Array<String>::create();
85 const Vector<String>& columns = rowList->columnNames();
87 columnNames->addItem(columns[i]);
99 m_requestCallback->sendSuccess(columnNames.release(), values.release(), 0);

Completed in 1178 milliseconds

1 2 3