Home
last modified time | relevance | path

Searched refs:sortOrder (Results 1 – 25 of 126) 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 …]
/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/Dialer/java/com/android/contacts/common/list/
DDefaultContactListAdapter.java45 String sortOrder = null; in configureLoader() local
72 if (sortOrder == null) { in configureLoader()
73 sortOrder = Contacts.SORT_KEY_PRIMARY; in configureLoader()
75 sortOrder += ", " + Contacts.SORT_KEY_PRIMARY; in configureLoader()
78 if (sortOrder == null) { in configureLoader()
79 sortOrder = Contacts.SORT_KEY_ALTERNATIVE; in configureLoader()
81 sortOrder += ", " + Contacts.SORT_KEY_ALTERNATIVE; in configureLoader()
84 loader.setSortOrder(sortOrder); in configureLoader()
DContactListAdapter.java148 final int sortOrder = getContactNameDisplayOrder(); in getProjection() local
150 if (sortOrder == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in getProjection()
156 if (sortOrder == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in getProjection()
/packages/apps/Contacts/src/com/android/contacts/list/
DDefaultContactListAdapter.java87 String sortOrder = null; in configureLoader() local
116 sortOrder = STREQUENT_SORT; in configureLoader()
131 if (sortOrder == null) { in configureLoader()
132 sortOrder = Contacts.SORT_KEY_PRIMARY; in configureLoader()
134 sortOrder += ", " + Contacts.SORT_KEY_PRIMARY; in configureLoader()
137 if (sortOrder == null) { in configureLoader()
138 sortOrder = Contacts.SORT_KEY_ALTERNATIVE; in configureLoader()
140 sortOrder += ", " + Contacts.SORT_KEY_ALTERNATIVE; in configureLoader()
143 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
575 String[] selectionArgs, String sortOrder) { in checkColumnNotAccessibleInner() argument
578 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/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java5505 String sortOrder) { in query() argument
5506 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
5511 String sortOrder, CancellationSignal cancellationSignal) { in query() argument
5515 " order=[" + sortOrder + "] CPID=" + Binder.getCallingPid() + in query()
5521 mContactsHelper.validateSql(getCallingPackage(), sortOrder); in query() local
5536 return mProfileProvider.query(uri, projection, selection, selectionArgs, sortOrder, in query()
5544 return queryDirectoryIfNecessary(uri, projection, selection, selectionArgs, sortOrder, in query()
5557 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { in queryDirectoryIfNecessary() argument
5565 final Cursor cursor = queryLocal(uri, projection, selection, selectionArgs, sortOrder, in queryDirectoryIfNecessary()
5570 return queryDirectoryAuthority(uri, projection, selection, selectionArgs, sortOrder, in queryDirectoryIfNecessary()
[all …]
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.java66 String sortOrder) { in query() argument
67 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
72 String sortOrder, CancellationSignal cancellationSignal) { in query() argument
75 return mDelegate.queryLocal(uri, projection, selection, selectionArgs, sortOrder, -1, in query()
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapIMProvider.java299 String sortOrder) { in query() argument
307 return queryAccount(projection, selection, selectionArgs, sortOrder); in query()
311 return queryMessage(accountId, projection, selection, selectionArgs, sortOrder); in query()
338 searchString, projection, sortOrder); in query()
343 selection, selectionArgs, sortOrder); in query()
363 String[] selectionArgs, String sortOrder); in queryAccount() argument
382 String[] selectionArgs, String sortOrder); in queryMessage() argument
431 String sortOrder); in queryConversation() argument
454 String[] projection, String selection, String[] selectionArgs, String sortOrder); in queryConvoContact() argument
DBluetoothMapEmailProvider.java497 String sortOrder) { in query() argument
503 return queryAccount(projection, selection, selectionArgs, sortOrder); in query()
506 return queryFolder(accountId, projection, selection, selectionArgs, sortOrder); in query()
509 return queryMessage(accountId, projection, selection, selectionArgs, sortOrder); in query()
529 String sortOrder); in queryAccount() argument
542 String sortOrder); in queryFolder() argument
562 String sortOrder); in queryMessage() argument
/packages/apps/Dialer/java/com/android/contacts/common/preference/
DContactsPreferences.java102 public void setSortOrder(int sortOrder) { in setSortOrder() argument
103 mSortOrder = sortOrder; in setSortOrder()
105 editor.putInt(SORT_ORDER_KEY, sortOrder); in setSortOrder()
236 int sortOrder = getDefaultSortOrder(); in maybeMigrateSystemSettings() local
238 sortOrder = Settings.System.getInt(mContext.getContentResolver(), SORT_ORDER_KEY); in maybeMigrateSystemSettings()
241 setSortOrder(sortOrder); in maybeMigrateSystemSettings()
/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/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/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.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/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/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java247 public Cursor queryChildDocuments(String parentDocId, String[] projection, String sortOrder) in queryChildDocuments() argument
249 return queryChildDocuments(parentDocId, projection, sortOrder, false); in queryChildDocuments()
254 String parentDocId, String[] projection, String sortOrder) in queryChildDocumentsForManage() argument
256 return queryChildDocuments(parentDocId, projection, sortOrder, true); in queryChildDocumentsForManage()
260 String sortOrder, boolean manage) throws FileNotFoundException { in queryChildDocuments() argument
267 return super.queryChildDocuments(parentDocId, projection, sortOrder); in queryChildDocuments()
/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
/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()

123456