Home
last modified time | relevance | path

Searched refs:columns (Results 1 – 25 of 58) sorted by relevance

123

/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastListActivityTest.java263 List<String> columns = mColumnCaptor.getAllValues(); in testOnContextItemSelectedViewDetails() local
264 assertTrue(contains(columns, PLMN)); in testOnContextItemSelectedViewDetails()
265 assertTrue(contains(columns, LAC)); in testOnContextItemSelectedViewDetails()
266 assertTrue(contains(columns, CID)); in testOnContextItemSelectedViewDetails()
267 assertTrue(contains(columns, ETWS_WARNING_TYPE)); in testOnContextItemSelectedViewDetails()
268 assertTrue(contains(columns, CMAS_MESSAGE_CLASS)); in testOnContextItemSelectedViewDetails()
269 assertTrue(contains(columns, CMAS_CATEGORY)); in testOnContextItemSelectedViewDetails()
270 assertTrue(contains(columns, CMAS_RESPONSE_TYPE)); in testOnContextItemSelectedViewDetails()
271 assertTrue(contains(columns, CMAS_SEVERITY)); in testOnContextItemSelectedViewDetails()
272 assertTrue(contains(columns, CMAS_URGENCY)); in testOnContextItemSelectedViewDetails()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseDatabaseHelperUpgradeTest.java129 public void assertHasColumns(TableColumn[] columns) { in assertHasColumns() argument
130 for (final TableColumn column : columns) { in assertHasColumns()
138 public void assertSame(TableColumn[] columns) { in assertSame() argument
139 assertHasColumns(columns); in assertSame()
140 if (columns.length != mColumns.size()) { in assertSame()
153 public final TableColumn[] columns; field in BaseDatabaseHelperUpgradeTest.TableListEntry
156 public TableListEntry(String name, TableColumn[] columns) { in TableListEntry() argument
157 this(name, columns, /* shouldBeInNewDb = */ true); in TableListEntry()
160 public TableListEntry(String name, TableColumn[] columns, boolean shouldBeInNewDb) { in TableListEntry() argument
162 this.columns = columns; in TableListEntry()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDatabaseHelper.java195 private static String buildCreateSchedulesSql(String tableName, ColumnInfo[] columns) { in buildCreateSchedulesSql() argument
198 columns, in buildCreateSchedulesSql()
207 ColumnInfo[] columns, in buildCreateSql() argument
212 for (ColumnInfo columnInfo : columns) { in buildCreateSql()
236 private static String buildSelectSql(ColumnInfo[] columns) { in buildSelectSql() argument
240 for (ColumnInfo columnInfo : columns) { in buildSelectSql()
250 private static String buildInsertSql(String tableName, ColumnInfo[] columns) { in buildInsertSql() argument
254 for (ColumnInfo columnInfo : columns) { in buildInsertSql()
262 for (int i = 1; i < columns.length; ++i) { in buildInsertSql()
269 private static String buildUpdateSql(String tableName, ColumnInfo[] columns) { in buildUpdateSql() argument
[all …]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DEntrySchema.java52 ColumnInfo[] columns = parseColumnInfo(clazz); in EntrySchema() local
54 mColumnInfo = columns; in EntrySchema()
59 if (columns != null) { in EntrySchema()
60 projection = new String[columns.length]; in EntrySchema()
61 for (int i = 0; i != columns.length; ++i) { in EntrySchema()
62 ColumnInfo column = columns[i]; in EntrySchema()
460 ArrayList<ColumnInfo> columns = new ArrayList<ColumnInfo>(); in parseColumnInfo() local
462 parseColumnInfo(clazz, columns); in parseColumnInfo()
467 ColumnInfo[] columnList = new ColumnInfo[columns.size()]; in parseColumnInfo()
468 columns.toArray(columnList); in parseColumnInfo()
[all …]
/packages/apps/Launcher3/
Dprint_db.py55 columns = [d[0] for d in c.description]
59 return columns,rows
64 columns = [d[0] for d in c.description]
68 return columns,rows
155 columns,rows = get_favorites(conn)
158 data = [dict(zip(columns,row)) for row in rows]
199 for col in columns:
201 for i in range(0,len(columns)):
202 col = columns[i]
/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeContentProvider.java42 private final String[] columns; field in FakeContentProvider.ContentOverride
46 final String[] columns, final Object[][] data) { in ContentOverride() argument
50 this.columns = columns; in ContentOverride()
89 final String[] columns, final Object[][] data) { in addOverrideData() argument
90 mOverrides.add(new ContentOverride(uri.toString(), where, args, columns, data)); in addOverrideData()
119 return new FakeCursor(projection, content.columns, content.data); in query()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/provider/
DSharedImageProvider.java106 Object[] columns = new Object[projection.length]; in query() local
109 columns[i] = 0; in query()
111 columns[i] = uri; in query()
113 columns[i] = path.getName(); in query()
115 columns[i] = path.length(); in query()
118 cursor.addRow(columns); in query()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCursorBackedSuggestionExtras.java61 String[] columns = getCursorColumns(cursor); in cursorContainsExtras() local
62 for (String cursorColumn : columns) { in cursorContainsExtras()
71 String[] columns = getCursorColumns(cursor); in getExtraColumns() local
72 if (columns == null) return null; in getExtraColumns()
74 for (String cursorColumn : columns) { in getExtraColumns()
DAbstractSuggestionExtras.java35 HashSet<String> columns = new HashSet<String>(); in getExtraColumnNames() local
36 columns.addAll(doGetExtraColumnNames()); in getExtraColumnNames()
38 columns.addAll(mMore.getExtraColumnNames()); in getExtraColumnNames()
40 return columns; in getExtraColumnNames()
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoDatabase.java136 protected static void createTable(SQLiteDatabase db, String table, List<String[]> columns) { in createTable() argument
140 for (String[] column : columns) { in createTable()
173 …protected static void addToTable(List<String[]> createTable, String[][] columns, String[][] constr… in addToTable() argument
174 if (columns != null) { in addToTable()
175 for (String[] column: columns) { in addToTable()
/packages/apps/TV/tests/robotests/src/com/android/tv/util/
DTvProviderUtilsTest.java99 Set<String> columns = in testGetExistingColumns_noException() local
102 assertThat(columns).containsExactly("column 1", "column 2"); in testGetExistingColumns_noException()
110 Set<String> columns = in testGetExistingColumns_throwsException() local
113 assertThat(columns).isEmpty(); in testGetExistingColumns_throwsException()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortModel.java105 SortModel(Collection<SortDimension> columns) { in SortModel() argument
106 mDimensions = new SparseArray<>(columns.size()); in SortModel()
108 for (SortDimension column : columns) { in SortModel()
430 Collection<SortDimension> columns = new ArrayList<>(size);
432 columns.add(in.readParcelable(getClass().getClassLoader()));
434 SortModel model = new SortModel(columns);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/sqlite/
DDatabaseAnalyzer.java91 final List<String> columns = findColumns(db, name); in findTableViewsAllowingColumns() local
93 Log.d(TAG, " Columns: " + columns); in findTableViewsAllowingColumns()
95 for (String c : columns) { in findTableViewsAllowingColumns()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DQueryService.java113 final String[] columns = projectionString.split(","); in parseProjection() local
114 if (columns.length == 0) { in parseProjection()
117 return columns; in parseProjection()
/packages/apps/Messaging/src/com/android/messaging/widget/
DBaseWidgetProvider.java111 final int columns = getCellsForSize(minWidth); in getWidgetSize() local
115 + " columns: " + columns); in getWidgetSize()
122 } else if (columns > 3) { in getWidgetSize()
/packages/apps/TV/src/com/android/tv/util/
DTvProviderUtils.java179 String[] columns = result.getStringArray(TvContract.EXTRA_EXISTING_COLUMN_NAMES); in getExistingColumns() local
180 if (columns != null) { in getExistingColumns()
181 return new HashSet<>(Arrays.asList(columns)); in getExistingColumns()
/packages/apps/Dialer/java/com/android/contacts/common/database/
DEmptyCursor.java32 public EmptyCursor(String[] columns) { in EmptyCursor() argument
33 this.mColumns = columns; in EmptyCursor()
/packages/apps/Contacts/src/com/android/contacts/database/
DEmptyCursor.java32 public EmptyCursor(String[] columns) { in EmptyCursor() argument
33 this.mColumns = columns; in EmptyCursor()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
DFilterStackDBHelper.java69 protected static void createTable(SQLiteDatabase db, String table, String[][] columns) { in createTable() argument
73 for (String[] column : columns) { in createTable()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DSuggestionCursorUtil.java223 Collection<String> columns = extras.getExtraColumnNames();
224 assertNotNull(message + ", extras columns is null at position " + i, columns);
226 "' not reported by extras at position " + i, columns.contains(extraColumn));
DMockSuggestionProviderCursor.java30 public MockSuggestionProviderCursor(String[] columns) { in MockSuggestionProviderCursor() argument
31 mColumns = columns; in MockSuggestionProviderCursor()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/util/
DSQLiteCacheHelper.java77 public Cursor query(String[] columns, String selection, String[] selectionArgs) { in query() argument
79 mTableName, columns, selection, selectionArgs, null, null, null); in query()
/packages/apps/QuickSearchBox/tests/partial/src/com/android/quicksearchbox/tests/partial/
DPartialSuggestionProvider.java65 MutableMatrixCursor(String[] columns) { in MutableMatrixCursor() argument
66 super(columns); in MutableMatrixCursor()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java882 String[] columns = handleNullMessageProjection(projection); in getConversations() local
909 columns, null, "tid", in getConversations()
1066 String[] columns = handleNullMessageProjection(projection); in getMessagesByPhoneNumber() local
1068 MmsSms.TYPE_DISCRIMINATOR_COLUMN, columns, MMS_COLUMNS, in getMessagesByPhoneNumber()
1071 MmsSms.TYPE_DISCRIMINATOR_COLUMN, columns, SMS_COLUMNS, in getMessagesByPhoneNumber()
1099 String[] columns = handleNullThreadsProjection(projection); in getConversationById() local
1104 mOpenHelper.getReadableDatabase(), columns, finalSelection, in getConversationById()
/packages/apps/Contacts/tests/src/com/android/contacts/
DDynamicShortcutsTests.java362 private Cursor queryResult(String[] columns, Object... values) {
367 for (int i = 0; i < values.length; i += columns.length) {
369 for (int j = 0; j < columns.length; j++) {

123