/developers/samples/android/content/documentsUi/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/ |
ImageProvider.java | 81 public Cursor query(@NonNull Uri uri, @Nullable String[] strings, @Nullable String s, method in class:ImageProvider 87 public Cursor query(Uri uri, String[] projection, Bundle queryArgs, method in class:ImageProvider 90 // We only support a query for multiple images, return null for other form of queries 91 // including a query for a single image.
|
/developers/samples/android/ui/fonts/DownloadableFonts/app/src/main/java/com/example/android/downloadablefonts/ |
MainActivity.java | 132 String query = queryBuilder.build(); local 134 Log.d(TAG, "Requesting a font. Query: " + query); 138 query,
|
/development/samples/NotePad/src/com/example/android/notepad/ |
NotePadProvider.java | 218 * {@link android.content.ContentResolver#query(Uri, String[], String, String[], String)}. 221 * @return A cursor containing the results of the query. The cursor exists but is empty if 222 * the query returns no results or an exception occurs. 226 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:NotePadProvider 229 // Constructs a new query builder and sets its table name 274 * Performs the query. If no problems occur trying to read the database, then a Cursor 278 Cursor c = qb.query( 279 db, // The database to query 280 projection, // The columns to return from the query 366 * Returns a stream of data for each supported stream type. This method does a query on th [all...] |
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
DictionaryDatabase.java | 93 return query(selection, selectionArgs, columns); 95 /* This builds a query that looks like: 101 * Returns a Cursor over all words that match the given query 103 * @param query The string to search for 107 public Cursor getWordMatches(String query, String[] columns) { 109 String[] selectionArgs = new String[] {query+"*"}; 111 return query(selection, selectionArgs, columns); 113 /* This builds a query that looks like: 114 * SELECT <columns> FROM <table> WHERE <KEY_WORD> MATCH 'query*' 115 * which is an FTS3 search for the query text (plus a wildcard) inside the word column 135 private Cursor query(String selection, String[] selectionArgs, String[] columns) { method in class:DictionaryDatabase [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...] |
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/ |
FeedProvider.java | 86 * Perform a database query by URI. 92 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:FeedProvider 106 Cursor c = builder.query(db, projection, sortOrder);
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
DataProvider.java | 37 // Indicates that the incoming query is for a picture URL 40 // Indicates that the incoming query is for a URL modification date 232 * @see android.content.ContentProvider#query(Uri, String[], String, String[], String) 235 * @param selection The selection clause for the query 238 * @return The query results, as a {@link android.database.Cursor} of rows and columns 241 public Cursor query( method in class:DataProvider 252 // If the query is for a picture URL 254 // Does the query against a read-only version of the database 255 Cursor returnCursor = db.query( 264 // If the query is for a modification date UR [all...] |
/external/autotest/frontend/client/src/autotest/tko/ |
TestGroupDataSource.java | 49 public void query(JSONObject params, DataCallback callback) { method in class:TestGroupDataSource 50 super.query(getFullRequestParams(params), callback);
|
/external/curl/lib/ |
imap.h | 64 char *query; /* Query to search for */ member in struct:IMAP
|
/external/deqp/framework/platform/lnx/X11/ |
tcuLnxX11.cpp | 122 XVisualInfo query; local 123 query.visualid = visualID; 125 XVisualInfo* response = XGetVisualInfo(m_display, VisualIDMask, &query, &numVisuals);
|
/external/deqp/modules/gles3/functional/ |
es3fImplementationLimitTests.cpp | 54 // Query function template. 56 T query (const glw::Functions& gl, deUint32 param); 98 // Query function implementations. 100 GLint query<GLint> (const glw::Functions& gl, deUint32 param) function in namespace:deqp::gles3::Functional::LimitQuery 108 GLint64 query<GLint64> (const glw::Functions& gl, deUint32 param) function in namespace:deqp::gles3::Functional::LimitQuery 116 GLuint64 query<GLuint64> (const glw::Functions& gl, deUint32 param) function in namespace:deqp::gles3::Functional::LimitQuery 124 GLfloat query<GLfloat> (const glw::Functions& gl,deUint32 param) function in namespace:deqp::gles3::Functional::LimitQuery 132 NegInt query<NegInt> (const glw::Functions& gl, deUint32 param) function in namespace:deqp::gles3::Functional::LimitQuery 134 return NegInt(query<GLint>(gl, param)); 138 Boolean query<Boolean> (const glw::Functions& gl, deUint32 param function in namespace:deqp::gles3::Functional::LimitQuery 146 FloatRange query<FloatRange> (const glw::Functions& gl, deUint32 param) function in namespace:deqp::gles3::Functional::LimitQuery 154 AlignmentInt query<AlignmentInt> (const glw::Functions& gl, deUint32 param) function in namespace:deqp::gles3::Functional::LimitQuery [all...] |
/external/deqp/modules/gles31/functional/ |
es31fFboNoAttachmentTests.cpp | 88 GLuint query = 0; local 106 log << TestLog::Message << "Using occlusion query to check for rendered fragments" << TestLog::EndMessage; 125 gl.genQueries(1, &query); 137 gl.beginQuery(GL_ANY_SAMPLES_PASSED, query); 140 gl.getQueryObjectuiv(query, GL_QUERY_RESULT, &insidePassed); 142 << "Occlusion query reports it was " << (insidePassed > 0 ? "rendered." : "not rendered") << TestLog::EndMessage; 145 gl.beginQuery(GL_ANY_SAMPLES_PASSED, query); 148 gl.getQueryObjectuiv(query, GL_QUERY_RESULT, &outsideXPassed); 150 << "Occlusion query reports it was " << (outsideXPassed > 0 ? "rendered." : "not rendered") << TestLog::EndMessage; 153 gl.beginQuery(GL_ANY_SAMPLES_PASSED, query); 193 GLuint query = 0; local [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
MediaStoreThumbFetcher.java | 114 Cursor query(Context context, Uri uri); method in interface:MediaStoreThumbFetcher.ThumbnailQuery 120 private ThumbnailQuery query; field in class:MediaStoreThumbFetcher.ThumbnailStreamOpener 122 public ThumbnailStreamOpener(ThumbnailQuery query) { 123 this(DEFAULT_SERVICE, query); 126 public ThumbnailStreamOpener(FileService service, ThumbnailQuery query) { 128 this.query = query; 135 final Cursor cursor = query.query(context, uri); 161 public Cursor query(Context context, Uri uri) method in class:MediaStoreThumbFetcher.ImageThumbnailQuery 173 public Cursor query(Context context, Uri uri) { method in class:MediaStoreThumbFetcher.VideoThumbnailQuery [all...] |
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/ |
JpaFinderProxy.java | 35 import javax.persistence.Query; 63 //execute as query (named params or otherwise) 64 Query jpaQuery = finderDescriptor.createQuery(em); 109 Query jpaQuery, JpaFinderProxy.FinderDescriptor descriptor, Object[] arguments) { 133 Query jpaQuery, JpaFinderProxy.FinderDescriptor descriptor, Object[] arguments) { 164 //determine finder query characteristics 166 String query = finder.query(); local 167 if (!"".equals(query.trim())) { 168 finderDescriptor.setQuery(query); 254 private String query; field in class:JpaFinderProxy.FinderDescriptor [all...] |
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
ServletUtils.java | 71 String query = null; local 73 query = path.substring(queryStart); 97 if (query != null) { 98 sb.append(query);
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
DatabaseContentProvider.java | 311 * queryInternal allows getContentResolver().query() to occur 317 * @return Cursor holding the contents of the requested query 323 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:DatabaseContentProvider
|
/external/iputils/ninfod/ |
ninfod_core.c | 509 struct icmp6_nodeinfo *query = (struct icmp6_nodeinfo *)p->query; local 511 char *subject = (char *)(query + 1); 554 DEBUG(LOG_WARNING, "Query too short\n"); 561 for (i = 0; i < sizeof(query->icmp6_ni_nonce); i++) { 562 cp += sprintf(cp, " %02x", query->icmp6_ni_nonce[i]); 566 ntohs(query->ni_qtype), ntohs(query->ni_flags), printbuf); 572 switch(htons(query->ni_qtype)) { 575 if (query->ni_code != ICMP6_NI_SUBJ_FQDN) [all...] |
/external/kernel-headers/original/uapi/linux/ |
uvcvideo.h | 64 __u8 query; /* Video Class-Specific Request Code, */ member in struct:uvc_xu_control_query
|
/external/libevent/sample/ |
https-client.c | 195 const char *scheme, *host, *path, *query; local 307 query = evhttp_uri_get_query(http_uri); 308 if (query == NULL) { 311 snprintf(uri, sizeof(uri) - 1, "%s?%s", path, query);
|
/external/llvm/lib/Analysis/ |
CFLSteensAliasAnalysis.cpp | 25 // Because this algorithm requires a graph search on each query, we execute the 278 AliasResult CFLSteensAAResult::query(const MemoryLocation &LocA, function in class:CFLSteensAAResult
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
hud_driver_query.c | 50 struct pipe_query *query[NUM_QUERIES]; member in struct:hud_batch_query_context 62 if (bq->query[bq->head]) 63 pipe->end_query(pipe, bq->query[bq->head]); 69 struct pipe_query *query = bq->query[idx]; local 80 if (!pipe->get_query_result(pipe, query, FALSE, bq->result[idx])) 94 assert(bq->query[bq->head]); 96 pipe->destroy_query(pipe, bq->query[bq->head]); 97 bq->query[bq->head] = NULL; 102 if (!bq->query[bq->head]) 207 struct pipe_query *query[NUM_QUERIES]; member in struct:query_info 241 struct pipe_query *query = info->query[info->tail]; local 427 struct pipe_driver_query_info query; local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_threaded_context.h | 297 /* The query is added to the list in end_query and removed in flush. */ 309 struct pipe_query *query; member in union:tc_payload
|
/external/mesa3d/src/gallium/drivers/ddebug/ |
dd_context.c | 53 struct pipe_query *query; local 55 query = pipe->create_query(pipe, query_type, index); 57 /* Wrap query object. */ 58 if (query) { 62 dd_query->query = query; 63 query = (struct pipe_query *)dd_query; 65 pipe->destroy_query(pipe, query); 66 query = NULL; 70 return query; 78 struct pipe_query *query; local [all...] |
/external/mesa3d/src/gallium/drivers/noop/ |
noop_pipe.c | 45 * query 48 unsigned query; member in struct:noop_query 52 struct noop_query *query = CALLOC_STRUCT(noop_query); local 54 return (struct pipe_query *)query; 57 static void noop_destroy_query(struct pipe_context *ctx, struct pipe_query *query) 59 FREE(query); 62 static boolean noop_begin_query(struct pipe_context *ctx, struct pipe_query *query) 67 static bool noop_end_query(struct pipe_context *ctx, struct pipe_query *query) 73 struct pipe_query *query,
|
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_perfmon.c | 86 /* Create a query for each active counter. */ 103 cntr->query = pipe->create_query(pipe, stc->query_type, 0); 104 if (!cntr->query) 111 /* Create the batch query. */ 135 struct pipe_query *query = stm->active_counters[i].query; local 136 if (query) 137 pipe->destroy_query(pipe, query); 178 /* Create a query for each active counter before starting 184 /* Start the query for each active counter. * 186 struct pipe_query *query = stm->active_counters[i].query; local 211 struct pipe_query *query = stm->active_counters[i].query; local 249 struct pipe_query *query = stm->active_counters[i].query; local [all...] |