Home
last modified time | relevance | path

Searched refs:query (Results 1 – 25 of 111) sorted by relevance

12345

/development/tools/winscope/src/app/trace_search/
Dsearch_view_factory_sf.ts51 query: `SELECT ts, value, previous_value FROM sf_layer_search
58 query: `SELECT ts, value, previous_value FROM sf_layer_search
91 query: `SELECT STATE.* FROM sf_hierarchy_root_search STATE_WITH_DISPLAY_ON
133 await this.traceProcessor.query(sqlCreateTableSfStateChanges);
148 await this.traceProcessor.query(sqlCreateTableSfLayerIdentifier);
165 await this.traceProcessor.query(sqlCreateViewSfLayerWithProperties);
194 await this.traceProcessor.query(sqlCreateViewSfLayerSearch);
207 await this.traceProcessor.query(sqlCreateViewSfEntry);
220 await this.traceProcessor.query(sqlCreateViewSfEntrySearch);
Dsearch_view_factory_vc.ts60 query: `SELECT * FROM viewcapture_search
93 await this.traceProcessor.query(sqlCreateTableStateChanges);
111 await this.traceProcessor.query(sqlCreateTableSnapshotIdentifier);
130 await this.traceProcessor.query(sqlCreateTableNodeIdentifier);
150 await this.traceProcessor.query(sqlCreateNodeWithProperties);
183 await this.traceProcessor.query(sqlCreateViewSearch);
Dsearch_view_factory_transactions.ts52 query: `SELECT ts, transaction_id FROM transactions_search
58 query: `SELECT ts FROM transactions_search
92 await this.traceProcessor.query(sqlCreateViewTransactionWithProperties);
114 await this.traceProcessor.query(sqlCreateViewTransactionSearch);
Dsearch_view_factory_transitions.ts47 query: `SELECT
80 await this.traceProcessor.query(sqlCreateTableWithTimestamps);
100 await this.traceProcessor.query(sqlCreateViewTransitionsSearch);
/development/samples/SampleSyncAdapter/samplesyncadapter_server/model/
Ddatastore.py40 query = cls.gql('WHERE handle = :1', username)
41 return query.get()
47 query = cls.gql('WHERE handle = :1', username)
48 return query.get().updated
54 query = cls.gql('WHERE handle = :1', username)
55 return query.get().key().id()
61 query = cls.gql('WHERE handle = :1', username)
62 return query.get().status
/development/tools/winscope/src/viewers/viewer_search/
Dviewer_search_component.ts454 searchQuery(query: string, uid: number) {
462 detail: new SearchQueryClickDetail(query, uid),
467 onSaveQueryClick(query: string, control: FormControl) {
472 detail: new SaveQueryClickDetail(query, assertDefined(control.value)),
490 addQuery(query?: string) {
492 detail: query ? new AddQueryClickDetail(query) : undefined,
509 ? this.getCurrentSearchByUid(uid)?.query
561 this.searchQuery(assertDefined(lastSearch.query), lastSearch.uid);
575 if (lastSearch.query) {
576 this.updateLastSectionTextAndShowTab(lastSearch.query);
[all …]
Dsearch_list_component.ts122 return search.name !== search.query || el.scrollWidth > el.offsetWidth;
126 if (search.name === search.query) return search.query;
127 return search.name + ': ' + search.query;
Dpresenter.ts91 this.onSearchQueryClick(detail.query, detail.uid);
96 this.onSaveQueryClick(detail.query, detail.name);
109 this.addSearch(detail?.query);
148 async onSearchQueryClick(query: string, uid: number) {
152 this.resetActiveSearch(activeSearch, query);
154 this.emitWinscopeEvent(new TraceSearchRequest(query));
157 addSearch(query?: string) {
160 search: new CurrentSearch(this.activeSearchUid, query),
177 onSaveQueryClick(query: string, name: string) {
178 this.uiData.savedSearches.unshift(new ListedSearch(query, name));
[all …]
Dui_data.ts35 public query?: string, property in CurrentSearch
51 constructor(readonly query: string, readonly name = query) {
Dpresenter_test.ts96 saveQueryDetail.query,
142 const query = 'successful empty query'; constant
144 query,
145 UnitTestUtils.makeEmptyTrace(TraceType.SEARCH, [query, '1']),
205 const query = 'successful query'; constant
207 query,
208 UnitTestUtils.makeEmptyTrace(TraceType.SEARCH, [query]),
213 query,
214 UnitTestUtils.makeEmptyTrace(TraceType.SEARCH, [query]),
217 new CurrentSearch(1, query, new SearchResult([], [])),
[all …]
Dviewer_search_component_test.ts218 data.currentSearches[0].query = testQuery;
420 query: string,
422 input.value = query;
452 data.currentSearches[0].query = testQuery;
454 let query: string | undefined;
459 query = detail.query;
465 expect(query).toEqual(testQuery);
480 let query: string | undefined;
485 query = detail.query;
488 expect(query).toEqual(testQuery);
[all …]
Dactive_search_component_test.ts86 let query: string | undefined; variable
91 query = detail.query;
96 expect(query).toBeUndefined();
217 query: string,
219 input.value = query;
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DDictionaryProvider.java89 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() method in DictionaryProvider
115 private Cursor getSuggestions(String query) { in getSuggestions() argument
116 query = query.toLowerCase(); in getSuggestions()
125 return mDictionary.getWordMatches(query, columns); in getSuggestions()
128 private Cursor search(String query) { in search() argument
129 query = query.toLowerCase(); in search()
135 return mDictionary.getWordMatches(query, columns); in search()
DSearchableDictionary.java77 String query = intent.getStringExtra(SearchManager.QUERY); in handleIntent() local
78 showResults(query); in handleIntent()
86 private void showResults(String query) { in showResults() argument
89 new String[] {query}, null); in showResults()
93 mTextView.setText(getString(R.string.no_results, new Object[] {query})); in showResults()
98 count, new Object[] {count, query}); in showResults()
DDictionaryDatabase.java93 return query(selection, selectionArgs, columns); in getWord()
107 public Cursor getWordMatches(String query, String[] columns) { in getWordMatches() argument
109 String[] selectionArgs = new String[] {query+"*"}; in getWordMatches()
111 return query(selection, selectionArgs, columns); in getWordMatches()
135 private Cursor query(String selection, String[] selectionArgs, String[] columns) { in query() method in DictionaryDatabase
144 Cursor cursor = builder.query(mDatabaseOpenHelper.getReadableDatabase(), in query()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetworkViews.java77 public MonkeyCommandReturn query(AccessibilityNodeInfo node, List<String> args); in query() method
229 return getter.query(node, args); in translateCommand()
246 return (new GetAccessibilityIds()).query(node, new ArrayList<String>()); in translateCommand()
271 MonkeyCommandReturn result = idGetter.query(node, emptyArgs); in translateCommand()
290 public MonkeyCommandReturn query(AccessibilityNodeInfo node, in query() method in MonkeySourceNetworkViews.GetLocation
312 public MonkeyCommandReturn query(AccessibilityNodeInfo node, in query() method in MonkeySourceNetworkViews.GetText
336 public MonkeyCommandReturn query(AccessibilityNodeInfo node, in query() method in MonkeySourceNetworkViews.GetClass
350 public MonkeyCommandReturn query(AccessibilityNodeInfo node, in query() method in MonkeySourceNetworkViews.GetChecked
365 public MonkeyCommandReturn query(AccessibilityNodeInfo node, in query() method in MonkeySourceNetworkViews.GetEnabled
380 public MonkeyCommandReturn query(AccessibilityNodeInfo node, in query() method in MonkeySourceNetworkViews.GetSelected
[all …]
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DLookupActivity.java223 String query = intent.getStringExtra(SearchManager.QUERY); in onNewIntent() local
224 startNavigating(query, true); in onNewIntent()
231 String query = data.getPathSegments().get(0); in onNewIntent() local
232 startNavigating(query, true); in onNewIntent()
280 String query = args[0]; in doInBackground() local
285 if (query == null) { in doInBackground()
286 query = ExtendedWikiHelper.getRandomWord(); in doInBackground()
289 if (query != null) { in doInBackground()
291 publishProgress(query); in doInBackground()
292 String wikiText = ExtendedWikiHelper.getPageContent(query, true); in doInBackground()
/development/tools/winscope/src/trace_processor/
Dtrace_processor.ts29 async query(sqlQuery: string): Promise<QueryResult> { method in TraceProcessor
31 const result = await this.wasmEngine.query(sqlQuery);
41 const result = await this.wasmEngine.query(sqlQuery).waitAllRows();
Dengine.ts201 query: 'COMPUTE_METRIC',
317 query(sqlQuery: string, tag?: string): Promise<QueryResult>&QueryResult {
326 query: sqlQuery,
381 const queryRes = await this.query(
393 const result = await this.query(`
406 const result = await this.query('select count(*) as cnt from process;');
426 query(sqlQuery: string, tag?: string): Promise<QueryResult>&QueryResult { method in EngineProxy
427 return this.engine.query(sqlQuery, tag || this.tag);
/development/tools/winscope/src/viewers/common/
Dviewer_events.ts82 constructor(public query: string, public uid: number) {} property in SearchQueryClickDetail
86 constructor(public query: string) {} property in AddQueryClickDetail
94 constructor(public query: string, public name: string) {} property in SaveQueryClickDetail
/development/tools/winscope/src/parsers/search/
Dparser_search.ts39 private readonly query: string,
76 return [this.query];
94 this.queryResult = await tp.queryAllRows(this.query);
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/db/
DSelectionBuilder.java296 public Cursor query(SQLiteDatabase db, String[] columns, String orderBy) { in query() method in SelectionBuilder
297 return query(db, columns, null, null, orderBy, null); in query()
322 public Cursor query(SQLiteDatabase db, String[] columns, String groupBy, in query() method in SelectionBuilder
327 return db.query(mTable, columns, getSelection(), getSelectionArgs(), groupBy, having, in query()
/development/tools/repo_diff/service/repodiff/tools/
Dupgrade_db.py31 def run_query(query): argument
34 query=query,
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DQueueHelper.java70 public static List<MediaSession.QueueItem> getPlayingQueueFromSearch(String query, in getPlayingQueueFromSearch() argument
73 LogHelper.d(TAG, "Creating playing queue for musics from search ", query); in getPlayingQueueFromSearch()
75 return convertToQueue(musicProvider.searchMusic(query), MEDIA_ID_MUSICS_BY_SEARCH, query); in getPlayingQueueFromSearch()
/development/samples/NotePad/tests/src/com/example/android/notepad/
DNotePadProviderTest.java360 noteIdCursor = mMockResolver.query( in testWriteDataToPipe()
446 Cursor cursor = mMockResolver.query( in testQueriesOnNotesUri()
464 cursor = mMockResolver.query( in testQueriesOnNotesUri()
479 Cursor projectionCursor = mMockResolver.query( in testQueriesOnNotesUri()
499 projectionCursor = mMockResolver.query( in testQueriesOnNotesUri()
557 Cursor cursor = mMockResolver.query( in testQueriesOnNoteIdUri()
576 cursor = mMockResolver.query( in testQueriesOnNoteIdUri()
598 cursor = mMockResolver.query(noteIdUri, // the URI for a single note in testQueriesOnNoteIdUri()
642 Cursor cursor = mMockResolver.query( in testInserts()
731 Cursor cursor = mMockResolver.query( in testDeletes()

12345