Searched refs:query (Results 1 - 25 of 64) sorted by relevance

123

/development/samples/SampleSyncAdapter/samplesyncadapter_server/model/
H A 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/emulator/system/camera/
H A DQemuClient.cpp38 * Qemu query
89 ALOGE("%s: NULL or an empty string is passed as query name.",
100 /* Preallocated buffer was too small. Allocate a bigger query buffer. */
103 ALOGE("%s: Unable to allocate %d bytes for query buffer",
110 /* At this point mQuery buffer is big enough for the query. */
122 /* Save query completion status. */
134 ALOGE("%s: Invalid reply to the query", __FUNCTION__);
145 ALOGE("%s: Invalid query reply: '%s'", __FUNCTION__, mReplyBuffer);
155 ALOGE("%s: Invalid query reply: '%s'", __FUNCTION__, mReplyBuffer);
165 ALOGE("%s: Invalid query repl
331 doQuery(QemuQuery* query) argument
[all...]
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
H A DDictionaryProvider.java85 * the search query as the first element.
89 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:DictionaryProvider
92 // Use the UriMatcher to see what kind of query we have and format the db query accordingly
115 private Cursor getSuggestions(String query) { argument
116 query = query.toLowerCase();
125 return mDictionary.getWordMatches(query, columns);
128 private Cursor search(String query) { argument
129 query
[all...]
H A DDictionaryDatabase.java93 return query(selection, selectionArgs, columns);
95 /* This builds a query that looks like:
101 * Returns a Cursor over all words that match the given query
103 * @param query The string to search for
107 public Cursor getWordMatches(String query, String[] columns) { argument
109 String[] selectionArgs = new String[] {query+"*"};
111 return query(selection, selectionArgs, columns);
113 /* This builds a query that looks like:
114 * SELECT <columns> FROM <table> WHERE <KEY_WORD> MATCH 'query*'
115 * which is an FTS3 search for the query tex
135 private Cursor query(String selection, String[] selectionArgs, String[] columns) { method in class:DictionaryDatabase
[all...]
H A DSearchableDictionary.java76 // handles a search query
77 String query = intent.getStringExtra(SearchManager.QUERY);
78 showResults(query);
83 * Searches the dictionary and displays results for the given query.
84 * @param query The search query
86 private void showResults(String query) { argument
89 new String[] {query}, null);
93 mTextView.setText(getString(R.string.no_results, new Object[] {query}));
98 count, new Object[] {count, query});
[all...]
/development/cmds/monkey/src/com/android/commands/monkey/
H A DMonkeySourceNetworkViews.java67 * Get the response to the query
68 * @return the response to the query
70 public MonkeyCommandReturn query(AccessibilityNodeInfo node, List<String> args); method in interface:MonkeySourceNetworkViews.ViewIntrospectionCommand
90 * Also sets up a communication connection so we can query the
260 return getter.query(node, args);
281 return (new GetAccessibilityIds()).query(node, new ArrayList<String>());
307 MonkeyCommandReturn result = idGetter.query(node, emptyArgs);
326 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetLocation
348 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetText
372 public MonkeyCommandReturn query(AccessibilityNodeInf method in class:MonkeySourceNetworkViews.GetClass
386 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetChecked
401 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetEnabled
416 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetSelected
432 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.SetSelected
456 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetFocused
472 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.SetFocused
497 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetAccessibilityIds
526 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetParent
547 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetChildren
[all...]
/development/samples/Wiktionary/src/com/example/android/wiktionary/
H A DLookupActivity.java222 // Start query for incoming search request
223 String query = intent.getStringExtra(SearchManager.QUERY);
224 startNavigating(query, true);
231 String query = data.getPathSegments().get(0);
232 startNavigating(query, true);
261 * background query to the Wiktionary API. When finished, it transitions
275 * Perform the background query using {@link ExtendedWikiHelper}, which
280 String query = args[0];
284 // If query word is null, assume request for random word
285 if (query
[all...]
/development/samples/BusinessCard/src/com/example/android/businesscard/
H A DContactAccessorSdk3_4.java57 Cursor cursor = contentResolver.query(contactUri,
68 cursor = contentResolver.query(phoneUri,
H A DContactAccessorSdk5.java63 Cursor cursor = contentResolver.query(contactUri,
75 cursor = contentResolver.query(Phone.CONTENT_URI,
/development/samples/ApiDemos/src/com/example/android/apis/view/
H A DAutoComplete5.java35 Cursor cursor = content.query(Contacts.CONTENT_URI,
H A DList2.java37 Cursor c = getContentResolver().query(Contacts.CONTENT_URI,
H A DAutoComplete4.java44 Cursor cursor = content.query(Contacts.CONTENT_URI,
91 return mContent.query(uri, CONTACT_PROJECTION, null, null, null);
H A DSearchViewActionBar.java102 public boolean onQueryTextSubmit(String query) { argument
103 mStatusView.setText("Query = " + query + " : submitted");
H A DGallery2.java39 Cursor c = getContentResolver().query(Contacts.CONTENT_URI,
H A DList3.java40 Cursor c = getContentResolver().query(Phone.CONTENT_URI,
H A DSearchViewFilterMode.java75 public boolean onQueryTextSubmit(String query) { argument
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DActionBarUsage.java89 public boolean onQueryTextSubmit(String query) { argument
90 Toast.makeText(this, "Searching for: " + query + "...", Toast.LENGTH_SHORT).show();
/development/samples/NotePad/tests/src/com/example/android/notepad/
H A DNotePadProviderTest.java360 noteIdCursor = mMockResolver.query(
423 // Defines a projection of column names to return for a query
430 // Defines a selection column for the query. When the selection columns are passed
431 // to the query, the selection arguments replace the placeholders.
434 // Defines the selection columns for a query.
441 // Defines a query sort order
445 // If there are no records in the table, the returned cursor from a query should be empty.
446 Cursor cursor = mMockResolver.query(
458 // If the table contains records, the returned cursor from a query should contain records.
464 cursor = mMockResolver.query(
[all...]
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
H A DNotesDbAdapter.java146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE,
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID,
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
H A DNotesDbAdapter.java146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE,
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID,
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
H A DNotesDbAdapter.java146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE,
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID,
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
H A DNotesDbAdapter.java146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE,
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID,
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
H A DNotesDbAdapter.java146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE,
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID,
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
H A DNotesDbAdapter.java146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE,
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID,
/development/samples/Support4Demos/src/com/example/android/supportv4/content/
H A DSharingSupportProvider.java45 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:SharingSupportProvider

Completed in 5644 milliseconds

123