/packages/apps/Calendar/src/com/android/calendar/alerts/ |
H A D | DismissAlarmsService.java | 61 String selection; 65 selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED + " AND " + 68 selection = buildMultipleEventsQuery(eventIds); 70 selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED; 76 resolver.update(uri, values, selection, null); 99 StringBuilder selection = new StringBuilder(); 100 selection.append(CalendarAlerts.STATE); 101 selection.append("="); 102 selection.append(CalendarAlerts.STATE_FIRED); 104 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/Contacts/src/com/android/contacts/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/Email/src/com/android/email/data/ |
H A D | ThrottlingCursorLoader.java | 37 public ThrottlingCursorLoader(Context context, Uri uri, String[] projection, String selection, argument 39 this(context, uri, projection, selection, selectionArgs, sortOrder, 44 public ThrottlingCursorLoader(Context context, Uri uri, String[] projection, String selection, argument 46 super(context, uri, projection, selection, selectionArgs, sortOrder);
|
/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 | 855 Object[] getSelectionWithAccounts(Uri uri, String selection, String[] selectionArgs) { argument 862 selection = DatabaseUtils.concatenateWhere(selection, 868 selection = DatabaseUtils.concatenateWhere(selection, 873 return new Object[] { selection, selectionArgs, hasAccounts }; 877 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 890 selection = DatabaseUtils.concatenateWhere(selection, 904 selection 1132 doSuggestQuery(String selection, String[] selectionArgs, String limit) argument 1208 deleteBookmarks(String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 1223 deleteInTransaction(Uri uri, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 1616 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 1825 updateBookmarksInTransaction(ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument 1963 updateHistoryInTransaction(ContentValues values, String selection, String[] selectionArgs) argument 2003 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 | 294 String selection, String[] selectionArgs, String sortOrder) { 299 cursor = getCompleteConversations(projection, selection, sortOrder); 306 selection = concatSelections( 307 selection, Threads.TYPE + "=" + threadType); 310 projection, selection, selectionArgs, sortOrder); 313 projection, selection, sortOrder); 318 selection, sortOrder); 322 uri.getPathSegments().get(1), projection, selection, 327 uri.getPathSegments().get(1), projection, selection, 332 uri.getPathSegments().get(2), projection, selection, sortOrde 293 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 717 getSimpleConversations(String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 739 getDraftThread(String[] projection, String selection, String sortOrder) argument 799 getConversations(String[] projection, String selection, String sortOrder) argument 852 getFirstLockedMessage(String[] projection, String selection, String sortOrder) argument 895 getCompleteConversations(String[] projection, String selection, String sortOrder) argument 924 getConversationMessages( String threadIdString, String[] projection, String selection, String sortOrder) argument 959 getMessagesByPhoneNumber( String phoneNumber, String[] projection, String selection, String sortOrder) argument 1008 getConversationById( String threadIdString, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 1047 getUndeliveredMessages( String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 1114 buildConversationQuery(String[] projection, String selection, String sortOrder) argument 1168 delete(Uri uri, String selection, String[] selectionArgs) argument 1213 deleteConversation(Uri uri, String selection, String[] selectionArgs) argument 1234 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument 1270 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/Contacts/tests/src/com/android/contacts/tests/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/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | SqlInjectionDetectionTest.java | 96 final String selection, final String sortOrder) { 97 final Cursor c = mResolver.query(uri, projection, selection, null, sortOrder); 102 final String[] projection, final String selection, final String sortOrder) { 106 final Cursor c = mResolver.query(uri, projection, selection, null, sortOrder); 95 assertQueryValid(final Uri uri, final String[] projection, final String selection, final String sortOrder) argument 101 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 | 182 String selection = BluetoothPbapObexServer.createSelectionPara(type); 186 callCursor = mResolver.query(myUri, null, selection, null, 201 String selection = BluetoothPbapObexServer.createSelectionPara(type); 211 callCursor = mResolver.query(myUri, projection, selection, null, 366 String selection; 368 selection = recordSelection; 370 selection = "(" + typeSelection + ") AND (" + recordSelection + ")"; 373 if (V) Log.v(TAG, "Call log query selection is: " + selection); 375 return composeAndSendVCards(op, selection, vcardType2 472 composeAndSendVCards(Operation op, final String selection, final boolean vcardType21, String ownerVCard, boolean isContacts) argument [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | SQLiteContentProvider.java | 68 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, argument 74 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, argument 139 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 147 count = updateInTransaction(uri, values, selection, selectionArgs, 159 count = updateInTransaction(uri, values, selection, selectionArgs, 170 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 178 count = deleteInTransaction(uri, selection, selectionArgs, isCallerSyncAdapter); 189 count = deleteInTransaction(uri, selection, selectionArgs, isCallerSyncAdapter);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | DirectoryListLoader.java | 121 String selection; 124 selection = mLocalInvisibleDirectoryEnabled ? null 129 selection = Directory.SHORTCUT_SUPPORT + "=" + Directory.SHORTCUT_SUPPORT_FULL 135 selection = Directory.SHORTCUT_SUPPORT + " IN (" 148 DirectoryQuery.PROJECTION, selection, null, DirectoryQuery.ORDER_BY);
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
H A D | TransactionSettings.java | 65 String selection = Telephony.Carriers.CURRENT + " IS NOT NULL"; 68 selection += " AND " + Telephony.Carriers.APN + "=?"; 74 APN_PROJECTION, selection, selectionArgs, null); 77 Log.v(TAG, "TransactionSettings looking for apn: " + selection + " returned: " + 114 Log.v(TAG, "APN setting: MMSC: " + mServiceCenter + " looked for: " + selection);
|
/packages/apps/Browser/src/com/android/browser/homepages/ |
H A D | HomeProvider.java | 44 public int delete(Uri uri, String selection, String[] selectionArgs) {
argument 64 public Cursor query(Uri uri, String[] projection, String selection,
argument 70 public int update(Uri uri, ContentValues values, String selection,
argument
|