Home
last modified time | relevance | path

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

1234

/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/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/repo_diff/service/repodiff/tools/
Dupgrade_db.py31 def run_query(query): argument
34 query=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/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/BusinessCard/src/com/example/android/businesscard/
DContactAccessorSdk5.java63 Cursor cursor = contentResolver.query(contactUri, in loadContact()
75 cursor = contentResolver.query(Phone.CONTENT_URI, in loadContact()
DContactAccessorSdk3_4.java57 Cursor cursor = contentResolver.query(contactUri, in loadContact()
68 cursor = contentResolver.query(phoneUri, in loadContact()
/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()
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/
DMainActivity.java63 String query = intent.getStringExtra(SearchManager.QUERY); in handleIntent() local
68 bundle.putString(QUERY_KEY, query); in handleIntent()
DContactablesLoaderCallbacks.java55 String query = args.getString(QUERY_KEY); in onCreateLoader() local
57 CommonDataKinds.Contactables.CONTENT_FILTER_URI, query); in onCreateLoader()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DActionBarUsage.java89 public boolean onQueryTextSubmit(String query) { in onQueryTextSubmit() argument
90 Toast.makeText(this, "Searching for: " + query + "...", Toast.LENGTH_SHORT).show(); in onQueryTextSubmit()
/development/tools/repo_diff/service/repodiff/persistence/sql/
Dsql.go96 func Select(db *sql.DB, rowHandler handleRowFn, query string, args ...interface{}) error {
98 query,
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSearchViewActionBar.java102 public boolean onQueryTextSubmit(String query) { in onQueryTextSubmit() argument
103 mStatusView.setText("Query = " + query + " : submitted"); in onQueryTextSubmit()
DWindowFocusObserver.java88 public boolean onQueryTextSubmit(String query) { in onQueryTextSubmit() argument
89 Toast.makeText(this, "Searching for: " + query + "...", Toast.LENGTH_SHORT).show(); in onQueryTextSubmit()
DAutoComplete4.java44 Cursor cursor = content.query(Contacts.CONTENT_URI, in onCreate()
91 return mContent.query(uri, CONTACT_PROJECTION, null, null, null); in runQueryOnBackgroundThread()
DAutoComplete5.java35 Cursor cursor = content.query(Contacts.CONTENT_URI, in onCreate()
DList2.java37 Cursor c = getContentResolver().query(Contacts.CONTENT_URI, in onCreate()
/development/tools/repo_pull/
DREADME.md5 A user may specify a query string and `repo_pull.py` will pull the matching
39 $ repo_pull.py [sub-command] [query] \
57 `[query]` is the query string that can be entered to the Gerrit search box.
Drepo_patch.py54 url_opener, args.gerrit, args.query, args.limits)
/development/samples/training/threadsample/src/com/example/android/threadsample/
DDataProvider.java241 public Cursor query( in query() method in DataProvider
255 Cursor returnCursor = db.query( in query()
266 returnCursor = db.query( in query()
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DSimpleWikiHelper.java156 JSONObject query = response.getJSONObject("query"); in getPageContent() local
157 JSONObject pages = query.getJSONObject("pages"); in getPageContent()

1234