Home
last modified time | relevance | path

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

/packages/apps/TimeZoneData/src/main/com/android/timezone/data/
DTimeZoneRulesDataProvider.java70 Set<String> columnNames = new HashSet<>();
71 columnNames.add(Operation.COLUMN_TYPE);
72 columnNames.add(Operation.COLUMN_DISTRO_MAJOR_VERSION);
73 columnNames.add(Operation.COLUMN_DISTRO_MINOR_VERSION);
74 columnNames.add(Operation.COLUMN_RULES_VERSION);
75 columnNames.add(Operation.COLUMN_REVISION);
76 KNOWN_COLUMN_NAMES = Collections.unmodifiableSet(columnNames);
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContentProvider.java166 String[] columnNames; in getResult() local
168 columnNames = projection != null ? projection : mDefaultProjection; in getResult()
170 columnNames = mProjection != null ? mProjection : mDefaultProjection; in getResult()
173 MatrixCursor cursor = new MatrixCursor(columnNames); in getResult()
179 Object[] columns = new Object[columnNames.length]; in getResult()
180 for (int i = 0; i < columnNames.length; i++) { in getResult()
181 columns[i] = values.get(columnNames[i]); in getResult()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DResultActivity.java113 String[] columnNames = cursor.getColumnNames(); in addRowsForQuery() local
114 String[] names = new String[columnNames.length]; in addRowsForQuery()
115 System.arraycopy(columnNames, 0, names, 0, columnNames.length); in addRowsForQuery()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestCursor.java23 public TestCursor(String[] columnNames) { in TestCursor() argument
24 super(columnNames); in TestCursor()
DTestDocumentsProvider.java138 final String[] columnNames = cursor.getColumnNames(); in filterCursorByString() local
140 final MatrixCursor resultCursor = new MatrixCursor(columnNames, count); in filterCursorByString()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DMemoryCursor.java30 public MemoryCursor(String name, String[] columnNames) { in MemoryCursor() argument
32 mColumnNames = columnNames; in MemoryCursor()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFakeCursor.java33 public FakeCursor(final String[] projection, final String[] columnNames, in FakeCursor() argument
35 mColumnNamesOfData = columnNames; in FakeCursor()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicesDatabaseHelperTest.java64 String[] columnNames = cursor.getColumnNames(); in testDatabaseSchema() local
80 assertThat(columnNames).isEqualTo(expectedNames); in testDatabaseSchema()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DCardDatabaseHelperTest.java62 final String[] columnNames = cursor.getColumnNames(); in testDatabaseSchema() local
85 assertThat(columnNames).isEqualTo(expectedNames); in testDatabaseSchema()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DSearchCursorManager.java288 LocationPermissionCursor(String[] columnNames) { in LocationPermissionCursor() argument
289 super(columnNames); in LocationPermissionCursor()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogProviderTest.java319 List<String> columnNames = Arrays.asList(cursor.getColumnNames()); in testCannotAccessVoicemailSpecificFields_Query() local
320 assertEquals(NUM_CALLLOG_FIELDS, columnNames.size()); in testCannotAccessVoicemailSpecificFields_Query()
324 columnNames.contains(voicemailColumn)); in testCannotAccessVoicemailSpecificFields_Query()
DVoicemailProviderTest.java694 List<String> columnNames = Arrays.asList(cursor.getColumnNames()); in testCannotAccessCallLogSpecificFields_Query() local
695 assertEquals(NUM_VOICEMAIL_FIELDS, columnNames.size()); in testCannotAccessCallLogSpecificFields_Query()
699 columnNames.contains(callLogColumn)); in testCannotAccessCallLogSpecificFields_Query()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryProvider.java113 static private final String[] columnNames = { MetadataDbHelper.WORDLISTID_COLUMN, field in DictionaryProvider.ResourcePathCursor
131 return columnNames; in getColumnNames()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java428 String[] columnNames = cursor.getColumnNames(); in matrixCursorFromCursor() local
429 if (columnNames == null) { in matrixCursorFromCursor()
430 columnNames = new String[] {}; in matrixCursorFromCursor()
432 MatrixCursor newCursor = new MatrixCursor(columnNames); in matrixCursorFromCursor()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DEntrySchema.java246 public String toDebugString(Entry entry, String... columnNames) { in toDebugString() argument
250 for (String columnName : columnNames) { in toDebugString()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java3155 String[] columnNames = projectionIn != null ? projectionIn : ret.getColumnNames(); in getSubscriptionMatchingAPNList() local
3156 MatrixCursor currentCursor = new MatrixCursor(columnNames); in getSubscriptionMatchingAPNList()
3157 MatrixCursor parentCursor = new MatrixCursor(columnNames); in getSubscriptionMatchingAPNList()
3158 MatrixCursor carrierIdCursor = new MatrixCursor(columnNames); in getSubscriptionMatchingAPNList()
3168 for (String column : columnNames) { in getSubscriptionMatchingAPNList()
3205 result = new MatrixCursor(columnNames); in getSubscriptionMatchingAPNList()