Home
last modified time | relevance | path

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

1234

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java320 String selection, String[] selectionArgs, String sortOrder) { in query() argument
335 cursor = getCompleteConversations(projection, selection, sortOrder, smsTable, in query()
347 projection, selection, selectionArgs, sortOrder); in query()
350 projection, selection, sortOrder, smsTable, pduTable); in query()
355 selection, sortOrder, smsTable, pduTable); in query()
360 selectionArgs, sortOrder); in query()
365 selectionArgs, sortOrder); in query()
369 uri.getPathSegments().get(2), projection, selection, sortOrder, smsTable, in query()
386 sortOrder); in query()
395 sortOrder); in query()
[all …]
DHbpcdLookupProvider.java170 String[] selectionArgs, String sortOrder) { in query() argument
174 boolean useDefaultOrder = TextUtils.isEmpty(sortOrder); in query()
301 orderBy = 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/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/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java5006 String sortOrder) { in query() argument
5007 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
5012 String sortOrder, CancellationSignal cancellationSignal) { in query() argument
5016 " order=[" + sortOrder + "] CPID=" + Binder.getCallingPid() + in query()
5025 return mProfileProvider.query(uri, projection, selection, selectionArgs, sortOrder, in query()
5039 final Cursor cursor = queryLocal(uri, projection, selection, selectionArgs, sortOrder, in query()
5075 directoryUri, projection, selection, selectionArgs, sortOrder); in query()
5181 String[] selectionArgs, String sortOrder, final long directoryId, in queryLocal() argument
5200 selectionArgs, sortOrder); in queryLocal()
5232 projection, selection, selectionArgs, sortOrder, groupBy, limit, in queryLocal()
[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.java60 String sortOrder) { in query() argument
61 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
66 String sortOrder, CancellationSignal cancellationSignal) { in query() argument
67 return mDelegate.queryLocal(uri, projection, selection, selectionArgs, sortOrder, -1, in query()
/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.java101 public void setSortOrder(int sortOrder) { in setSortOrder() argument
102 mSortOrder = sortOrder; in setSortOrder()
104 editor.putInt(SORT_ORDER_KEY, sortOrder); in setSortOrder()
186 int sortOrder = getDefaultSortOrder(); in maybeMigrateSystemSettings() local
188 sortOrder = Settings.System.getInt(mContext.getContentResolver(), in maybeMigrateSystemSettings()
192 setSortOrder(sortOrder); in maybeMigrateSystemSettings()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java518 String sortOrder) { in query() argument
542 validateSortOrder(sortOrder, projectionMap.keySet()); in query()
546 if (!TextUtils.isEmpty(sortOrder)) { in query()
547 orderBy = sortOrder; in query()
994 private static void validateSortOrder(String sortOrder, Set<String> possibleFields) { in validateSortOrder() argument
995 if (TextUtils.isEmpty(sortOrder) || possibleFields.isEmpty()) { in validateSortOrder()
998 String[] orders = sortOrder.split(","); in validateSortOrder()
1125 String sortOrder = WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS + " DESC"; in onConsolidate() local
1129 null, sortOrder)) { in onConsolidate() argument
1168 String sortOrder = WatchedPrograms.COLUMN_INTERNAL_SESSION_TOKEN + " DESC," in onTryConsolidateAll() local
[all …]
/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.java880 String sortOrder) { in query() argument
895 if (sortOrder == null) { in query()
896 sortOrder = DEFAULT_SORT_ACCOUNTS; in query()
930 if (TextUtils.isEmpty(sortOrder)) { in query()
932 sortOrder = DEFAULT_BOOKMARKS_SORT_ORDER_SYNC; in query()
934 sortOrder = DEFAULT_BOOKMARKS_SORT_ORDER; in query()
956 if (TextUtils.isEmpty(sortOrder)) { in query()
958 sortOrder = DEFAULT_BOOKMARKS_SORT_ORDER_SYNC; in query()
960 sortOrder = DEFAULT_BOOKMARKS_SORT_ORDER; in query()
971 query = qb.buildQuery(projection, where, null, null, sortOrder, null); in query()
[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()
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/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/ContactsCommon/src/com/android/contacts/common/list/
DDefaultContactListAdapter.java88 String sortOrder; in configureLoader() local
90 sortOrder = Contacts.SORT_KEY_PRIMARY; in configureLoader()
92 sortOrder = Contacts.SORT_KEY_ALTERNATIVE; in configureLoader()
95 loader.setSortOrder(sortOrder); in configureLoader()
DContactListAdapter.java362 final int sortOrder = getContactNameDisplayOrder(); in getProjection() local
364 if (sortOrder == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in getProjection()
370 if (sortOrder == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in getProjection()
/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.java94 String sortOrder) { in query() argument
115 if (!TextUtils.isEmpty(sortOrder)) { in query()
116 orderBy = sortOrder; in query()
/packages/apps/Settings/src/com/android/settings/
DUsageStatsActivity.java206 void sortList(int sortOrder) { in sortList() argument
207 if (mDisplayOrder == sortOrder) { in sortList()
211 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/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java149 String sortOrder) { in query() argument
175 if (TextUtils.isEmpty(sortOrder)) { in query()
178 orderBy = sortOrder; in query()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java297 String sortOrder) { in query() argument
357 sb.append(sortOrder); in query()
362 Cursor ret = qb.query(db, projection, selection, selectionArgs, null, null, sortOrder); in query()

1234