/frameworks/support/persistence/db/src/main/java/androidx/sqlite/db/ |
SimpleSQLiteQuery.java | 22 * A basic implementation of {@link SupportSQLiteQuery} which receives a query and its args and 31 * Creates an SQL query with the sql string and the bind arguments. 33 * @param query The query string, can include bind arguments (.e.g ?). 34 * @param bindArgs The bind argument value that will replace the placeholders in the query. 36 public SimpleSQLiteQuery(String query, @Nullable Object[] bindArgs) { 37 mQuery = query; 42 * Creates an SQL query without any bind arguments. 44 * @param query The SQL query to execute. Cannot include bind parameters [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
TCKZoneIdPrinterParser.java | 217 assertEquals(parsed.query(TemporalQueries.zoneId()), expected, "Incorrect zoneId parsing: " + text); 218 assertEquals(parsed.query(TemporalQueries.offset()), null, "Incorrect offset parsing: " + text); 219 assertEquals(parsed.query(TemporalQueries.zone()), expected, "Incorrect zone parsing: " + text); 234 assertEquals(parsed.query(TemporalQueries.zoneId()), expected, "Incorrect zoneId parsing: " + prefixText); 235 assertEquals(parsed.query(TemporalQueries.offset()), null, "Incorrect offset parsing: " + prefixText); 236 assertEquals(parsed.query(TemporalQueries.zone()), expected, "Incorrect zone parsing: " + prefixText); 250 assertEquals(parsed.query(TemporalQueries.zoneId()), expected, "Incorrect zoneId parsing: " + suffixText); 251 assertEquals(parsed.query(TemporalQueries.offset()), null, "Incorrect offset parsing: " + suffixText); 252 assertEquals(parsed.query(TemporalQueries.zone()), expected, "Incorrect zone parsing: " + suffixText); 272 assertEquals(parsed.query(TemporalQueries.zoneId()), expected) [all...] |
/packages/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/ |
NearbyPlacesCursorLoader.java | 42 public NearbyPlacesCursorLoader(Context context, String query, @NonNull List<Long> directoryIds) { 43 super(context, getContentUri(context, query), Projections.DATA_PROJECTION, null, null, null); 56 private static Uri getContentUri(Context context, String query) { 60 .appendPath(query)
|
/packages/apps/TV/src/com/android/tv/search/ |
DataManagerSearch.java | 47 * An implementation of {@link SearchInterface} to search query from {@link ChannelDataManager} and 68 public List<SearchResult> search(final String query, final int limit, final int action) { 75 return searchFromDataManagers(query, limit, action); 85 Log.w(TAG, "Error searching for " + query, e); 91 private List<SearchResult> searchFromDataManagers(String query, int limit, int action) { 98 // Voice search query should be handled by the a system TV app. 101 if (DEBUG) Log.d(TAG, "Searching channels: '" + query + "'"); 105 query = query.toLowerCase(); 106 if (TextUtils.isDigitsOnly(query)) { [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ |
ConversationListContext.java | 37 * This includes the folder the user selected to view the list, or the search query for the 41 public static final String EXTRA_SEARCH_QUERY = "query"; 56 * The search query whose results we are displaying, if any. 86 * Builds a context object for viewing a conversation list for a search query. 89 String query) { 90 return new ConversationListContext(account, Preconditions.checkNotNull(query), folder); 98 * @param query 101 private ConversationListContext(Account a, String query, Folder f) { 103 searchQuery = query;
|
/platform_testing/libraries/app-helpers/interfaces/common/src/android/platform/helpers/ |
IYouTubeGoHelper.java | 94 * This method executes search query and checks the search results are displayed. 96 void searchVideo(String query);
|
/system/netd/server/dns/ |
DnsTlsDispatcher.h | 52 // Enqueues |query| for resolution via the given |tlsServers| on the 57 DnsTlsTransport::Response query(const std::list<DnsTlsServer> &tlsServers, unsigned mark, 58 const Slice query, const Slice ans, int * _Nonnull resplen); 60 // Given a |query|, sends it to the server on the network indicated by |mark|, 63 DnsTlsTransport::Response query(const DnsTlsServer& server, unsigned mark, 64 const Slice query, const Slice ans, int * _Nonnull resplen);
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/ |
ContactsContract_Subquery.java | 56 try (Cursor cursor = mResolver.query(Contacts.CONTENT_URI, null, null, null, null)) { 61 try (Cursor cursor = mResolver.query(Contacts.CONTENT_URI, null, 67 try (Cursor cursor = mResolver.query(Contacts.CONTENT_URI, null,
|
/external/honggfuzz/examples/bind/ |
named.conf | 8 max-clients-per-query 100000; 33 resolver-query-timeout 1; 39 query-source 127.0.0.3; 42 serial-query-rate 10000; 46 allow-query { 49 allow-query-cache {
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
RequestLine.java | 43 * even if the request URL is. Includes the query component if it exists. 47 String query = url.encodedQuery(); local 48 return query != null ? (path + '?' + query) : path;
|
/external/webrtc/webrtc/libjingle/xmpp/ |
discoitemsquerytask.cc | 33 const XmlElement* query = stanza->FirstNamed(QN_DISCO_ITEMS_QUERY); local 34 if (query) { 36 for (const buzz::XmlChild* child = query->FirstChild(); child;
|
/frameworks/support/compat/src/main/java/androidx/core/content/ |
ContentResolverCompat.java | 38 * Query the given URI, returning a {@link Cursor} over the result set 67 * when the query is executed. 71 public static Cursor query(ContentResolver resolver, method in class:ContentResolverCompat 81 return resolver.query(uri, projection, selection, selectionArgs, sortOrder, 85 // query() can throw a framework OperationCanceledException if it has been 94 // Note that the cancellation signal cannot cancel the query in progress 99 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
|
/frameworks/support/room/guava/src/main/java/androidx/room/guava/ |
GuavaRoom.java | 48 final RoomSQLiteQuery query, 59 query.release(); 64 query.release();
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/ |
SearchActionViewHolder.java | 76 private String query; field in class:SearchActionViewHolder 87 void setAction(@Action int action, int position, String query, CallInitiationType.Type type) { 90 this.query = query; 110 actionText.setText(context.getString(R.string.search_shortcut_make_voice_call, query)); 131 Intent intent = IntentUtil.getAddToExistingContactIntent(query); 138 intent = IntentUtil.getNewContactIntent(query); 147 .setCharactersInSearchString(query.length()) 150 context, new CallIntentBuilder(query, videoCallSpecificAppData).setIsVideoCall(true)); 154 intent = IntentUtil.getSendSmsIntent(query); [all...] |
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/ |
TypeAdapterStore.kt | 39 import androidx.room.solver.query.parameter.ArrayQueryParameterAdapter 40 import androidx.room.solver.query.parameter.BasicQueryParameterAdapter 41 import androidx.room.solver.query.parameter.CollectionQueryParameterAdapter 42 import androidx.room.solver.query.parameter.QueryParameterAdapter 43 import androidx.room.solver.query.result.ArrayQueryResultAdapter 44 import androidx.room.solver.query.result.EntityRowAdapter 45 import androidx.room.solver.query.result.GuavaOptionalQueryResultAdapter 46 import androidx.room.solver.query.result.InstantQueryResultBinder 47 import androidx.room.solver.query.result.ListQueryResultAdapter 48 import androidx.room.solver.query.result.OptionalQueryResultAdapte [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchActivity.java | 54 private static final String INSTANCE_KEY_QUERY = "query"; 194 String query = savedInstanceState.getString(INSTANCE_KEY_QUERY); 195 setQuery(query, false); 210 String query = intent.getStringExtra(SearchManager.QUERY); local 214 setQuery(query, selectAll); 269 // Close all open suggestion cursors. The query will be redone in onResume() 323 protected void setQuery(String query, boolean selectAll) { 324 mSearchActivityView.setQuery(query, selectAll); 331 String query = CharMatcher.WHITESPACE.trimAndCollapseFrom(getQuery(), ' ') local 439 String query = suggestion.getSuggestionQuery(); local 474 final String query = CharMatcher.WHITESPACE.trimLeadingFrom(getQuery()); local [all...] |
AbstractSource.java | 78 public Intent createSearchIntent(String query, Bundle appData) { 79 return createSourceSearchIntent(getIntentComponent(), query, appData); 82 public static Intent createSourceSearchIntent(ComponentName activity, String query, 94 intent.putExtra(SearchManager.USER_QUERY, query); 95 intent.putExtra(SearchManager.QUERY, query);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
hsw_queryobj.c | 27 * Support for query buffer objects (GL_ARB_query_buffer_object) on Haswell+. 190 hsw_result_to_gpr0(struct gl_context *ctx, struct brw_query_object *query, 196 assert(query->bo); 200 /* The query result availability is stored at offset 0 of the buffer. */ 203 query->bo, 212 * make sure the query is available. 219 if (query->Base.Target == GL_TIMESTAMP) { 222 query->bo, 229 query->bo, 235 query->bo 357 struct brw_query_object *query = (struct brw_query_object *)q; local [all...] |
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/ |
VideoContentProvider.java | 66 * the search query as the first element. 70 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:VideoContentProvider 72 // Use the UriMatcher to see what kind of query we have and format the db query accordingly 86 private Cursor getSuggestions(String query) { 87 query = query.toLowerCase(); 107 return mVideoDatabase.getWordMatch(query, columns); 111 * This method is required in order to query the supported types. 112 * It's also useful in our own query() method to determine the type of Uri received [all...] |
/external/autotest/database/ |
database_connection.py | 51 def execute(self, query, parameters=None): 54 self._cursor.execute(query, parameters) 100 def execute(self, query, parameters=None): 103 query = query.replace('%s', '?') 111 query = self._last_insert_id_re.sub(' LAST_INSERT_ROWID()', query) 112 return super(_SqliteBackend, self).execute(query, parameters) 129 def execute(self, query, parameters=None): 131 return super(_DjangoBackend, self).execute(query, [all...] |
/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...] |
/external/skia/tests/ |
RTreeTest.cpp | 28 static bool verify_query(SkRect query, SkRect rects[], SkTDArray<int>& found) { 32 if (SkRect::Intersects(query, rects[i])) { 50 SkRect query = random_rect(rand); local 51 tree.search(query, &hits); 52 REPORTER_ASSERT(reporter, verify_query(query, rects, hits));
|
/external/skqp/tests/ |
RTreeTest.cpp | 28 static bool verify_query(SkRect query, SkRect rects[], SkTDArray<int>& found) { 32 if (SkRect::Intersects(query, rects[i])) { 50 SkRect query = random_rect(rand); local 51 tree.search(query, &hits); 52 REPORTER_ASSERT(reporter, verify_query(query, rects, hits));
|
/libcore/ojluni/src/main/java/java/time/ |
DayOfWeek.java | 181 * allowing it to be used as a query via method reference, {@code DayOfWeek::from}. 275 * @param field the field to query the range for, not null 387 * Queries this day-of-week using the specified query. 389 * This queries this day-of-week using the specified query strategy object. 391 * obtain the result. Read the documentation of the query to understand 396 * specified query passing {@code this} as the argument. 399 * @param query the query to invoke, not null 400 * @return the query result, null may be returned (defined by the query) 406 public <R> R query(TemporalQuery<R> query) { method in class:DayOfWeek [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestResultsProvider.java | 134 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:TestResultsProvider 136 SQLiteQueryBuilder query = new SQLiteQueryBuilder(); local 137 query.setTables(TABLE_NAME); 145 query.appendWhere(_ID); 146 query.appendWhere("="); 147 query.appendWhere(uri.getPathSegments().get(1)); 151 query.appendWhere(COLUMN_TEST_NAME); 152 query.appendWhere("="); 153 query.appendWhere("\"" + uri.getPathSegments().get(1) + "\""); 161 return query.query(db, projection, selection, selectionArgs, null, null, sortOrder) [all...] |