Home
last modified time | relevance | path

Searched refs:selectionArgs (Results 1 – 25 of 28) sorted by relevance

12

/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DDictionaryProvider.java89 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
95 if (selectionArgs == null) { in query()
99 return getSuggestions(selectionArgs[0]); in query()
101 if (selectionArgs == null) { in query()
105 return search(selectionArgs[0]); in query()
194 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
199 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
DDictionaryDatabase.java91 String[] selectionArgs = new String[] {rowId}; in getWord() local
93 return query(selection, selectionArgs, columns); in getWord()
109 String[] selectionArgs = new String[] {query+"*"}; in getWordMatches() local
111 return query(selection, selectionArgs, columns); in getWordMatches()
135 private Cursor query(String selection, String[] selectionArgs, String[] columns) { in query() argument
145 columns, selection, selectionArgs, null, null, null); in query()
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
DFeedProvider.java92 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
105 .where(selection, selectionArgs); in query()
148 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
156 .where(selection, selectionArgs) in delete()
163 .where(selection, selectionArgs) in delete()
180 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
188 .where(selection, selectionArgs) in update()
195 .where(selection, selectionArgs) in update()
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/db/
DSelectionBuilder.java145 public SelectionBuilder where(String selection, String... selectionArgs) { in where() argument
147 if (selectionArgs != null && selectionArgs.length > 0) { in where()
161 if (selectionArgs != null) { in where()
162 Collections.addAll(mSelectionArgs, selectionArgs); in where()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsFileProvider.java44 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
57 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
63 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/development/samples/browseable/BeamLargeFiles/src/com.example.android.common/assetprovider/
DAssetProvider.java120 String[] selectionArgs, String sortOrder) { in query() argument
132 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
137 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/
DAssetProvider.java46 public int delete(@NonNull Uri uri, String selection, String[] selectionArgs) { in delete() argument
65 String[] selectionArgs, in query() argument
73 String[] selectionArgs) { in update() argument
/development/samples/training/threadsample/src/com/example/android/threadsample/
DDataProvider.java245 String[] selectionArgs, in query() argument
270 selectionArgs, in query()
427 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
448 String[] selectionArgs) { in update() argument
464 selectionArgs); in update()
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherDataProvider.java89 String[] selectionArgs, String sortOrder) { in query() argument
115 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
122 String[] selectionArgs) { in update() argument
/development/samples/ApiDemos/src/com/example/android/apis/content/
DFileProvider.java48 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
96 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
102 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/development/samples/ContactManager/src/com/example/android/contactmanager/
DContactManager.java111 String[] selectionArgs = null; in getContacts() local
114 return managedQuery(uri, projection, selection, selectionArgs, sortOrder); in getContacts()
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/
DLocationDbHelper.java154 String[] selectionArgs = {day}; in delete() local
155 return db.delete(TABLE_NAME, selection, selectionArgs); in delete()
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DRssContentProvider.java135 String[] selectionArgs, String groupBy, String having, String sortOrder) { in query() argument
161 selectionArgs, in query()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderThrottle.java212 String[] selectionArgs, String sortOrder) { in query() argument
228 selectionArgs = DatabaseUtils.appendSelectionArgs(selectionArgs, in query()
243 Cursor c = qb.query(db, projection, selection, selectionArgs, in query()
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DXmlDocumentProvider.java173 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
320 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
328 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
DAdapters.java663 String[] selectionArgs = null; in parse() local
665 selectionArgs = new String[parameters.length]; in parse()
666 for (int i = 0; i < selectionArgs.length; i++) { in parse()
667 selectionArgs[i] = (String) parameters[i]; in parse()
672 selectionArgs, sortOrder, mBinders); in parse()
912 String selection, String[] selectionArgs, String sortOrder, in XmlCursorAdapter() argument
921 mSelectionArgs = selectionArgs; in XmlCursorAdapter()
/development/samples/NotePad/tests/src/com/example/android/notepad/
DNotePadProviderTest.java751 final String[] selectionArgs = { "Note1" }; in testUpdates() local
767 selectionArgs // select "title = Note1" in testUpdates()
784 selectionArgs // same selection argument, to select "title = Note1" in testUpdates()
/development/samples/NotePad/src/com/example/android/notepad/
DNotePadProvider.java226 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
282 selectionArgs, // The values for the where clause in query()
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/multiscreen/newsreader/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...

12