Home
last modified time | relevance | path

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

12

/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientAlternatesAdapter.java38 import com.android.ex.chips.Queries.Query;
98 Queries.Query query; in getMatchingRecipients()
131 query.getProjection()[Queries.Query.DESTINATION] + " IN (" in getMatchingRecipients()
162 Account account, Set<String> matchesNotFound, Queries.Query query, in getMatchingRecipientsFromDirectoryQueries()
253 String address = c.getString(Queries.Query.DESTINATION); in processContactEntries()
256 c.getString(Queries.Query.NAME), in processContactEntries()
257 c.getInt(Queries.Query.DISPLAY_NAME_SOURCE), in processContactEntries()
258 c.getString(Queries.Query.DESTINATION), in processContactEntries()
259 c.getInt(Queries.Query.DESTINATION_TYPE), in processContactEntries()
260 c.getString(Queries.Query.DESTINATION_LABEL), in processContactEntries()
[all …]
DQueries.java31 public static final Query PHONE = new Query(new String[] {
51 public static final Query EMAIL = new Query(new String[]{
71 static abstract class Query { class in Queries
87 public Query(String[] projection, Uri contentFilter, Uri content) { in Query() method in Queries.Query
DBaseRecipientAdapter.java101 private final Queries.Query mQueryMode;
175 this.displayName = cursor.getString(Queries.Query.NAME); in TemporaryEntry()
176 this.destination = cursor.getString(Queries.Query.DESTINATION); in TemporaryEntry()
177 this.destinationType = cursor.getInt(Queries.Query.DESTINATION_TYPE); in TemporaryEntry()
178 this.destinationLabel = cursor.getString(Queries.Query.DESTINATION_LABEL); in TemporaryEntry()
179 this.contactId = cursor.getLong(Queries.Query.CONTACT_ID); in TemporaryEntry()
181 this.dataId = cursor.getLong(Queries.Query.DATA_ID); in TemporaryEntry()
182 this.thumbnailUriString = cursor.getString(Queries.Query.PHOTO_THUMBNAIL_URI); in TemporaryEntry()
183 this.displayNameSource = cursor.getInt(Queries.Query.DISPLAY_NAME_SOURCE); in TemporaryEntry()
184 this.lookupKey = cursor.getString(Queries.Query.LOOKUP_KEY); in TemporaryEntry()
DDropdownChipLayouter.java30 import com.android.ex.chips.Queries.Query;
67 private Query mQuery;
77 public void setQuery(Query query) { in setQuery()
/frameworks/base/core/java/android/app/search/
DQuery.java37 public final class Query implements Parcelable { class
68 public Query(@NonNull String input, in Query() method in Query
82 public Query(@NonNull String input, long timestampMillis) { in Query() method in Query
86 private Query(Parcel parcel) { in Query() method in Query
148 public static final Creator<Query> CREATOR =
149 new Creator<Query>() {
150 public Query createFromParcel(Parcel parcel) {
151 return new Query(parcel);
154 public Query[] newArray(int size) {
155 return new Query[size];
DISearchUiManager.aidl19 import android.app.search.Query;
35 void query(in SearchSessionId sessionId, in Query input, in ISearchCallback callback); in query()
37 void notifyEvent(in SearchSessionId sessionId, in Query input, in SearchTargetEvent event); in notifyEvent()
DQuery.aidl19 parcelable Query;
DSearchSession.java121 public void notifyEvent(@NonNull Query query, @NonNull SearchTargetEvent event) { in notifyEvent()
142 public void query(@NonNull Query input, in query()
/frameworks/base/core/java/android/service/search/
DISearchUiService.aidl19 import android.app.search.Query;
36 void onQuery(in SearchSessionId sessionId, in Query input, in ISearchCallback callback); in onQuery()
38 void onNotifyEvent(in SearchSessionId sessionId, in Query input, in SearchTargetEvent event); in onNotifyEvent()
DSearchUiService.java27 import android.app.search.Query;
86 public void onQuery(SearchSessionId sessionId, Query input,
95 public void onNotifyEvent(SearchSessionId sessionId, Query query, SearchTargetEvent event) {
151 @NonNull Query query, in onQuery()
162 @NonNull Query query, in onNotifyEvent()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java20 import android.app.DownloadManager.Query;
374 Query q = new Query(); in hasDownloadFinished()
485 DownloadManager.Query q = new DownloadManager.Query(); in getBytesDownloaded()
518 Cursor cursor = mDownloadManager.query(new Query()); in removeAllCurrentDownloads()
540 Query query = new Query(); in getCursor()
/frameworks/base/core/java/android/app/
DPropertyInvalidatedCache.java191 public abstract class PropertyInvalidatedCache<Query, Result> {
299 private final LinkedHashMap<Query, Result> mCache;
340 mCache = new LinkedHashMap<Query, Result>( in PropertyInvalidatedCache()
383 protected abstract Result recompute(Query query); in recompute()
389 protected boolean bypass(Query query) { in bypass()
417 protected Result refresh(Result oldResult, Query query) { in refresh()
477 public Result query(Query query) { in query()
878 protected Result maybeCheckConsistency(Query query, Result proposedResult) { in maybeCheckConsistency()
906 public String queryToString(Query query) { in queryToString()
973 Set<Map.Entry<Query, Result>> cacheEntries = mCache.entrySet(); in dumpContents()
[all …]
DDownloadManager.java867 public static class Query { class in DownloadManager
891 public Query setFilterById(long... ids) { in setFilterById()
902 public Query setFilterByString(@Nullable String filter) { in setFilterByString()
912 public Query setFilterByStatus(int flags) { in setFilterByStatus()
926 public Query setOnlyIncludeVisibleInDownloadsUi(boolean value) { in setOnlyIncludeVisibleInDownloadsUi()
942 public Query orderBy(String column, int direction) { in orderBy()
1159 public Cursor query(Query query) { in query()
1164 public Cursor query(Query query, String[] projection) { in query()
1192 Query query = new Query().setFilterById(id); in getUriForDownloadedFile()
1223 Query query = new Query().setFilterById(id); in getMimeTypeForDownloadedFile()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java19 import android.app.DownloadManager.Query;
149 Cursor cursor = dm.query(new Query().setFilterById(id)); in onReceive()
491 Cursor cursor = mDownloadManager.query(new Query().setFilterById(requestId)); in verifyAndCleanupSingleFileDownload()
682 doWaitForDownloadsOrTimeout(new Query().setFilterById(id), poll, timeoutMillis); in waitForDownloadOrTimeout()
696 doWaitForDownloadsOrTimeout(new Query(), poll, timeoutMillis); in waitForDownloadsOrTimeout()
711 doWaitForDownloadsOrTimeout(new Query().setFilterById(id), poll, timeoutMillis); in waitForDownloadOrTimeoutNoThrow()
759 protected void doWaitForDownloadsOrTimeout(Query query, long poll, long timeoutMillis) in doWaitForDownloadsOrTimeout()
894 Cursor cursor = mDownloadManager.query(new Query()); in removeAllCurrentDownloads()
911 cursor = mDownloadManager.query(new Query()); in removeAllCurrentDownloads()
998 Query query = new Query(); in getCursor()
DDownloadManagerStressTest.java19 import android.app.DownloadManager.Query;
96 Cursor cursor = mDownloadManager.query(new Query()); in testMultipleDownloads()
DDownloadManagerFunctionalTest.java19 import android.app.DownloadManager.Query;
135 Cursor cursor = mDownloadManager.query(new Query().setFilterById(requestId)); in verifyDownload()
324 Cursor cursor = mDownloadManager.query(new Query().setFilterById(dlRequest)); in testRemoveDownload()
/frameworks/base/services/searchui/java/com/android/server/searchui/
DSearchUiManagerService.java29 import android.app.search.Query;
114 public void notifyEvent(@NonNull SearchSessionId sessionId, @NonNull Query query, in notifyEvent()
122 @NonNull Query query, in query()
DSearchUiPerUserService.java23 import android.app.search.Query;
131 public void notifyLocked(@NonNull SearchSessionId sessionId, @NonNull Query query, in notifyLocked()
144 @NonNull Query input, @NonNull ISearchCallback callback) { in queryLocked()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java20 import android.app.DownloadManager.Query;
416 Query query = new Query(); in downloadSuccessful()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java332 DownloadManager.Query query = new DownloadManager.Query(); in onDownloadComplete()
/frameworks/base/core/api/
Dsystem-removed.txt53 public final class Query implements android.os.Parcelable {
Dsystem-current.txt1452 public final class Query implements android.os.Parcelable {
1453 ctor public Query(@NonNull String, long, @NonNull android.os.Bundle);
1454 ctor public Query(@NonNull String, long);
1460 …field @NonNull public static final android.os.Parcelable.Creator<android.app.search.Query> CREATOR;
1506 …method public void notifyEvent(@NonNull android.app.search.Query, @NonNull android.app.search.Sear…
1507 …method @Nullable public void query(@NonNull android.app.search.Query, @NonNull java.util.concurren…
10276 …(@NonNull android.app.search.SearchSessionId, @NonNull android.app.search.Query, @NonNull android.…
10277 …(@NonNull android.app.search.SearchSessionId, @NonNull android.app.search.Query, @NonNull java.uti…
/frameworks/base/packages/SystemUI/docs/
Dfalsing.md39 - Query once you are ready to launch a new feature or dialogue, or are otherwise going to
/frameworks/rs/script_api/include/
Drs_object_info.rsh89 * Query an Allocation for the presence of more than one Level Of Detail. This is useful
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto4404 // FIELD - Query length when Settings search result is clicked

12