Home
last modified time | relevance | path

Searched refs:MatrixCursor (Results 1 – 25 of 50) 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()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportStorageProvider.java20 import android.database.MatrixCursor;
21 import android.database.MatrixCursor.RowBuilder;
60 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection)); in queryRoots()
74 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); in queryDocument()
132 protected RowBuilder includeFile(MatrixCursor result, String docId, File file) in includeFile()
139 private void includeDefaultDocument(MatrixCursor result) { in includeDefaultDocument()
/frameworks/base/core/tests/coretests/src/android/provider/
DTestFontsProvider.java25 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;
177 MatrixCursor cursor = new MatrixCursor(new String[] { in buildCursor()
181 MatrixCursor.RowBuilder builder = cursor.newRow(); in buildCursor()
/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/support/content/src/androidTest/java/androidx/contentpager/content/
DTestContentProvider.java27 import android.database.MatrixCursor;
28 import android.database.MatrixCursor.RowBuilder;
148 private MatrixCursor buildPagedResults(Uri uri, Bundle queryArgs, int recordsetSize) { in buildPagedResults()
152 MatrixCursor c = createInMemoryCursor(); in buildPagedResults()
203 private MatrixCursor buildUnpagedResults(int recordsetSize) { in buildUnpagedResults()
204 MatrixCursor c = createInMemoryCursor(); in buildUnpagedResults()
242 private MatrixCursor createInMemoryCursor() { in createInMemoryCursor()
243 MatrixCursor c = new MatrixCursor(PROJECTION); in createInMemoryCursor()
DTestQueryCallback.java24 import android.database.MatrixCursor;
50 MatrixCursor cursor = new MatrixCursor(new String[]{"id"}, 0); in runQueryInBackground()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DInboundSmsTrackerTest.java19 import android.database.MatrixCursor;
50 public static MatrixCursor createFakeCursor() { in createFakeCursor()
51 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()
DCarrierIdentifierTest.java26 import android.database.MatrixCursor;
207 MatrixCursor mc = new MatrixCursor( in query()
274 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/support/samples/SupportContentDemos/src/main/java/com/example/android/support/content/demos/
DUnpagedDemoDataProvider.java22 import android.database.MatrixCursor;
48 MatrixCursor cursor = new MatrixCursor(COLUMNS); in query()
/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/support/tv-provider/src/androidTest/java/androidx/tvprovider/media/tv/
DPreviewChannelTest.java22 import android.database.MatrixCursor;
166 private MatrixCursor getPreviewChannelCursor(ContentValues contentValues) { in getPreviewChannelCursor()
167 MatrixCursor cursor = new MatrixCursor(PreviewChannel.Columns.PROJECTION); in getPreviewChannelCursor()
168 MatrixCursor.RowBuilder rowBuilder = cursor.newRow(); in getPreviewChannelCursor()
DChannelTest.java25 import android.database.MatrixCursor;
239 private static MatrixCursor getChannelCursor(ContentValues contentValues) { in getChannelCursor()
241 MatrixCursor cursor = new MatrixCursor(cols); in getChannelCursor()
242 MatrixCursor.RowBuilder builder = cursor.newRow(); in getChannelCursor()
DProgramTest.java26 import android.database.MatrixCursor;
264 private static MatrixCursor getProgramCursor(String[] projection, ContentValues contentValues) { in getProgramCursor()
265 MatrixCursor cursor = new MatrixCursor(projection); in getProgramCursor()
266 MatrixCursor.RowBuilder builder = cursor.newRow(); in getProgramCursor()
DWatchNextProgramTest.java27 import android.database.MatrixCursor;
355 private static MatrixCursor getProgramCursor(String[] projection, ContentValues contentValues) { in getProgramCursor()
356 MatrixCursor cursor = new MatrixCursor(projection); in getProgramCursor()
357 MatrixCursor.RowBuilder builder = cursor.newRow(); in getProgramCursor()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java26 import android.database.MatrixCursor;
27 import android.database.MatrixCursor.RowBuilder;
364 final MatrixCursor result = new MatrixCursor(resolveProjection(projection)); in queryDocument()
375 final MatrixCursor result = new DirectoryCursor( in queryChildDocuments()
400 final MatrixCursor result = new MatrixCursor(resolveProjection(projection)); in querySearchDocuments()
462 protected RowBuilder includeFile(MatrixCursor result, String docId, File file) in includeFile()
607 private class DirectoryCursor extends MatrixCursor {
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/
DMockFontProvider.java25 import android.database.MatrixCursor;
194 MatrixCursor cursor = new MatrixCursor(new String[] { Columns._ID, Columns.FILE_ID }); in buildCursor()
200 MatrixCursor cursor = new MatrixCursor(new String[] { in buildCursor()
/frameworks/base/core/tests/coretests/src/android/widget/
DSimpleCursorAdapterTest.java24 import android.database.MatrixCursor;
242 private static MatrixCursor createCursor(String[] columns, ArrayList<ArrayList> list) { in createCursor()
243 MatrixCursor cursor = new MatrixCursor(columns, list.size()); in createCursor()
/frameworks/base/core/java/android/database/
DMatrixCursor.java26 public class MatrixCursor extends AbstractCursor { class
40 public MatrixCursor(String[] columnNames, int initialCapacity) { in MatrixCursor() method in MatrixCursor
57 public MatrixCursor(String[] columnNames) { in MatrixCursor() method in MatrixCursor
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java24 import android.database.MatrixCursor;
393 private MatrixCursor loadFromEf(int efType, int subId) { in loadFromEf()
413 final MatrixCursor cursor = new MatrixCursor(ADDRESS_BOOK_COLUMN_NAMES, N); in loadFromEf()
422 return new MatrixCursor(ADDRESS_BOOK_COLUMN_NAMES); in loadFromEf()
514 private void loadRecord(AdnRecord record, MatrixCursor cursor, int id) { in loadRecord()
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
DSearchView_CursorTest.java32 import android.database.MatrixCursor;
85 final MatrixCursor c = new MatrixCursor( in onQueryTextChange()
/frameworks/base/core/java/android/provider/
DBrowser.java26 import android.database.MatrixCursor;
247 return new MatrixCursor(new String[]{Bookmarks.URL}, 0); in getAllBookmarks()
259 return new MatrixCursor(new String[]{Combined.URL}, 0); in getAllVisitedUrls()

12