HomeSort by relevance Sort by last modified time
    Searched refs:query (Results 251 - 275 of 2957) sorted by null

<<11121314151617181920>>

  /frameworks/native/libs/nativewindow/
ANativeWindow.cpp 30 static int32_t query(ANativeWindow* window, int what) { function
32 int res = window->query(window, what, &value);
72 return query(window, NATIVE_WINDOW_WIDTH);
76 return query(window, NATIVE_WINDOW_HEIGHT);
80 return query(window, NATIVE_WINDOW_FORMAT);
120 if (!window || !query(window, NATIVE_WINDOW_IS_VALID))
136 if (!window || !query(window, NATIVE_WINDOW_IS_VALID) ||
145 if (!window || !query(window, NATIVE_WINDOW_IS_VALID))
147 return query(window, NATIVE_WINDOW_DATASPACE);
200 // asked for an invalid query(), one that isn't part of the VND
    [all...]
  /libcore/ojluni/src/main/java/java/time/chrono/
ChronoLocalDate.java 277 * allowing it to be used as a query via method reference, {@code ChronoLocalDate::from}.
289 Chronology chrono = temporal.query(TemporalQueries.chronology());
488 * Queries this date using the specified query.
490 * This queries this date using the specified query strategy object.
492 * obtain the result. Read the documentation of the query to understand
497 * specified query passing {@code this} as the argument.
500 * @param query the query to invoke, not null
501 * @return the query result, null may be returned (defined by the query)
507 default <R> R query(TemporalQuery<R> query) { method in interface:ChronoLocalDate
    [all...]
ChronoLocalDateTime.java 157 * allowing it to be used as a query via method reference, {@code ChronoLocalDateTime::from}.
169 Chronology chrono = temporal.query(TemporalQueries.chronology());
317 * Queries this date-time using the specified query.
319 * This queries this date-time using the specified query strategy object.
321 * obtain the result. Read the documentation of the query to understand
326 * specified query passing {@code this} as the argument.
329 * @param query the query to invoke, not null
330 * @return the query result, null may be returned (defined by the query)
336 default <R> R query(TemporalQuery<R> query) { method in interface:ChronoLocalDateTime
    [all...]
ChronoZonedDateTime.java 158 * allowing it to be used as a query via method reference, {@code ChronoZonedDateTime::from}.
170 Chronology chrono = temporal.query(TemporalQueries.chronology());
464 * Queries this date-time using the specified query.
466 * This queries this date-time using the specified query strategy object.
468 * obtain the result. Read the documentation of the query to understand
473 * specified query passing {@code this} as the argument.
476 * @param query the query to invoke, not null
477 * @return the query result, null may be returned (defined by the query)
483 default <R> R query(TemporalQuery<R> query) { method in interface:ChronoZonedDateTime
    [all...]
  /libcore/ojluni/src/test/java/time/tck/java/time/format/
TCKInstantPrinterParser.java 229 assertEquals(f.parse(input).query(DateTimeFormatter.parsedExcessDays()), Period.ZERO);
230 assertEquals(f.parse(input).query(DateTimeFormatter.parsedLeapSecond()), Boolean.FALSE);
239 assertEquals(f.parse(input).query(DateTimeFormatter.parsedExcessDays()), Period.ZERO);
240 assertEquals(f.parse(input).query(DateTimeFormatter.parsedLeapSecond()), Boolean.FALSE);
257 assertEquals(parsed.query(Instant::from), expected);
258 assertEquals(parsed.query(DateTimeFormatter.parsedExcessDays()), Period.ZERO);
259 assertEquals(parsed.query(DateTimeFormatter.parsedLeapSecond()), Boolean.FALSE);
269 assertEquals(parsed.query(Instant::from), expected);
270 assertEquals(parsed.query(DateTimeFormatter.parsedExcessDays()), Period.ZERO);
271 assertEquals(parsed.query(DateTimeFormatter.parsedLeapSecond()), Boolean.TRUE)
    [all...]
  /external/robolectric/v1/src/main/java/android/net/
Uri__FromAndroid.java 96 <scheme>://<authority><path>?<query>
263 * Gets the decoded query component from this URI. The query comes after
264 * the query separator ('?') and before the fragment separator ('#'). This
268 * @return the decoded query or null if there isn't one
273 * Gets the encoded query component from this URI. The query comes after
274 * the query separator ('?') and before the fragment separator ('#'). This
278 * @return the encoded query or null if there isn't one
579 private Part query; field in class:Uri__FromAndroid.StringUri
1087 private final Part query; field in class:Uri__FromAndroid.HierarchicalUri
1267 private Part query; field in class:Uri__FromAndroid.Builder
1375 Builder query(Part query) { method in class:Uri__FromAndroid.Builder
1386 public Builder query(String query) { method in class:Uri__FromAndroid.Builder
1504 String query = getEncodedQuery(); local
1567 String query = getEncodedQuery(); local
    [all...]
  /prebuilts/go/darwin-x86/src/net/http/cookiejar/
jar_test.go 365 // 3. For each query in tests: Check that Cookies with toURL yields the
367 // (Query n done at tNow + (n+2)*1001 ms.)
373 queries []query // Queries to test the Jar.Cookies method
376 // query contains one test of the cookies returned from Jar.Cookies.
377 type query struct { type
418 for i, query := range test.queries {
421 for _, c := range jar.cookies(mustParseURL(query.toURL), now) {
424 if got := strings.Join(s, " "); got != query.want {
425 t.Errorf("Test %q #%d\ngot %q\nwant %q", test.description, i, got, query.want)
438 []query{
    [all...]
  /prebuilts/go/linux-x86/src/net/http/cookiejar/
jar_test.go 365 // 3. For each query in tests: Check that Cookies with toURL yields the
367 // (Query n done at tNow + (n+2)*1001 ms.)
373 queries []query // Queries to test the Jar.Cookies method
376 // query contains one test of the cookies returned from Jar.Cookies.
377 type query struct { type
418 for i, query := range test.queries {
421 for _, c := range jar.cookies(mustParseURL(query.toURL), now) {
424 if got := strings.Join(s, " "); got != query.want {
425 t.Errorf("Test %q #%d\ngot %q\nwant %q", test.description, i, got, query.want)
438 []query{
    [all...]
  /cts/tests/app/src/android/app/cts/
DownloadManagerTest.java 19 import android.app.DownloadManager.Query;
201 cursor = mDownloadManager.query(new Query().setFilterById(id));
370 Query query = new Query(); local
371 cursor = mDownloadManager.query(query);
407 Query query = new Query() local
420 Query query = new Query().setFilterById(downloadId); local
436 Query query = new Query().setFilterByStatus(status); local
469 Query query = new Query(); local
    [all...]
  /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...]
  /cts/tests/tests/database/src/android/database/cts/
DatabaseUtilsTest.java 118 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION,
131 cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, null, null, null, null);
151 Cursor cursor = db.query(TABLE_NAME, PROJECTION, null, null, null, null, null);
162 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION,
182 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION,
201 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, null, null, null, null);
230 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, null, null, null, null);
259 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION,
274 cursor = mDatabase.query("boolean_test", new String[] {"value"},
290 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION
445 String query = "SELECT age FROM " + TABLE_NAME; local
560 String query = "SELECT name FROM " + TABLE_NAME; local
596 String query = "SELECT data FROM blob_test"; local
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Audio_Artists_AlbumsTest.java 45 assertNotNull(c = mContentResolver.query(contentUri, null, null, null, null));
50 assertNotNull(c = mContentResolver.query(contentUri, null, null, null, null));
55 assertNull(mContentResolver.query(MediaStore.Audio.Artists.Albums.getContentUri(volume, 1),
72 Cursor c = mContentResolver.query(audioMediaUri, new String[] { Media.ARTIST_ID }, null,
89 // query
90 c = mContentResolver.query(artistsAlbumsUri, null, null, null, null);
133 c = mContentResolver.query(artistsAlbumsUri, null, null, null, null);
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
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 queryByWords(query);
87 private void loadRows(String query) {
95 .indexOf(query.toLowerCase(Locale.ENGLISH)) >= 0
97 .indexOf(query.toLowerCase(Locale.ENGLISH)) >= 0) {
  /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...]
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...]
  /external/freetype/src/cache/
ftcglyph.c 190 FTC_GQuery query,
196 query->gindex = gindex;
198 FTC_MRULIST_LOOKUP( &cache->families, query, query->family, error );
201 FTC_Family family = query->family;
208 error = FTC_Cache_Lookup( FTC_CACHE( cache ), hash, query, anode );
ftcglyph.h 71 * - FTC_GQuery sub-class, e.g. MyQuery, to hold cache-specific query
185 /* returns TRUE iff the query's glyph index correspond to the node; */
186 /* this assumes that the `family' and `hash' fields of the query are */
265 FTC_GQuery query,
281 gindex, query, node, error ) \
284 FTC_GQuery _gquery = (FTC_GQuery)( query ); \
301 FTC_CACHE_LOOKUP_CMP( cache, nodecmp, hash, query, node, error ); \
312 gindex, query, node, error ) \
316 FTC_GQUERY( query ), &node ); \
  /external/libbrillo/brillo/
url_utils_unittest.cc 88 std::string query = url::TrimOffQueryString(&url); local
90 EXPECT_EQ("?key1=val1&key2=val2#fragment", query);
93 query = url::TrimOffQueryString(&url);
95 EXPECT_EQ("#fragment", query);
98 query = url::TrimOffQueryString(&url);
100 EXPECT_EQ("", query);
  /external/mesa3d/src/mesa/main/
eval.h 89 _mesa_GetnMapdvARB( GLenum target, GLenum query, GLsizei bufSize,
92 _mesa_GetMapdv( GLenum target, GLenum query, GLdouble *v );
94 _mesa_GetnMapfvARB( GLenum target, GLenum query, GLsizei bufSize, GLfloat *v );
96 _mesa_GetMapfv( GLenum target, GLenum query, GLfloat *v );
98 _mesa_GetnMapivARB( GLenum target, GLenum query, GLsizei bufSize, GLint *v );
100 _mesa_GetMapiv( GLenum target, GLenum query, GLint *v );
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
CallLogFacade.java 98 String[] query = new String[] {Calls.NUMBER, Calls.DATE, Calls.TYPE}; local
101 mContentResolver.query(
103 query,
110 for (int i = 0; i < query.length; i++) {
111 String key = query[i];
126 Cursor cursor = mContentResolver.query(Calls.CONTENT_URI, null, null, null, null);
  /frameworks/base/core/java/android/database/sqlite/
SQLiteCursor.java 31 * A Cursor implementation that exposes results from a query on a
47 /** The query object for the cursor */
50 /** The compiled query this cursor came from */
69 * Execute a query and provide access to its result set through a Cursor
70 * interface. For a query such as: {@code SELECT name, birth, phone FROM
77 * @param editTable the name of the table used for this query
78 * @param query the rest of the query terms
84 String editTable, SQLiteQuery query) {
85 this(driver, editTable, query);
    [all...]
  /frameworks/base/media/java/android/media/
MediaBrowser2.java 109 * @param query search query that you've specified with {@link #search(String, Bundle)}
113 public void onSearchResultChanged(@NonNull MediaBrowser2 browser, @NonNull String query,
123 * @param query search query that you've specified with
132 public void onGetSearchResultDone(@NonNull MediaBrowser2 browser, @NonNull String query,
217 * @param query search query. Should not be an empty string.
220 public void search(@NonNull String query, @Nullable Bundle extras) {
221 mProvider.search_impl(query, extras)
    [all...]
  /frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/
FlowableQueryResultBinderProvider.kt 24 import androidx.room.solver.query.result.FlowableQueryResultBinder
25 import androidx.room.solver.query.result.QueryResultAdapter
26 import androidx.room.solver.query.result.QueryResultBinder
LiveDataQueryResultBinderProvider.kt 22 import androidx.room.solver.query.result.LiveDataQueryResultBinder
23 import androidx.room.solver.query.result.QueryResultAdapter
24 import androidx.room.solver.query.result.QueryResultBinder
  /libcore/ojluni/src/main/java/java/time/
Month.java 205 * allowing it to be used as a query via method reference, {@code Month::from}.
302 * @param field the field to query the range for, not null
544 * Queries this month-of-year using the specified query.
546 * This queries this month-of-year using the specified query strategy object.
548 * obtain the result. Read the documentation of the query to understand
553 * specified query passing {@code this} as the argument.
556 * @param query the query to invoke, not null
557 * @return the query result, null may be returned (defined by the query)
563 public <R> R query(TemporalQuery<R> query) { method in class:Month
    [all...]

Completed in 1133 milliseconds

<<11121314151617181920>>