/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | CommonDatabaseUtils.java | 35 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()
|
D | DeletedContactUtil.java | 40 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
|
D | ContactsContract_AggregationSuggestionsTest.java | 67 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
|
D | VoicemailContractTest.java | 165 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/ |
D | SQLiteCursorTest.java | 75 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
|
D | SQLiteFtsTest.java | 64 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
|
D | SQLiteProgramTest.java | 90 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
|
D | SQLiteDatabaseTest.java | 344 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/telephonyprovider/src/android/telephonyprovider/cts/ |
D | SmsTest.java | 76 Cursor cursor = mContentResolver.query(uri, null, null, null); in testSmsInsert() local 96 Cursor cursor = mContentResolver.query(uri, null, null, null); in testSmsDelete() local 141 Cursor cursor = mContentResolver.query(uri, null, null, null); in testInsertSms_canUpdateSeen() local 159 Cursor cursor = mContentResolver.query(uri, null, null, null); in testInsertSms_canUpdateSmsStatus() local 175 Cursor cursor = mContentResolver.query(uri, null, null, null); in testInsertSms_canUpdateSmsType() local 219 Cursor cursor = mContentResolver.query(Telephony.Sms.CONTENT_URI, null, null, null); in testDefaultValuesAreInsertedInSmsTable() local 260 Cursor cursor = mContentResolver.query(Telephony.Sms.CONTENT_URI, null, null, null); in testDeleteSms_ifLastSmsDeletedThenThreadIsDeleted() local
|
D | MmsTest.java | 83 Cursor cursor = mContentResolver.query(uri, null, null, null); in testMmsInsert_insertSendReqSucceeds() local 104 Cursor cursor = mContentResolver.query(uri, null, null, null); in testMmsDelete() local 236 Cursor cursor = mContentResolver in testMmsQuery_retrieveAllWhenSelectorNotSpecified() local 260 private void assertThatMmsCursorValues(Cursor cursor, in assertThatMmsCursorValues() 274 Cursor cursor = mContentResolver in testMmsQuery_retrieveAllFailedMmsWhenSelectorSpecified() local 288 Cursor cursor = mContentResolver in testMmsQuery_retrieveAllSentMmsWhenSelectorSpecified() local 302 Cursor cursor = mContentResolver in testMmsQuery_retrieveAllQueuedMmsWhenSelectorSpecified() local 315 Cursor cursor = mContentResolver.query(mmsUri, null, null, null); in testMmsUpdate() local 344 Cursor cursor = mContentResolver.query(mmsUri, null, null, null); in testMmsUpdate_canUpdateReadAndSeenStatus() local 487 Cursor cursor = mContentResolver.query(uriReturnedFromInsert, null, null, null); in assertThatMmsInsertFailed() local [all …]
|
D | LockedMessageTest.java | 81 Cursor cursor = mContentResolver.query(Telephony.MmsSms.CONTENT_LOCKED_URI, null, null, in testLockedMessage_atMostOneLockedMessage() local 109 Cursor cursor = mContentResolver.query(Telephony.MmsSms.CONTENT_LOCKED_URI, null, null, in testLockedMessage_getNoLockedMessage() local 118 Cursor cursor = mContentResolver.query(mmsUri, null, null, null); in insertMmsWithLockedMessage() local 144 Cursor cursor = mContentResolver.query(smsUri, null, null, null); in insertSmsWithLockedMessage() local
|
D | SmsConversationTest.java | 77 Cursor cursor = mContentResolver in testQueryConversation_snippetEqualsMostRecentMessageBody() local 102 Cursor cursor = mContentResolver in testQueryConversation_returnsCorrectMessageCount() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ResourceCursorTreeAdapterTest.java | 90 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()
|
D | SimpleCursorTreeAdapterTest.java | 207 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()
|
D | CursorTreeAdapterTest.java | 637 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/ |
D | DatabaseUtilsTest.java | 118 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 …]
|
D | CursorWrapperTest.java | 82 Cursor cursor = mDatabase.query("test1", NUMBER_PROJECTION, null, null, null, null, null); in getCursor() local 322 Cursor cursor = mDatabase.query("test2", null, null, null, null, null, null); in testGettingValues() local 367 CursorWrapper cursor = new CursorWrapper(getCursor()); in testGetExtras() local 374 Cursor cursor = getCursor(); in testCopyStringToBuffer() local 448 Cursor cursor = getCursor(); in testSetExtras() local
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/ |
D | ContactsContract_Subquery.java | 56 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/ |
D | Field.java | 59 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/ |
D | TvContractTest.java | 270 private static void verifyStringColumn(Cursor cursor, ContentValues expectedValues, in verifyStringColumn() 278 private static void verifyIntegerColumn(Cursor cursor, ContentValues expectedValues, in verifyIntegerColumn() 286 private static void verifyLongColumn(Cursor cursor, ContentValues expectedValues, in verifyLongColumn() 294 private static void verifyBlobColumn(Cursor cursor, ContentValues expectedValues, in verifyBlobColumn() 312 try (Cursor cursor = mContentResolver.query( in verifyChannel() 343 try (Cursor cursor = mContentResolver.query(channelUri, projection, null, null, null)) { in verifyNonExistingColumn() 379 try (Cursor cursor = mContentResolver.query( in testChannelsTable() 517 try (Cursor cursor = mContentResolver.query( in testChannelsTableForIllegalAccess() 523 try (Cursor cursor = mContentResolver.query( in testChannelsTableForIllegalAccess() 531 try (Cursor cursor = mContentResolver.query( in testChannelsTableForIllegalAccess() [all …]
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CrossProfileCalendarTest.java | 195 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/ |
D | ContentProviderCursorWindowTest.java | 36 Cursor cursor; in testQuery() local
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | UserDictionary_WordsTest.java | 73 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/ |
D | MainActivity.java | 31 Cursor cursor = null; in onCreate() local
|
/cts/tests/tvprovider/src/android/tvprovider/cts/ |
D | TvProviderPerfTest.java | 123 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()
|