Home
last modified time | relevance | path

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

12

/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DQueryParam.java73 @Nullable String orderBy, in QueryParam() argument
79 mOrderBy = orderBy; in QueryParam()
139 private QueryBuilder orderBy(String column, String order) { in orderBy() method in QueryParam.QueryBuilder
151 return orderBy(column, ORDER_ASC); in orderAscBy()
161 return orderBy(column, ORDER_DESC); in orderDescBy()
168 public QueryBuilder orderBy(String orderBy) { in orderBy() method in QueryParam.QueryBuilder
169 mOrderBy.add(orderBy); in orderBy()
246 String orderBy = mOrderBy.stream().collect(Collectors.joining(",")); in toQueryParam() local
253 orderBy, in toQueryParam()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DHbpcdLookupProvider.java172 String orderBy = null; in query() local
182 orderBy = MccIdd.DEFAULT_SORT_ORDER; in query()
190 orderBy = MccLookup.DEFAULT_SORT_ORDER; in query()
217 orderBy = MccIdd.DEFAULT_SORT_ORDER; in query()
225 orderBy = NanpAreaCode.DEFAULT_SORT_ORDER; in query()
233 orderBy = ArbitraryMccSidMatch.DEFAULT_SORT_ORDER; in query()
243 orderBy = MccIdd.DEFAULT_SORT_ORDER; in query()
253 orderBy = MccLookup.DEFAULT_SORT_ORDER; in query()
262 orderBy = MccSidConflicts.DEFAULT_SORT_ORDER; in query()
272 orderBy = MccIdd.DEFAULT_SORT_ORDER; in query()
[all …]
DSmsProvider.java307 String orderBy = null; in query() local
310 orderBy = sort; in query()
312 orderBy = Sms.DEFAULT_SORT_ORDER; in query()
316 null, null, orderBy); in query()
/packages/apps/TV/src/com/android/tv/util/
DAsyncDbTask.java97 String orderBy) { in AsyncQueryTask() argument
104 mOrderBy = orderBy; in AsyncQueryTask()
208 String orderBy) { in AsyncQueryListTask() argument
209 this(executor, context, uri, projection, selection, selectionArgs, orderBy, null); in AsyncQueryListTask()
219 String orderBy, in AsyncQueryListTask() argument
221 super(executor, context, uri, projection, selection, selectionArgs, orderBy); in AsyncQueryListTask()
273 String orderBy) { in AsyncQueryItemTask() argument
274 super(executor, context, uri, projection, selection, selectionArgs, orderBy); in AsyncQueryItemTask()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastProvider.java189 String orderBy; in query() local
191 orderBy = sortOrder; in query()
193 orderBy = CellBroadcasts.RECEIVED_TIME + " DESC"; in query()
201 null /* groupBy */, null /* having */, orderBy); in query()
206 null, orderBy); in query()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java179 String orderBy; in query() local
181 orderBy = Words.DEFAULT_SORT_ORDER; in query()
183 orderBy = sortOrder; in query()
188 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy); in query()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java246 final String having, final String orderBy, final String limit) { in query() argument
251 groupBy, having, orderBy, limit); in query()
260 groupBy, having, orderBy, limit); in query()
272 final String having, final String orderBy) { in query() argument
275 groupBy, having, orderBy, null); in query()
/packages/apps/Contacts/src/com/android/contacts/database/
DNoNullCursorAsyncQueryHandler.java37 String[] selectionArgs, String orderBy) { in startQuery() argument
40 orderBy); in startQuery()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripContentQueries.java60 Uri contentUri, String[] projection, long minimumId, String orderBy, in forCameraPath() argument
66 selection, selectionArgs, orderBy); in forCameraPath()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java168 String orderBy; in query() local
170 orderBy = sortOrder; in query()
172 orderBy = Telephony.CellBroadcasts.DEFAULT_SORT_ORDER; in query()
176 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy); in query()
/packages/apps/Dialer/java/com/android/contacts/common/database/
DNoNullCursorAsyncQueryHandler.java48 String orderBy) { in startQuery() argument
55 super.startQuery(token, projectionCookie, uri, projection, selection, selectionArgs, orderBy); in startQuery()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1919 String orderBy = CalendarProvider2.SORT_CALENDAR_VIEW; in testInstanceSearchQuery() local
1965 "search", where, null, orderBy); in testInstanceSearchQuery()
1977 "purple", where, null, orderBy); in testInstanceSearchQuery()
1989 "puurple", where, null, orderBy); in testInstanceSearchQuery()
2001 "purple lasers", where, null, orderBy); in testInstanceSearchQuery()
2013 "lasers kapow", where, null, orderBy); in testInstanceSearchQuery()
2025 "\"search purple\"", where, null, orderBy); in testInstanceSearchQuery()
2037 "\"purple search\"", where, null, orderBy); in testInstanceSearchQuery()
2049 "%", where, null, orderBy); in testInstanceSearchQuery()
2748 String orderBy = CalendarProvider2.SORT_CALENDAR_VIEW; in testInstanceQuery() local
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DLauncherDbUtils.java98 String selection, String groupBy, String orderBy) { in queryIntArray() argument
101 groupBy, null, orderBy)) { in queryIntArray() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java284 String orderBy = Phone.CONTACT_ID; in getPhonebookNameList() local
287 orderBy = Phone.DISPLAY_NAME; in getPhonebookNameList()
289 contactCursor = mResolver.query(myUri, PHONES_CONTACTS_PROJECTION, null, null, orderBy); in getPhonebookNameList()
625 String orderBy = Phone.CONTACT_ID; in composeAndSendPhonebookOneVcard() local
628 orderBy = Phone.DISPLAY_NAME; in composeAndSendPhonebookOneVcard()
630 contactCursor = mResolver.query(myUri, PHONES_CONTACTS_PROJECTION, null, null, orderBy); in composeAndSendPhonebookOneVcard()
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoProvider.java519 String[] selectionArgs, String orderBy, CancellationSignal cancellationSignal) { in query() argument
523 orderBy, null, cancellationSignal); in query()
525 return db.query(table, columns, selection, selectionArgs, null, null, orderBy); in query()
/packages/apps/Calendar/src/com/android/calendar/
DEvent.java308 int startDay, int endDay, String selection, String[] selectionArgs, String orderBy) { in instancesQuery() argument
329 orderBy == null ? DEFAULT_SORT_ORDER : orderBy); in instancesQuery()
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfoAsyncQuery.java395 String orderBy) { in startQuery() argument
413 super.startQuery(token, cookie, uri, projection, selection, selectionArgs, orderBy); in startQuery()
609 args.orderBy); in handleMessage()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryDatabaseManager.java105 final String orderBy = AnomalyDatabaseHelper.AnomalyColumns.TIME_STAMP_MS + " DESC"; in queryAllAnomalies() local
112 null /* groupBy */, null /* having */, orderBy)) { in queryAllAnomalies() argument
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java2292 String where, String orderBy) { in query() argument
2294 null, orderBy == null ? DEFAULT_SORT_ORDER : orderBy); in query()
2304 String selection, String [] selectionArgs, String orderBy) { in query() argument
2306 selectionArgs, orderBy == null ? DEFAULT_SORT_ORDER : orderBy); in query()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java313 .orderBy(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP, in testOrdering()
318 .orderBy(DownloadManager.COLUMN_TOTAL_SIZE_BYTES, in testOrdering()
323 .orderBy(DownloadManager.COLUMN_TOTAL_SIZE_BYTES, in testOrdering()
/packages/apps/Calendar/tests/src/com/android/calendar/
DDbTestUtils.java160 String[] selectionArgs, String orderBy) { in query() argument
/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/
DFakeTvProvider.java1531 String orderBy = null; in query() local
1536 orderBy = DEFAULT_PROGRAMS_SORT_ORDER; in query()
1540 orderBy = DEFAULT_WATCHED_PROGRAMS_SORT_ORDER; in query()
1562 orderBy = sortOrder; in query()
1575 orderBy); in query()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DSQLiteQueryBuilder.java403 String groupBy, String having, String orderBy, String limit) { in buildQueryString() argument
425 appendClause(query, " ORDER BY ", orderBy); in buildQueryString()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java1385 String orderBy = null; in query() local
1390 orderBy = DEFAULT_PROGRAMS_SORT_ORDER; in query()
1394 orderBy = DEFAULT_WATCHED_PROGRAMS_SORT_ORDER; in query()
1416 orderBy = sortOrder; in query()
1422 params.getSelectionArgs(), null, null, orderBy); in query()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java1405 String orderBy = Contacts.DISPLAY_NAME + " ASC"; in getContactNameFromPhone() local
1408 c = resolver.query(uri, projection, selection, null, orderBy); in getContactNameFromPhone()
3602 String orderBy = Contacts._ID + " ASC"; in setVCardFromPhoneNumber() local
3605 p = mResolver.query(uri, projection, selection, null, orderBy); in setVCardFromPhoneNumber()

12