/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
SearchRecentSuggestionsProvider.java | 35 * String used to delimit different parts of a query. 44 private static final String QUERY = 47 " , ? || query AS " + SearchManager.SUGGEST_COLUMN_QUERY + 106 ",query TEXT" + 127 * Set the other query terms to be included in the user's query. 145 public Cursor query(String query) { method in class:SearchRecentSuggestionsProvider 156 builder.toString(), mHistoricalIcon, "%" + query + "%" }; 160 return db.rawQuery(QUERY, args) [all...] |
/external/autotest/scheduler/ |
query_managers.py | 31 """Query manager for AFE Jobs.""" 89 query=('NOT complete AND NOT active AND status="Queued"' 92 # TODO(jakobjuelich, beeps): Optimize this query. Details: 93 # Compressed output of EXPLAIN <query>: 101 # This shows the first part of the query fetches a lot of objects, that 110 query = '%s AND (%s)' % (query, self.hostless_query) 115 where=query, order_by=sort_order)) 193 query = models.HostQueueEntry.objects.filter( 198 for hqe in query [all...] |
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
DatabaseResultTask.java | 17 package com.android.settings.intelligence.search.query; 89 * Base ranks defines the best possible rank based on what the query matches. 90 * If the query matches the prefix of the first word in the title, the best rank it can be 92 * If the query matches the prefix of the other words in the title, the best rank it can be 94 * If the query only matches the summary, the best rank it can be is 7 95 * If the query only matches keywords or entries, the best rank it can be is 9 100 String query) { 101 return new SearchQueryTask(new DatabaseResultTask(context, siteMapManager, query)); 124 protected List<? extends SearchResult> query() { method in class:DatabaseResultTask 161 // TODO (b/33577327) Retrieve all search results with a single query 173 final String query = mQuery + "%"; local 189 final String query = "% " + mQuery + "%"; local 218 private Set<SearchResult> query(String whereClause, String[] selection, int baseRank) { method in class:DatabaseResultTask 294 final String query = mQuery + "%"; 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...] |
/frameworks/support/room/runtime/src/main/java/androidx/room/ |
RoomSQLiteQuery.java | 71 // number of arguments in the query 84 * @param supportSQLiteQuery The query to copy from 85 * @return A new query copied from the provided one. 88 final RoomSQLiteQuery query = RoomSQLiteQuery.acquire( local 94 query.bindNull(index); 99 query.bindLong(index, value); 104 query.bindDouble(index, value); 109 query.bindString(index, value); 114 query.bindBlob(index, value); 119 query.clearBindings() [all...] |
/libcore/ojluni/src/main/java/java/time/format/ |
DateTimePrintContext.java | 132 Chronology temporalChrono = temporal.query(TemporalQueries.chronology()); 133 ZoneId temporalZone = temporal.query(TemporalQueries.zoneId()); 209 public <R> R query(TemporalQuery<R> query) { method 210 if (query == TemporalQueries.chronology()) { 213 if (query == TemporalQueries.zoneId()) { 216 if (query == TemporalQueries.precision()) { 217 return temporal.query(query); 219 return query.queryFrom(this) [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
TCKDateTimeParseResolver.java | 157 assertEquals(accessor.query(TemporalQueries.localDate()), null); 158 assertEquals(accessor.query(TemporalQueries.localTime()), null); 196 assertEquals(accessor.query(TemporalQueries.localDate()), null); 197 assertEquals(accessor.query(TemporalQueries.localTime()), null); 228 assertEquals(accessor.query(TemporalQueries.localDate()), null); 229 assertEquals(accessor.query(TemporalQueries.localTime()), null); 262 assertEquals(accessor.query(TemporalQueries.localDate()), null); 263 assertEquals(accessor.query(TemporalQueries.localTime()), null); 288 assertEquals(accessor.query(TemporalQueries.localDate()), expectedDate); 289 assertEquals(accessor.query(TemporalQueries.localTime()), null) [all...] |
/external/autotest/frontend/db/backends/afe/ |
compiler.py | 8 if hasattr(self.query, "_custom_joins"): 9 for join_dict in self.query._custom_joins:
|
/external/autotest/frontend/db/backends/afe_sqlite/ |
compiler.py | 8 if hasattr(self.query, "_custom_joins"): 9 for join_dict in self.query._custom_joins:
|
/external/skia/bench/ |
RTreeBench.cpp | 83 SkRect query; variable 84 query.fLeft = rand.nextRangeF(0, GENERATE_EXTENTS); 85 query.fTop = rand.nextRangeF(0, GENERATE_EXTENTS); 86 query.fRight = query.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/2); 87 query.fBottom = query.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/2); 88 fTree.search(query, &hits);
|
/external/skia/src/core/ |
SkRTree.h | 44 void search(const SkRect& query, SkTDArray<int>* results) const override; 78 void search(Node* root, const SkRect& query, SkTDArray<int>* results) const;
|
/external/skqp/bench/ |
RTreeBench.cpp | 83 SkRect query; variable 84 query.fLeft = rand.nextRangeF(0, GENERATE_EXTENTS); 85 query.fTop = rand.nextRangeF(0, GENERATE_EXTENTS); 86 query.fRight = query.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/2); 87 query.fBottom = query.fTop + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/2); 88 fTree.search(query, &hits);
|
/external/skqp/src/core/ |
SkRTree.h | 44 void search(const SkRect& query, SkTDArray<int>* results) const override; 78 void search(Node* root, const SkRect& query, SkTDArray<int>* results) const;
|
/external/swiftshader/third_party/LLVM/utils/ |
webNLT.pl | 28 $query = "Select DISTINCT(NAME) from Tests"; 29 my $sth = $dbh->prepare($query) || die "Can't prepare statement: $DBI::errstr"; 36 $query = "Select DISTINCT(TEST) from Tests"; 37 my $sth = $dbh->prepare($query) || die "Can't prepare statement: $DBI::errstr";
|
/external/tensorflow/tensorflow/tools/ci_build/windows/cpu/bazel/ |
run_cc_test_windows.sh | 51 passing_tests=$(bazel query "kind(cc_test, //tensorflow/cc/... + //tensorflow/core/...) - (${exclude_cpu_cc_tests}) - ($slow_compiling_test)" |
|
/external/tensorflow/tensorflow/tools/ci_build/windows/gpu/bazel/ |
run_cc_test_windows.sh | 53 passing_tests=$(bazel query "kind(cc_test, //tensorflow/cc/... + //tensorflow/core/...) - (${exclude_gpu_cc_tests}) - ($slow_compiling_test)" |
|
/external/wpa_supplicant_8/hs20/server/www/ |
add-mo.php | 28 $row = $db->query("SELECT rowid,* FROM sessions WHERE id='$id'")->fetch(); 34 $userrow = $db->query("SELECT identity FROM users WHERE identity='$user' AND realm='$realm'")->fetch();
|
signup.php | 18 $row = $db->query("SELECT realm FROM sessions WHERE id='$id'")->fetch(); 26 $row = $db->query("SELECT value FROM osu_config WHERE realm='$realm' AND field='free_account'")->fetch();
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteQuery.java | 25 * Represents a query that reads the resulting rows into a {@link SQLiteQuery}. 36 SQLiteQuery(SQLiteDatabase db, String query, CancellationSignal cancellationSignal) { 37 super(db, query, null, cancellationSignal); 48 * If it won't fit, then the query should discard part of what it filled. 49 * @param countAllRows True to count all rows that the query would 70 Log.e(TAG, "exception: " + ex.getMessage() + "; query: " + getSql());
|
/frameworks/base/core/java/android/hardware/camera2/marshal/ |
Marshaler.java | 45 * @param query an instance of {@link MarshalQueryable} 56 MarshalQueryable<T> query, TypeReference<T> typeReference, int nativeType) { 60 if (!query.isTypeMappingSupported(typeReference, nativeType)) {
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
AssetMatcherFactory.java | 30 public static AbstractAssetMatcher create(String query) throws AssociationServiceException, 32 JSONObject queryObject = new JSONObject(query);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pDnsSdServiceRequest.java | 34 * @param query The part of service specific query. 37 private WifiP2pDnsSdServiceRequest(String query) { 38 super(WifiP2pServiceInfo.SERVICE_TYPE_BONJOUR, query);
|
/frameworks/support/content/src/androidTest/java/androidx/contentpager/content/ |
TestQueryCallback.java | 41 private CollectorLatch<Query> mQueryLatch; 45 public @Nullable Cursor runQueryInBackground(Query query) { 46 mQueryLatch.accept(query); 48 extras.putParcelable(URI_KEY, query.getUri()); 49 extras.putInt(URI_PAGE_ID, query.getId()); 56 public void onQueryFinished(Query query, Cursor cursor) { 57 mReplyLatch.accept(new Pair<>(query.getId(), cursor)); 71 mQueryLatch.assertHasItem(new Matcher<Query>() { [all...] |
/frameworks/support/media/api24/android/support/v4/media/session/ |
MediaControllerCompatApi24.java | 37 public static void prepareFromSearch(Object controlsObj, String query, Bundle extras) { 38 ((MediaController.TransportControls) controlsObj).prepareFromSearch(query, extras);
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/ |
RxCallableQueryResultBinderProvider.kt | 25 import androidx.room.solver.query.result.QueryResultBinder 26 import androidx.room.solver.query.result.RxCallableQueryResultBinder 37 override fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder { 39 val adapter = context.typeAdapterStore.findQueryResultAdapter(typeArg, query)
|