/packages/apps/Browser/src/com/android/browser/provider/ |
SQLiteContentProvider.java | 76 String[] selectionArgs, boolean callerIsSyncAdapter); 81 public abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, 149 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 157 count = updateInTransaction(uri, values, selection, selectionArgs, 166 count = updateInTransaction(uri, values, selection, selectionArgs, callerIsSyncAdapter); 173 public int delete(Uri uri, String selection, String[] selectionArgs) { 181 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter); 189 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
NoNullCursorAsyncQueryHandler.java | 37 String[] selectionArgs, String orderBy) { 39 super.startQuery(token, projectionCookie, uri, projection, selection, selectionArgs,
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
SQLiteContentProvider.java | 84 String[] selectionArgs, boolean callerIsSyncAdapter); 90 public abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, 159 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 167 count = updateInTransaction(uri, values, selection, selectionArgs, 176 count = updateInTransaction(uri, values, selection, selectionArgs, callerIsSyncAdapter); 183 public int delete(Uri uri, String selection, String[] selectionArgs) { 191 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter); 199 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
SQLiteContentProvider.java | 69 String[] selectionArgs, boolean callerIsSyncAdapter); 74 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, 139 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 147 count = updateInTransaction(uri, values, selection, selectionArgs, 159 count = updateInTransaction(uri, values, selection, selectionArgs, 170 public int delete(Uri uri, String selection, String[] selectionArgs) { 178 count = deleteInTransaction(uri, selection, selectionArgs, isCallerSyncAdapter); 189 count = deleteInTransaction(uri, selection, selectionArgs, isCallerSyncAdapter);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
FastScrollingIndexCache.java | 121 private static String buildCacheKey(Uri queryUri, String selection, String[] selectionArgs, 133 if (selectionArgs != null) { 134 for (int i = 0; i < selectionArgs.length; i++) { 136 appendIfNotNull(sb, selectionArgs[i]); 198 public Bundle get(Uri queryUri, String selection, String[] selectionArgs, String sortOrder, 202 final String key = buildCacheKey(queryUri, selection, selectionArgs, sortOrder, 230 public void put(Uri queryUri, String selection, String[] selectionArgs, String sortOrder, 234 final String key = buildCacheKey(queryUri, selection, selectionArgs, sortOrder,
|
/cts/tests/src/android/content/cts/ |
MockContentProvider.java | 138 public int delete(Uri uri, String selection, String[] selectionArgs) { 149 count = db.delete("TestTable1", selection, selectionArgs); 155 selectionArgs); 158 count = db.delete("TestTable2", selection, selectionArgs); 164 selectionArgs); 241 String[] selectionArgs, String sortOrder) { 242 return query(uri, projection, selection, selectionArgs, sortOrder, null); 247 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { 305 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy, 314 String[] selectionArgs) { [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSQLiteDatabase.java | 115 String selection, String[] selectionArgs, String groupBy, 119 if (selection != null && selectionArgs != null) { 120 where = buildWhereClause(selection, selectionArgs); 141 String[] selectionArgs, String groupBy, String having, 143 return query(false, table, columns, selection, selectionArgs, groupBy, having, orderBy, null); 148 String[] selectionArgs, String groupBy, String having, 150 return query(false, table, columns, selection, selectionArgs, groupBy, having, orderBy, limit); 227 public Cursor rawQuery (String sql, String[] selectionArgs) { 235 }, sql, selectionArgs, null ); 239 public Cursor rawQueryWithFactory (SQLiteDatabase.CursorFactory cursorFactory, String sql, String[] selectionArgs, String editTable) [all...] |
ShadowContentProviderOperationBuilder.java | 32 public Builder withSelection(String selection, String[] selectionArgs) { 33 shadowContentProviderOperation.getSelections().put(selection, selectionArgs);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_ArtistsTest.java | 77 String[] selectionArgs = new String[] { Audio1.ARTIST }; 80 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); 96 mContentResolver.update(artistsUri, artistValues, selection, selectionArgs); 104 mContentResolver.delete(artistsUri, selection, selectionArgs); 128 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/ |
SQLite.java | 110 * @param selectionArgs Array of substitutions for args in selection 113 public static String buildWhereClause(String selection, String[] selectionArgs) throws SQLiteException { 121 if (selectionArgs != null) { 122 for (int x = 0; x < selectionArgs.length; x++) { 123 if (selectionArgs[x] == null) { 128 whereClause = whereClause.replaceFirst("\\?", "'" + selectionArgs[x] + "'"); 132 throw new SQLiteException("bind or column index out of range: count of selectionArgs does not match count of (?) placeholders for given sql statement!");
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
ExportTestProvider.java | 99 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);
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardComposer.java | 292 * String[] selectionArgs = new String[] {contactId}; 294 * contentUriForRawContactsEntity, null, selection, selectionArgs, null) 313 public boolean init(final String selection, final String[] selectionArgs) { 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, sortOrder [all...] |
/frameworks/base/core/java/android/content/ |
SearchRecentSuggestionsProvider.java | 225 public int delete(Uri uri, String selection, String[] selectionArgs) { 236 count = db.delete(sSuggestions, selection, selectionArgs); 319 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 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) {
|
IContentProvider.java | 38 String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal) 45 public int delete(String callingPkg, Uri url, String selection, String[] selectionArgs) 48 String[] selectionArgs) throws RemoteException;
|
CursorLoader.java | 135 String[] selectionArgs, String sortOrder) { 141 mSelectionArgs = selectionArgs; 219 public void setSelectionArgs(String[] selectionArgs) { 220 mSelectionArgs = selectionArgs;
|
/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/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/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);
|
/packages/apps/Exchange/exchange2/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 97 public int delete(Uri uri, String selection, String[] selectionArgs) { 98 if (selection != null || selectionArgs != null) { 139 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 141 if (selection != null || selectionArgs != null || sortOrder != null || projection == null) { 178 public int update(Uri uri, ContentValues newValues, String selection, String[] selectionArgs) { 179 if (selection != null || 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 97 public int delete(Uri uri, String selection, String[] selectionArgs) { 98 if (selection != null || selectionArgs != null) { 139 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 141 if (selection != null || selectionArgs != null || sortOrder != null || projection == null) { 178 public int update(Uri uri, ContentValues newValues, String selection, String[] selectionArgs) { 179 if (selection != null || selectionArgs != null) {
|