Home
last modified time | relevance | path

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

1234

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java296 String selection, String[] selectionArgs, String sortOrder) { in query() argument
301 cursor = getCompleteConversations(projection, selection, sortOrder); in query()
312 projection, selection, selectionArgs, sortOrder); in query()
315 projection, selection, sortOrder); in query()
320 selection, sortOrder); in query()
325 selectionArgs, sortOrder); in query()
330 selectionArgs, sortOrder); in query()
334 uri.getPathSegments().get(2), projection, selection, sortOrder); in query()
350 sortOrder); in query()
359 sortOrder); in query()
[all …]
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DMockContentProvider.java93 public Query withSortOrder(String sortOrder) { in withSortOrder() argument
94 mSortOrder = sortOrder; in withSortOrder()
124 String[] selectionArgs, String sortOrder) { in equals() argument
141 if (!mAnySortOrder && !equals(sortOrder, mSortOrder)) { in equals()
250 String sortOrder) { in query() argument
254 if (query.equals(uri, projection, selection, selectionArgs, sortOrder)) { in query()
265 + queryToString(uri, projection, selection, selectionArgs, sortOrder)); in query()
273 queryToString(uri, projection, selection, selectionArgs, sortOrder)); in query()
309 String[] selectionArgs, String sortOrder) { in queryToString() argument
325 if (sortOrder != null) { in queryToString()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java658 String[] projection, String selection, String[] selectionArgs, String sortOrder,
663 sortOrder);
680 String selection, String[] selectionArgs, String sortOrder, int column) {
682 sortOrder, column, null, LONG_GETTER);
689 String selection, String[] selectionArgs, String sortOrder, int column,
692 sortOrder, column, defaultValue, LONG_GETTER);
699 String selection, String[] selectionArgs, String sortOrder, int column) {
701 sortOrder, column, null, INT_GETTER);
708 String selection, String[] selectionArgs, String sortOrder, int column,
711 sortOrder, column, defaultValue, INT_GETTER);
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java4922 String sortOrder) { in query() argument
4923 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
4928 String sortOrder, CancellationSignal cancellationSignal) { in query() argument
4932 " order=[" + sortOrder + "]"); in query()
4943 return mProfileProvider.query(uri, projection, selection, selectionArgs, sortOrder, in query()
4952 queryLocal(uri, projection, selection, selectionArgs, sortOrder, -1, in query()
4956 queryLocal(uri, projection, selection, selectionArgs, sortOrder, in query()
4960 queryLocal(uri, projection, selection, selectionArgs, sortOrder, in query()
4993 selectionArgs, sortOrder); in query()
5097 String[] selectionArgs, String sortOrder, final long directoryId, in queryLocal() argument
[all …]
DFastScrollingIndexCache.java122 String sortOrder, String countExpression) { in buildCacheKey() argument
129 appendIfNotNull(sb, sortOrder); in buildCacheKey()
198 public Bundle get(Uri queryUri, String selection, String[] selectionArgs, String sortOrder, in get() argument
202 final String key = buildCacheKey(queryUri, selection, selectionArgs, sortOrder, in get()
230 public void put(Uri queryUri, String selection, String[] selectionArgs, String sortOrder, in put() argument
234 final String key = buildCacheKey(queryUri, selection, selectionArgs, sortOrder, in put()
DProfileProvider.java77 String sortOrder) { in query() argument
78 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
83 String sortOrder, CancellationSignal cancellationSignal) { in query() argument
85 return mDelegate.queryLocal(uri, projection, selection, selectionArgs, sortOrder, -1, in query()
/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/apps/Browser/src/com/android/browser/provider/
DBrowserProvider2.java878 String sortOrder) { in query() argument
893 if (sortOrder == null) { in query()
894 sortOrder = DEFAULT_SORT_ACCOUNTS; in query()
928 if (TextUtils.isEmpty(sortOrder)) { in query()
930 sortOrder = DEFAULT_BOOKMARKS_SORT_ORDER_SYNC; in query()
932 sortOrder = DEFAULT_BOOKMARKS_SORT_ORDER; in query()
954 if (TextUtils.isEmpty(sortOrder)) { in query()
956 sortOrder = DEFAULT_BOOKMARKS_SORT_ORDER_SYNC; in query()
958 sortOrder = DEFAULT_BOOKMARKS_SORT_ORDER; in query()
969 query = qb.buildQuery(projection, where, null, null, sortOrder, null); in query()
[all …]
/packages/apps/Email/src/com/android/email/data/
DThrottlingCursorLoader.java38 String[] selectionArgs, String sortOrder) { in ThrottlingCursorLoader() argument
39 this(context, uri, projection, selection, selectionArgs, sortOrder, in ThrottlingCursorLoader()
45 String[] selectionArgs, String sortOrder, int minTimeout, int maxTimeout) { in ThrottlingCursorLoader() argument
46 super(context, uri, projection, selection, selectionArgs, sortOrder); in ThrottlingCursorLoader()
/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/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java304 String sortOrder) { in query() argument
326 sortOrder = "_id DESC, " + sortOrder; in query()
372 sb.append(sortOrder); in query()
377 Cursor ret = qb.query(db, projection, selection, selectionArgs, null, null, sortOrder); in query()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DDefaultContactListAdapter.java95 String sortOrder; in configureLoader() local
97 sortOrder = Contacts.SORT_KEY_PRIMARY; in configureLoader()
99 sortOrder = Contacts.SORT_KEY_ALTERNATIVE; in configureLoader()
102 loader.setSortOrder(sortOrder); in configureLoader()
DContactListAdapter.java347 final int sortOrder = getContactNameDisplayOrder(); in getProjection() local
349 if (sortOrder == ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY) { in getProjection()
355 if (sortOrder == ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY) { in getProjection()
/packages/apps/Email/src/com/android/email/activity/
DShortcutPickerFragment.java120 String[] selectionArgs, String sortOrder) { in AccountPickerLoader() argument
121 super(context, uri, projection, selection, selectionArgs, sortOrder); in AccountPickerLoader()
237 String[] selectionArgs, String sortOrder, long accountId, boolean allowUnread) { in MailboxPickerLoader() argument
238 super(context, uri, projection, selection, selectionArgs, sortOrder); in MailboxPickerLoader()
/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/
DContactsPreferences.java77 public void setSortOrder(int sortOrder) { in setSortOrder() argument
78 mSortOrder = sortOrder; in setSortOrder()
80 ContactsContract.Preferences.SORT_ORDER, sortOrder); in setSortOrder() local
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoProvider.java309 String sortOrder) { in query() argument
310 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
315 String sortOrder, CancellationSignal cancellationSignal) { in query() argument
321 … Cursor c = query(table, projection, selection, selectionArgs, sortOrder, cancellationSignal); in query()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java92 String sortOrder) { in query() argument
113 if (!TextUtils.isEmpty(sortOrder)) { in query()
114 orderBy = sortOrder; in query()
/packages/apps/Settings/src/com/android/settings/
DUsageStats.java195 void sortList(int sortOrder) { in sortList() argument
196 if (mDisplayOrder == sortOrder) { in sortList()
200 mDisplayOrder= sortOrder; in sortList()
/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/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java126 String sortOrder) { in query() argument
147 if (TextUtils.isEmpty(sortOrder)) { in query()
150 orderBy = sortOrder; in query()
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/
DApplicationsProvider.java309 String[] selectionArgs, String sortOrder) { in query() argument
310 return query(uri, projectionIn, selection, selectionArgs, sortOrder, null); in query()
319 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { in query() argument
328 if (!TextUtils.isEmpty(sortOrder)) { in query()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
DLocalDataTest.java410 String selection, String[] selectionArgs, String sortOrder) { in query() argument
427 selectionArgs, groupBy, null, sortOrder, limit)); in query()
436 selectionArgs, groupBy, null, sortOrder, limit); in query()
/packages/apps/Gallery/src/com/android/camera/gallery/
DDrmImageList.java47 protected String sortOrder() { in sortOrder() method in DrmImageList
55 mBaseUri, DRM_IMAGE_PROJECTION, null, null, sortOrder()); in createCursor()
DVideoList.java90 whereClause(), whereClauseArgs(), sortOrder()); in getBucketIds()
116 whereClause(), whereClauseArgs(), sortOrder()); in createCursor()
/packages/apps/Email/src/com/android/email/provider/
DEmailProvider.java1061 String sortOrder) { in query() argument
1181 selection, selectionArgs, null, null, sortOrder, limit); in query()
1203 selectionArgs, null, null, sortOrder, limit); in query()
1214 selectionArgs, null, null, sortOrder, limit); in query()
1221 selectionArgs, null, null, sortOrder); in query()

1234