Home
last modified time | relevance | path

Searched refs:MatrixCursor (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/database/
DMatrixCursorTest.java28 Cursor cursor = new MatrixCursor(new String[] { "a" }); in testEmptyCursor()
33 MatrixCursor cursor = new MatrixCursor(new String[] { "a" }); in testNullValue()
47 MatrixCursor cursor = newMatrixCursor(); in testMatrixCursor()
79 MatrixCursor cursor = newMatrixCursor(); in testAddArray()
92 MatrixCursor cursor = newMatrixCursor(); in testAddIterable()
111 MatrixCursor cursor = newMatrixCursor(); in testAddArrayList()
132 MatrixCursor cursor = newMatrixCursor(); in testRowBuilderOffer()
195 private MatrixCursor newMatrixCursor() { in newMatrixCursor()
196 return new MatrixCursor(new String[] { in newMatrixCursor()
200 private void checkValues(MatrixCursor cursor) { in checkValues()
DTranslatingCursorTest.java29 MatrixCursor base = new MatrixCursor(new String[] {"_id", "colA", "colB", "colA"}); in testDuplicateColumnName()
/frameworks/base/core/tests/coretests/src/android/content/
DRedactingProvider.java20 import android.database.MatrixCursor;
36 final MatrixCursor cursor = new MatrixCursor( in query()
46 final MatrixCursor cursor = new MatrixCursor( in query()
57 final MatrixCursor cursor = new MatrixCursor( in query()
/frameworks/base/core/tests/coretests/src/android/provider/
DTestFontsProvider.java26 import android.database.MatrixCursor;
46 private MatrixCursor mCustomCursor = null;
65 void setCustomCursor(MatrixCursor cursor) { in setCustomCursor()
81 MatrixCursor cursor; in query()
83 cursor = new MatrixCursor(new String[] { FontsContract.Columns._ID, in query()
89 cursor = new MatrixCursor(new String[] { FontsContract.Columns._ID }); in query()
DMockFontProvider.java27 import android.database.MatrixCursor;
173 MatrixCursor cursor = new MatrixCursor(new String[] { in buildCursor()
177 MatrixCursor.RowBuilder builder = cursor.newRow(); in buildCursor()
DFontsContractTest.java35 import android.database.MatrixCursor;
164 MatrixCursor cursor = new MatrixCursor(new String[] { FontsContract.Columns._ID, in testGetFontFromProvider_resultFontNotFoundSecondRow()
196 MatrixCursor cursor = new MatrixCursor(new String[] { FontsContract.Columns._ID, in testGetFontFromProvider_resultFontNotFoundOtherRow()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportStorageProvider.java20 import android.database.MatrixCursor;
21 import android.database.MatrixCursor.RowBuilder;
61 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection)); in queryRoots()
87 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); in queryDocument()
145 protected RowBuilder includeFile(MatrixCursor result, String docId, File file) in includeFile()
152 private void includeDefaultDocument(MatrixCursor result) { in includeDefaultDocument()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java24 import android.database.MatrixCursor;
25 import android.database.MatrixCursor.RowBuilder;
132 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection)); in queryRoots()
150 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); in queryDocument()
193 public boolean includeIfFinished(MatrixCursor result) { in includeIfFinished()
209 private static class CloudCursor extends MatrixCursor {
304 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); in queryRecentDocuments()
393 private static void includeFile(MatrixCursor result, String docId, int flags) { in includeFile()
/frameworks/base/core/tests/coretests/src/android/app/
DSuggestionProvider.java25 import android.database.MatrixCursor;
69 MatrixCursor cursor = new MatrixCursor(COLUMNS); in query()
80 private void addRow(MatrixCursor cursor, String string) { in addRow()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DInboundSmsTrackerTest.java23 import android.database.MatrixCursor;
53 public static MatrixCursor createFakeCursor() { in createFakeCursor()
54 MatrixCursor mc = new MatrixCursor( in createFakeCursor()
DSmsNumberUtilsTest.java20 import android.database.MatrixCursor;
64 MatrixCursor mc = new MatrixCursor( in query()
92 MatrixCursor mccCursor = new MatrixCursor( in query()
DCarrierResolverTest.java27 import android.database.MatrixCursor;
296 MatrixCursor mc = new MatrixCursor( in query()
508 MatrixCursor mc = new MatrixCursor(new String[]{Carriers._ID, Carriers.APN}); in query()
/frameworks/opt/chips/tests/src/com/android/ex/chips/
DRecipientAlternatesAdapterTest.java20 import android.database.MatrixCursor;
31 MatrixCursor c = new MatrixCursor(Queries.EMAIL.getProjection()); in testRemoveUndesiredDestinations()
77 private static MatrixCursor addRow(MatrixCursor c, in addRow()
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
DSampleProvider.java8 import android.database.MatrixCursor;
63 MatrixCursor matrix = new MatrixCursor(projection); in query()
104 private void addRow(MatrixCursor matrix, int match_id) { in addRow()
/frameworks/base/core/tests/coretests/src/android/widget/
DSimpleCursorAdapterTest.java21 import android.database.MatrixCursor;
243 private static MatrixCursor createCursor(String[] columns, ArrayList<ArrayList> list) { in createCursor()
244 MatrixCursor cursor = new MatrixCursor(columns, list.size()); in createCursor()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java25 import android.database.MatrixCursor;
26 import android.database.MatrixCursor.RowBuilder;
375 final MatrixCursor result = new MatrixCursor(resolveProjection(projection)); in queryDocument()
386 final MatrixCursor result = new DirectoryCursor( in queryChildDocuments()
419 final MatrixCursor result = new MatrixCursor(resolveProjection(projection)); in querySearchDocuments()
532 protected RowBuilder includeFile(final MatrixCursor result, String docId, File file) in includeFile()
673 private class DirectoryCursor extends MatrixCursor {
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockOptionsProvider.java21 import android.database.MatrixCursor;
100 MatrixCursor cursor = new MatrixCursor(new String[] { in query()
/frameworks/base/core/java/android/database/
DMatrixCursor.java29 public class MatrixCursor extends AbstractCursor { class
45 public MatrixCursor(String[] columnNames, int initialCapacity) { in MatrixCursor() method in MatrixCursor
62 public MatrixCursor(String[] columnNames) { in MatrixCursor() method in MatrixCursor
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DRcsMessageStoreControllerTest.java30 import android.database.MatrixCursor;
98 MatrixCursor canonicalAddressQueryCursor = new MatrixCursor( in testCreateRcsParticipant()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java24 import android.database.MatrixCursor;
397 private MatrixCursor loadFromEf(int efType, int subId) { in loadFromEf()
417 final MatrixCursor cursor = new MatrixCursor(ADDRESS_BOOK_COLUMN_NAMES, N); in loadFromEf()
426 return new MatrixCursor(ADDRESS_BOOK_COLUMN_NAMES); in loadFromEf()
519 private void loadRecord(AdnRecord record, MatrixCursor cursor, int id) { in loadRecord()
/frameworks/base/core/java/android/provider/
DBrowser.java27 import android.database.MatrixCursor;
249 return new MatrixCursor(new String[]{Bookmarks.URL}, 0); in getAllBookmarks()
261 return new MatrixCursor(new String[]{Combined.URL}, 0); in getAllVisitedUrls()
/frameworks/ex/common/tests/src/com/android/common/widget/
DCompositeCursorAdapterTest.java20 import android.database.MatrixCursor;
251 MatrixCursor cursor = new MatrixCursor(new String[]{name}); in makeCursor()
DGroupingListAdapterTests.java25 import android.database.MatrixCursor;
48 private MatrixCursor mCursor;
108 mCursor = new MatrixCursor(PROJECTION); in buildCursor()
/frameworks/ex/common/java/com/android/common/contacts/
DBaseEmailAddressAdapter.java28 import android.database.MatrixCursor;
495 MatrixCursor cursor = new MatrixCursor(new String[]{SEARCHING_CURSOR_MARKER}); in createLoadingCursor()
539 MatrixCursor newCursor = new MatrixCursor(EmailQuery.PROJECTION); in removeDuplicatesAndTruncate()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDatabase.java27 import android.database.MatrixCursor;
28 import android.database.MatrixCursor.RowBuilder;
133 final MatrixCursor result = new MatrixCursor(columnNames); in queryRoots()
903 static void putValuesToCursor(ContentValues values, MatrixCursor cursor) { in putValuesToCursor()

12