Home
last modified time | relevance | path

Searched refs:sortOrder (Results 1 – 25 of 147) sorted by relevance

123456

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java325 String selection, String[] selectionArgs, String sortOrder) { in query() argument
340 cursor = getCompleteConversations(projection, selection, sortOrder, smsTable, in query()
352 projection, selection, selectionArgs, sortOrder); in query()
355 projection, selection, sortOrder, smsTable, pduTable); in query()
360 selection, sortOrder, smsTable, pduTable); in query()
365 selectionArgs, sortOrder); in query()
370 selectionArgs, sortOrder); in query()
374 uri.getPathSegments().get(2), projection, selection, sortOrder, smsTable, in query()
391 sortOrder); in query()
400 sortOrder); in query()
[all …]
DRcsProvider.java324 String[] selectionArgs, String sortOrder) { in query() argument
328 bundle.putString(ContentResolver.QUERY_ARG_SQL_SORT_ORDER, sortOrder); in query()
339 String sortOrder = null; in query() local
345 sortOrder = queryArgs.getString(ContentResolver.QUERY_ARG_SQL_SORT_ORDER); in query()
365 selectionArgs, sortOrder); in query()
377 selectionArgs, sortOrder); in query()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java563 String[] projection, String selection, String[] selectionArgs, String sortOrder,
568 sortOrder);
585 String selection, String[] selectionArgs, String sortOrder, int column) {
587 sortOrder, column, null, LONG_GETTER);
594 String selection, String[] selectionArgs, String sortOrder, int column,
597 sortOrder, column, defaultValue, LONG_GETTER);
604 String selection, String[] selectionArgs, String sortOrder, int column) {
606 sortOrder, column, null, INT_GETTER);
613 String selection, String[] selectionArgs, String sortOrder, int column,
616 sortOrder, column, defaultValue, INT_GETTER);
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DDefaultContactListAdapter.java58 String sortOrder = null; in configureLoader() local
87 sortOrder = Contacts.SORT_KEY_PRIMARY; in configureLoader()
102 if (sortOrder == null) { in configureLoader()
103 sortOrder = Contacts.SORT_KEY_PRIMARY; in configureLoader()
105 sortOrder += ", " + Contacts.SORT_KEY_PRIMARY; in configureLoader()
108 if (sortOrder == null) { in configureLoader()
109 sortOrder = Contacts.SORT_KEY_ALTERNATIVE; in configureLoader()
111 sortOrder += ", " + Contacts.SORT_KEY_ALTERNATIVE; in configureLoader()
114 loader.setSortOrder(sortOrder); in configureLoader()
DContactListAdapter.java399 final int sortOrder = getContactNameDisplayOrder(); in getProjection() local
401 if (sortOrder == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in getProjection()
407 if (sortOrder == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in getProjection()
419 final int sortOrder = getContactNameDisplayOrder(); in getDataProjectionForContacts() local
421 if (sortOrder == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in getDataProjectionForContacts()
427 if (sortOrder == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in getDataProjectionForContacts()
/packages/providers/ContactsProvider/tests2/src/com/android/providers/contacts/tests2/
DAllUriTest.java307 String[] selectionArgs, String sortOrder) { in checkQueryExecutable() argument
310 selectionArgs, sortOrder)) { in checkQueryExecutable() argument
319 selectionArgs, sortOrder, new CancellationSignal())) { in checkQueryExecutable() argument
330 projection, selection, selectionArgs, sortOrder)) { in checkQueryExecutable() argument
345 projection, selection, selectionArgs, sortOrder)) { in checkQueryExecutable() argument
355 String[] selectionArgs, String sortOrder) { in checkQueryNotExecutable() argument
358 selectionArgs, sortOrder)) { in checkQueryNotExecutable() argument
583 String[] selectionArgs, String sortOrder) { in checkColumnNotAccessibleInner() argument
586 selectionArgs, sortOrder)) { in checkColumnNotAccessibleInner() argument
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContentProvider.java106 public Query withSortOrder(String sortOrder) { in withSortOrder() argument
107 mSortOrder = sortOrder; in withSortOrder()
137 String[] selectionArgs, String sortOrder) { in equals() argument
158 if (!mAnySortOrder && !Objects.equals(sortOrder, mSortOrder)) { in equals()
517 String sortOrder) { in query() argument
520 + queryToString(uri, projection, selection, selectionArgs, sortOrder)); in query()
525 if (query.equals(uri, projection, selection, selectionArgs, sortOrder)) { in query()
535 queryToString(uri, projection, selection, selectionArgs, sortOrder)); in query()
639 String[] selectionArgs, String sortOrder) { in queryToString() argument
655 if (sortOrder != null) { in queryToString()
[all …]
DForwardingContentProvider.java52 String[] selectionArgs, String sortOrder) { in query() argument
54 return mClient.query(url, projection, selection, selectionArgs, sortOrder); in query()
63 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { in query() argument
65 return mClient.query(url, projection, selection, selectionArgs, sortOrder, in query()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DAudioStore.java87 String sortOrder = MediaStore.Audio.Artists._ID; in load() local
88 Cursor cursor = mContentResolver.query(contentUri, projection, null, null, sortOrder); in load()
112 String sortOrder = MediaStore.Audio.Albums._ID; in load() local
113 Cursor cursor = mContentResolver.query(contentUri, projection, null, null, sortOrder); in load()
149 String sortOrder = MediaStore.Audio.Media._ID; in load() local
150 … Cursor cursor = mContentResolver.query(contentUri, projection, selection, null, sortOrder); in load()
192 String sortOrder = MediaStore.Audio.Playlists._ID; in load() local
193 Cursor cursor = mContentResolver.query(contentUri, projection, null, null, sortOrder); in load()
216 String sortOrder = MediaStore.Audio.Genres._ID; in load() local
217 Cursor cursor = mContentResolver.query(contentUri, projection, null, null, sortOrder); in load()
[all …]
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapIMProvider.java316 String sortOrder) { in query() argument
326 return queryAccount(projection, selection, selectionArgs, sortOrder); in query()
330 return queryMessage(accountId, projection, selection, selectionArgs, sortOrder); in query()
357 searchString, projection, sortOrder); in query()
362 selectionArgs, sortOrder); in query()
382 String[] selectionArgs, String sortOrder); in queryAccount() argument
401 String[] selectionArgs, String sortOrder); in queryMessage() argument
450 String sortOrder); in queryConversation() argument
473 String[] projection, String selection, String[] selectionArgs, String sortOrder); in queryConvoContact() argument
DBluetoothMapEmailProvider.java519 String sortOrder) { in query() argument
525 return queryAccount(projection, selection, selectionArgs, sortOrder); in query()
528 return queryFolder(accountId, projection, selection, selectionArgs, sortOrder); in query()
531 return queryMessage(accountId, projection, selection, selectionArgs, sortOrder); in query()
551 String[] selectionArgs, String sortOrder); in queryAccount() argument
564 String[] selectionArgs, String sortOrder); in queryFolder() argument
585 String[] selectionArgs, String sortOrder); in queryMessage() argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DFastScrollingIndexCache.java128 String sortOrder, String countExpression) { in buildCacheKey() argument
135 appendIfNotNull(sb, sortOrder); in buildCacheKey()
204 public Bundle get(Uri queryUri, String selection, String[] selectionArgs, String sortOrder, in get() argument
208 final String key = buildCacheKey(queryUri, selection, selectionArgs, sortOrder, in get()
236 public void put(Uri queryUri, String selection, String[] selectionArgs, String sortOrder, in put() argument
240 final String key = buildCacheKey(queryUri, selection, selectionArgs, sortOrder, in put()
DContactsProvider2.java5433 String sortOrder) { in query() argument
5434 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
5439 String sortOrder, CancellationSignal cancellationSignal) { in query() argument
5443 " order=[" + sortOrder + "] CPID=" + Binder.getCallingPid() + in query()
5449 mContactsHelper.validateSql(getCallingPackage(), sortOrder); in query() local
5464 return mProfileProvider.query(uri, projection, selection, selectionArgs, sortOrder, in query()
5473 return queryDirectoryIfNecessary(uri, projection, selection, selectionArgs, sortOrder, in query()
5486 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { in queryDirectoryIfNecessary() argument
5494 final Cursor cursor = queryLocal(uri, projection, selection, selectionArgs, sortOrder, in queryDirectoryIfNecessary()
5499 return queryDirectoryAuthority(uri, projection, selection, selectionArgs, sortOrder, in queryDirectoryIfNecessary()
[all …]
DProfileProvider.java67 String sortOrder) { in query() argument
68 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
73 String sortOrder, CancellationSignal cancellationSignal) { in query() argument
77 return mDelegate.queryLocal(uri, projection, selection, selectionArgs, sortOrder, -1, in query()
/packages/apps/Contacts/src/com/android/contacts/preference/
DContactsPreferences.java134 public void setSortOrder(int sortOrder) { in setSortOrder() argument
135 mSortOrder = sortOrder; in setSortOrder()
137 editor.putInt(SORT_ORDER_KEY, sortOrder); in setSortOrder()
354 int sortOrder = getDefaultSortOrder(); in maybeMigrateSystemSettings() local
356 sortOrder = Settings.System.getInt(mContext.getContentResolver(), in maybeMigrateSystemSettings()
360 setSortOrder(sortOrder); in maybeMigrateSystemSettings()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DFrequentContactsCursorQueryData.java40 String[] projection, String selection, String[] selectionArgs, String sortOrder) { in FrequentContactsCursorLoader() argument
41 super(bindingId, context, uri, projection, selection, selectionArgs, sortOrder); in FrequentContactsCursorLoader()
103 String selection, String[] selectionArgs, String sortOrder) { in FrequentContactsCursorQueryData() argument
106 sortOrder); in FrequentContactsCursorQueryData()
DDatabaseWrapper.java204 final String sortOrder, final String limit) { in explainQueryPlan() argument
210 sortOrder, in explainQueryPlan()
280 final String groupBy, final String having, final String sortOrder, final String limit) { in query() argument
283 groupBy, having, sortOrder, limit); in query()
291 having, sortOrder, limit); in query()
DBoundCursorLoader.java34 final String sortOrder) { in BoundCursorLoader() argument
35 super(context, uri, projection, selection, selectionArgs, sortOrder); in BoundCursorLoader()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java359 String selection, String[] selectionArgs, String sortOrder) { in query() argument
386 if (TextUtils.isEmpty(sortOrder)) { in query()
387 sortOrder = DEFAULT_BOOKMARKS_SORT_ORDER; in query()
399 if (TextUtils.isEmpty(sortOrder)) { in query()
400 sortOrder = DEFAULT_BOOKMARKS_SORT_ORDER; in query()
409 query = qb.buildQuery(projection, where, null, null, sortOrder, null); in query()
426 return qb.query(db, projection, selection, selectionArgs, groupBy, null, sortOrder, limit); in query()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSqlInjectionDetectionTest.java117 final String selection, final String sortOrder) { in assertQueryValid() argument
118 final Cursor c = mResolver.query(uri, projection, selection, null, sortOrder); in assertQueryValid()
123 final String[] projection, final String selection, final String sortOrder) { in assertQueryThrows() argument
125 final Cursor c = mResolver.query(uri, projection, selection, null, sortOrder); in assertQueryThrows()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugStorageProvider.java135 @Nullable String sortOrder) { in query() argument
136 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
146 @Nullable String sortOrder, in query() argument
169 sortOrder, null, cancellationSignal); in query()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java243 @Nullable String[] selectionArgs, @Nullable String sortOrder) { in query() argument
246 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
251 @Nullable String[] selectionArgs, @Nullable String sortOrder, in query() argument
259 cursor = queryBlockedList(projection, selection, selectionArgs, sortOrder, in query()
289 String sortOrder, CancellationSignal cancellationSignal) { in queryBlockedList() argument
296 /* groupBy =*/ null, /* having =*/null, sortOrder, in queryBlockedList()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DAnnotatedCallLogContentProvider.java90 @Nullable String sortOrder) { in query() argument
99 queryBuilder.query(db, projection, selection, selectionArgs, null, null, sortOrder); in query()
109 queryBuilder.query(db, projection, selection, selectionArgs, null, null, sortOrder); in query()
124 queryBuilder.query(db, projection, selection, selectionArgs, null, null, sortOrder); in query()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java94 String sortOrder) { in query() argument
115 if (!TextUtils.isEmpty(sortOrder)) { in query()
116 orderBy = sortOrder; in query()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DCp2DeviceLocalAccountLocatorTests.java202 String sortOrder) { in query() argument
203 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
209 String sortOrder, CancellationSignal cancellationSignal) { in query() argument

123456