Home
last modified time | relevance | path

Searched refs:columnNames (Results 1 – 9 of 9) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMergeCursorTest.java203 String[] columnNames = cursor.getColumnNames(); in testColumnNamesSingleCursor() local
204 assertColumnNamesCursor1(columnNames); in testColumnNamesSingleCursor()
217 String[] columnNames = cursor.getColumnNames(); in testColumnNamesMultipleCursors() local
218 assertColumnNamesCursor1(columnNames); in testColumnNamesMultipleCursors()
223 String[] columnNames = cursor.getColumnNames(); in testColumnNamesMultipleCursors() local
224 assertColumnNamesCursor2(columnNames); in testColumnNamesMultipleCursors()
228 private void assertColumnNamesCursor1(String[] columnNames) { in assertColumnNamesCursor1() argument
229 assertThat(columnNames.length).isEqualTo(7); in assertColumnNamesCursor1()
230 assertThat(columnNames[0]).isEqualTo("id"); in assertColumnNamesCursor1()
231 assertThat(columnNames[1]).isEqualTo("name_1"); in assertColumnNamesCursor1()
[all …]
DSQLiteCursorTest.java46 String[] columnNames = cursor.getColumnNames(); in testGetColumnNames() local
48 assertColumnNames(columnNames); in testGetColumnNames()
54 String[] columnNames = cursor.getColumnNames(); in testGetColumnNamesEmpty() local
57 assertThat(columnNames).isNotNull(); in testGetColumnNamesEmpty()
58 assertColumnNames(columnNames); in testGetColumnNamesEmpty()
487 private void assertColumnNames(String[] columnNames) { in assertColumnNames() argument
488 assertThat(columnNames.length).isEqualTo(7); in assertColumnNames()
489 assertThat(columnNames[0]).isEqualTo("id"); in assertColumnNames()
490 assertThat(columnNames[1]).isEqualTo("name"); in assertColumnNames()
491 assertThat(columnNames[2]).isEqualTo("long_value"); in assertColumnNames()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/fakes/
DRoboCursor.java19 protected List<String> columnNames = new ArrayList<>(); field in RoboCursor
44 return columnNames.indexOf(columnName); in getColumnIndex()
134 if (columnNames.isEmpty()) { in getColumnCount()
137 return columnNames.size(); in getColumnCount()
143 return columnNames.get(index); in getColumnName()
183 return columnNames.toArray(new String[columnNames.size()]); in getColumnNames()
199 public void setColumnNames(List<String> columnNames) { in setColumnNames() argument
200 this.columnNames = columnNames; in setColumnNames()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenNumberFormatTestUtility.java170 List<String> columnNames = null; in run() local
202 columnNames = splitBy((char) 0x09); in run()
205 if (columnNames.contains("breaks") in run()
206 && columnNames.indexOf("breaks") != columnNames.size() - 1) { in run()
211 int columnNamesSize = columnNames.size(); in run()
215 if (!setField(columnNames.get(i), columnValues.get(i))) { in run()
220 if (!clearField(columnNames.get(i))) { in run()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenNumberFormatTestUtility.java173 List<String> columnNames = null; in run() local
205 columnNames = splitBy((char) 0x09); in run()
208 if (columnNames.contains("breaks") in run()
209 && columnNames.indexOf("breaks") != columnNames.size() - 1) { in run()
214 int columnNamesSize = columnNames.size(); in run()
218 if (!setField(columnNames.get(i), columnValues.get(i))) { in run()
223 if (!clearField(columnNames.get(i))) { in run()
/external/v8/src/inspector/
Dinjected-script-source.js234 var columnNames = null;
238 columnNames = [];
239 InjectedScriptHost.nullifyPrototype(columnNames);
241 columnNames[i] = toString(columns[i]);
243 return this._wrapObject(table, "console", false, true, columnNames, true);
259 …_wrapObject: function(object, objectGroupName, forceValueType, generatePreview, columnNames, isTab… argument
262 …t(object, objectGroupName, doNotBind, forceValueType, generatePreview, columnNames, isTable, undef…
732 …n(object, objectGroupName, doNotBind, forceValueType, generatePreview, columnNames, isTable, skipE… argument
792 …eneratePreview(InjectedScriptHost.proxyTargetValue(object), undefined, columnNames, isTable, skipE…
794 … this.preview = this._generatePreview(object, undefined, columnNames, isTable, skipEntriesPreview);
/external/emma/core/java12/com/vladium/emma/report/
DReportProperties.java323 final Set /* String */ columnNames = new HashSet (); in parseProperties() local
339 if (! REMOVE_DUPLICATE_COLUMNS || ! columnNames.contains (columnName)) in parseProperties()
341 columnNames.add (columnName); in parseProperties()
390 if (columnNames.contains (columnName)) in parseProperties()
432 if (columnNames.contains (columnName)) in parseProperties()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTestHelper_Connection1.java143 public PreparedStatement prepareStatement(String sql, String[] columnNames) in prepareStatement() argument
/external/autotest/frontend/client/src/autotest/tko/
DTableView.java162 private void selectColumnsByName(String[] columnNames) { in selectColumnsByName() argument
164 for (String name : columnNames) { in selectColumnsByName()