/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | MatrixCursorWithCachedColumns.java | 27 public MatrixCursorWithCachedColumns(final String[] columnNames, final int initialCapacity) { in MatrixCursorWithCachedColumns() argument 28 super(columnNames, initialCapacity); in MatrixCursorWithCachedColumns() 30 final int columnCount = columnNames.length; in MatrixCursorWithCachedColumns() 33 mColumnNameMap.put(columnNames[i], i); in MatrixCursorWithCachedColumns() 37 public MatrixCursorWithCachedColumns(final String[] columnNames) { in MatrixCursorWithCachedColumns() argument 38 this(columnNames, 16); in MatrixCursorWithCachedColumns()
|
D | MatrixCursorWithExtra.java | 23 public MatrixCursorWithExtra(String[] columnNames, int initialCapacity, Bundle extras) { in MatrixCursorWithExtra() argument 24 super(columnNames, initialCapacity); in MatrixCursorWithExtra()
|
/packages/apps/TimeZoneData/src/main/com/android/timezone/data/ |
D | TimeZoneRulesDataProvider.java | 70 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/ |
D | MockContentProvider.java | 166 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/ |
D | ResultActivity.java | 113 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/Email/src/com/android/email/data/ |
D | ClosingMatrixCursor.java | 31 public ClosingMatrixCursor(String[] columnNames, Cursor innerCursor) { in ClosingMatrixCursor() argument 32 super(columnNames); in ClosingMatrixCursor()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | MemoryCursor.java | 30 public MemoryCursor(String name, String[] columnNames) { in MemoryCursor() argument 32 mColumnNames = columnNames; in MemoryCursor()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
D | MockRespondMatrixCursor.java | 36 public MockRespondMatrixCursor(final String[] columnNames, final int initialCapacity, in MockRespondMatrixCursor() argument 38 super(columnNames, initialCapacity); in MockRespondMatrixCursor()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ContentCacheTests.java | 164 String[] columnNames = cursor.getColumnNames(); in testCachedCursors() local 165 assertEquals(Mailbox.CONTENT_PROJECTION.length, columnNames.length); in testCachedCursors() 167 assertEquals(Mailbox.CONTENT_PROJECTION[i], columnNames[i]); in testCachedCursors()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | FakeCursor.java | 33 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/ |
D | SlicesDatabaseHelperTest.java | 64 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/ |
D | CardDatabaseHelperTest.java | 62 final String[] columnNames = cursor.getColumnNames(); in testDatabaseSchema() local 85 assertThat(columnNames).isEqualTo(expectedNames); in testDatabaseSchema()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestDocumentsProvider.java | 138 final String[] columnNames = cursor.getColumnNames(); in filterCursorByString() local 140 final MatrixCursor resultCursor = new MatrixCursor(columnNames, count); in filterCursorByString()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/ |
D | SearchCursorManager.java | 288 LocationPermissionCursor(String[] columnNames) { in LocationPermissionCursor() argument 289 super(columnNames); in LocationPermissionCursor()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | CallLogProviderTest.java | 314 List<String> columnNames = Arrays.asList(cursor.getColumnNames()); in testCannotAccessVoicemailSpecificFields_Query() local 315 assertEquals(NUM_CALLLOG_FIELDS, columnNames.size()); in testCannotAccessVoicemailSpecificFields_Query() 319 columnNames.contains(voicemailColumn)); in testCannotAccessVoicemailSpecificFields_Query()
|
D | VoicemailProviderTest.java | 694 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/ |
D | DictionaryProvider.java | 113 static private final String[] columnNames = { MetadataDbHelper.WORDLISTID_COLUMN, field in DictionaryProvider.ResourcePathCursor 131 return columnNames; in getColumnNames()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Utils.java | 428 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/ |
D | EntrySchema.java | 246 public String toDebugString(Entry entry, String... columnNames) { in toDebugString() argument 250 for (String columnName : columnNames) { in toDebugString()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationCursor.java | 2072 String[] columnNames, String[] values) { in updateStrings() argument 2074 for (int i = 0; i < columnNames.length; i++) { in updateStrings() 2075 cv.put(columnNames[i], values[i]); in updateStrings()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | EmailProvider.java | 3743 final String[] columnNames = mc.getColumnNames(); in addCombinedAccountRow() local 3744 for (int i = 0; i < columnNames.length; i++) { in addCombinedAccountRow() 3745 builder.put(columnNames[i], i); in addCombinedAccountRow() 3750 final Object[] values = new Object[columnNames.length]; in addCombinedAccountRow()
|