/packages/apps/Calendar/src/com/android/calendar/alerts/ |
H A D | DismissAlarmsService.java | 74 String selection; 79 selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED + " AND " + 83 selection = buildMultipleEventsQuery(eventIds); 89 selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED; 97 resolver.update(uri, values, selection, null); 117 StringBuilder selection = new StringBuilder(); 118 selection.append(CalendarAlerts.STATE); 119 selection.append("="); 120 selection.append(CalendarAlerts.STATE_FIRED); 122 selection [all...] |
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
H A D | Provider.java | 32 String selection, String[] selectionArgs, 43 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 47 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 31 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/tests/ |
H A D | CrashingIconProvider.java | 48 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 49 if (DBG) Log.d(TAG, "delete(" + uri + ", " + selection + ", " + selectionArgs + ")"); 66 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 73 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/ |
H A D | NaughtySuggestionProvider.java | 48 public int update(Uri uri, ContentValues values, String selection, argument 54 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ProfileProvider.java | 76 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 78 return query(uri, projection, selection, selectionArgs, sortOrder, null); 82 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 85 return mDelegate.queryLocal(uri, projection, selection, selectionArgs, sortOrder, -1, 97 protected int updateInTransaction(Uri uri, ContentValues values, String selection, argument 101 return mDelegate.updateInTransaction(uri, values, selection, selectionArgs); 105 protected int deleteInTransaction(Uri uri, String selection, String[] selectionArgs) { argument 108 return mDelegate.deleteInTransaction(uri, selection, selectionArgs);
|
H A D | VoicemailTable.java | 39 public int delete(UriData uriData, String selection, String[] selectionArgs); argument 40 public Cursor query(UriData uriData, String[] projection, String selection, argument 42 public int update(UriData uriData, ContentValues values, String selection, argument
|
H A D | VoicemailStatusTable.java | 77 public int delete(UriData uriData, String selection, String[] selectionArgs) { argument 79 String combinedClause = concatenateClauses(selection, uriData.getWhereClause()); 85 public Cursor query(UriData uriData, String[] projection, String selection, argument 92 String combinedClause = concatenateClauses(selection, uriData.getWhereClause()); 102 public int update(UriData uriData, ContentValues values, String selection, argument 105 String combinedClause = concatenateClauses(selection, uriData.getWhereClause());
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
H A D | AccountTypeWithDataSet.java | 60 final String selection; 63 selection = BASE_SELECTION + " AND " + RawContacts.DATA_SET + " IS NULL"; 66 selection = BASE_SELECTION + " AND " + RawContacts.DATA_SET + " = ?"; 71 ID_PROJECTION, selection, args, null);
|
/packages/apps/Browser/src/com/android/browser/provider/ |
H A D | SnapshotProvider.java | 151 public Cursor query(Uri uri, String[] projection, String selection, argument 162 selection = DatabaseUtils.concatenateWhere(selection, "_id=?"); 173 Cursor cursor = qb.query(db, projection, selection, selectionArgs, 214 private void deleteDataFiles(SQLiteDatabase db, String selection, argument 216 Cursor c = db.query(TABLE_SNAPSHOTS, DELETE_PROJECTION, selection, 235 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 244 selection = DatabaseUtils.concatenateWhere(selection, TABLE_SNAPSHOTS + "._id=?"); 250 deleteDataFiles(db, selection, selectionArg 263 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument [all...] |
H A D | BrowserProvider2.java | 857 Object[] getSelectionWithAccounts(Uri uri, String selection, String[] selectionArgs) { argument 864 selection = DatabaseUtils.concatenateWhere(selection, 870 selection = DatabaseUtils.concatenateWhere(selection, 875 return new Object[] { selection, selectionArgs, hasAccounts }; 879 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 892 selection = DatabaseUtils.concatenateWhere(selection, 906 selection 1134 doSuggestQuery(String selection, String[] selectionArgs, String limit) argument 1210 deleteBookmarks(String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 1228 appendBookmarksIfFolder(String selection, String[] selectionArgs) argument 1275 deleteInTransaction(Uri uri, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 1668 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 1877 updateBookmarksInTransaction(ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 2015 updateHistoryInTransaction(ContentValues values, String selection, String[] selectionArgs) argument 2055 appendAccountToSelection(Uri uri, String selection) argument [all...] |
H A D | SQLiteContentProvider.java | 75 public abstract int updateInTransaction(Uri uri, ContentValues values, String selection, argument 81 public abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, argument 149 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 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) { argument 181 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter); 189 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter);
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
H A D | FileContentProvider.java | 65 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 80 public Cursor query(Uri uri, String[] projection, String selection, argument 86 public int update(Uri uri, ContentValues values, String selection, argument
|
/packages/apps/QuickSearchBox/tests/slow/src/com/android/quicksearchbox/tests/slow/ |
H A D | SlowSuggestionProvider.java | 46 public Cursor query(Uri uri, String[] projectionIn, String selection, argument 80 public int update(Uri uri, ContentValues values, String selection, argument 86 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
|
/packages/apps/QuickSearchBox/tests/spammy/src/com/android/quicksearchbox/tests/spammy/ |
H A D | SpammySuggestionProvider.java | 46 public Cursor query(Uri uri, String[] projectionIn, String selection, argument 74 public int update(Uri uri, ContentValues values, String selection, argument 80 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
H A D | MmsSmsProvider.java | 296 String selection, String[] selectionArgs, String sortOrder) { 301 cursor = getCompleteConversations(projection, selection, sortOrder); 308 selection = concatSelections( 309 selection, Threads.TYPE + "=" + threadType); 312 projection, selection, selectionArgs, sortOrder); 315 projection, selection, sortOrder); 320 selection, sortOrder); 324 uri.getPathSegments().get(1), projection, selection, 329 uri.getPathSegments().get(1), projection, selection, 334 uri.getPathSegments().get(2), projection, selection, sortOrde 295 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 719 getSimpleConversations(String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 741 getDraftThread(String[] projection, String selection, String sortOrder) argument 801 getConversations(String[] projection, String selection, String sortOrder) argument 854 getFirstLockedMessage(String[] projection, String selection, String sortOrder) argument 897 getCompleteConversations(String[] projection, String selection, String sortOrder) argument 926 getConversationMessages( String threadIdString, String[] projection, String selection, String sortOrder) argument 961 getMessagesByPhoneNumber( String phoneNumber, String[] projection, String selection, String sortOrder) argument 1010 getConversationById( String threadIdString, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 1049 getUndeliveredMessages( String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 1116 buildConversationQuery(String[] projection, String selection, String sortOrder) argument 1170 delete(Uri uri, String selection, String[] selectionArgs) argument 1215 deleteConversation(Uri uri, String selection, String[] selectionArgs) argument 1236 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument 1272 updateConversation( String threadIdString, ContentValues values, String selection, String[] selectionArgs) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | EventGeometry.java | 107 * Returns true if this event intersects the selection region. 109 boolean eventIntersectsSelection(Event event, Rect selection) { argument 110 if (event.left < selection.right && event.right >= selection.left 111 && event.top < selection.bottom && event.bottom >= selection.top) {
|
H A D | AsyncQueryService.java | 158 * @param selection A filter declaring which rows to return, formatted as an 161 * @param selectionArgs You may include ?s in selection, which will be 163 * they appear in the selection. The values will be bound as 170 String selection, String[] selectionArgs, String orderBy) { 180 info.selection = selection; 226 * @param selection A filter declaring which rows to update, formatted as an 229 * @param selectionArgs You may include ?s in selection, which will be 231 * they appear in the selection. The values will be bound as 238 String selection, Strin 169 startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy) argument 237 startUpdate(int token, Object cookie, Uri uri, ContentValues values, String selection, String[] selectionArgs, long delayMillis) argument 274 startDelete(int token, Object cookie, Uri uri, String selection, String[] selectionArgs, long delayMillis) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
H A D | MainPanel.java | 53 private void selection(int position, boolean value) { method in class:MainPanel 155 selection(mCurrentSelected, false); 160 selection(mCurrentSelected, true); 168 selection(mCurrentSelected, false); 173 selection(mCurrentSelected, true); 184 selection(mCurrentSelected, false); 189 selection(mCurrentSelected, true); 197 selection(mCurrentSelected, false); 202 selection(mCurrentSelected, true); 212 selection(mCurrentSelecte [all...] |
/packages/apps/Gallery2/src/com/android/photos/data/ |
H A D | PhotoProvider.java | 48 * in the selection. The selection and selectionArgs are not used when updating 272 public int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, argument 275 selection = addIdToSelection(match, selection); 277 return deleteCascade(uri, match, selection, selectionArgs); 308 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 310 return query(uri, projection, selection, selectionArgs, sortOrder, null); 314 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 318 selection 329 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 350 addIdToSelection(int match, String selection) argument 477 deleteCascade(Uri uri, int match, String selection, String[] selectionArgs) argument 518 query(String table, String[] columns, String selection, String[] selectionArgs, String orderBy, CancellationSignal cancellationSignal) argument [all...] |
H A D | SQLiteContentProvider.java | 83 public abstract int updateInTransaction(Uri uri, ContentValues values, String selection, argument 90 public abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, argument 159 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 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) { argument 191 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter); 199 count = deleteInTransaction(uri, selection, selectionArgs, callerIsSyncAdapter);
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
H A D | MockContentProvider.java | 82 public Query withSelection(String selection, String... selectionArgs) { argument 83 mSelection = selection; 123 public boolean equals(Uri uri, String[] projection, String selection, argument 133 if (!mAnySelection && !equals(selection, mSelection)) { 249 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 254 if (query.equals(uri, projection, selection, selectionArgs, sortOrder)) { 265 + queryToString(uri, projection, selection, selectionArgs, sortOrder)); 273 queryToString(uri, projection, selection, selectionArgs, sortOrder)); 279 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 304 public int update(Uri uri, ContentValues values, String selection, Strin argument 308 queryToString(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | ContentProviderTask.java | 117 String selection, String[] selectionArgs) { 121 .withSelection(selection, selectionArgs) 130 public void run(ContentResolver resolver, Uri uri, String selection, argument 134 .withSelection(selection, selectionArgs) 116 run(ContentResolver resolver, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | SqlInjectionDetectionTest.java | 98 final String selection, final String sortOrder) { 99 final Cursor c = mResolver.query(uri, projection, selection, null, sortOrder); 104 final String[] projection, final String selection, final String sortOrder) { 108 final Cursor c = mResolver.query(uri, projection, selection, null, sortOrder); 97 assertQueryValid(final Uri uri, final String[] projection, final String selection, final String sortOrder) argument 103 assertQueryThrows(Class<T> exception, final Uri uri, final String[] projection, final String selection, final String sortOrder) argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapVcardManager.java | 181 String selection = BluetoothPbapObexServer.createSelectionPara(type); 185 callCursor = mResolver.query(myUri, null, selection, null, 200 String selection = BluetoothPbapObexServer.createSelectionPara(type); 211 callCursor = mResolver.query(myUri, projection, selection, null, 367 String selection; 369 selection = recordSelection; 371 selection = "(" + typeSelection + ") AND (" + recordSelection + ")"; 374 if (V) Log.v(TAG, "Call log query selection is: " + selection); 376 return composeAndSendVCards(op, selection, vcardType2 473 composeAndSendVCards(Operation op, final String selection, final boolean vcardType21, String ownerVCard, boolean isContacts) argument [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
H A D | NoNullCursorAsyncQueryHandler.java | 36 public void startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, argument 39 super.startQuery(token, projectionCookie, uri, projection, selection, selectionArgs,
|