/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pServiceRequest.java | 50 * query data field. 61 * The hex dump string of query data for the requested service information. 72 * @param query The part of service specific query. 75 protected WifiP2pServiceRequest(int protocolType, String query) { 76 validateQuery(query); 79 mQuery = query; 80 if (query != null) { 81 mLength = query.length()/2 + 2; 93 * @param query The part of service specific query [all...] |
/frameworks/support/persistence/db/src/main/java/androidx/sqlite/db/ |
SupportSQLiteQueryBuilder.java | 22 * A simple query builder to create SQL SELECT queries. 40 * Creates a query for the given table name. 42 * @param tableName The table name(s) to query. 44 * @return A builder to create a query. 55 * Adds DISTINCT keyword to the query. 144 * {@link SupportSQLiteDatabase#query(SupportSQLiteQuery)}. 146 * @return a new query 153 StringBuilder query = new StringBuilder(120); local 155 query.append("SELECT "); 157 query.append("DISTINCT ") [all...] |
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockSource.java | 42 public SuggestionData createSuggestion(String query) { 44 .setText1(query) 46 .setSuggestionQuery(query); 120 public SourceResult getSuggestions(String query, int queryLimit) { 121 if (query.length() == 0) { 124 ListSuggestionCursor cursor = new ListSuggestionCursor(query); 125 cursor.add(createSuggestion(query + "_1")); 126 cursor.add(createSuggestion(query + "_2")); 127 return new Result(query, cursor); 130 public SuggestionData createSuggestion(String query) { [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteDirectCursorDriver.java | 25 * A cursor driver that uses the given query directly. 45 public Cursor query(CursorFactory factory, String[] selectionArgs) { method in class:SQLiteDirectCursorDriver 46 final SQLiteQuery query = new SQLiteQuery(mDatabase, mSql, mCancellationSignal); local 49 query.bindAllArgsAsStrings(selectionArgs); 52 cursor = new SQLiteCursor(this, mEditTable, query); 54 cursor = factory.newCursor(mDatabase, this, mEditTable, query); 57 query.close(); 61 mQuery = query;
|
/frameworks/ex/common/java/com/android/common/ |
Search.java | 61 * @param query The search text entered (so far). 62 * @return a cursor with suggestions, or <code>null</null> the suggestion query failed. 64 public static Cursor getSuggestions(Context context, SearchableInfo searchable, String query) { 65 return getSuggestions(context, searchable, query, -1); 72 * @param query The search text entered (so far). 73 * @param limit The query limit to pass to the suggestion provider. This is advisory, 75 * @return a cursor with suggestions, or <code>null</null> the suggestion query failed. 78 String query, int limit) { 91 .query("") // TODO: Remove, workaround for a bug in Uri.writeToParcel() 100 // append standard suggestion query pat [all...] |
/frameworks/support/content/src/main/java/androidx/contentpager/content/ |
ContentPager.java | 111 * {@link ContentResolver#query(Uri, String[], String, String[], String)}. If the underlying 142 * <p>Note that projection is ignored when determining the identity of a query. When 203 private final @GuardedBy("mContentLock") Set<Query> mActiveQueries = new HashSet<>(); 222 * query argument creates a new Uri. 224 * @param queryRunner The query running to use. This provides a means of executing 242 public @Nullable Cursor runQueryInBackground(Query query) { 243 return loadContentInBackground(query); 248 public void onQueryFinished(Query query, Cursor cursor) 274 public @NonNull Query query( method in class:ContentPager 285 Query query = new Query(uri, projection, queryArgs, cancellationSignal, callback); local 617 void query(@NonNull Query query, @NonNull Callback callback); method in interface:ContentPager.QueryRunner [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_conditional_render.c | 29 * Support for conditional rendering based on query objects 52 struct brw_query_object *query, 57 assert(query->bo != NULL); 67 query->bo, 73 query->bo, 99 struct brw_query_object *query = (struct brw_query_object *) q; local 122 /* If there are already samples from a BLT operation or if the query object 126 if (query->Base.Result || query->Base.Ready) 127 set_predicate_enable(brw, (query->Base.Result != 0) ^ inverted) [all...] |
/external/wpa_supplicant_8/hs20/server/www/ |
add-free.php | 17 $row = $db->query("SELECT rowid,* FROM sessions WHERE id='$id'")->fetch(); 26 $row = $db->query("SELECT value FROM osu_config WHERE realm='$realm' AND field='free_account'")->fetch(); 33 $row = $db->query("SELECT password FROM users WHERE identity='$user' AND realm='$realm'")->fetch();
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/ |
QueryBoldingUtil.java | 35 * Compares a name and query and returns a {@link CharSequence} with bolded characters. 40 * <li>"query" would bold "John [query] Smith" 53 * @param query containing any characters 54 * @param name of a contact/string that query will compare to 56 * @return name with query bolded if query can be found in the name. 59 @Nullable String query, @NonNull String name, @NonNull Context context) { 60 if (TextUtils.isEmpty(query)) { 64 if (!QueryFilteringUtil.nameMatchesT9Query(query, name, context)) [all...] |
/external/mesa3d/src/gallium/auxiliary/hud/ |
hud_driver_query.c | 51 struct pipe_query *query[NUM_QUERIES]; member in struct:hud_batch_query_context 66 if (bq->query[bq->head]) 67 pipe->end_query(pipe, bq->query[bq->head]); 73 struct pipe_query *query = bq->query[idx]; local 84 if (!pipe->get_query_result(pipe, query, FALSE, bq->result[idx])) 98 assert(bq->query[bq->head]); 100 pipe->destroy_query(bq->pipe, bq->query[bq->head]); 101 bq->query[bq->head] = NULL; 106 if (!bq->query[bq->head]) 207 struct pipe_query *query[NUM_QUERIES]; member in struct:query_info 243 struct pipe_query *query = info->query[info->tail]; local 418 struct pipe_driver_query_info query; local [all...] |
/external/skia/src/core/ |
SkBBoxHierarchy.h | 17 * boxes and allows efficient retrieval of intersections with query rectangles. 30 * Populate results with the indices of bounding boxes interesecting that query. 32 virtual void search(const SkRect& query, SkTDArray<int>* results) const = 0;
|
/external/skqp/src/core/ |
SkBBoxHierarchy.h | 17 * boxes and allows efficient retrieval of intersections with query rectangles. 30 * Populate results with the indices of bounding boxes interesecting that query. 32 virtual void search(const SkRect& query, SkTDArray<int>* results) const = 0;
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/ |
QueryResultBinderProvider.kt | 20 import androidx.room.solver.query.result.QueryResultBinder 24 fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/ |
DataSourceFactoryQueryResultBinderProvider.kt | 24 import androidx.room.solver.query.result.DataSourceFactoryQueryResultBinder 25 import androidx.room.solver.query.result.ListQueryResultAdapter 26 import androidx.room.solver.query.result.PositionalDataSourceQueryResultBinder 27 import androidx.room.solver.query.result.QueryResultBinder 37 override fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder { 38 if (query.tables.isEmpty()) { 42 val adapter = context.typeAdapterStore.findRowAdapter(typeArg, query)?.let { 47 + query.tables.map { it.name }).toSet()
|
/packages/apps/Dialer/java/com/android/dialer/p13n/logging/ |
P13nLogger.java | 23 * Logs a search query (text or digits) entered by user. 25 * @param query search text (or digits) entered by user 26 * @param adapter list adapter providing access to contacts matching search query 28 void onSearchQuery(String query, PhoneNumberListAdapter adapter);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SuggestionNonFormatter.java | 30 public CharSequence formatSuggestion(String query, String suggestion) {
|
SuggestionsProviderImpl.java | 30 * The provider will only handle a single query at a time. If a new query comes 61 public Suggestions getSuggestions(String query, Source sourceToQuery) { 62 if (DBG) Log.d(TAG, "getSuggestions(" + query + ")"); 63 final Suggestions suggestions = new Suggestions(query, sourceToQuery); 64 Log.i(TAG, "chars:" + query.length() + ",source:" + sourceToQuery); 67 if (shouldDisplayResults(query)) { 75 QueryTask.startQuery(query, maxResults, sourceToQuery, mQueryExecutor, 81 private boolean shouldDisplayResults(String query) { 82 if (query.length() == 0 && !mConfig.showSuggestionsForZeroQuery()) [all...] |
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/ |
SearchFeatureProviderImpl.java | 30 import com.android.settings.intelligence.search.query.AccessibilityServiceResultTask; 31 import com.android.settings.intelligence.search.query.DatabaseResultTask; 32 import com.android.settings.intelligence.search.query.InputDeviceResultTask; 33 import com.android.settings.intelligence.search.query.InstalledAppResultTask; 34 import com.android.settings.intelligence.search.query.SearchQueryTask; 57 public SearchResultLoader getSearchResultLoader(Context context, String query) { 58 return new SearchResultLoader(context, cleanQuery(query)); 62 public List<SearchQueryTask> getSearchQueryTasks(Context context, String query) { 64 final String cleanQuery = cleanQuery(query); 111 public void searchResultClicked(Context context, String query, SearchResult searchResult) [all...] |
/frameworks/support/content/src/androidTest/java/androidx/contentpager/content/ |
ContentPagerTest.java | 79 // NOTE: Paging on Android O is accompolished by way of ContentResolver#query that 85 Query query = mPager.query( local 93 mCallback.assertPageLoaded(query); 94 Cursor cursor = mCallback.getCursor(query); 97 assertExpectedRecords(cursor, query.getOffset()); 128 // NOTE: Paging on Android O is accompolished by way of ContentResolver#query that 135 Query query = mPager.query local 180 Query query = mPager.query( local 236 Query query = mPager.query( local 267 Query query = mPager.query( local 314 Query query = mPager.query( local 352 Query query = mPager.query( local 373 Query query = mPager.query( local [all...] |
/art/tools/ahat/src/main/com/android/ahat/ |
RootedHandler.java | 33 public void handle(Doc doc, Query query) throws IOException { 35 DominatedList.render(mSnapshot, doc, query, ROOTED_ID, mSnapshot.getRooted());
|
/frameworks/base/media/java/android/media/update/ |
MediaBrowser2Provider.java | 32 void search_impl(String query, Bundle extras); 33 void getSearchResult_impl(String query, int page, int pageSize, Bundle extras);
|
/prebuilts/go/darwin-x86/doc/progs/ |
timeout2.go | 5 package query package 9 func (c Conn) DoQuery(query string) Result { 15 func Query(conns []Conn, query string) Result { 20 case ch <- c.DoQuery(query):
|
/prebuilts/go/linux-x86/doc/progs/ |
timeout2.go | 5 package query package 9 func (c Conn) DoQuery(query string) Result { 15 func Query(conns []Conn, query string) Result { 20 case ch <- c.DoQuery(query):
|
/external/ltp/testcases/network/stress/ns-tools/ |
ns-igmp_querier.c | 27 * (General Query, Multicast Address Specific Query 28 * or Multicast Address and Source Specific Query) 64 struct igmpv3_query *query; member in struct:igmp_info 103 "\t-o\t\tsend only one query\n" 145 * This function create a igmpv3 query information. 158 struct igmpv3_query *query; /* pointer to igmpv3_query structure */ local 179 query = (struct igmpv3_query *)calloc(1, query_size); 180 if (query == NULL) 184 query->type = IGMP_HOST_MEMBERSHIP_QUERY [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/ |
contextquery.py | 22 from . import query 26 class ContextQuery(query.PolicyQuery): 32 policy The policy to query. 71 if self.user and not query.PolicyQuery._match_regex( 77 if self.role and not query.PolicyQuery._match_regex( 83 if self.type_ and not query.PolicyQuery._match_regex( 89 if self.range_ and not query.PolicyQuery._match_range(
|