/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/ |
SearchFragment.java | 75 Log.i(TAG, String.format("Search Query Text Change %s", newQuery)); 81 public boolean onQueryTextSubmit(String query) { 82 Log.i(TAG, String.format("Search Query Text Submit %s", query)); 83 loadQuery(query); 87 private void loadQuery(String query) { 88 mQuery = query; 91 if (!TextUtils.isEmpty(query) && !query.equals("nil")) { 92 mDelayedLoad.setSearchQuery(query); [all...] |
/external/mesa3d/src/gallium/drivers/ilo/ |
ilo_query.c | 66 ilo_query(struct pipe_query *query) 68 return (struct ilo_query *) query; 107 ilo_destroy_query(struct pipe_context *pipe, struct pipe_query *query) 109 struct ilo_query *q = ilo_query(query); 116 ilo_begin_query(struct pipe_context *pipe, struct pipe_query *query) 118 struct ilo_query *q = ilo_query(query); 132 ilo_end_query(struct pipe_context *pipe, struct pipe_query *query) 134 struct ilo_query *q = ilo_query(query); 141 ilo_begin_query(pipe, query); 201 ilo_get_query_result(struct pipe_context *pipe, struct pipe_query *query, [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
p2p_supplicant_sd.c | 150 const struct wpabuf *query) 155 len = wpabuf_len(query); 158 if (len == wpabuf_len(bsrv->query) && 159 os_memcmp(wpabuf_head(query), wpabuf_head(bsrv->query), 241 5 + wpabuf_len(bsrv->query) + wpabuf_len(bsrv->resp)) 253 wpabuf_put_buf(resp, bsrv->query); /* Key */ 261 static int match_bonjour_query(struct p2p_srv_bonjour *bsrv, const u8 *query, 266 if (query_len < 3 || wpabuf_len(bsrv->query) < 3) 268 if (os_memcmp(query + query_len - 3 [all...] |
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
SearchContactsCursorLoader.java | 40 private final String query; field in class:SearchContactsCursorLoader 43 /** @param query Contacts cursor will be filtered based on this query. */ 45 Context context, @Nullable String query, boolean isRegularSearch) { 48 buildUri(query), 53 this.query = TextUtils.isEmpty(query) ? "" : query; 79 private static Uri buildUri(String query) { 80 return Phone.CONTENT_FILTER_URI.buildUpon().appendPath(query).build() [all...] |
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/ |
SearchAdapter.java | 47 private String query; field in class:SearchAdapter 48 // Raw query number from dialpad, which may contain special character such as "+". This is used 104 ((SearchContactViewHolder) holder).bind(searchCursorManager.getCursor(position), query); local 106 ((NearbyPlaceViewHolder) holder).bind(searchCursorManager.getCursor(position), query); local 108 ((DirectoryContactViewHolder) holder).bind(searchCursorManager.getCursor(position), query); local 118 TextUtils.isEmpty(rawNumber) ? query : rawNumber, 130 searchCursorManager.setQuery(query); 141 if (TextUtils.isEmpty(query) && !showZeroSuggest) { 148 * @param visible If true and query is empty, the adapter won't show any list elements. 156 public void setQuery(String query, @Nullable String rawNumber, CallInitiationType.Type type) [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
GoogleSuggestClient.java | 83 public SourceResult queryInternal(String query) { 84 return query(query); 88 public SourceResult queryExternal(String query) { 89 return query(query); 96 private SourceResult query(String query) { method in class:GoogleSuggestClient 97 if (TextUtils.isEmpty(query)) { 105 String encodedQuery = URLEncoder.encode(query, "UTF-8") [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_ArtistsTest.java | 41 assertNotNull(c = mContentResolver.query( 45 assertNotNull(c = mContentResolver.query( 52 assertNull(mContentResolver.query(Artists.getContentUri(volume), null, null, null, null)); 79 // query 80 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); 113 c = mContentResolver.query(filterUri, null, null, null, null); 121 c = mContentResolver.query(filterUri, null, null, null, null); 128 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null);
|
MediaStore_Audio_GenresTest.java | 43 assertNotNull(c = mContentResolver.query( 48 assertNotNull(c = mContentResolver.query( 59 assertNull(mContentResolver.query(Genres.getContentUri(volume), null, null, null, null)); 70 // query 71 Cursor c = mContentResolver.query(uri, null, null, null, null); 82 c = mContentResolver.query(uri, null, null, null, null); 121 cursor = mContentResolver.query(audioGenresUri, null, null, null, null); 131 cursor = mContentResolver.query(audioGenresUri, null, null, null, null);
|
MediaStore_Audio_Genres_MembersTest.java | 45 Cursor c = mContentResolver.query(uri, null, null, null, null); 51 c = mContentResolver.query(uri, null, null, null, null); 69 assertNotNull(c = mContentResolver.query( 75 assertNotNull(c = mContentResolver.query( 86 assertNull(mContentResolver.query(Members.getContentUri(volume, 1), null, null, null, 94 Cursor c = mContentResolver.query(uri, null, null, null, null); 112 // query, slow path 113 c = mContentResolver.query(membersUri, null, null, null, null); 152 // query again, fast path 153 c = mContentResolver.query(membersUri [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/app/ |
SearchFragment.java | 79 private static final String ARG_QUERY = ARG_PREFIX + ".query"; 95 * an ObjectAdapter that will contain the results to future updates of the search query.</p> 105 * <p>Method invoked when the search query is updated.</p> 107 * <p>This is called as soon as the query changes; it is up to the application to add a 113 * @param newQuery The current search query. 114 * @return whether the results changed as a result of the new query. 119 * Method invoked when the search query is submitted, either by dismissing the keyboard, 120 * pressing search or next on the keyboard or when voice has detected the end of the query. 122 * @param query The query entered 732 String query = mPendingQuery; local [all...] |
SearchSupportFragment.java | 74 private static final String ARG_QUERY = ARG_PREFIX + ".query"; 90 * an ObjectAdapter that will contain the results to future updates of the search query.</p> 100 * <p>Method invoked when the search query is updated.</p> 102 * <p>This is called as soon as the query changes; it is up to the application to add a 108 * @param newQuery The current search query. 109 * @return whether the results changed as a result of the new query. 114 * Method invoked when the search query is submitted, either by dismissing the keyboard, 115 * pressing search or next on the keyboard or when voice has detected the end of the query. 117 * @param query The query entered 727 String query = mPendingQuery; local [all...] |
/frameworks/support/room/runtime/src/main/java/androidx/room/paging/ |
LimitOffsetDataSource.java | 35 * A simple data source implementation that uses Limit & Offset to page the query. 40 * receiving a {@link Cursor} from a large query but avoids the need to manually manage it, and 57 protected LimitOffsetDataSource(RoomDatabase db, SupportSQLiteQuery query, 59 this(db, RoomSQLiteQuery.copyFrom(query), inTransaction, tables); 62 protected LimitOffsetDataSource(RoomDatabase db, RoomSQLiteQuery query, 65 mSourceQuery = query; 79 * Count number of rows query can return 86 Cursor cursor = mDb.query(sqLiteQuery); 154 cursor = mDb.query(sqLiteQuery); 166 Cursor cursor = mDb.query(sqLiteQuery) [all...] |
/hardware/google/av/codec2/hidl/1.0/utils/ |
Configurable.cpp | 53 Return<void> CachedConfigurable::query( function in class:hardware::google::media::c2::V1_0::utils::CachedConfigurable 62 c2_status_t c2res = mIntf->query( 140 for (const FieldSupportedValuesQuery &query : inFields) { 142 query.field.index, 143 query.field.fieldId.offset, 144 query.field.fieldId.size), 145 query.type == FieldSupportedValuesQuery::Type::POSSIBLE ?
|
/system/netd/server/dns/ |
DnsTlsQueryMap.cpp | 27 std::unique_ptr<DnsTlsQueryMap::QueryFuture> DnsTlsQueryMap::recordQuery(const Slice query) { 30 // Store the query so it can be matched to the response or reissued. 31 if (query.size() < 2) { 32 ALOGW("Query is too short"); 37 ALOGW("All query IDs are in use"); 40 Query q = { .newId = static_cast<uint16_t>(newId), .query = query }; 45 ALOGE("Failed to store pending query"); 103 std::vector<DnsTlsQueryMap::Query> DnsTlsQueryMap::getAll() [all...] |
/frameworks/base/core/java/android/net/ |
Uri.java | 110 <scheme>://<authority><path>?<query> 285 * Gets the decoded query component from this URI. The query comes after 286 * the query separator ('?') and before the fragment separator ('#'). This 290 * @return the decoded query or null if there isn't one 296 * Gets the encoded query component from this URI. The query comes after 297 * the query separator ('?') and before the fragment separator ('#'). This 301 * @return the encoded query or null if there isn't one 410 // the data we include -- only the ssp, not the query params o 653 private Part query; field in class:Uri.StringUri 1169 private final Part query; field in class:Uri.HierarchicalUri 1351 private Part query; field in class:Uri.Builder 1459 Builder query(Part query) { method in class:Uri.Builder 1470 public Builder query(String query) { method in class:Uri.Builder 1593 String query = getEncodedQuery(); local 1636 String query = getEncodedQuery(); local 1700 final String query = getEncodedQuery(); local [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
PreferredComponent.java | 196 public boolean sameSet(List<ResolveInfo> query) { 198 return query == null; 200 if (query == null) { 203 final int NQ = query.size(); 208 ResolveInfo ri = query.get(i); 245 public boolean isSuperset(List<ResolveInfo> query) { 247 return query == null; 249 if (query == null) { 252 final int NQ = query.size(); 258 ResolveInfo ri = query.get(i) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
urlparse.py | 121 class SplitResult(namedtuple('SplitResult', 'scheme netloc path query fragment'), ResultMixin):
129 class ParseResult(namedtuple('ParseResult', 'scheme netloc path params query fragment'), ResultMixin):
139 <scheme>://<netloc>/<path>;<params>?<query>#<fragment>
140 Return a 6-tuple: (scheme, netloc, path, params, query, fragment).
144 scheme, netloc, url, query, fragment = tuple
149 return ParseResult(scheme, netloc, url, params, query, fragment)
170 <scheme>://<netloc>/<path>?<query>#<fragment>
171 Return a 5-tuple: (scheme, netloc, path, query, fragment).
181 netloc = query = fragment = ''
195 url, query = url.split('?', 1) [all...] |
/external/python/cpython2/Lib/ |
urlparse.py | 121 class SplitResult(namedtuple('SplitResult', 'scheme netloc path query fragment'), ResultMixin): 129 class ParseResult(namedtuple('ParseResult', 'scheme netloc path params query fragment'), ResultMixin): 139 <scheme>://<netloc>/<path>;<params>?<query>#<fragment> 140 Return a 6-tuple: (scheme, netloc, path, params, query, fragment). 144 scheme, netloc, url, query, fragment = tuple 149 return ParseResult(scheme, netloc, url, params, query, fragment) 170 <scheme>://<netloc>/<path>?<query>#<fragment> 171 Return a 5-tuple: (scheme, netloc, path, query, fragment). 181 netloc = query = fragment = '' 195 url, query = url.split('?', 1 [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
urlparse.py | 120 class SplitResult(namedtuple('SplitResult', 'scheme netloc path query fragment'), ResultMixin): 128 class ParseResult(namedtuple('ParseResult', 'scheme netloc path params query fragment'), ResultMixin): 138 <scheme>://<netloc>/<path>;<params>?<query>#<fragment> 139 Return a 6-tuple: (scheme, netloc, path, params, query, fragment). 143 scheme, netloc, url, query, fragment = tuple 148 return ParseResult(scheme, netloc, url, params, query, fragment) 169 <scheme>://<netloc>/<path>?<query>#<fragment> 170 Return a 5-tuple: (scheme, netloc, path, query, fragment). 180 netloc = query = fragment = '' 194 url, query = url.split('?', 1 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
urlparse.py | 120 class SplitResult(namedtuple('SplitResult', 'scheme netloc path query fragment'), ResultMixin): 128 class ParseResult(namedtuple('ParseResult', 'scheme netloc path params query fragment'), ResultMixin): 138 <scheme>://<netloc>/<path>;<params>?<query>#<fragment> 139 Return a 6-tuple: (scheme, netloc, path, params, query, fragment). 143 scheme, netloc, url, query, fragment = tuple 148 return ParseResult(scheme, netloc, url, params, query, fragment) 169 <scheme>://<netloc>/<path>?<query>#<fragment> 170 Return a 5-tuple: (scheme, netloc, path, query, fragment). 180 netloc = query = fragment = '' 194 url, query = url.split('?', 1 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
urlparse.py | 120 class SplitResult(namedtuple('SplitResult', 'scheme netloc path query fragment'), ResultMixin): 128 class ParseResult(namedtuple('ParseResult', 'scheme netloc path params query fragment'), ResultMixin): 138 <scheme>://<netloc>/<path>;<params>?<query>#<fragment> 139 Return a 6-tuple: (scheme, netloc, path, params, query, fragment). 143 scheme, netloc, url, query, fragment = tuple 148 return ParseResult(scheme, netloc, url, params, query, fragment) 169 <scheme>://<netloc>/<path>?<query>#<fragment> 170 Return a 5-tuple: (scheme, netloc, path, query, fragment). 180 netloc = query = fragment = '' 194 url, query = url.split('?', 1 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
urlparse.py | 120 class SplitResult(namedtuple('SplitResult', 'scheme netloc path query fragment'), ResultMixin): 128 class ParseResult(namedtuple('ParseResult', 'scheme netloc path params query fragment'), ResultMixin): 138 <scheme>://<netloc>/<path>;<params>?<query>#<fragment> 139 Return a 6-tuple: (scheme, netloc, path, params, query, fragment). 143 scheme, netloc, url, query, fragment = tuple 148 return ParseResult(scheme, netloc, url, params, query, fragment) 169 <scheme>://<netloc>/<path>?<query>#<fragment> 170 Return a 5-tuple: (scheme, netloc, path, query, fragment). 180 netloc = query = fragment = '' 194 url, query = url.split('?', 1 [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceNetworkViews.java | 74 * Get the response to the query 75 * @return the response to the query 77 public MonkeyCommandReturn query(AccessibilityNodeInfo node, List<String> args); method in interface:MonkeySourceNetworkViews.ViewIntrospectionCommand 99 * Also sets up a communication connection so we can query the 229 return getter.query(node, args); 246 return (new GetAccessibilityIds()).query(node, new ArrayList<String>()); 271 MonkeyCommandReturn result = idGetter.query(node, emptyArgs); 290 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetLocation 312 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetText 336 public MonkeyCommandReturn query(AccessibilityNodeInfo node method in class:MonkeySourceNetworkViews.GetClass 350 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetChecked 365 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetEnabled 380 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetSelected 396 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.SetSelected 420 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetFocused 436 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.SetFocused 461 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetAccessibilityIds 490 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetParent 511 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetChildren [all...] |
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
LookupActivity.java | 222 // Start query for incoming search request 223 String query = intent.getStringExtra(SearchManager.QUERY); local 224 startNavigating(query, true); 231 String query = data.getPathSegments().get(0); local 232 startNavigating(query, true); 261 * background query to the Wiktionary API. When finished, it transitions 275 * Perform the background query using {@link ExtendedWikiHelper}, which 280 String query = args[0]; local 284 // If query word is null, assume request for random wor [all...] |
/frameworks/av/packages/MediaComponents/src/com/android/media/ |
MediaBrowser2Impl.java | 157 public void search_impl(String query, Bundle extras) { 158 if (TextUtils.isEmpty(query)) { 159 throw new IllegalArgumentException("query shouldn't be empty"); 164 binder.search(getControllerStub(), query, extras); local 177 public void getSearchResult_impl(String query, int page, int pageSize, Bundle extras) { 178 if (TextUtils.isEmpty(query)) { 179 throw new IllegalArgumentException("query shouldn't be empty"); 187 binder.getSearchResult(getControllerStub(), query, page, pageSize, extras); local 219 public void onSearchResultChanged(String query, int itemCount, Bundle extras) { 221 mCallback.onSearchResultChanged(getInstance(), query, itemCount, extras) [all...] |