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

1234567

/packages/apps/OMA-DM/engine/dmlib/dmengine/dm_ssession/src/
H A DSYNCML_DM_SingleChoiceAlert.cc62 char selection[UINT32_TYPE_STR_SIZE_10]; local
63 DmSprintf((char *)selection, "%d", defaultResponse );
64 userResponse.push_back(selection);
72 char selection[UINT32_TYPE_STR_SIZE_10]; local
73 DmSprintf((char *)selection, "%d", response.response );
74 userResponse.push_back(selection);
/packages/providers/TvProvider/src/com/android/providers/tv/util/
H A DSqlParams.java26 public SqlParams(String tables, String selection, String... selectionArgs) { argument
28 setWhere(selection, selectionArgs);
47 public void setWhere(String selection, String... selectionArgs) { argument
48 mSelection = selection;
52 public void appendWhere(String selection, String... selectionArgs) { argument
53 mSelection = DatabaseUtils.concatenateWhere(mSelection, selection);
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DDismissAlarmsService.java74 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 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/ContactsCommon/src/com/android/contacts/common/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/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsSmsProvider.java299 String selection, String[] selectionArgs, String sortOrder) {
304 cursor = getCompleteConversations(projection, selection, sortOrder);
311 selection = concatSelections(
312 selection, Threads.TYPE + "=" + threadType);
315 projection, selection, selectionArgs, sortOrder);
318 projection, selection, sortOrder);
323 selection, sortOrder);
327 uri.getPathSegments().get(1), projection, selection,
332 uri.getPathSegments().get(1), projection, selection,
337 uri.getPathSegments().get(2), projection, selection, sortOrde
298 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
723 getSimpleConversations(String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
745 getDraftThread(String[] projection, String selection, String sortOrder) argument
805 getConversations(String[] projection, String selection, String sortOrder) argument
858 getFirstLockedMessage(String[] projection, String selection, String sortOrder) argument
901 getCompleteConversations(String[] projection, String selection, String sortOrder) argument
930 getConversationMessages( String threadIdString, String[] projection, String selection, String sortOrder) argument
965 getMessagesByPhoneNumber( String phoneNumber, String[] projection, String selection, String sortOrder) argument
1014 getConversationById( String threadIdString, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
1053 getUndeliveredMessages( String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
1120 buildConversationQuery(String[] projection, String selection, String sortOrder) argument
1174 delete(Uri uri, String selection, String[] selectionArgs) argument
1220 deleteConversation(Uri uri, String selection, String[] selectionArgs) argument
1241 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
1287 updateConversation( String threadIdString, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
/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.java857 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 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.java68 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
83 public Cursor query(Uri uri, String[] projection, String selection, argument
89 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/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/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DMainPanel.java53 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 DPhotoProvider.java48 * 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...]
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/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/apps/UnifiedEmail/src/com/android/mail/utils/
H A DContentProviderTask.java117 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 DSqlInjectionDetectionTest.java98 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/ContactsCommon/src/com/android/contacts/common/database/
H A DNoNullCursorAsyncQueryHandler.java36 public void startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, argument
39 super.startQuery(token, projectionCookie, uri, projection, selection, selectionArgs,

Completed in 1030 milliseconds

1234567