Searched refs:where (Results 1 - 8 of 8) sorted by relevance

/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
H A DFeedProvider.java101 builder.where(FeedContract.Entry._ID + "=?", id);
105 .where(selection, selectionArgs);
156 .where(selection, selectionArgs)
162 .where(FeedContract.Entry._ID + "=?", id)
163 .where(selection, selectionArgs)
188 .where(selection, selectionArgs)
194 .where(FeedContract.Entry._ID + "=?", id)
195 .where(selection, selectionArgs)
/development/samples/NotePad/src/com/example/android/notepad/
H A DNotePadProvider.java260 * Choose the projection and adjust the "where" clause based on URI pattern-matching.
269 * note ID projection, and appends "_ID = <noteID>" to the where clause, so that
312 selection, // The columns for the where clause
313 selectionArgs, // The values for the where clause
575 * specified by where and whereArgs.
578 * @return If a "where" clause is used, the number of rows affected is returned, otherwise
579 * 0 is returned. To delete all rows and get a row count, use "1" as the where clause.
583 public int delete(Uri uri, String where, String[] whereArgs) { argument
595 // based on the incoming "where" columns and arguments.
599 where, // Th
669 update(Uri uri, ContentValues values, String where, String[] whereArgs) argument
[all...]
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DLoaderThrottle.java305 public int delete(Uri uri, String where, String[] whereArgs) { argument
313 // If URI is main table, delete uses incoming where clause and args.
314 count = db.delete(MainTable.TABLE_NAME, where, whereArgs);
318 // incoming data, but modifies the where clause to restrict it to the
324 MainTable._ID + " = " + ContentUris.parseId(uri), where);
341 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { argument
348 // If URI is main table, update uses incoming where clause and args.
349 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs);
356 MainTable._ID + " = " + ContentUris.parseId(uri), where);
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DLoaderThrottleSupport.java306 public int delete(Uri uri, String where, String[] whereArgs) { argument
314 // If URI is main table, delete uses incoming where clause and args.
315 count = db.delete(MainTable.TABLE_NAME, where, whereArgs);
319 // incoming data, but modifies the where clause to restrict it to the
325 MainTable._ID + " = " + ContentUris.parseId(uri), where);
342 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { argument
349 // If URI is main table, update uses incoming where clause and args.
350 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs);
357 MainTable._ID + " = " + ContentUris.parseId(uri), where);
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
H A DRssContentProvider.java194 public int delete(Uri uri, String where) { argument
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/db/
H A DSelectionBuilder.java44 * <p>If multiple where() statements are provided, they're combined using {@code AND}.
51 * .where(FeedContract.Entry._ID + "=?", id); // String _ID = "_ID"
83 * .where(Qualified.SESSIONS_BLOCK_ID + "=?", blockId);
124 * .where("blog_posts.category = 'PROGRAMMING');
137 * .where("blog_posts.title contains ?, userSearchString);
140 * @param selection SQL where statement
145 public SelectionBuilder where(String selection, String... selectionArgs) { method in class:SelectionBuilder
253 * <p>In cases where a column is mapped to another data source (either another table, or an
/development/build/tools/
H A Dsdk_repo.mk24 # $1=variable where to accumulate args for mk_sdk_repo_xml.
47 # $1=variable where to accumulate args for mk_sdk_repo_xml.
72 # $1=variable where to accumulate args for mk_sdk_repo_xml.
94 # $1=variable where to accumulate args for mk_sdk_repo_xml.
H A Dmk_sdk_repo_xml.sh27 where:
97 # source.properties | to repository.xml | where XML can be used
268 # where type is one of r, a or s matching $S above.

Completed in 413 milliseconds