Home
last modified time | relevance | path

Searched refs:orderBy (Results 1 – 16 of 16) sorted by relevance

/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java112 String orderBy; in query() local
114 orderBy = sortOrder; in query()
116 orderBy = Telephony.CellBroadcasts.DEFAULT_SORT_ORDER; in query()
120 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy); in query()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java146 String orderBy; in query() local
148 orderBy = Words.DEFAULT_SORT_ORDER; in query()
150 orderBy = sortOrder; in query()
155 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy); in query()
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/
DApplicationsProvider.java399 String orderBy = null; in searchApplications() local
408 orderBy = getOrderBy(zeroQuery); in searchApplications()
412 Cursor cursor = qb.query(mDb, projectionIn, null, null, groupBy, null, orderBy); in searchApplications()
423 StringBuilder orderBy = new StringBuilder(); in getOrderBy() local
425 orderBy.append("MIN(token_index) != 0, "); in getOrderBy()
429 orderBy.append(LAST_RESUME_TIME + " DESC, "); in getOrderBy()
432 orderBy.append(NAME); in getOrderBy()
434 return orderBy.toString(); in getOrderBy()
/packages/apps/Calendar/src/com/android/calendar/
DAsyncQueryService.java170 String selection, String[] selectionArgs, String orderBy) { in startQuery() argument
182 info.orderBy = orderBy; in startQuery()
DAsyncQueryServiceHelper.java61 public String orderBy; field in AsyncQueryServiceHelper.OperationInfo
128 builder.append(orderBy); in toString()
288 args.selectionArgs, args.orderBy); in onHandleIntent()
DEvent.java302 int startDay, int endDay, String selection, String[] selectionArgs, String orderBy) { in instancesQuery() argument
323 orderBy == null ? DEFAULT_SORT_ORDER : orderBy); in instancesQuery()
/packages/apps/Email/src/com/android/email/activity/
DShortcutPickerFragment.java379 final String orderBy; in onCreateLoader() local
383 orderBy = MailboxColumns.DISPLAY_NAME; in onCreateLoader()
386 orderBy = MailboxColumns.SERVER_ID; in onCreateLoader()
395 new String[] { Long.toString(mAccount.mId) }, orderBy, mAccount.mId, in onCreateLoader()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1655 String orderBy = CalendarProvider2.SORT_CALENDAR_VIEW; in testInstanceSearchQuery() local
1701 "search", where, null, orderBy); in testInstanceSearchQuery()
1713 "purple", where, null, orderBy); in testInstanceSearchQuery()
1725 "puurple", where, null, orderBy); in testInstanceSearchQuery()
1737 "purple lasers", where, null, orderBy); in testInstanceSearchQuery()
1749 "lasers kapow", where, null, orderBy); in testInstanceSearchQuery()
1761 "\"search purple\"", where, null, orderBy); in testInstanceSearchQuery()
1773 "\"purple search\"", where, null, orderBy); in testInstanceSearchQuery()
1785 "%", where, null, orderBy); in testInstanceSearchQuery()
2433 String orderBy = CalendarProvider2.SORT_CALENDAR_VIEW; in testInstanceQuery() local
[all …]
/packages/apps/Calendar/tests/src/com/android/calendar/
DAsyncQueryServiceTest.java98 work[index].orderBy = "order"; in testQuery()
106 work[index].orderBy); in testQuery()
572 String[] selectionArgs, String orderBy) { in query() argument
579 assertEquals(mWork[index].orderBy, orderBy); in query()
DDbTestUtils.java156 String[] selectionArgs, String orderBy) { in query() argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DShortcutRepositoryImplLog.java169 String orderBy = preferLatest + " DESC, " + ordering_expr + " DESC"; in buildShortcutQueries() local
171 false, TABLES, SHORTCUT_QUERY_COLUMNS, where, GROUP_BY, having, orderBy, null); in buildShortcutQueries()
176 orderBy = preferLatest + " DESC, " + ordering_expr + " DESC"; in buildShortcutQueries()
178 false, TABLES, SHORTCUT_QUERY_COLUMNS, where, GROUP_BY, having, orderBy, null); in buildShortcutQueries()
193 final String orderBy = orderingExpr + " DESC"; in buildSourceRankingSql() local
196 false, tables, columns, where, groupBy, having, orderBy, limit); in buildSourceRankingSql()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSmsProvider.java214 String orderBy = null; in query() local
217 orderBy = sort; in query()
219 orderBy = Sms.DEFAULT_SORT_ORDER; in query()
224 null, null, orderBy); in query()
/packages/apps/Music/src/com/android/music/
DTrackBrowserActivity.java1365 public String orderBy;
1374 String orderBy, boolean async) {
1384 args.orderBy = orderBy;
1386 startQuery(0, args, limituri, projection, selection, selectionArgs, orderBy);
1390 uri, projection, selection, selectionArgs, orderBy);
1400 args.selectionArgs, args.orderBy);
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java264 .orderBy(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP, in testOrdering()
269 .orderBy(DownloadManager.COLUMN_TOTAL_SIZE_BYTES, in testOrdering()
274 .orderBy(DownloadManager.COLUMN_TOTAL_SIZE_BYTES, in testOrdering()
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DDownloadList.java157 .orderBy(DownloadManager.COLUMN_TOTAL_SIZE_BYTES, in onCreate()
/packages/apps/Calendar/tests/src/com/android/calendar/event/
DEditEventHelperTest.java1536 String orderBy) { in query() argument