Searched refs:selection (Results 1 - 25 of 135) sorted by relevance

123456

/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DDismissAlarmsService.java61 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 DProvider.java32 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 DCrashingIconProvider.java48 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 DNaughtySuggestionProvider.java48 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 DProfileProvider.java76 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 DVoicemailTable.java39 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 DVoicemailStatusTable.java77 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 DAccountTypeWithDataSet.java60 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 DThrottlingCursorLoader.java37 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 DSnapshotProvider.java151 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 DBrowserProvider2.java855 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 DSQLiteContentProvider.java75 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 DFileContentProvider.java65 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 DSlowSuggestionProvider.java46 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 DSpammySuggestionProvider.java46 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 DMmsSmsProvider.java294 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 DEventGeometry.java107 * 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 DAsyncQueryService.java158 * @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 DMockContentProvider.java82 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 DSqlInjectionDetectionTest.java96 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 DBluetoothPbapVcardManager.java182 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 DSQLiteContentProvider.java68 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 DDirectoryListLoader.java121 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 DTransactionSettings.java65 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 DHomeProvider.java44 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

Completed in 842 milliseconds

123456