Searched refs:Query (Results 1 – 23 of 23) sorted by relevance
44 public static class Query { class in MockContentProvider62 private Query() { in Query() method in MockContentProvider.Query66 private Query(UriMatcher matcher) { in Query() method in MockContentProvider.Query71 public Query(Uri uri) { in Query() method in MockContentProvider.Query80 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 …]
262 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 …]
62 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()
276 provider.expect(MockContentProvider.Query.forAnyUri())284 private MockContentProvider.Query queryFor(Uri uri, Object... rows) {285 final MockContentProvider.Query query = MockContentProvider.Query295 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,
306 public static abstract class Query { class in GroupMembersFragment380 ? 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()
111 ? 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()
20 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()
73 final Cursor cursor = downManager.query(new DownloadManager.Query().setFilterById(id)); in buildViewIntent()
20 import android.app.DownloadManager.Query;120 final Query query = new Query().setFilterById(mId); in run()
20 import android.app.DownloadManager.Query;84 public Cursor query(final Query query) { in query()
20 import android.app.DownloadManager.Query;346 final Query query = new Query().setFilterById(downloadId); in getCompletedDownloadInfo()
24 import android.app.DownloadManager.Query;163 Query q = new Query(); in createDownloadReceiver()
118 final DownloadManager.Query q = new DownloadManager.Query(); in removeOldDownloads()
36 import com.android.contacts.test.mocks.MockContentProvider.Query;133 private Query expectQuery() { in expectQuery()
40 import com.android.contacts.test.mocks.MockContentProvider.Query;131 Query query = mContactsProvider in expectContactListQuery()
225 iccProvider.expect(MockContentProvider.Query.forAnyUri()) in selectionsAreImportedAndDisabledOnSubsequentImports()
34 import android.app.DownloadManager.Query;193 when(mDownloadManager.query(any(Query.class))).thenReturn(cursor); in mockSuccessfulDownload()
24 import android.app.DownloadManager.Query;78 final Cursor cursor = dm.query(new Query().setFilterById(id)); in onCreate()
595 mMockIccProvider.expect(MockContentProvider.Query.forAnyUri()) in createsContactsFromCursor()631 mMockIccProvider.expect(MockContentProvider.Query.forAnyUri()) in excludesEmptyContactsFromResult()695 mMockIccProvider.expect(MockContentProvider.Query.forAnyUri()) in returnsEmptyListForEmptyCursor()
13 # Query Value {#QueryValue}120 ## Query Array {#QueryArray}136 ## Query Object {#QueryObject}203 ## Query String {#QueryString}
205 // Query/manipulate the DOM here...
61 # @param latency Query latency.
1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...