/cts/tests/tests/content/src/android/content/cts/ |
CursorWindowContentProvider.java | 54 public Cursor query(Uri uri, String[] projection, String selection, method in class:CursorWindowContentProvider
|
/developers/build/prebuilts/gradle/BasicContactables/Application/src/main/java/com/example/android/basiccontactables/ |
ContactablesLoaderCallbacks.java | 38 public static final String QUERY_KEY = "query"; 49 // not just data dumps from Contacts db. One search term is used to query 50 // display name, email address and phone number. In this case, the query was extracted 55 String query = args.getString(QUERY_KEY); local 57 CommonDataKinds.Contactables.CONTENT_FILTER_URI, query); 62 // Easy way to limit the query to contacts with phone numbers. 90 // Reset text in case of a previous query 131 // Look at DDMS to see all the columns returned by a query to Contactables.
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/common/db/ |
SelectionBuilder.java | 52 * .query(db, projection, sortOrder) 57 * specified via method call. SelectionBuilder takes care of issuing a "query" command to the 89 * criteria, executed as a sub-query. 254 * SQL sub-query), the column name will be replaced with a more specific, SQL-compatible 284 * Execute query (SQL {@code SELECT}) against specified database. 288 * @param db Database to query. 296 public Cursor query(SQLiteDatabase db, String[] columns, String orderBy) { method in class:SelectionBuilder 297 return query(db, columns, null, null, orderBy, null); 301 * Execute query ({@code SELECT}) against database. 305 * @param db Database to query 322 public Cursor query(SQLiteDatabase db, String[] columns, String groupBy, method in class:SelectionBuilder [all...] |
/developers/samples/android/common/src/java/com/example/android/common/db/ |
SelectionBuilder.java | 52 * .query(db, projection, sortOrder) 57 * specified via method call. SelectionBuilder takes care of issuing a "query" command to the 89 * criteria, executed as a sub-query. 254 * SQL sub-query), the column name will be replaced with a more specific, SQL-compatible 284 * Execute query (SQL {@code SELECT}) against specified database. 288 * @param db Database to query. 296 public Cursor query(SQLiteDatabase db, String[] columns, String orderBy) { method in class:SelectionBuilder 297 return query(db, columns, null, null, orderBy, null); 301 * Execute query ({@code SELECT}) against database. 305 * @param db Database to query 322 public Cursor query(SQLiteDatabase db, String[] columns, String groupBy, method in class:SelectionBuilder [all...] |
/developers/samples/android/content/contacts/BasicContactables/Application/src/main/java/com/example/android/basiccontactables/ |
ContactablesLoaderCallbacks.java | 38 public static final String QUERY_KEY = "query"; 49 // not just data dumps from Contacts db. One search term is used to query 50 // display name, email address and phone number. In this case, the query was extracted 55 String query = args.getString(QUERY_KEY); local 57 CommonDataKinds.Contactables.CONTENT_FILTER_URI, query); 62 // Easy way to limit the query to contacts with phone numbers. 90 // Reset text in case of a previous query 131 // Look at DDMS to see all the columns returned by a query to Contactables.
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
FileProvider.java | 48 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:FileProvider
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssContentProvider.java | 55 // Here's the public URI used to query for RSS items. 58 // Here are our column name constants, used to query for field values. 134 public Cursor query(Uri uri, String[] projection, String selection, method in class:RssContentProvider 145 // If the query ends in a specific record number, we're 147 // WHERE clause in our query. 157 // Make the query. 158 Cursor c = qBuilder.query(mDb,
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
DictionaryProvider.java | 85 * the search query as the first element. 89 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:DictionaryProvider 92 // Use the UriMatcher to see what kind of query we have and format the db query accordingly 115 private Cursor getSuggestions(String query) { 116 query = query.toLowerCase(); 125 return mDictionary.getWordMatches(query, columns); 128 private Cursor search(String query) { 129 query = query.toLowerCase() [all...] |
SearchableDictionary.java | 76 // handles a search query 77 String query = intent.getStringExtra(SearchManager.QUERY); local 78 showResults(query); 83 * Searches the dictionary and displays results for the given query. 84 * @param query The search query 86 private void showResults(String query) { 89 new String[] {query}, null); 93 mTextView.setText(getString(R.string.no_results, new Object[] {query})); [all...] |
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
ExtendedWikiHelper.java | 93 "http://en.wiktionary.org/w/api.php?action=query&list=random&format=json"; 193 * Query the Wiktionary API to pick a random dictionary word. Will try 204 // Query the API for a random word 209 JSONObject query = response.getJSONObject("query"); local 210 JSONArray random = query.getJSONArray("random");
|
SimpleWikiHelper.java | 55 "http://en.wiktionary.org/w/api.php?action=query&prop=revisions&titles=%s&" + 143 // Query the API for content 149 JSONObject query = response.getJSONObject("query"); local 150 JSONObject pages = query.getJSONObject("pages");
|
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
SimpleWikiHelper.java | 62 "http://en.wiktionary.org/w/api.php?action=query&prop=revisions&titles=%s&" + 150 // Query the API for content 156 JSONObject query = response.getJSONObject("query"); local 157 JSONObject pages = query.getJSONObject("pages");
|
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/ |
ContactablesLoaderCallbacks.java | 38 public static final String QUERY_KEY = "query"; 49 // not just data dumps from Contacts db. One search term is used to query 50 // display name, email address and phone number. In this case, the query was extracted 55 String query = args.getString(QUERY_KEY); local 57 CommonDataKinds.Contactables.CONTENT_FILTER_URI, query); 62 // Easy way to limit the query to contacts with phone numbers. 90 // Reset text in case of a previous query 131 // Look at DDMS to see all the columns returned by a query to Contactables.
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/db/ |
SelectionBuilder.java | 52 * .query(db, projection, sortOrder) 57 * specified via method call. SelectionBuilder takes care of issuing a "query" command to the 89 * criteria, executed as a sub-query. 254 * SQL sub-query), the column name will be replaced with a more specific, SQL-compatible 284 * Execute query (SQL {@code SELECT}) against specified database. 288 * @param db Database to query. 296 public Cursor query(SQLiteDatabase db, String[] columns, String orderBy) { method in class:SelectionBuilder 297 return query(db, columns, null, null, orderBy, null); 301 * Execute query ({@code SELECT}) against database. 305 * @param db Database to query 322 public Cursor query(SQLiteDatabase db, String[] columns, String groupBy, method in class:SelectionBuilder [all...] |
/external/autotest/frontend/client/src/autotest/common/table/ |
DataSource.java | 55 public interface Query { 59 * Get the total number of results matching this query. After completion, 76 abstract class DefaultQuery implements Query { 101 public void onQueryReady(Query query); 110 public void onQueryReady(Query query) {} 114 public void query(JSONObject params, final DataCallback callback); method in interface:DataSource
|
/external/freetype/src/cache/ |
ftcbasic.c | 73 FTC_BasicQuery query = (FTC_BasicQuery)ftcquery; local 76 return FTC_BASIC_ATTR_COMPARE( &family->attrs, &query->attrs ); 86 FTC_BasicQuery query = (FTC_BasicQuery)ftcquery; local 91 family->attrs = query->attrs; 290 FTC_BasicQueryRec query; local 320 query.attrs.scaler.face_id = type->face_id; 321 query.attrs.scaler.width = type->width; 322 query.attrs.scaler.height = type->height; 323 query.attrs.load_flags = (FT_UInt)type->flags; 325 query.attrs.scaler.pixel = 1 371 FTC_BasicQueryRec query; local 491 FTC_BasicQueryRec query; local 574 FTC_BasicQueryRec query; local [all...] |
ftccmap.c | 51 /* compute a query/node hash */ 56 /* the charmap query */ 113 FTC_CMapQuery query = (FTC_CMapQuery)ftcquery; local 122 node->face_id = query->face_id; 123 node->cmap_index = query->cmap_index; 124 node->first = (query->char_code / FTC_CMAP_INDICES_MAX) * 148 /* compare a cmap node to a given query */ 156 FTC_CMapQuery query = (FTC_CMapQuery)ftcquery; local 162 if ( node->face_id == query->face_id && 163 node->cmap_index == query->cmap_index 237 FTC_CMapQueryRec query; local [all...] |
/external/libchrome/mojo/public/java/system/src/org/chromium/mojo/system/ |
DataPipe.java | 179 * Change the query bit of this flag. If set query the number of elements available to read. 182 * @param query the new value of the query bit. 185 public ReadFlags query(boolean query) { method in class:DataPipe.ReadFlags 186 return setFlag(FLAG_QUERY, query); 192 * Mutually exclusive with |discard| and |query|. 289 * data or none. In this case, |query| must not be set. 294 * Reads data from the data pipe consumer. May also be used to query the amount of dat [all...] |
/external/libxml2/doc/ |
search.php | 92 $query = $HTTP_GET_VARS[ "query" ]; variable 95 $query = $_GET['query']; variable 96 $query = ltrim ($query); variable 97 if (! $query) { 105 $querystr = htmlspecialchars($query, ENT_QUOTES, 'UTF-8'); 110 <form action="<?php echo "$PHP_SELF", "?query=", rawurlencode($query) ?> [all...] |
/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...] |
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
nv30_query.c | 42 struct nv04_notify *query = screen->query->data; local 47 ntfy = (char *)notify->map + query->offset + qo->hw->start; 75 /* allocate a new hw query object, if no hw objects left we need to
|
/external/mesa3d/src/gallium/drivers/virgl/ |
virgl_query.c | 85 struct virgl_query *query = virgl_query(q); local 88 handle = query->handle; 96 struct virgl_query *query; local 99 query = CALLOC_STRUCT(virgl_query); 100 if (!query) 103 query->buf = (struct virgl_resource *)pipe_buffer_create(ctx->screen, PIPE_BIND_CUSTOM, 105 if (!query->buf) { 106 FREE(query); 111 query->type = pipe_to_virgl_query(query_type); 112 query->index = index 124 struct virgl_query *query = virgl_query(q); local 136 struct virgl_query *query = virgl_query(q); local 147 struct virgl_query *query = virgl_query(q); local 166 struct virgl_query *query = virgl_query(q); local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
hsw_queryobj.c | 27 * Support for query buffer objects (GL_ARB_query_buffer_object) on Haswell+. 191 struct brw_query_object *query, 196 brw_load_register_mem64(brw, HSW_CS_GPR(1), query->bo, offset); 199 brw_load_register_mem64(brw, HSW_CS_GPR(2), query->bo, offset); 202 brw_load_register_mem64(brw, HSW_CS_GPR(3), query->bo, offset); 205 brw_load_register_mem64(brw, HSW_CS_GPR(4), query->bo, offset); 246 calc_overflow_to_gpr0(struct brw_context *brw, struct brw_query_object *query, 252 load_overflow_data_to_cs_gprs(brw, query, i); 258 * Take a query and calculate whether there was overflow during transform 263 struct brw_query_object *query, 440 struct brw_query_object *query = (struct brw_query_object *)q; local [all...] |
/external/oauth/core/src/main/java/net/oauth/client/ |
URLConnectionClient.java | 60 String query = url.getQuery(); local 61 if (query != null && query.length() > 0) { 62 headers.append("?").append(query);
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
HttpMethodResponse.java | 99 String query = httpRequest.getURI().getQuery(); local 100 if (query != null && query.length() > 0) { 101 request.append("?").append(query);
|