/development/samples/SampleSyncAdapter/samplesyncadapter_server/model/ |
D | datastore.py | 40 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/ |
D | DictionaryProvider.java | 89 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()
|
D | SearchableDictionary.java | 77 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()
|
D | DictionaryDatabase.java | 93 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/ |
D | MonkeySourceNetworkViews.java | 77 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/ |
D | LookupActivity.java | 223 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/ |
D | upgrade_db.py | 31 def run_query(query): argument 34 query=query,
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/db/ |
D | SelectionBuilder.java | 296 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/ |
D | QueueHelper.java | 70 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/ |
D | ContactAccessorSdk5.java | 63 Cursor cursor = contentResolver.query(contactUri, in loadContact() 75 cursor = contentResolver.query(Phone.CONTENT_URI, in loadContact()
|
D | ContactAccessorSdk3_4.java | 57 Cursor cursor = contentResolver.query(contactUri, in loadContact() 68 cursor = contentResolver.query(phoneUri, in loadContact()
|
/development/samples/NotePad/tests/src/com/example/android/notepad/ |
D | NotePadProviderTest.java | 360 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/ |
D | MainActivity.java | 63 String query = intent.getStringExtra(SearchManager.QUERY); in handleIntent() local 68 bundle.putString(QUERY_KEY, query); in handleIntent()
|
D | ContactablesLoaderCallbacks.java | 55 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/ |
D | ActionBarUsage.java | 89 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/ |
D | sql.go | 96 func Select(db *sql.DB, rowHandler handleRowFn, query string, args ...interface{}) error { 98 query,
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | SearchViewActionBar.java | 102 public boolean onQueryTextSubmit(String query) { in onQueryTextSubmit() argument 103 mStatusView.setText("Query = " + query + " : submitted"); in onQueryTextSubmit()
|
D | WindowFocusObserver.java | 88 public boolean onQueryTextSubmit(String query) { in onQueryTextSubmit() argument 89 Toast.makeText(this, "Searching for: " + query + "...", Toast.LENGTH_SHORT).show(); in onQueryTextSubmit()
|
D | AutoComplete4.java | 44 Cursor cursor = content.query(Contacts.CONTENT_URI, in onCreate() 91 return mContent.query(uri, CONTACT_PROJECTION, null, null, null); in runQueryOnBackgroundThread()
|
D | AutoComplete5.java | 35 Cursor cursor = content.query(Contacts.CONTENT_URI, in onCreate()
|
D | List2.java | 37 Cursor c = getContentResolver().query(Contacts.CONTENT_URI, in onCreate()
|
/development/tools/repo_pull/ |
D | README.md | 5 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.
|
D | repo_patch.py | 54 url_opener, args.gerrit, args.query, args.limits)
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
D | DataProvider.java | 241 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/ |
D | SimpleWikiHelper.java | 156 JSONObject query = response.getJSONObject("query"); in getPageContent() local 157 JSONObject pages = query.getJSONObject("pages"); in getPageContent()
|