Home
last modified time | relevance | path

Searched defs:cursor (Results 1 – 25 of 97) sorted by relevance

1234

/cts/tests/tests/provider/src/android/provider/cts/contacts/
DCommonDatabaseUtils.java35 public static String[] singleRecordToArray(Cursor cursor) { in singleRecordToArray()
48 public static List<String[]> multiRecordToArray(Cursor cursor) { in multiRecordToArray()
62 private static void fillArray(Cursor cursor, String[] array) { in fillArray()
68 public static void closeQuietly(Cursor cursor) { in closeQuietly()
DDeletedContactUtil.java40 Cursor cursor = resolver.query(uri, projection, null, null, null); in queryDeletedTimestampForContactId() local
56 Cursor cursor = resolver.query(URI, projection, null, null, null); in getCount() local
70 Cursor cursor = resolver.query(URI, projection, null, null, null); in query() local
83 Cursor cursor = resolver.query(URI, projection, selection, args, null); in querySinceTimestamp() local
DContactsContract_AggregationSuggestionsTest.java67 Cursor cursor = mResolver.query(uri, TEST_PROJECTION, null, null, null); in testAggregationSuggestionsByNameReversed() local
89 Cursor cursor = mResolver.query(uri, TEST_PROJECTION, null, null, null); in testAggregationSuggestionsByName() local
110 Cursor cursor = mResolver.query( in testAggregationSuggestionsByName_noMatch() local
127 Cursor cursor = mResolver.query(uri, TEST_PROJECTION, null, null, null); in testAggregationSuggestionsByName_matchSecondNameParameter() local
148 Cursor cursor = mResolver.query(uri, TEST_PROJECTION, null, null, null); in testAggregationSuggestionsByName_matchFirstNameParameter() local
DVoicemailContractTest.java165 Cursor cursor = mVoicemailProvider.query( in testVoicemailsTable() local
250 try (Cursor cursor = mVoicemailProvider in testForeignUpdate_dirty()
276 try (Cursor cursor = mVoicemailProvider in testForeignUpdate_retainDirty_notDirty()
298 try (Cursor cursor = mVoicemailProvider in testForeignUpdate_explicitNotDirty()
320 try (Cursor cursor = mVoicemailProvider in testForeignUpdate_null_dirty()
342 try (Cursor cursor = mVoicemailProvider in testForeignUpdate_NotNormalized_normalized()
360 try (Cursor cursor = mVoicemailProvider in testLocalUpdate_notDirty()
380 try (Cursor cursor = mVoicemailProvider in testLocalUpdate_retainDirty_dirty()
420 final Cursor cursor = mVoicemailProvider.query(mVoicemailContentUri, in assertDataNotEquals() local
488 Cursor cursor = mStatusProvider.query( in testStatusTable() local
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteCursorTest.java75 SQLiteCursor cursor = getCursor(); in testConstructor() local
80 SQLiteCursor cursor = getCursor(); in testClose() local
95 SQLiteCursor cursor = getCursor(); in testRegisterDataSetObserver() local
152 SQLiteCursor cursor = getCursor(); in testRequery() local
195 SQLiteCursor cursor = getCursor(); in testGetColumnIndex() local
208 SQLiteCursor cursor = (SQLiteCursor) mDatabase.query(TABLE_NAME, null, SELECTION, in testSetSelectionArguments() local
225 Cursor cursor = mDatabase.rawQuery("SELECT * FROM TST", null); in testRowTooBig() local
245 Cursor cursor = mDatabase.rawQuery("SELECT * FROM TST", null); in testFillWindowForwardOnly() local
275 SQLiteCursor cursor = (SQLiteCursor) mDatabase.query(TABLE_NAME, null, null, in getCursor() local
DSQLiteFtsTest.java64 final Cursor cursor = queryFtsTable(TEST_TABLE, "technology"); in testFts3Porter() local
80 final Cursor cursor = queryFtsTable(TEST_TABLE, "technology"); in testFts3Simple() local
94 final Cursor cursor = queryFtsTable(TEST_TABLE, "technology"); in testFts4Simple() local
DSQLiteProgramTest.java90 Cursor cursor = null; in testBind() local
140 Cursor cursor = mDatabase.query("test", new String[] { "text1", "text2", "num1", "image" }, in testBindNull() local
171 Cursor cursor = mDatabase.query("test", new String[] { "text1", "text2", "num1", "image" }, in testBindBlob() local
DSQLiteDatabaseTest.java344 Cursor cursor = mDatabase.query("test", TEST_PROJECTION, null, null, null, null, null); in testCompileStatement() local
387 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, in testDelete() local
437 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, in testExecSQL() local
559 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, in testInsert() local
768 Cursor cursor = mDatabase.query(true, "employee", new String[] { "name", "sum(salary)" }, in testQuery() local
871 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, in testReplace() local
937 Cursor cursor = mDatabase.query("test", null, "_id=1", null, null, null, null); in testUpdate() local
972 Cursor cursor = mDatabase.rawQuery(sql, null); in testSetLocale() local
1090 Cursor cursor = mDatabase.rawQuery("SELECT count(*) FROM test", null); in testGroupConcat() local
1114 Cursor cursor = mDatabase.rawQuery("SELECT * FROM test", null); in testSchemaChanges() local
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DResourceCursorTreeAdapterTest.java90 Cursor cursor = createTestCursor(3, 3); in testConstructor() local
169 MatrixCursor cursor = new MatrixCursor(columns, rowCount); in createTestCursor() local
182 public MockResourceCursorTreeAdapter(Context context, Cursor cursor, in MockResourceCursorTreeAdapter()
189 public MockResourceCursorTreeAdapter(Context context, Cursor cursor, in MockResourceCursorTreeAdapter()
194 public MockResourceCursorTreeAdapter(Context context, Cursor cursor, int groupLayout, in MockResourceCursorTreeAdapter()
200 protected void bindChildView(View view, Context context, Cursor cursor, in bindChildView()
205 protected void bindGroupView(View view, Context context, Cursor cursor, in bindGroupView()
DSimpleCursorTreeAdapterTest.java207 MatrixCursor cursor = new MatrixCursor(columns, rowCount); in createTestCursor() local
220 public MockSimpleCursorTreeAdapter(Context context, Cursor cursor, in MockSimpleCursorTreeAdapter()
228 public MockSimpleCursorTreeAdapter(Context context, Cursor cursor, in MockSimpleCursorTreeAdapter()
235 public MockSimpleCursorTreeAdapter(Context c, Cursor cursor, int groupLayout, in MockSimpleCursorTreeAdapter()
247 protected void bindChildView(View v, Context context, Cursor cursor, boolean isLastChild) { in bindChildView()
251 protected void bindGroupView(View v, Context context, Cursor cursor, boolean isExpanded) { in bindGroupView()
DCursorTreeAdapterTest.java637 public MockCursorTreeAdapter(Cursor cursor, Context context) { in MockCursorTreeAdapter()
641 public MockCursorTreeAdapter(Cursor cursor, Context context, boolean autoRequery) { in MockCursorTreeAdapter()
650 public String convertToString(Cursor cursor) { in convertToString()
657 Cursor cursor, boolean isLastChild) { in bindChildView()
671 Cursor cursor, boolean isExpanded) { in bindGroupView()
714 public View newChildView(Context context, Cursor cursor, in newChildView()
727 public View newGroupView(Context context, Cursor cursor, in newGroupView()
/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtilsTest.java118 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, in testBindObjectToProgram() local
151 Cursor cursor = db.query(TABLE_NAME, PROJECTION, null, null, null, null, null); in testCreateDbFromSqlStatements() local
162 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, in testCursorDoubleToContentValues() local
182 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, in testCursorDoubleToCursorValues() local
201 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, null, null, null, null); in testCursorIntToContentValues() local
230 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, null, null, null, null); in testcursorLongToContentValues() local
259 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, in testCursorRowToContentValues() local
290 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, in testCursorStringToContentValues() local
333 Cursor cursor = mDatabase.query("test_copy", TEST_PROJECTION, null, null, null, null, null); in testCursorStringToInsertHelper() local
360 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, in testDumpCurrentRow() local
[all …]
DCursorWrapperTest.java82 Cursor cursor = mDatabase.query("test1", NUMBER_PROJECTION, null, null, null, null, null); in getCursor() local
315 Cursor cursor = mDatabase.query("test2", null, null, null, null, null, null); in testGettingValues() local
360 CursorWrapper cursor = new CursorWrapper(getCursor()); in testGetExtras() local
367 Cursor cursor = getCursor(); in testCopyStringToBuffer() local
441 Cursor cursor = getCursor(); in testSetExtras() local
DMatrixCursor_RowBuilderTest.java34 MatrixCursor cursor = new MatrixCursor(new String[] { "column0", "column1", "column2" }); in testAdd() local
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DMmsTest.java67 Cursor cursor = mContentResolver.query(uri, null, null, null); in testMmsInsert_insertSendReqSucceeds() local
88 Cursor cursor = mContentResolver.query(uri, null, null, null); in testMmsDelete() local
123 Cursor cursor = mContentResolver.query(uriReturnedFromInsert, null, null, null); in assertThatMmsInsertFailed() local
137 Cursor cursor = mContentResolver.query(uriReturnedFromInsert, null, null, null); in assertThatMmsInsertSucceeded() local
DTelephonyProviderTest.java48 Cursor cursor = mContentResolver.query(Carriers.CONTENT_URI, in testAccessToApns() local
60 Cursor cursor = mContentResolver.query(Carriers.CONTENT_URI, in testNoAccessToPassword() local
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/
DContactsContract_Subquery.java56 try (Cursor cursor = mResolver.query(Contacts.CONTENT_URI, null, null, null, null)) { in testProviderStatus_addedContacts()
61 try (Cursor cursor = mResolver.query(Contacts.CONTENT_URI, null, in testProviderStatus_addedContacts()
67 try (Cursor cursor = mResolver.query(Contacts.CONTENT_URI, null, in testProviderStatus_addedContacts()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/
DField.java59 public long getLong(Cursor cursor) { in getLong()
69 public String getString(Cursor cursor) { in getString()
125 public long getLong(Cursor cursor) { in getLong()
145 public String getString(Cursor cursor) { in getString()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java269 private static void verifyStringColumn(Cursor cursor, ContentValues expectedValues, in verifyStringColumn()
277 private static void verifyIntegerColumn(Cursor cursor, ContentValues expectedValues, in verifyIntegerColumn()
285 private static void verifyLongColumn(Cursor cursor, ContentValues expectedValues, in verifyLongColumn()
293 private static void verifyBlobColumn(Cursor cursor, ContentValues expectedValues, in verifyBlobColumn()
311 try (Cursor cursor = mContentResolver.query( in verifyChannel()
341 try (Cursor cursor = mContentResolver.query(channelUri, projection, null, null, null)) { in verifyNonExistingColumn()
373 try (Cursor cursor = mContentResolver.query( in testChannelsTable()
511 try (Cursor cursor = mContentResolver.query( in testChannelsTableForIllegalAccess()
517 try (Cursor cursor = mContentResolver.query( in testChannelsTableForIllegalAccess()
525 try (Cursor cursor = mContentResolver.query( in testChannelsTableForIllegalAccess()
[all …]
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileCalendarTest.java195 final Cursor cursor = mResolver.query( in testPrimaryProfile_getCorrectWorkCalendarsWhenEnabled() local
225 final Cursor cursor = mResolver.query( in testPrimaryProfile_getCorrectWorkEventsWhenEnabled() local
249 final Cursor cursor = mResolver.query( in testPrimaryProfile_getCorrectWorkInstancesWhenEnabled() local
274 final Cursor cursor = mResolver.query( in testPrimaryProfile_getCorrectWorkInstancesByDayWhenEnabled() local
294 final Cursor cursor = mResolver.query( in testPrimaryProfile_canAccessWorkInstancesSearch1() local
310 final Cursor cursor = mResolver.query( in testPrimaryProfile_canAccessWorkInstancesSearch2() local
326 final Cursor cursor = mResolver.query( in testPrimaryProfile_canAccessWorkInstancesSearchByDay() local
/cts/tests/tests/content/src/android/content/cts/
DContentProviderCursorWindowTest.java36 Cursor cursor; in testQuery() local
/cts/tests/tests/provider/src/android/provider/cts/
DUserDictionary_WordsTest.java73 Cursor cursor = mContentResolver.query(UserDictionary.Words.CONTENT_URI, WORDS_PROJECTION, in testAddWord_deprecated() local
91 Cursor cursor = mContentResolver.query(UserDictionary.Words.CONTENT_URI, WORDS_PROJECTION, in assertWord() local
/cts/tests/tests/telephony/TestSmsApp22/src/android/telephony/cts/sms23/
DMainActivity.java31 Cursor cursor = null; in onCreate() local
/cts/tests/tvprovider/src/android/tvprovider/cts/
DTvProviderPerfTest.java123 try (final Cursor cursor = mContentResolver.query(Channels.CONTENT_URI, in testChannels()
166 try (final Cursor cursor = mContentResolver.query(Channels.CONTENT_URI, in testChannels()
331 try (final Cursor cursor = mContentResolver.query(Programs.CONTENT_URI, in testPrograms()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DApnDatabaseTest.java140 Cursor cursor = mContentResolver.query( in testValidCase() local
221 Cursor cursor = mContentResolver.query( in testQueryConflictCase() local
276 Cursor cursor = mContentResolver.query( in testUpdateConflictCase() local
344 Cursor cursor = mContentResolver.query( in testDeleteConflictCase() local

1234