/packages/apps/Browser/src/com/android/browser/homepages/ |
HomeProvider.java | 44 public int delete(Uri uri, String selection, String[] selectionArgs) {
65 String[] selectionArgs, String sortOrder) {
71 String[] selectionArgs) {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
GoogleSuggestionProvider.java | 72 String[] selectionArgs, String sortOrder) { 109 String[] selectionArgs) { 114 public int delete(Uri uri, String selection, String[] selectionArgs) {
|
/packages/apps/QuickSearchBox/tests/partial/src/com/android/quicksearchbox/tests/partial/ |
PartialSuggestionProvider.java | 99 String[] selectionArgs, String sortOrder) { 134 String[] selectionArgs) { 139 public int delete(Uri uri, String selection, String[] selectionArgs) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
DumpFileProvider.java | 51 public int delete(Uri uri, String selection, String[] selectionArgs) { 57 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 91 public Cursor query(Uri uri, String[] inProjection, String selection, String[] selectionArgs,
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
MmsSmsProvider.java | 296 String selection, String[] selectionArgs, String sortOrder) { 312 projection, selection, selectionArgs, sortOrder); 325 selectionArgs, sortOrder); 330 selectionArgs, sortOrder); 348 selectionArgs, 357 selectionArgs, 369 || selectionArgs != null 372 "do not specify sortOrder, selection, selectionArgs, or projection" + 410 || selectionArgs != null 413 "do not specify sortOrder, selection, selectionArgs, or projection" [all...] |
/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 | 88 String[] selectionArgs = null; 90 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 | 56 String[] selectionArgs = { searchTerm, String.valueOf(searchTime) }; 58 SearchColumns.DATE + " = ? ", selectionArgs, null); 84 String[] selectionArgs = { searchTerm[0] }; 86 selectionArgs, null); 117 String[] selectionArgs = { searchTerm[0] }; 119 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);
|
/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
|