Home
last modified time | relevance | path

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

123456

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java343 String selection, String[] selectionArgs, String sortOrder) { in query() argument
356 SqlQueryChecker.checkQueryParametersForSubqueries(projection, selection, sortOrder); in query()
368 cursor = getCompleteConversations(projection, selection, sortOrder, smsTable, in query()
380 projection, selection, selectionArgs, sortOrder); in query()
383 projection, selection, sortOrder, smsTable, pduTable); in query()
388 selection, sortOrder, smsTable, pduTable); in query()
393 selectionArgs, sortOrder); in query()
398 selectionArgs, sortOrder); in query()
402 uri.getPathSegments().get(2), projection, selection, sortOrder, smsTable, in query()
419 sortOrder); in query()
[all …]
DSqlQueryChecker.java34 String selection, String sortOrder) { in checkQueryParametersForSubqueries() argument
43 SQLiteTokenizer.tokenize(sortOrder, SQLiteTokenizer.OPTION_NONE, in checkQueryParametersForSubqueries()
/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/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/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/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()
DCursorQueryData.java45 final String selection, final String[] selectionArgs, final String sortOrder) { in CursorQueryData() argument
51 mSortOrder = sortOrder; in CursorQueryData()
/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/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastProvider.java177 String sortOrder) { in query() argument
186 + " sortOrder = " + sortOrder); in query()
193 if (!TextUtils.isEmpty(sortOrder)) { in query()
194 orderBy = sortOrder; 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/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugStorageProvider.java225 @Nullable String sortOrder) { in query() argument
226 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
236 @Nullable String sortOrder, in query() argument
259 sortOrder, null, cancellationSignal); 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