Home
last modified time | relevance | path

Searched refs:Query (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContentProvider.java44 public static class Query { class in MockContentProvider
62 private Query() { in Query() method in MockContentProvider.Query
66 private Query(UriMatcher matcher) { in Query() method in MockContentProvider.Query
71 public Query(Uri uri) { in Query() method in MockContentProvider.Query
80 public Query withProjection(String... projection) { in withProjection()
85 public Query withDefaultProjection(String... projection) { in withDefaultProjection()
90 public Query withAnyProjection() { in withAnyProjection()
95 public Query withSelection(String selection, String... selectionArgs) { in withSelection()
101 public Query withAnySelection() { in withAnySelection()
106 public Query withSortOrder(String sortOrder) { in withSortOrder()
[all …]
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java262 Cursor cursor = mManager.query(new DownloadManager.Query()); in testFiltering()
265 cursor = mManager.query(new DownloadManager.Query().setFilterById(download2.mId)); in testFiltering()
268 cursor = mManager.query(new DownloadManager.Query() in testFiltering()
272 cursor = mManager.query(new DownloadManager.Query() in testFiltering()
277 cursor = mManager.query(new DownloadManager.Query() in testFiltering()
283 cursor = mManager.query(new DownloadManager.Query()); in testFiltering()
285 … cursor = mManager.query(new DownloadManager.Query().setOnlyIncludeVisibleInDownloadsUi(true)); in testFiltering()
306 Cursor cursor = mManager.query(new DownloadManager.Query()); in testOrdering()
309 cursor = mManager.query(new DownloadManager.Query() in testOrdering()
311 DownloadManager.Query.ORDER_ASCENDING)); in testOrdering()
[all …]
DAbstractPublicApiTest.java62 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in getStatusIfExists()
78 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in getStringField()
89 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in getLongField()
178 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in runUntilProgress()
/packages/apps/Contacts/tests/src/com/android/contacts/
DDynamicShortcutsTests.java276 provider.expect(MockContentProvider.Query.forAnyUri())
284 private MockContentProvider.Query queryFor(Uri uri, Object... rows) {
285 final MockContentProvider.Query query = MockContentProvider.Query
295 private MockContentProvider.Query queryForSingleRow(Uri uri, Object... row) {
296 return new MockContentProvider.Query(uri)
303 private ContentResolver resolverWithExpectedQueries(MockContentProvider.Query... queries) {
305 for (MockContentProvider.Query query : queries) {
337 private void populateQueryRows(MockContentProvider.Query query, int numColumns,
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMembersFragment.java306 public static abstract class Query { class in GroupMembersFragment
380 ? Query.EMAIL_SELECTION in sendToGroup()
381 : Query.PHONE_SELECTION) in sendToGroup()
386 ? Query.EMAIL_PROJECTION in sendToGroup()
387 : Query.PHONE_PROJECTION, in sendToGroup()
397 final String contactId = cursor.getString(Query.CONTACT_ID); in sendToGroup()
398 final String itemId = cursor.getString(Query.ITEM_ID); in sendToGroup()
399 final boolean isPrimary = cursor.getInt(Query.PRIMARY) != 0; in sendToGroup()
400 final int timesUsed = cursor.getInt(Query.TIMES_USED); in sendToGroup()
401 final String data = cursor.getString(Query.DATA1); in sendToGroup()
DGroupUtil.java111 ? GroupMembersFragment.Query.EMAIL_SELECTION in getSendToDataForIds()
113 : GroupMembersFragment.Query.PHONE_SELECTION in getSendToDataForIds()
118 ? GroupMembersFragment.Query.EMAIL_PROJECTION in getSendToDataForIds()
119 : GroupMembersFragment.Query.PHONE_PROJECTION, in getSendToDataForIds()
129 final String data = cursor.getString(GroupMembersFragment.Query.DATA1); in getSendToDataForIds()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java20 import android.app.DownloadManager.Query;
229 cursor = mDm.query(new Query().setFilterById(Long.parseLong(docId))); in queryDocument()
275 new DownloadManager.Query().setOnlyIncludeVisibleInDownloadsUi(true)); in queryChildDocuments()
278 .query(new DownloadManager.Query().setOnlyIncludeVisibleInDownloadsUi(true) in queryChildDocuments()
306 cursor = mDm.query(new DownloadManager.Query().setOnlyIncludeVisibleInDownloadsUi(true) in queryRecentDocuments()
342 cursor = mDm.query(new DownloadManager.Query().setOnlyIncludeVisibleInDownloadsUi(true) in querySearchDocuments()
398 cursor = mDm.query(new Query().setFilterById(Long.parseLong(docId))); in getFileForDocId()
DOpenHelper.java73 final Cursor cursor = downManager.query(new DownloadManager.Query().setFilterById(id)); in buildViewIntent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryDownloadProgressBar.java20 import android.app.DownloadManager.Query;
120 final Query query = new Query().setFilterById(mId); in run()
DDownloadManagerWrapper.java20 import android.app.DownloadManager.Query;
84 public Cursor query(final Query query) { in query()
DUpdateHandler.java20 import android.app.DownloadManager.Query;
346 final Query query = new Query().setFilterById(downloadId); in getCompletedDownloadInfo()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDownloadPackageTask.java24 import android.app.DownloadManager.Query;
163 Query q = new Query(); in createDownloadReceiver()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSystemBroadcastReceiver.java118 final DownloadManager.Query q = new DownloadManager.Query(); in removeOldDownloads()
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
DContactDeletionInteractionTest.java36 import com.android.contacts.test.mocks.MockContentProvider.Query;
133 private Query expectQuery() { in expectQuery()
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DPeopleActivityTest.java40 import com.android.contacts.test.mocks.MockContentProvider.Query;
131 Query query = mContactsProvider in expectContactListQuery()
DSimImportActivityTest.java225 iccProvider.expect(MockContentProvider.Query.forAnyUri()) in selectionsAreImportedAndDisabledOnSubsequentImports()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DDownloadPackageTaskTest.java34 import android.app.DownloadManager.Query;
193 when(mDownloadManager.query(any(Query.class))).thenReturn(cursor); in mockSuccessfulDownload()
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DTrampolineActivity.java24 import android.app.DownloadManager.Query;
78 final Cursor cursor = dm.query(new Query().setFilterById(id)); in onCreate()
/packages/apps/Contacts/tests/src/com/android/contacts/database/
DSimContactDaoTests.java595 mMockIccProvider.expect(MockContentProvider.Query.forAnyUri()) in createsContactsFromCursor()
631 mMockIccProvider.expect(MockContentProvider.Query.forAnyUri()) in excludesEmptyContactsFromResult()
695 mMockIccProvider.expect(MockContentProvider.Query.forAnyUri()) in returnsEmptyListForEmptyCursor()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dtutorial.md13 # Query Value {#QueryValue}
120 ## Query Array {#QueryArray}
136 ## Query Object {#QueryObject}
203 ## Query String {#QueryString}
Ddom.md205 // Query/manipulate the DOM here...
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DEventLogTags.logtags61 # @param latency Query latency.
/packages/inputmethods/LatinIME/dictionaries/
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...