Searched defs:query (Results 51 - 75 of 115) sorted by relevance

12345

/frameworks/base/core/java/com/android/internal/app/
H A DLocalePickerWithRegion.java259 public boolean onQueryTextSubmit(String query) { argument
/frameworks/base/core/tests/coretests/src/android/content/
H A DContentProviderOperationTest.java144 public Cursor query(Uri uri, String[] projection, String selection,
163 public Cursor query(Uri uri, String[] projection, String selection,
179 public Cursor query(Uri uri, String[] projection, String selection,
195 public Cursor query(Uri uri, String[] projection, String selection,
529 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:ContentProviderOperationTest.TestContentProvider
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DSearchViewManager.java45 void onSearchChanged(@Nullable String query); argument
152 // If the query string is not empty search view won't get iconified
238 public boolean onQueryTextSubmit(String query) { argument
239 mCurrentSearch = query;
H A DRecentsProvider.java177 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:RecentsProvider
183 return db.query(TABLE_RECENT, projection, RecentColumns.TIMESTAMP + ">" + cutoff,
189 return db.query(TABLE_STATE, projection, StateColumns.AUTHORITY + "=? AND "
194 return db.query(TABLE_RESUME, projection, ResumeColumns.PACKAGE_NAME + "=?",
315 Cursor cursor = db.query(TABLE_RECENT, null, null, null, null, null, null);
334 cursor = db.query(TABLE_STATE, new String[] {
349 cursor = db.query(TABLE_RESUME, null, null, null, null, null, null);
H A DBaseActivity.java404 public void onSearchChanged(@Nullable String query) { argument
407 reloadSearch(query);
416 private void reloadSearch(String query) { argument
421 DirectoryFragment.reloadSearch(fm, root, cwd, query);
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/
H A DUiBot.java73 public void assertSearchTextField(boolean isFocused, String query) argument
81 if(query != null) {
82 assertEquals(query, textField.getText());
102 public void setSearchQuery(String query) throws UiObjectNotFoundException { argument
106 searchTextField.setText(query);
107 assertSearchTextField(true, query);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContentProvider.java100 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, method in class:MockContentProvider.InversionIContentProvider
103 return MockContentProvider.this.query(url, projection, selection,
209 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:MockContentProvider
H A DMockIContentProvider.java80 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, method in class:MockIContentProvider
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccProvider.java89 public Cursor query(Uri url, String[] projection, String selection, method in class:IccProvider
91 if (DBG) log("query");
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
H A DDcTrackerTest.java132 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:DcTrackerTest.ApnSettingContentProvider
134 logd("ApnSettingContentProvider: query");
/frameworks/support/v4/java/android/support/v4/content/
H A DFileProvider.java391 * {@link ContentProvider#query(Uri, String[], String, String[], String)
392 * ContentProvider.query()}.
400 * the <i>selection</i> parameter. The <i>query</i> method scans <i>selection</i> from left to
406 * @return A {@link Cursor} containing the results of the query.
410 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:FileProvider
/frameworks/support/v4/java/android/support/v4/widget/
H A DSearchViewCompat.java42 void setQuery(View searchView, CharSequence query, boolean submit); argument
96 public void setQuery(View searchView, CharSequence query, boolean submit) { argument
152 public boolean onQueryTextSubmit(String query) {
153 return listener.onQueryTextSubmit(query);
189 public void setQuery(View searchView, CharSequence query, boolean submit) { argument
190 SearchViewCompatHoneycomb.setQuery(searchView, query, submit);
294 * Sets the IME options on the query text field. This is a no-op if
300 * @param imeOptions the options to set on the query text field
307 * Sets the input type on the query text field. This is a no-op if
313 * @param inputType the input type to set on the query tex
352 onQueryTextSubmit(String query) argument
420 setQuery(View searchView, CharSequence query, boolean submit) argument
[all...]
/frameworks/base/core/java/android/app/
H A DSearchDialog.java95 // The query entered by the user. This is not changed when selecting a suggestion
518 * Launch a search for the text in the query text field.
525 * Launch a search for the text in the query text field.
533 String query = mSearchAutoComplete.getText().toString();
535 Intent intent = createIntent(action, null, null, query, actionKey, actionMsg);
574 * @param query Intent query, or <code>null</code>.
583 private Intent createIntent(String action, Uri data, String extraData, String query, argument
595 if (query != null) {
596 intent.putExtra(SearchManager.QUERY, query);
700 setUserQuery(String query) argument
[all...]
H A DSearchManager.java85 * to obtain the query string from Intent.ACTION_SEARCH.
87 public final static String QUERY = "query";
93 * to obtain the query string typed in by the user.
125 * to obtain the keycode that the user used to trigger this query. It will be zero if the
140 * the initial query should be selected when the global search activity is started, so
141 * that the user can easily replace it with another query.
177 * Flag to specify that the entry can be used for query refinement, i.e., the query text
178 * in the search field can be replaced with the text in this entry, when a query refinement
335 * used when forming the suggestion's query
734 triggerSearch(String query, ComponentName launchActivity, Bundle appSearchData) argument
863 getSuggestions(SearchableInfo searchable, String query) argument
878 getSuggestions(SearchableInfo searchable, String query, int limit) argument
[all...]
/frameworks/base/core/java/android/provider/
H A DDocumentsProvider.java422 * Return documents that match the given query under the requested
424 * order. How documents are matched against the query string is an
447 * @param query string to match documents against.
456 public Cursor querySearchDocuments(String rootId, String query, String[] projection) argument
562 public final Cursor query(Uri uri, String[] projection, String selection, method in class:DocumentsProvider
590 Log.w(TAG, "Failed during query", e);
/frameworks/base/core/tests/coretests/src/android/net/
H A DUriTest.java403 testHierarchical("http", "google.com", "/p1/p2", "query", "fragment");
408 testHierarchical("http", "google.com", "", "query", "fragment");
409 testHierarchical("http", "google.com", "", "query", null);
410 testHierarchical("http", null, "/", "query", null);
414 String path, String query, String fragment) {
423 if (query != null) {
424 sb.append('?').append(query);
442 uriString, ssp, uri, scheme, authority, path, query, fragment);
444 uriString, ssp, uri, scheme, authority, path, query, fragment);
451 uriString, ssp, uri, scheme, authority, path, query, fragmen
413 testHierarchical(String scheme, String authority, String path, String query, String fragment) argument
495 compareHierarchical(String uriString, String ssp, Uri uri, String scheme, String authority, String path, String query, String fragment) argument
[all...]
/frameworks/base/media/java/android/media/
H A DRingtoneManager.java506 return query(
524 ? query(
577 private Cursor query(Uri uri, method in class:RingtoneManager
585 return mContext.getContentResolver().query(uri, projection, selection, selectionArgs,
597 * @param context A context used to query.
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutPackage.java393 * Find all shortcuts that match {@code query}.
396 @Nullable Predicate<ShortcutInfo> query, int cloneFlag) {
397 findAll(s, result, query, cloneFlag, null, 0);
401 * Find all shortcuts that match {@code query}.
408 @Nullable Predicate<ShortcutInfo> query, int cloneFlag,
444 if (query == null || query.test(clone)) {
395 findAll(@onNull ShortcutService s, @NonNull List<ShortcutInfo> result, @Nullable Predicate<ShortcutInfo> query, int cloneFlag) argument
407 findAll(@onNull ShortcutService s, @NonNull List<ShortcutInfo> result, @Nullable Predicate<ShortcutInfo> query, int cloneFlag, @Nullable String callingLauncher, int launcherUserId) argument
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp96 int MonitoredProducer::query(int what, int* value) { function in class:android::MonitoredProducer
97 return mProducer->query(what, value);
/frameworks/opt/chips/src/com/android/ex/chips/
H A DDropdownChipLayouter.java77 public void setQuery(Query query) { argument
78 mQuery = query;
H A DRecipientAlternatesAdapter.java98 Queries.Query query;
100 query = Queries.EMAIL;
102 query = Queries.PHONE;
128 c = context.getContentResolver().query(
129 query.getContentUri(),
130 query.getProjection(),
131 query.getProjection()[Queries.Query.DESTINATION] + " IN ("
145 addresses, account, matchesNotFound, query, callback, permissionsCheckListener);
162 Account account, Set<String> matchesNotFound, Queries.Query query,
169 // Run a directory query fo
160 getMatchingRecipientsFromDirectoryQueries(Context context, Map<String, RecipientEntry> recipientEntries, Set<String> addresses, Account account, Set<String> matchesNotFound, Queries.Query query, RecipientMatchCallback callback, ChipsUtil.PermissionsCheckListener permissionsCheckListener) argument
342 doQuery(CharSequence constraint, int limit, Long directoryId, Account account, Context context, Query query, ChipsUtil.PermissionsCheckListener permissionsCheckListener) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGsmInboundSmsHandlerTest.java240 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:GsmInboundSmsHandlerTest.FakeSmsContentProvider
242 logd("query called for: " + selection);
/frameworks/base/core/java/android/content/pm/
H A DLauncherApps.java178 * Represents a query passed to {@link #getShortcuts(ShortcutQuery, UserHandle)}.
257 * Set query options.
282 * @param packageName The specific package to query. If null, it checks all installed packages
441 * Returns the IDs of {@link ShortcutInfo}s that match {@code query}.
446 * @param query result includes shortcuts matching this query.
449 * @return the IDs of {@link ShortcutInfo}s that match the query.
454 public List<ShortcutInfo> getShortcuts(@NonNull ShortcutQuery query, argument
458 query.mChangedSince, query
[all...]
/frameworks/base/core/java/android/net/
H A DUrlQuerySanitizer.java101 * A functor used to sanitize a single query value.
591 * Parse the query parameters out of an encoded URL.
592 * Works by extracting the query portion from the URL and then
593 * calling parseQuery(). If there is no query portion it is
594 * treated as if the query portion is an empty string.
599 String query;
601 query = url.substring(queryIndex + 1);
604 query = "";
606 parseQuery(query);
610 * Parse a query
616 parseQuery(String query) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java150 Cursor cursor = dm.query(new Query().setFilterById(id));
485 Cursor cursor = mDownloadManager.query(new Query().setFilterById(requestId));
645 * @param id The download id to query on (wait for)
657 * @param id The download id to query on (wait for)
670 * @param id The download id to query on (wait for)
698 * @param id The id of the download to query against
749 * @param query The query to pass to the download manager
753 protected void doWaitForDownloadsOrTimeout(Query query, long poll, long timeoutMillis) argument
757 query
[all...]

Completed in 758 milliseconds

12345