Searched defs:selection (Results 1 - 25 of 44) sorted by relevance

12

/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
H A DDisabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DEnabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/
H A DTestProvider.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
49 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DTestReceiver.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
49 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/version/src/com/android/frameworks/coretests/version_test/
H A DNullProvider.java15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
26 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/version_nosys/src/com/android/frameworks/coretests/version_test/
H A DNullProvider.java15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
26 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/java/android/database/sqlite/
H A DSqliteWrapper.java57 String[] projection, String selection, String[] selectionArgs, String sortOrder) {
59 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
56 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/frameworks/base/core/java/com/android/internal/content/
H A DSelectionBuilder.java27 * Helper for building selection clauses for {@link SQLiteDatabase}. Each
47 * Append the given selection clause to the internal state. Each clause is
50 public SelectionBuilder append(String selection, Object... selectionArgs) { argument
51 if (TextUtils.isEmpty(selection)) {
54 "Valid selection required when including arguments");
65 mSelection.append("(").append(selection).append(")");
78 * Return selection string for current internal state.
87 * Return selection arguments for current internal state.
/frameworks/base/core/tests/coretests/src/android/app/
H A DSuggestionProvider.java63 public Cursor query(Uri url, String[] projectionIn, String selection, argument
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DSingleUserProvider.java35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
51 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
56 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/opt/mms/src/java/com/google/android/mms/util/
H A DSqliteWrapper.java69 String[] projection, String selection, String[] selectionArgs, String sortOrder) {
71 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
68 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
H A DSampleProvider.java37 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
61 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
145 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCatResponseMessage.java36 public void setMenuSelection(int selection) { argument
37 mUsersMenuSelection = selection;
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DExportTestProvider.java99 String selection, String[] selectionArgs, String sortOrder) {
104 TestCase.assertTrue((Data.CONTACT_ID + "=?").equals(selection));
115 String selection, String[] selectionArgs, String sortOrder) {
118 TestCase.assertNull(selection);
98 queryEntities(Uri uri, String selection, String[] selectionArgs, String sortOrder) argument
114 query(Uri uri,String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java52 public String selection; field in class:AsyncQueryHandler.WorkerArgs
80 args.selection, args.selectionArgs,
100 args.result = resolver.update(args.uri, args.values, args.selection,
105 args.result = resolver.delete(args.uri, args.selection, args.selectionArgs);
154 * @param selection A filter declaring which rows to return, formatted as an
157 * @param selectionArgs You may include ?s in selection, which will be
159 * appear in the selection. The values will be bound as Strings.
165 String[] projection, String selection, String[] selectionArgs,
175 args.selection = selection;
164 startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy) argument
233 startUpdate(int token, Object cookie, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
261 startDelete(int token, Object cookie, Uri uri, String selection, String[] selectionArgs) argument
[all...]
H A DCursorLoader.java134 public CursorLoader(Context context, Uri uri, String[] projection, String selection, argument
140 mSelection = selection;
211 public void setSelection(String selection) { argument
212 mSelection = selection;
H A DContentProviderClient.java112 public Cursor query(Uri url, String[] projection, String selection, argument
114 return query(url, projection, selection, selectionArgs, sortOrder, null);
118 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, argument
128 return mContentProvider.query(mPackageName, url, projection, selection, selectionArgs,
231 public int delete(Uri url, String selection, String[] selectionArgs) argument
235 return mContentProvider.delete(mPackageName, url, selection, selectionArgs);
247 public int update(Uri url, ContentValues values, String selection, argument
251 return mContentProvider.update(mPackageName, url, values, selection, selectionArgs);
H A DContentProviderNative.java95 // String selection, String[] selectionArgs...
96 String selection = data.readString();
112 Cursor cursor = query(callingPkg, url, projection, selection, selectionArgs,
196 String selection = data.readString();
199 int count = delete(callingPkg, url, selection, selectionArgs);
212 String selection = data.readString();
215 int count = update(callingPkg, url, values, selection, selectionArgs);
378 public Cursor query(String callingPkg, Uri url, String[] projection, String selection, argument
397 data.writeString(selection);
522 public int delete(String callingPkg, Uri url, String selection, Strin argument
545 update(String callingPkg, Uri url, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DContentProviderOperation.java309 * the key is an index into the selection argument array (see {@link Builder#withSelection})
310 * and the value is the index of the previous result that should be used for that selection
477 * Add a back references as a selection arg. Any value at that index of the selection arg
485 + "can have selection back-references");
556 * The selection and arguments to use. An occurrence of '?' in the selection will be
557 * replaced with the corresponding occurence of the selection argument. Any of the
558 * selection arguments may be overwritten by a selection argumen
563 withSelection(String selection, String[] selectionArgs) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLocalProvider.java84 public Cursor query(Uri url, String[] projectionIn, String selection, argument
104 Cursor ret = qb.query(db, projectionIn, selection, selectionArgs,
/frameworks/base/core/tests/coretests/src/android/content/
H A DMemoryFileProvider.java113 public Cursor query(Uri url, String[] projectionIn, String selection, argument
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerProvider.java86 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
88 int result = db.delete(TABLE_NAME, selection, selectionArgs);
111 public Cursor query(Uri uri, String[] projection, String selection, argument
115 Cursor cursor = db.query(TABLE_NAME, projection, selection,
122 public int update(Uri uri, ContentValues values, String selection, argument
/frameworks/ex/common/java/com/android/common/content/
H A DSQLiteContentProvider.java76 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, argument
82 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs); argument
148 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
155 count = updateInTransaction(uri, values, selection, selectionArgs);
166 count = updateInTransaction(uri, values, selection, selectionArgs);
176 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
183 count = deleteInTransaction(uri, selection, selectionArgs);
194 count = deleteInTransaction(uri, selection, selectionArgs);
H A DSyncStateContentProviderHelper.java82 String selection, String[] selectionArgs, String sortOrder) {
83 return db.query(SYNC_STATE_TABLE, projection, selection, selectionArgs,
96 String selection, String[] selectionArgs) {
97 return db.update(SYNC_STATE_TABLE, values, selection, selectionArgs);
81 query(SQLiteDatabase db, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
95 update(SQLiteDatabase db, ContentValues values, String selection, String[] selectionArgs) argument
/frameworks/support/v4/java/android/support/v4/content/
H A DCursorLoader.java97 public CursorLoader(Context context, Uri uri, String[] projection, String selection, argument
103 mSelection = selection;
174 public void setSelection(String selection) { argument
175 mSelection = selection;

Completed in 815 milliseconds

12