/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pServiceRequest.java | 75 protected WifiP2pServiceRequest(int protocolType, String query) { in WifiP2pServiceRequest() argument 76 validateQuery(query); in WifiP2pServiceRequest() 79 mQuery = query; in WifiP2pServiceRequest() 80 if (query != null) { in WifiP2pServiceRequest() 81 mLength = query.length()/2 + 2; in WifiP2pServiceRequest() 96 int transId, String query) { in WifiP2pServiceRequest() argument 100 mQuery = query; in WifiP2pServiceRequest() 156 private void validateQuery(String query) { in validateQuery() argument 157 if (query == null) { in validateQuery() 162 if (query.length()%2 == 1) { in validateQuery() [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteQueryBuilder.java | 212 StringBuilder query = new StringBuilder(120); in buildQueryString() local 214 query.append("SELECT "); in buildQueryString() 216 query.append("DISTINCT "); in buildQueryString() 219 appendColumns(query, columns); in buildQueryString() 221 query.append("* "); in buildQueryString() 223 query.append("FROM "); in buildQueryString() 224 query.append(tables); in buildQueryString() 225 appendClause(query, " WHERE ", where); in buildQueryString() 226 appendClause(query, " GROUP BY ", groupBy); in buildQueryString() 227 appendClause(query, " HAVING ", having); in buildQueryString() [all …]
|
D | SQLiteDirectCursorDriver.java | 43 public Cursor query(CursorFactory factory, String[] selectionArgs) { in query() method in SQLiteDirectCursorDriver 44 final SQLiteQuery query = new SQLiteQuery(mDatabase, mSql, mCancellationSignal); in query() local 47 query.bindAllArgsAsStrings(selectionArgs); in query() 50 cursor = new SQLiteCursor(this, mEditTable, query); in query() 52 cursor = factory.newCursor(mDatabase, this, mEditTable, query); in query() 55 query.close(); in query() 59 mQuery = query; in query()
|
D | SQLiteCursor.java | 79 String editTable, SQLiteQuery query) { in SQLiteCursor() argument 80 this(driver, editTable, query); in SQLiteCursor() 93 public SQLiteCursor(SQLiteCursorDriver driver, String editTable, SQLiteQuery query) { in SQLiteCursor() argument 94 if (query == null) { in SQLiteCursor() 105 mQuery = query; in SQLiteCursor() 107 mColumns = query.getColumnNames(); in SQLiteCursor()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | SearchSupportFragment.java | 115 public boolean onQueryTextSubmit(String query); in onQueryTextSubmit() argument 224 public static Bundle createArgs(Bundle args, String query) { in createArgs() argument 225 return createArgs(args, query, null); in createArgs() 228 public static Bundle createArgs(Bundle args, String query, String title) { in createArgs() argument 232 args.putString(ARG_QUERY, query); in createArgs() 246 public static SearchSupportFragment newInstance(String query) { in newInstance() argument 248 Bundle args = createArgs(null, query); in newInstance() 270 public void onSearchQueryChange(String query) { in onCreateView() 271 if (DEBUG) Log.v(TAG, String.format("onSearchQueryChange %s %s", query, in onCreateView() 274 retrieveResults(query); in onCreateView() [all …]
|
D | SearchFragment.java | 113 public boolean onQueryTextSubmit(String query); in onQueryTextSubmit() argument 222 public static Bundle createArgs(Bundle args, String query) { in createArgs() argument 223 return createArgs(args, query, null); in createArgs() 226 public static Bundle createArgs(Bundle args, String query, String title) { in createArgs() argument 230 args.putString(ARG_QUERY, query); in createArgs() 244 public static SearchFragment newInstance(String query) { in newInstance() argument 246 Bundle args = createArgs(null, query); in newInstance() 268 public void onSearchQueryChange(String query) { in onCreateView() 269 if (DEBUG) Log.v(TAG, String.format("onSearchQueryChange %s %s", query, in onCreateView() 272 retrieveResults(query); in onCreateView() [all …]
|
/frameworks/ex/common/java/com/android/common/ |
D | Search.java | 64 public static Cursor getSuggestions(Context context, SearchableInfo searchable, String query) { in getSuggestions() argument 65 return getSuggestions(context, searchable, query, -1); in getSuggestions() 78 String query, int limit) { in getSuggestions() argument 91 .query("") // TODO: Remove, workaround for a bug in Uri.writeToParcel() in getSuggestions() 108 selArgs = new String[] { query }; in getSuggestions() 110 uriBuilder.appendPath(query); in getSuggestions() 121 return context.getContentResolver().query(uri, null, selection, selArgs, null); in getSuggestions()
|
/frameworks/rs/scriptc/ |
D | rs_program.rsh | 31 * @param ps program store to query 39 * @param ps program store to query 46 * @param ps program store to query 54 * @param ps program store to query 62 * @param ps program store to query 70 * @param ps program store to query 78 * @param ps program store to query 86 * @param ps program store to query 94 * @param ps program store to query 102 * @param pr program raster to query [all …]
|
D | rs_sampler.rsh | 32 * @param s sampler to query 41 * @param s sampler to query 50 * @param s sampler to query 59 * @param s sampler to query 68 * @param s sampler to query
|
/frameworks/base/core/java/android/net/ |
D | Uri.java | 633 private Part query; field in Uri.StringUri 636 return query == null in getQueryPart() 637 ? query = Part.fromEncoded(parseQuery()) : query; in getQueryPart() 784 .query(getQueryPart()) in buildUpon() 1141 private final Part query; field in Uri.HierarchicalUri 1145 Part query, Part fragment) { in HierarchicalUri() argument 1149 this.query = Part.nonNull(query); in HierarchicalUri() 1172 query.writeTo(parcel); in writeToParcel() 1224 if (!query.isEmpty()) { in appendSspTo() 1225 builder.append('?').append(query.getEncoded()); in appendSspTo() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | IGraphicBufferProducer_test.cpp | 271 EXPECT_OK(mProducer->query(NATIVE_WINDOW_WIDTH, &value)); in TEST_F() 274 EXPECT_OK(mProducer->query(NATIVE_WINDOW_HEIGHT, &value)); in TEST_F() 277 EXPECT_OK(mProducer->query(NATIVE_WINDOW_FORMAT, &value)); in TEST_F() 280 EXPECT_OK(mProducer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &value)); in TEST_F() 284 EXPECT_OK(mProducer->query(NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND, &value)); in TEST_F() 287 EXPECT_OK(mProducer->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS, &value)); in TEST_F() 300 EXPECT_EQ(BAD_VALUE, mProducer->query(/*what*/-1, &value)); in TEST_F() 301 EXPECT_EQ(BAD_VALUE, mProducer->query(/*what*/0xDEADBEEF, &value)); in TEST_F() 302 EXPECT_EQ(BAD_VALUE, mProducer->query(NATIVE_WINDOW_QUERY_LAST_OFF_BY_ONE, &value)); in TEST_F() 305 EXPECT_EQ(BAD_VALUE, mProducer->query(NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, &value)); in TEST_F() [all …]
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | TrackerDataHelper.java | 108 public Cursor query(String tag, int limit) { in query() method in TrackerDataHelper 111 Cursor cursor = mContext.getContentResolver().query( in query() 128 public Cursor query(int limit) { in query() method in TrackerDataHelper 129 return query(null, limit); in query() 139 public Cursor query(String tag) { in query() method in TrackerDataHelper 140 return query(tag, Integer.MAX_VALUE); in query()
|
/frameworks/base/docs/html/guide/topics/search/ |
D | adding-recent-query-suggestions.jd | 33 queries. For example, if a user previously searched for "puppies," then that query appears as a 34 suggestion once he or she begins typing the same query. Figure 1 shows an example of a search dialog 35 with recent query suggestions.</p> 47 <p class="img-caption"><strong>Figure 1.</strong> Screenshot of a search dialog with recent query 51 <p>Recent query suggestions are simply saved searches. When the user selects one of 53 android.content.Intent#ACTION_SEARCH} intent with the suggestion as the search query, which your 74 suggestions, the following procedure takes place as soon as the user begins typing a query:</p> 77 <li>The system takes the search query text (whatever has been typed so far) and performs a 78 query to the content provider that contains your suggestions.</li> 80 suggestions that match the search query text.</li> [all …]
|
D | adding-custom-suggestions.jd | 13 <li><a href="#HandlingSuggestionQuery">Handling a suggestion query</a></li> 74 your searchable activity. Whereas a normal search query sends an intent with the {@link 104 suggestions, the following procedure takes place when the user types a query:</p> 107 <li>The system takes the search query text (whatever has been typed so far) and performs a 108 query to your content provider that manages your suggestions.</li> 110 suggestions that are relevant to the search query text.</li> 117 <li>If the user types another key, or changes the query in any way, the above steps are repeated 160 android.content.ContentProvider#query(Uri,String[],String,String[],String) query()} each time 162 android.content.ContentProvider#query(Uri,String[],String,String[],String) query()}, your 169 <dt><a href="#HandlingSuggestionQuery">Handling the suggestion query</a></dt> [all …]
|
/frameworks/base/docs/html/distribute/tools/ |
D | index.jd | 16 data-query="collection:distribute/tools/checklists" 23 data-query="collection:distribute/tools/promote" 30 data-query="collection:distribute/tools/support" 37 data-query="collection:distribute/tools/news" 44 data-query="collection:distribute/tools/more" 51 data-query="tag:developersupport"
|
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/ |
D | index.jd | 15 data-query="collection:distribute/tools/checklists/zhcn" 22 data-query="collection:distribute/tools/promote/zhcn" 29 data-query="collection:distribute/tools/support/zhcn" 36 data-query="collection:distribute/tools/news" 43 data-query="collection:distribute/tools/more/zhcn" 50 data-query="tag:developersupport"
|
/frameworks/base/docs/html/training/load-data-background/ |
D | index.jd | 43 If you run the query directly from an {@link android.app.Activity}, it may get blocked and 45 will see an annoying delay in the UI. To avoid these problems, you should initiate a query on a 49 You can do this in a straightforward way by using an object that runs a query asynchronously in 52 background query, a {@link android.support.v4.content.CursorLoader} automatically re-runs the 53 query when data associated with the query changes. 57 background query. Examples in this class use the <a 67 Learn how to run a query in the background, using a 76 Learn how to handle the {@link android.database.Cursor} returned from the query, and how
|
D | setup-loader.jd | 32 A {@link android.support.v4.content.CursorLoader} runs an asynchronous query in the background 37 query is ongoing. 63 To initialize a query, call 66 used in the query, or, if you don't need any user data, you can do it in 102 To start the query, return a {@link android.support.v4.content.CursorLoader} from this method. 104 methods to define your query, or you can instantiate the object and define the query at the 110 * is ready to start the query. This usually happens when initLoader() is 125 mDataUrl, // Table to query 138 Once the background framework has the object, it starts the query in the background. When the 139 query is done, the background framework calls
|
/frameworks/base/core/java/android/app/ |
D | SearchManager.java | 742 public void triggerSearch(String query, in triggerSearch() argument 749 if (query == null || TextUtils.getTrimmedLength(query) == 0) { in triggerSearch() 753 startSearch(query, false, launchActivity, appSearchData, false); in triggerSearch() 876 public Cursor getSuggestions(SearchableInfo searchable, String query) { in getSuggestions() argument 877 return getSuggestions(searchable, query, -1); in getSuggestions() 891 public Cursor getSuggestions(SearchableInfo searchable, String query, int limit) { in getSuggestions() argument 904 .query("") // TODO: Remove, workaround for a bug in Uri.writeToParcel() in getSuggestions() 921 selArgs = new String[] { query }; in getSuggestions() 923 uriBuilder.appendPath(query); in getSuggestions() 933 return mContext.getContentResolver().query(uri, null, selection, selArgs, null); in getSuggestions()
|
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/ |
D | resources.jd | 13 data-query="collection:overview/carousel/zhcn" 25 data-query="collection:overview/zhcn/1" 33 data-query="collection:overview/zhcn/2" 41 data-query="collection:overview/zhcn/3" 49 data-query="collection:overview/zhcn/4"
|
/frameworks/support/v4/honeycomb/android/support/v4/widget/ |
D | SearchViewCompatHoneycomb.java | 33 public boolean onQueryTextSubmit(String query); in onQueryTextSubmit() argument 55 public boolean onQueryTextSubmit(String query) { in newOnQueryTextListener() 56 return listener.onQueryTextSubmit(query); in newOnQueryTextListener() 87 public static void setQuery(View searchView, CharSequence query, boolean submit) { 88 ((SearchView) searchView).setQuery(query, submit);
|
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
D | BandwidthEnforcementTestService.java | 159 final byte[] query = buildDnsQuery("www", "android", "com"); in testDns() 161 query, query.length, InetAddress.parseNumericAddress("8.8.8.8"), 53); in testDns() 164 final byte[] reply = new byte[query.length]; in testDns() 184 private static byte[] buildDnsQuery(String... query) throws IOException { in buildDnsQuery() argument 198 for (String phrase : query) { in buildDnsQuery()
|
/frameworks/base/docs/html/distribute/googleplay/ |
D | index.jd | 18 data-query="collection:distribute/gp/gplanding" 27 data-query="collection:distribute/gp/gpfelanding" 35 data-query="type:youtube+tag:growth" 40 data-query="type:blog+tag:googleplay"
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | SearchViewCompat.java | 42 void setQuery(View searchView, CharSequence query, boolean submit); in setQuery() argument 96 public void setQuery(View searchView, CharSequence query, boolean submit) { in setQuery() argument 152 public boolean onQueryTextSubmit(String query) { in newOnQueryTextListener() 153 return listener.onQueryTextSubmit(query); in newOnQueryTextListener() 189 public void setQuery(View searchView, CharSequence query, boolean submit) { 190 SearchViewCompatHoneycomb.setQuery(searchView, query, submit); 352 public boolean onQueryTextSubmit(String query) { 420 public static void setQuery(View searchView, CharSequence query, boolean submit) { 421 IMPL.setQuery(searchView, query, submit);
|
/frameworks/base/core/java/com/android/internal/content/ |
D | SelectionBuilder.java | 99 public Cursor query(SQLiteDatabase db, String table, String[] columns, String orderBy) { in query() method in SelectionBuilder 100 return query(db, table, columns, null, null, orderBy, null); in query() 106 public Cursor query(SQLiteDatabase db, String table, String[] columns, String groupBy, in query() method in SelectionBuilder 108 return db.query(table, columns, getSelection(), getSelectionArgs(), groupBy, having, in query()
|