Home
last modified time | relevance | path

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

12345678910>>...23

/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
DContactPickerFragmentTest.java109 private ContactPickerFragmentTest loadWithAllContactsCursor(final Cursor cursor) { in loadWithAllContactsCursor()
127 private ContactPickerFragmentTest loadWithFrequentContactsCursor(final Cursor cursor) { in loadWithFrequentContactsCursor()
158 final Cursor cursor = TestDataFactory.getAllContactListCursor(); in testLoadAllContactsList() local
170 final Cursor cursor = TestDataFactory.getFrequentContactListCursor(); in testLoadFrequentContactsList() local
179 final Cursor cursor = TestDataFactory.getFrequentContactListCursor(); in testPickInitialContact() local
199 final Cursor cursor = TestDataFactory.getFrequentContactListCursor(); in testLeaveChipsMode() local
212 final Cursor cursor = TestDataFactory.getFrequentContactListCursor(); in testPickMoreContacts() local
DContactListItemViewTest.java79 final FakeCursor cursor = TestDataFactory.getAllContactListCursor(); in testBindFirstLevel() local
90 final FakeCursor cursor = TestDataFactory.getAllContactListCursor(); in testBindSecondLevel() local
101 final FakeCursor cursor = TestDataFactory.getAllContactListCursor(); in testClickAddedContact() local
111 final FakeCursor cursor = TestDataFactory.getAllContactListCursor(); in testBindTwice() local
/packages/apps/Contacts/src/com/android/contacts/util/
DDataStatus.java46 public DataStatus(Cursor cursor) { in DataStatus()
55 public void possibleUpdate(Cursor cursor) { in possibleUpdate()
76 private void fromCursor(Cursor cursor) { in fromCursor()
144 private static String getString(Cursor cursor, String columnName) { in getString()
148 private static int getInt(Cursor cursor, String columnName) { in getInt()
152 private static int getInt(Cursor cursor, String columnName, int missingValue) { in getInt()
157 private static long getLong(Cursor cursor, String columnName, long missingValue) { in getLong()
162 private static boolean isNull(Cursor cursor, String columnName) { in isNull()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastSearchIndexableProviderTest.java50 Cursor cursor = mSearchIndexableProvider.queryXmlResources(null); in testQueryXmlResources() local
57 Cursor cursor = mSearchIndexableProvider.queryRawData(new String[]{""}); in testQueryRawData() local
69 Cursor cursor = mSearchIndexableProvider.queryNonIndexableKeys(new String[]{""}); in testQueryNonIndexableKeys() local
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyDatabaseHelperTest.java76 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasApnSetIdField() local
91 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasCarrierIdField() local
104 Cursor cursor = db.query("simInfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasCountryIsoField() local
117 Cursor cursor = db.query("siminfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasProfileClassField() local
131 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasSkip464XlatField() local
147 Cursor cursor = db.query("carriers", null, null, null, null, null, null); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb() local
181 Cursor cursor = db.query("siminfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasSubscriptionTypeField() local
196 Cursor cursor = db.query("siminfo", null, null, null, null, null, null); in databaseHelperOnUpgrade_hasImsRcsUceEnabledField() local
/packages/apps/Contacts/tests/src/com/android/contacts/list/
DContactListItemViewTest.java55 Cursor cursor = createCursor("John Doe", "Doe John"); in testShowDisplayName_Simple() local
64 Cursor cursor = createCursor("", ""); in testShowDisplayName_Unknown() local
74 Cursor cursor = createCursor("John Doe", "Doe John"); in testShowDisplayName_WithPrefix() local
89 Cursor cursor = createCursor("John Doe", "Doe John"); in testShowDisplayName_WithPrefixReversed() local
127 MatrixCursor cursor = new MatrixCursor(new String[]{"Name", "AlternateName"}); in createCursor() local
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCursorBackedSuggestionExtras.java41 static CursorBackedSuggestionExtras createExtrasIfNecessary(Cursor cursor, int position) { in createExtrasIfNecessary()
50 static String[] getCursorColumns(Cursor cursor) { in getCursorColumns()
60 static boolean cursorContainsExtras(Cursor cursor) { in cursorContainsExtras()
70 static List<String> getExtraColumns(Cursor cursor) { in getExtraColumns()
85 private CursorBackedSuggestionExtras(Cursor cursor, int position, List<String> extraColumns) { in CursorBackedSuggestionExtras()
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/
DEmergencySearchIndexablesProviderTest.java45 Cursor cursor = mProvider.queryXmlResources( in testQueryXmlResources() local
65 Cursor cursor = mProvider.queryRawData(SearchIndexablesContract.INDEXABLES_RAW_COLUMNS); in testQueryRawData() local
73 Cursor cursor = mProvider.queryNonIndexableKeys( in testQueryNonIndexableKeys() local
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DColumnFilterTest.java88 Cursor cursor = mResolver.query(Channels.CONTENT_URI, projection, null, null, null); in testQueryChannel() local
101 Cursor cursor = mResolver.query(Channels.CONTENT_URI, projection, null, null, null); in testQueryChannel_count() local
110 Cursor cursor = mResolver.query(Channels.CONTENT_URI, null, null, null, null); in testQueryChannelWithNullProjection() local
120 Cursor cursor = mResolver.query(Channels.CONTENT_URI, projection, null, null, null); in testQueryChannelWithNoValidColumn() local
134 Cursor cursor = mResolver.query(Channels.CONTENT_URI, projection, null, null, null); in testInsertAndQueryChannel() local
152 Cursor cursor = mResolver.query(Channels.CONTENT_URI, projection, null, null, null); in testUpdateChannel() local
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java109 private Cursor cursor; field in SortingCursorWrapperTest
142 final Cursor cursor = createSortingCursorWrapper(); in testSort_names_ascending() local
166 final Cursor cursor = createSortingCursorWrapper(); in testSort_names_descending() local
187 final Cursor cursor = createSortingCursorWrapper(); in testSort_sizes_ascending() local
210 Cursor cursor = createSortingCursorWrapper(); in testSort_sizes_descending() local
245 final Cursor cursor = createSortingCursorWrapper(c); in testSort_sizesWithBucketing_ascending() local
297 final Cursor cursor = createSortingCursorWrapper(c); in testSort_sizesWithBucketing_descending() local
355 final Cursor cursor = createSortingCursorWrapper(c); in testSort_time_ascending() local
392 final Cursor cursor = createSortingCursorWrapper(c); in testSort_time_descending() local
411 final Cursor cursor = createSortingCursorWrapper(); in testSort_type_ascending() local
[all …]
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
DDeletedContactUtil.java40 Cursor cursor = resolver.query(uri, projection, null, null, null); in queryDeletedTimestampForContactId() local
51 Cursor cursor = resolver.query(URI, projection, null, null, null); in getCount() local
65 Cursor cursor = resolver.query(URI, projection, null, null, null); in query() local
78 Cursor cursor = resolver.query(URI, projection, selection, args, null); in querySinceTimestamp() local
DCommonDatabaseUtils.java40 public static String[] singleRecordToArray(Cursor cursor) { in singleRecordToArray()
53 public static List<String[]> multiRecordToArray(Cursor cursor) { in multiRecordToArray()
67 private static void fillArray(Cursor cursor, String[] array) { in fillArray()
73 public static void closeQuietly(Cursor cursor) { in closeQuietly()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DSearchContactViewHolder.java95 public void bind(SearchCursor cursor, String query) { in bind()
132 private boolean shouldShowPhoto(SearchCursor cursor) { in shouldShowPhoto()
146 private static Uri getContactUri(Cursor cursor) { in getContactUri()
154 private static String getLabel(Resources resources, Cursor cursor) { in getLabel()
165 private void setCallToAction(SearchCursor cursor, String query) { in setCallToAction()
196 Context context, SearchCursor cursor, String query) { in getCallToAction()
228 SearchCursor cursor, in shouldRequestCapabilities()
269 private static DialerContact getDialerContact(Context context, Cursor cursor) { in getDialerContact()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DArchivesProviderTest.java84 final Cursor cursor = client.query(rootsUri, null, null, null, null, null); in testQueryRoots() local
108 final Cursor cursor = resolver.query(childrenUri, null, null, null, null, null); in testOpen_Success() local
129 final Cursor cursor = resolver.query(childrenUri, null, null, null, null, null); in testOpen_Success() local
161 final Cursor cursor = resolver.query(childrenUri, null, null, null, null, null); in testOpen_Failure() local
182 final Cursor cursor = resolver.query(childrenUri, null, null, null, null, null); in testOpen_Failure() local
215 final Cursor cursor = resolver.query(childrenUri, null, null, null, null, null); in testOpen_ClosesOnRelease() local
222 final Cursor cursor = resolver.query(childrenUri, null, null, null, null, null); in testOpen_ClosesOnRelease() local
254 final Cursor cursor = client.query(childrenUri, null, null, null, null, null); in testNoNotificationAfterAllReleased() local
DReadableArchiveTest.java100 private static void assertRowExist(Cursor cursor, String targetDocId) { in assertRowExist()
121 final Cursor cursor = mArchive.queryChildDocuments( in testQueryChildDocument() local
172 final Cursor cursor = mArchive.queryChildDocuments( in testQueryChildDocument_NoDirs() local
221 final Cursor cursor = mArchive.queryChildDocuments( in testQueryChildDocument_EmptyDirs() local
301 final Cursor cursor = mArchive.queryDocument( in testQueryDocument() local
323 final Cursor cursor = mArchive.queryDocument(documentId, null); in queryDocumentByResIdWithMimeTypeAndVerify() local
415 final Cursor cursor = mArchive.queryChildDocuments( in testBrokenArchive() local
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemViewTest.java78 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testBind() local
91 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testBindMultiSelectUnSelected() local
104 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testBindMultiSelectSelected() local
117 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testClick() local
129 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testBindTwice() local
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListAdapter.java169 public Uri getContactUri(int partitionIndex, Cursor cursor) { in getContactUri()
185 final Cursor cursor = (Cursor) getItem(position); in getContactId() local
190 final Cursor cursor = (Cursor) getItem(position); in isEnterpriseContact() local
204 public boolean isSelectedContact(int partitionIndex, Cursor cursor) { in isSelectedContact()
221 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView()
234 Cursor cursor) { in bindSectionHeaderAndDivider()
244 protected void bindPhoto(final ContactListItemView view, int partitionIndex, Cursor cursor) { in bindPhoto()
273 protected void bindNameAndViewId(final ContactListItemView view, Cursor cursor) { in bindNameAndViewId()
281 protected void bindPresenceAndStatusMessage(final ContactListItemView view, Cursor cursor) { in bindPresenceAndStatusMessage()
286 protected void bindSearchSnippet(final ContactListItemView view, Cursor cursor) { in bindSearchSnippet()
[all …]
DJoinContactListAdapter.java114 public void setSuggestionsCursor(Cursor cursor) { in setSuggestionsCursor()
119 public void changeCursor(Cursor cursor) { in changeCursor()
140 protected View newHeaderView(Context context, int partition, Cursor cursor, in newHeaderView()
161 protected void bindHeaderView(View view, int partitionIndex, Cursor cursor) { in bindHeaderView()
167 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView()
181 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView()
202 public Uri getContactUri(int partitionIndex, Cursor cursor) { in getContactUri()
DLegacyContactListAdapter.java67 Cursor cursor = ((Cursor)getItem(position)); in getPersonUri() local
74 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView()
81 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView()
89 protected void bindName(final ContactListItemView view, Cursor cursor) { in bindName()
95 protected void bindPresence(final ContactListItemView view, Cursor cursor) { in bindPresence()
DLegacyPostalAddressListAdapter.java72 Cursor cursor = ((Cursor)getItem(position)); in getContactMethodUri() local
79 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView()
86 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView()
94 protected void bindName(final ContactListItemView view, Cursor cursor) { in bindName()
100 protected void bindPostalAddress(ContactListItemView view, Cursor cursor) { in bindPostalAddress()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactDirectoryManagerTest.java92 MatrixCursor cursor = new MatrixCursor( in query() local
186 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, in testScanAllProviders() local
271 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); in testPackageInstalled() local
331 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); in testPackageUninstalled() local
377 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); in testPackageReplaced() local
435 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); in testPackageRenamed() local
502 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); in testAccountRemoval() local
536 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); in testNotifyDirectoryChange() local
562 Cursor cursor = mResolver.query( in testForwardingToDirectoryProvider() local
602 Cursor cursor = mResolver.query( in testProjectionPopulated() local
[all …]
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactsAdapter.java60 private Cursor cursor; field in ContactsAdapter
69 void updateCursor(Cursor cursor) { in updateCursor()
182 private static String getDisplayName(Cursor cursor) { in getDisplayName()
186 private static long getPhotoId(Cursor cursor) { in getPhotoId()
190 private static Uri getPhotoUri(Cursor cursor) { in getPhotoUri()
195 private static Uri getContactUri(Cursor cursor) { in getContactUri()
201 private static long getContactId(Cursor cursor) { in getContactId()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DPickCountRecordProviderTest.java50 Cursor cursor = mProviderTestRule.getResolver().query( in testInsert() local
59 Cursor cursor = mProviderTestRule.getResolver().query( in testQuery() local
68 Cursor cursor = mProviderTestRule.getResolver().query( in testDelete() local
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryGridAdapter.java36 public GalleryGridAdapter(final Context context, final Cursor cursor) { in GalleryGridAdapter()
48 public void bindView(final View view, final Context context, final Cursor cursor) { in bindView()
58 public View newView(final Context context, final Cursor cursor, final ViewGroup parent) { in newView()
/packages/apps/Dialer/java/com/android/dialer/voicemailstatus/
DVoicemailStatusHelper.java43 public static int getNumberActivityVoicemailSources(Cursor cursor) { in getNumberActivityVoicemailSources()
64 private static boolean isVoicemailSourceActive(Cursor cursor) { in isVoicemailSourceActive()

12345678910>>...23