/frameworks/base/core/tests/coretests/src/android/database/ |
D | MatrixCursorTest.java | 28 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()
|
D | TranslatingCursorTest.java | 29 MatrixCursor base = new MatrixCursor(new String[] {"_id", "colA", "colB", "colA"}); in testDuplicateColumnName()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | RedactingProvider.java | 20 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/ |
D | TestFontsProvider.java | 26 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()
|
D | MockFontProvider.java | 27 import android.database.MatrixCursor; 173 MatrixCursor cursor = new MatrixCursor(new String[] { in buildCursor() 177 MatrixCursor.RowBuilder builder = cursor.newRow(); in buildCursor()
|
D | FontsContractTest.java | 35 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/ |
D | BugreportStorageProvider.java | 20 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/ |
D | TestDocumentsProvider.java | 24 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/ |
D | SuggestionProvider.java | 25 import android.database.MatrixCursor; 69 MatrixCursor cursor = new MatrixCursor(COLUMNS); in query() 80 private void addRow(MatrixCursor cursor, String string) { in addRow()
|
/frameworks/opt/chips/tests/src/com/android/ex/chips/ |
D | RecipientAlternatesAdapterTest.java | 20 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/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | InboundSmsTrackerTest.java | 23 import android.database.MatrixCursor; 54 public static MatrixCursor createFakeCursor() { in createFakeCursor() 55 MatrixCursor mc = new MatrixCursor( in createFakeCursor()
|
D | SmsNumberUtilsTest.java | 23 import android.database.MatrixCursor; 63 MatrixCursor mc = new MatrixCursor( in query() 91 MatrixCursor mccCursor = new MatrixCursor( in query()
|
D | CarrierResolverTest.java | 25 import android.database.MatrixCursor; 281 MatrixCursor mc = new MatrixCursor( in query() 493 MatrixCursor mc = new MatrixCursor(new String[]{Carriers._ID, Carriers.APN}); in query()
|
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/ |
D | SampleProvider.java | 8 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/ |
D | SimpleCursorAdapterTest.java | 21 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/ |
D | FileSystemProvider.java | 25 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/ |
D | ClockOptionsProvider.java | 21 import android.database.MatrixCursor; 100 MatrixCursor cursor = new MatrixCursor(new String[] { in query()
|
/frameworks/base/core/java/android/database/ |
D | MatrixCursor.java | 29 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/base/core/java/android/provider/ |
D | Browser.java | 25 import android.database.MatrixCursor; 245 return new MatrixCursor(new String[]{Bookmarks.URL}, 0); in getAllBookmarks() 257 return new MatrixCursor(new String[]{Combined.URL}, 0); in getAllVisitedUrls()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccProvider.java | 24 import android.database.MatrixCursor; 400 private MatrixCursor loadFromEf(int efType, int subId) { in loadFromEf() 420 final MatrixCursor cursor = new MatrixCursor(ADDRESS_BOOK_COLUMN_NAMES, N); in loadFromEf() 429 return new MatrixCursor(ADDRESS_BOOK_COLUMN_NAMES); in loadFromEf() 522 private void loadRecord(AdnRecord record, MatrixCursor cursor, int id) { in loadRecord()
|
/frameworks/ex/common/tests/src/com/android/common/widget/ |
D | CompositeCursorAdapterTest.java | 20 import android.database.MatrixCursor; 251 MatrixCursor cursor = new MatrixCursor(new String[]{name}); in makeCursor()
|
D | GroupingListAdapterTests.java | 25 import android.database.MatrixCursor; 48 private MatrixCursor mCursor; 108 mCursor = new MatrixCursor(PROJECTION); in buildCursor()
|
/frameworks/ex/common/java/com/android/common/contacts/ |
D | BaseEmailAddressAdapter.java | 28 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/ |
D | MtpDatabase.java | 27 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()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientAlternatesAdapter.java | 22 import android.database.MatrixCursor; 441 cursor = new MatrixCursor(projection); in getCursorForConstruction() 469 final MatrixCursor result = new MatrixCursor( in removeUndesiredDestinations()
|