Home
last modified time | relevance | path

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

123

/development/tools/emulator/system/camera/
DQemuClient.cpp331 status_t QemuClient::doQuery(QemuQuery* query) in doQuery() argument
334 if (query->mQueryDeliveryStatus != NO_ERROR) { in doQuery()
336 return query->mQueryDeliveryStatus; in doQuery()
339 LOGQ("Send query '%s'", query->mQuery); in doQuery()
342 status_t res = sendMessage(query->mQuery, strlen(query->mQuery) + 1); in doQuery()
345 res = receiveMessage(reinterpret_cast<void**>(&query->mReplyBuffer), in doQuery()
346 &query->mReplySize); in doQuery()
349 query->mQuery, query->mReplyBuffer, query->mReplySize); in doQuery()
352 __FUNCTION__, query->mQuery, strerror(res)); in doQuery()
356 __FUNCTION__, query->mQuery, strerror(res)); in doQuery()
[all …]
/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/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()
DSimpleWikiHelper.java149 JSONObject query = response.getJSONObject("query"); in getPageContent() local
150 JSONObject pages = query.getJSONObject("pages"); in getPageContent()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetworkViews.java70 public MonkeyCommandReturn query(AccessibilityNodeInfo node, List<String> args); in query() method
260 return getter.query(node, args); in translateCommand()
281 return (new GetAccessibilityIds()).query(node, new ArrayList<String>()); in translateCommand()
307 MonkeyCommandReturn result = idGetter.query(node, emptyArgs); in translateCommand()
326 public MonkeyCommandReturn query(AccessibilityNodeInfo node, in query() method in MonkeySourceNetworkViews.GetLocation
348 public MonkeyCommandReturn query(AccessibilityNodeInfo node, in query() method in MonkeySourceNetworkViews.GetText
372 public MonkeyCommandReturn query(AccessibilityNodeInfo node, in query() method in MonkeySourceNetworkViews.GetClass
386 public MonkeyCommandReturn query(AccessibilityNodeInfo node, in query() method in MonkeySourceNetworkViews.GetChecked
401 public MonkeyCommandReturn query(AccessibilityNodeInfo node, in query() method in MonkeySourceNetworkViews.GetEnabled
416 public MonkeyCommandReturn query(AccessibilityNodeInfo node, in query() method in MonkeySourceNetworkViews.GetSelected
[all …]
/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/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/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()
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()
DGallery2.java39 Cursor c = getContentResolver().query(Contacts.CONTENT_URI, in onCreate()
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
DNotesDbAdapter.java146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes()
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote()
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
DNotesDbAdapter.java146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes()
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote()
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
DNotesDbAdapter.java146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes()
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote()
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
DNotesDbAdapter.java146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes()
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote()
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
DNotesDbAdapter.java146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes()
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote()
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
DNotesDbAdapter.java146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes()
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote()
/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()

123