HomeSort by relevance Sort by last modified time
    Searched refs:selectionArgs (Results 76 - 100 of 261) sorted by null

1 2 34 5 6 7 8 91011

  /frameworks/base/core/java/android/content/
CursorLoader.java 135 String[] selectionArgs, String sortOrder) {
141 mSelectionArgs = selectionArgs;
219 public void setSelectionArgs(String[] selectionArgs) {
220 mSelectionArgs = selectionArgs;
ContentProviderClient.java 113 String[] selectionArgs, String sortOrder) throws RemoteException {
114 return query(url, projection, selection, selectionArgs, sortOrder, null);
118 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs,
128 return mContentProvider.query(mPackageName, url, projection, selection, selectionArgs,
231 public int delete(Uri url, String selection, String[] selectionArgs)
235 return mContentProvider.delete(mPackageName, url, selection, selectionArgs);
248 String[] selectionArgs) throws RemoteException {
251 return mContentProvider.update(mPackageName, url, values, selection, selectionArgs);
ContentProvider.java 192 String selection, String[] selectionArgs, String sortOrder,
195 return rejectQuery(uri, projection, selection, selectionArgs, sortOrder,
201 uri, projection, selection, selectionArgs, sortOrder,
267 public int delete(String callingPkg, Uri uri, String selection, String[] selectionArgs) {
273 return ContentProvider.this.delete(uri, selection, selectionArgs);
281 String[] selectionArgs) {
287 return ContentProvider.this.update(uri, values, selection, selectionArgs);
719 String selection, String[] selectionArgs, String sortOrder,
730 return query(uri, projection, selection, selectionArgs, sortOrder, cancellationSignal);
766 selectionArgs,
    [all...]
ContentProviderOperation.java 210 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) {
569 if (selectionArgs == null) {
572 mSelectionArgs = new String[selectionArgs.length];
573 System.arraycopy(selectionArgs, 0, mSelectionArgs, 0, selectionArgs.length);
  /frameworks/ex/common/java/com/android/common/content/
SyncStateContentProviderHelper.java 82 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);
  /frameworks/support/v4/java/android/support/v4/content/
CursorLoader.java 98 String[] selectionArgs, String sortOrder) {
104 mSelectionArgs = selectionArgs;
182 public void setSelectionArgs(String[] selectionArgs) {
183 mSelectionArgs = selectionArgs;
  /cts/tests/tests/provider/src/android/provider/cts/
TelephonyProviderTest.java 86 String[] selectionArgs = null;
88 APN_PROJECTION, selection, selectionArgs, null);
MediaStore_Audio_AlbumsTest.java 87 String[] selectionArgs = new String[] { Audio1.ALBUM };
90 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs,
125 mContentResolver.update(audioAlbumsUri, albumValues, selection, selectionArgs);
133 mContentResolver.delete(audioAlbumsUri, selection, selectionArgs);
157 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, null);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContentProviderOperationBuilder.java 32 public Builder withSelection(String selection, String[] selectionArgs) {
33 shadowContentProviderOperation.getSelections().put(selection, selectionArgs);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResultsProvider.java 110 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
137 return query.query(db, projection, selection, selectionArgs, null, null, sortOrder);
150 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
180 int numUpdated = db.update(TABLE_NAME, values, selection, selectionArgs);
189 public int delete(Uri uri, String selection, String[] selectionArgs) {
191 int numDeleted = db.delete(TABLE_NAME, selection, selectionArgs);
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/
ProviderSearchesUriTest.java 58 String[] selectionArgs = { searchTerm, String.valueOf(searchTime) };
60 SearchColumns.DATE + " = ? ", selectionArgs, null);
86 String[] selectionArgs = { searchTerm[0] };
88 selectionArgs, null);
119 String[] selectionArgs = { searchTerm[0] };
121 selectionArgs, null);
  /packages/apps/Exchange/tests/src/com/android/exchange/provider/
MockProvider.java 47 * query() does not allow non-null selection, selectionArgs, or sortOrder arguments; the
52 * delete() and update() do not allow non-null selection or selectionArgs arguments; the
100 public int delete(Uri uri, String selection, String[] selectionArgs) {
101 if (selection != null || selectionArgs != null) {
142 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
144 if (selection != null || selectionArgs != null || sortOrder != null || projection == null) {
181 public int update(Uri uri, ContentValues newValues, String selection, String[] selectionArgs) {
182 if (selection != null || selectionArgs != null) {
  /packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
TestProvider.java 50 * query() does not allow non-null selection, selectionArgs, or sortOrder arguments; the
54 * delete() and update() do not allow non-null selection or selectionArgs arguments; the presence
100 public int delete(Uri uri, String selection, String[] selectionArgs) {
101 if (selection != null || selectionArgs != null) {
142 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
144 if (selection != null || selectionArgs != null || sortOrder != null || projection == null) {
181 public int update(Uri uri, ContentValues newValues, String selection, String[] selectionArgs) {
182 if (selection != null || selectionArgs != null) {
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
AbstractContactsProvider.java 148 public int delete(Uri uri, String selection, String[] selectionArgs) {
151 int deleted = deleteInTransaction(uri, selection, selectionArgs);
163 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
166 int updated = updateInTransaction(uri, values, selection, selectionArgs);
307 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs);
310 String[] selectionArgs);
VoicemailContentTable.java 178 public int delete(UriData uriData, String selection, String[] selectionArgs) {
187 cursor = query(uriData, FILENAME_ONLY_PROJECTION, selection, selectionArgs, null);
208 selectionArgs);
213 String[] selectionArgs, String sortOrder) {
222 Cursor c = qb.query(db, projection, combinedClause, selectionArgs, null, null, sortOrder);
231 String[] selectionArgs) {
242 selectionArgs);
ContactsProvider2.java     [all...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarProvider2.java     [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppProvider.java 303 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
358 if (selectionArgs == null) {
359 sb.append("selectionArgs is null; ");
360 } else if (selectionArgs.length == 0) {
361 sb.append("selectionArgs is empty; ");
363 for (int i = 0; i < selectionArgs.length; ++i) {
364 sb.append("selectionArgs[");
367 sb.append(selectionArgs[i]);
377 Cursor ret = qb.query(db, projection, selection, selectionArgs, null, null, sortOrder);
390 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
ContentProviderTest.java 243 public int delete(Uri uri, String selection, String[] selectionArgs) {
264 String[] selectionArgs, String sortOrder) {
270 String[] selectionArgs) {
314 public int delete(Uri uri, String selection, String[] selectionArgs) {
334 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
336 return mDb.query("files", projection, selection, selectionArgs, null, null, null);
340 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
  /frameworks/base/telephony/java/com/android/internal/telephony/
CallerInfoAsyncQuery.java 348 String[] selectionArgs;
374 selectionArgs = new String[] { number.toUpperCase() };
380 selectionArgs = null;
386 if (selectionArgs != null) {
387 for (int i = 0; i < selectionArgs.length; i++) {
388 Rlog.d(LOG_TAG, "==> selectionArgs[" + i + "]: " + selectionArgs[i]);
416 selectionArgs, // selectionArgs
  /packages/apps/InCallUI/src/com/android/incallui/
CallerInfoAsyncQuery.java 344 String[] selectionArgs;
370 selectionArgs = new String[] { number.toUpperCase() };
376 selectionArgs = null;
382 if (selectionArgs != null) {
383 for (int i = 0; i < selectionArgs.length; i++) {
384 Log.d(LOG_TAG, "==> selectionArgs[" + i + "]: " + selectionArgs[i]);
412 selectionArgs, // selectionArgs
  /development/samples/training/threadsample/src/com/example/android/threadsample/
DataProvider.java 236 * @param selectionArgs An array of Strings containing search criteria
245 String[] selectionArgs,
270 selectionArgs,
420 * values in selectionArgs.
421 * @param selectionArgs An array of values that are mapped to each "?" in selection. If no "?"
427 public int delete(Uri uri, String selection, String[] selectionArgs) {
440 * update. Use "?" to mark places that should be substituted by values in selectionArgs.
441 * @param selectionArgs An array of values that are mapped in order to each "?" in selection.
448 String[] selectionArgs) {
464 selectionArgs);
    [all...]
  /frameworks/base/core/java/android/database/sqlite/
SQLiteDatabase.java     [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/provider/
GalleryProvider.java 83 public int delete(Uri uri, String selection, String[] selectionArgs) {
115 String selection, String[] selectionArgs, String sortOrder) {
126 projection, selection, selectionArgs, sortOrder);
136 String selection, String[] selectionArgs, String sortOrder) {
196 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
MmsProvider.java 75 String selection, String[] selectionArgs, String sortOrder) {
210 selectionArgs, null, null, finalSortOrder);
535 String[] selectionArgs) {
595 selectionArgs, uri);
597 deletedRows = deleteParts(db, finalSelection, selectionArgs);
599 deletedRows = deleteTempDrmData(db, finalSelection, selectionArgs);
601 deletedRows = db.delete(table, finalSelection, selectionArgs);
611 String selection, String[] selectionArgs, Uri uri) {
613 selection, selectionArgs, null, null, null);
631 int count = db.delete(TABLE_PDU, selection, selectionArgs);
    [all...]

Completed in 4660 milliseconds

1 2 34 5 6 7 8 91011