Searched refs:selectionArgs (Results 1 - 25 of 42) 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/java/com/android/internal/content/
H A DSelectionBuilder.java50 public SelectionBuilder append(String selection, Object... selectionArgs) { argument
52 if (selectionArgs != null && selectionArgs.length > 0) {
66 if (selectionArgs != null) {
67 for (Object arg : selectionArgs) {
/frameworks/base/core/java/android/content/
H A DContentProviderClient.java49 String[] selectionArgs, String sortOrder) throws RemoteException {
50 return mContentProvider.query(url, projection, selection, selectionArgs, sortOrder);
75 public int delete(Uri url, String selection, String[] selectionArgs) argument
77 return mContentProvider.delete(url, selection, selectionArgs);
82 String[] selectionArgs) throws RemoteException {
83 return mContentProvider.update(url, values, selection, selectionArgs);
48 query(Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
81 update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
H A DAsyncQueryHandler.java53 public String[] selectionArgs; field in class:AsyncQueryHandler.WorkerArgs
80 args.selection, args.selectionArgs,
101 args.selectionArgs);
105 args.result = resolver.delete(args.uri, args.selection, args.selectionArgs);
157 * @param selectionArgs You may include ?s in selection, which will be
158 * replaced by the values from selectionArgs, in the order that they
165 String[] projection, String selection, String[] selectionArgs,
176 args.selectionArgs = selectionArgs;
234 ContentValues values, String selection, String[] selectionArgs) {
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 DSearchRecentSuggestionsProvider.java225 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
236 count = db.delete(sSuggestions, selection, selectionArgs);
319 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
327 if (TextUtils.isEmpty(selectionArgs[0])) {
331 String like = "%" + selectionArgs[0] + "%";
382 selectionArgs, null, null, sortOrder,
393 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DIContentProvider.java37 String[] selectionArgs, String sortOrder) throws RemoteException;
42 public int delete(Uri url, String selection, String[] selectionArgs) argument
45 String[] selectionArgs) throws RemoteException;
36 query(Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
44 update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
H A DContentProviderNative.java97 // String selection, String[] selectionArgs...
100 String[] selectionArgs = null;
102 selectionArgs = new String[num];
104 selectionArgs[i] = data.readString();
112 Cursor cursor = query(url, projection, selection, selectionArgs, sortOrder);
190 String[] selectionArgs = data.readStringArray();
192 int count = delete(url, selection, selectionArgs);
205 String[] selectionArgs = data.readStringArray();
207 int count = update(url, values, selection, selectionArgs);
327 String[] selectionArgs, Strin
326 query(Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
466 delete(Uri url, String selection, String[] selectionArgs) argument
488 update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DCursorLoader.java113 String[] selectionArgs, String sortOrder) {
119 mSelectionArgs = selectionArgs;
197 public void setSelectionArgs(String[] selectionArgs) { argument
198 mSelectionArgs = selectionArgs;
112 CursorLoader(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
H A DContentProvider.java176 String selection, String[] selectionArgs, String sortOrder) {
179 selectionArgs, sortOrder);
211 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
213 return ContentProvider.this.delete(uri, selection, selectionArgs);
217 String[] selectionArgs) {
219 return ContentProvider.this.update(uri, values, selection, selectionArgs);
516 selectionArgs,
531 * @param selectionArgs You may include ?s in selection, which will be replaced by
532 * the values from selectionArgs, in order that they appear in the selection.
539 String selection, String[] selectionArgs, Strin
175 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
216 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
538 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
616 delete(Uri uri, String selection, String[] selectionArgs) argument
635 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DContentProviderOperation.java210 String[] selectionArgs =
223 numRows = provider.delete(mUri, mSelection, selectionArgs);
225 numRows = provider.update(mUri, values, mSelection, selectionArgs);
237 final Cursor cursor = provider.query(mUri, projection, mSelection, selectionArgs, null);
563 public Builder withSelection(String selection, String[] selectionArgs) { argument
569 if (selectionArgs == null) {
572 mSelectionArgs = new String[selectionArgs.length];
573 System.arraycopy(selectionArgs, 0, mSelectionArgs, 0, selectionArgs.length);
H A DDefaultDataHandler.java183 String[] selectionArgs = new String[attrLen];
185 selectionArgs[i] = atts.getValue(i+2);
187 mContentResolver.delete(u, atts.getValue(1), selectionArgs);
/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);
77 ContentValues values, String where, String[] selectionArgs) {
79 return resolver.update(uri, values, where, selectionArgs);
88 String where, String[] selectionArgs) {
90 return resolver.delete(uri, where, selectionArgs);
56 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
76 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument
87 delete(Context context, ContentResolver resolver, Uri uri, String where, String[] selectionArgs) argument
H A DSQLiteDirectCursorDriver.java40 public Cursor query(CursorFactory factory, String[] selectionArgs) { argument
47 query = new SQLiteQuery(mDatabase, mSql, 0, selectionArgs);
H A DSQLiteQueryBuilder.java269 * @param selectionArgs You may include ?s in selection, which
270 * will be replaced by the values from selectionArgs, in order
289 String selection, String[] selectionArgs, String groupBy,
291 return query(db, projectionIn, selection, selectionArgs, groupBy, having, sortOrder,
306 * @param selectionArgs You may include ?s in selection, which
307 * will be replaced by the values from selectionArgs, in order
328 String selection, String[] selectionArgs, String groupBy,
355 mFactory, sql, selectionArgs,
437 String[] projectionIn, String selection, String[] selectionArgs,
527 String[] selectionArgs,
288 query(SQLiteDatabase db, String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder) argument
327 query(SQLiteDatabase db, String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder, String limit) argument
436 buildQuery( String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder, String limit) argument
520 buildUnionSubQuery( String typeDiscriminatorColumn, String[] unionColumns, Set<String> columnsPresentInTable, int computedColumnsOffset, String typeDiscriminatorValue, String selection, String[] selectionArgs, String groupBy, String having) argument
[all...]
/frameworks/base/core/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);
89 ContentValues values, String where, String[] selectionArgs) {
91 return resolver.update(uri, values, where, selectionArgs);
100 String where, String[] selectionArgs) {
102 return resolver.delete(uri, where, selectionArgs);
68 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
88 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument
99 delete(Context context, ContentResolver resolver, Uri uri, String where, String[] selectionArgs) argument
/frameworks/base/test-runner/src/android/test/mock/
H A DMockIContentProvider.java48 public int delete(Uri url, String selection, String[] selectionArgs) argument
74 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, argument
79 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, argument
84 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
H A DMockContentProvider.java66 public int delete(Uri url, String selection, String[] selectionArgs) argument
68 return MockContentProvider.this.delete(url, selection, selectionArgs);
94 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, argument
97 selectionArgs, sortOrder);
101 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
103 return MockContentProvider.this.update(url, values, selection, selectionArgs);
166 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
186 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
192 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 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);
112 String[] selectionArgs, String sortOrder) {
116 selectionArgs, null, null, sortOrder);
123 String[] selectionArgs) {
111 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
122 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
/frameworks/ex/common/java/com/android/common/content/
H A DSQLiteContentProvider.java70 String[] selectionArgs);
75 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs); argument
141 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
148 count = updateInTransaction(uri, values, selection, selectionArgs);
159 count = updateInTransaction(uri, values, selection, selectionArgs);
169 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
176 count = deleteInTransaction(uri, selection, selectionArgs);
187 count = deleteInTransaction(uri, selection, selectionArgs);
69 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
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/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DExportTestProvider.java99 String selection, String[] selectionArgs, String sortOrder) {
105 TestCase.assertEquals(1, selectionArgs.length);
106 final int id = Integer.parseInt(selectionArgs[0]);
115 String selection, String[] selectionArgs, String sortOrder) {
119 TestCase.assertNull(selectionArgs);
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/opt/vcard/java/com/android/vcard/
H A DVCardComposer.java292 * String[] selectionArgs = new String[] {contactId};
294 * contentUriForRawContactsEntity, null, selection, selectionArgs, null)
313 public boolean init(final String selection, final String[] selectionArgs) { argument
314 return init(Contacts.CONTENT_URI, sContactsProjection, selection, selectionArgs,
322 final String[] selectionArgs, final String sortOrder) {
323 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, null);
331 * @param selectionArgs selectionArgs used with
340 final String[] selectionArgs, final String sortOrder,
342 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrde
321 init(final Uri contentUri, final String selection, final String[] selectionArgs, final String sortOrder) argument
339 init(final Uri contentUri, final String selection, final String[] selectionArgs, final String sortOrder, final Uri contentUriForRawContactsEntity) argument
383 init(final Uri contentUri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder, Uri contentUriForRawContactsEntity) argument
432 initInterCursorCreationPart( final Uri contentUri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder) argument
[all...]
/frameworks/support/v4/java/android/support/v4/content/
H A DCursorLoader.java106 String[] selectionArgs, String sortOrder) {
112 mSelectionArgs = selectionArgs;
190 public void setSelectionArgs(String[] selectionArgs) { argument
191 mSelectionArgs = selectionArgs;
105 CursorLoader(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java351 String[] selectionArgs;
377 selectionArgs = new String[] { number.toUpperCase() };
383 selectionArgs = null;
389 if (selectionArgs != null) {
390 for (int i = 0; i < selectionArgs.length; i++) {
391 Log.d(LOG_TAG, "==> selectionArgs[" + i + "]: " + selectionArgs[i]);
419 selectionArgs, // selectionArgs

Completed in 382 milliseconds

12