Home
last modified time | relevance | path

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

1234

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java321 String selection, String[] selectionArgs, String sortOrder) { in query() argument
336 cursor = getCompleteConversations(projection, selection, sortOrder, smsTable, in query()
348 projection, selection, selectionArgs, sortOrder); in query()
351 projection, selection, sortOrder, smsTable, pduTable); in query()
356 selection, sortOrder, smsTable, pduTable); in query()
361 selectionArgs, sortOrder); in query()
366 selectionArgs, sortOrder); in query()
370 uri.getPathSegments().get(2), projection, selection, sortOrder, smsTable, in query()
387 sortOrder); in query()
396 sortOrder); in query()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DDefaultContactListAdapter.java88 String sortOrder = null; in configureLoader() local
106 sortOrder = STREQUENT_SORT; in configureLoader()
117 if (sortOrder == null) { in configureLoader()
118 sortOrder = Contacts.SORT_KEY_PRIMARY; in configureLoader()
120 sortOrder += ", " + Contacts.SORT_KEY_PRIMARY; in configureLoader()
123 if (sortOrder == null) { in configureLoader()
124 sortOrder = Contacts.SORT_KEY_ALTERNATIVE; in configureLoader()
126 sortOrder += ", " + Contacts.SORT_KEY_ALTERNATIVE; in configureLoader()
129 loader.setSortOrder(sortOrder); in configureLoader()
/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/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DMockContentProvider.java94 public Query withSortOrder(String sortOrder) { in withSortOrder() argument
95 mSortOrder = sortOrder; in withSortOrder()
125 String[] selectionArgs, String sortOrder) { in equals() argument
142 if (!mAnySortOrder && !Objects.equals(sortOrder, mSortOrder)) { in equals()
477 String sortOrder) { in query() argument
480 + queryToString(uri, projection, selection, selectionArgs, sortOrder)); in query()
485 if (query.equals(uri, projection, selection, selectionArgs, sortOrder)) { in query()
495 queryToString(uri, projection, selection, selectionArgs, sortOrder)); in query()
599 String[] selectionArgs, String sortOrder) { in queryToString() argument
615 if (sortOrder != null) { in queryToString()
[all …]
/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()
DBoundCursorLoader.java34 final String sortOrder) { in BoundCursorLoader() argument
35 super(context, uri, projection, selection, selectionArgs, sortOrder); in BoundCursorLoader()
DCursorQueryData.java45 final String selection, final String[] selectionArgs, final String sortOrder) { in CursorQueryData() argument
51 mSortOrder = sortOrder; in CursorQueryData()
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()
/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()
DProfileProvider.java62 String sortOrder) { in query() argument
63 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
68 String sortOrder, CancellationSignal cancellationSignal) { in query() argument
70 return mDelegate.queryLocal(uri, projection, selection, selectionArgs, sortOrder, -1, in query()
DContactsProvider2.java5480 String sortOrder) { in query() argument
5481 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
5486 String sortOrder, CancellationSignal cancellationSignal) { in query() argument
5490 " order=[" + sortOrder + "] CPID=" + Binder.getCallingPid() + in query()
5506 return mProfileProvider.query(uri, projection, selection, selectionArgs, sortOrder, in query()
5514 return queryDirectoryIfNecessary(uri, projection, selection, selectionArgs, sortOrder, in query()
5524 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { in queryDirectoryIfNecessary() argument
5532 final Cursor cursor = queryLocal(uri, projection, selection, selectionArgs, sortOrder, in queryDirectoryIfNecessary()
5537 return queryDirectoryAuthority(uri, projection, selection, selectionArgs, sortOrder, in queryDirectoryIfNecessary()
5566 String[] selectionArgs, String sortOrder, String directory, in queryDirectoryAuthority() argument
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSqlInjectionDetectionTest.java98 final String selection, final String sortOrder) { in assertQueryValid() argument
99 final Cursor c = mResolver.query(uri, projection, selection, null, sortOrder); in assertQueryValid()
104 final String[] projection, final String selection, final String sortOrder) { in assertQueryThrows() argument
108 final Cursor c = mResolver.query(uri, projection, selection, null, sortOrder); in assertQueryThrows()
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapIMProvider.java305 String sortOrder) { in query() argument
313 return queryAccount(projection, selection, selectionArgs, sortOrder); in query()
317 return queryMessage(accountId, projection, selection, selectionArgs, sortOrder); in query()
344 searchString, projection, sortOrder); in query()
349 selection, selectionArgs, sortOrder); in query()
369 String[] selectionArgs, String sortOrder); in queryAccount() argument
388 String[] selectionArgs, String sortOrder); in queryMessage() argument
437 String sortOrder); in queryConversation() argument
460 String[] projection, String selection, String[] selectionArgs, String sortOrder); in queryConvoContact() argument
DBluetoothMapEmailProvider.java499 String sortOrder) { in query() argument
505 return queryAccount(projection, selection, selectionArgs, sortOrder); in query()
508 return queryFolder(accountId, projection, selection, selectionArgs, sortOrder); in query()
511 return queryMessage(accountId, projection, selection, selectionArgs, sortOrder); in query()
531 String sortOrder); in queryAccount() argument
544 String sortOrder); in queryFolder() argument
564 String sortOrder); in queryMessage() argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/
DContactsPreferences.java132 public void setSortOrder(int sortOrder) { in setSortOrder() argument
133 mSortOrder = sortOrder; in setSortOrder()
135 editor.putInt(SORT_ORDER_KEY, sortOrder); in setSortOrder()
335 int sortOrder = getDefaultSortOrder(); in maybeMigrateSystemSettings() local
337 sortOrder = Settings.System.getInt(mContext.getContentResolver(), in maybeMigrateSystemSettings()
341 setSortOrder(sortOrder); in maybeMigrateSystemSettings()
/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/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java239 @Nullable String[] selectionArgs, @Nullable String sortOrder) { in query() argument
242 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
247 @Nullable String[] selectionArgs, @Nullable String sortOrder, in query() argument
255 cursor = queryBlockedList(projection, selection, selectionArgs, sortOrder, in query()
285 String sortOrder, CancellationSignal cancellationSignal) { in queryBlockedList() argument
292 /* groupBy =*/ null, /* having =*/null, sortOrder, in queryBlockedList()
/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/Messaging/src/com/android/messaging/mmslib/
DSqliteWrapper.java38 String[] projection, String selection, String[] selectionArgs, String sortOrder) { in query() argument
40 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); in query()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java691 String sortOrder) { in query() argument
718 validateSortOrder(sortOrder, projectionMap.keySet()); in query()
722 if (!TextUtils.isEmpty(sortOrder)) { in query()
723 orderBy = sortOrder; in query()
1225 private static void validateSortOrder(String sortOrder, Set<String> possibleFields) { in validateSortOrder() argument
1226 if (TextUtils.isEmpty(sortOrder) || possibleFields.isEmpty()) { in validateSortOrder()
1229 String[] orders = sortOrder.split(","); in validateSortOrder()
1356 String sortOrder = WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS + " DESC"; in onConsolidate() local
1360 null, sortOrder)) { in onConsolidate() argument
1399 String sortOrder = WatchedPrograms.COLUMN_INTERNAL_SESSION_TOKEN + " DESC," in onTryConsolidateAll() local
[all …]
/packages/apps/Settings/src/com/android/settings/
DUsageStatsActivity.java205 void sortList(int sortOrder) { in sortList() argument
206 if (mDisplayOrder == sortOrder) { in sortList()
210 mDisplayOrder= sortOrder; in sortList()
/packages/apps/UnifiedEmail/src/com/android/mail/
DSenderInfoLoader.java139 final String sortOrder = contactInfoSortOrder(); in loadContactPhotos() local
144 query.toString(), toStringArray(emailsList), sortOrder); in loadContactPhotos()
197 query.toString(), toStringArray(photoIdsAsStrings), sortOrder); in loadContactPhotos()
/packages/apps/Gallery2/src/com/android/gallery3d/provider/
DGalleryProvider.java115 String selection, String[] selectionArgs, String sortOrder) { in query() argument
126 projection, selection, selectionArgs, sortOrder); in query()
136 String selection, String[] selectionArgs, String sortOrder) { in queryPicasaItem() argument
/packages/apps/Gallery/src/com/android/camera/gallery/
DVideoList.java90 whereClause(), whereClauseArgs(), sortOrder()); in getBucketIds()
116 whereClause(), whereClauseArgs(), sortOrder()); in createCursor()
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/
DTelephonyThreadsCompat.java132 String selection, String[] selectionArgs, String sortOrder) { in query() argument
134 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); in query()

1234