Searched defs:selectionArgs (Results 26 - 50 of 97) sorted by relevance

1234

/packages/apps/Mms/src/com/android/mms/
H A DTempFileProvider.java43 String selection, String[] selectionArgs, String sortOrder) {
53 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
59 String selection, String[] selectionArgs) {
42 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
58 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
H A DGoogleSuggestionProvider.java72 String[] selectionArgs, String sortOrder) {
109 String[] selectionArgs) {
114 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
71 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
108 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
/packages/apps/QuickSearchBox/tests/partial/src/com/android/quicksearchbox/tests/partial/
H A DPartialSuggestionProvider.java99 String[] selectionArgs, String sortOrder) {
134 String[] selectionArgs) {
139 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
98 query(Uri uri, String[] projectionIn, String selection, String[] selectionArgs, String sortOrder) argument
133 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DContentProviderTask.java117 String selection, String[] selectionArgs) {
121 .withSelection(selection, selectionArgs)
131 String[] selectionArgs) {
134 .withSelection(selection, selectionArgs)
116 run(ContentResolver resolver, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
130 run(ContentResolver resolver, Uri uri, String selection, String[] selectionArgs) argument
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DEntitySet.java64 String[] selectionArgs, String sortOrder) {
66 RawContactsEntity.CONTENT_URI, null, selection, selectionArgs,
63 fromQuery(ContentResolver resolver, String selection, String[] selectionArgs, String sortOrder) argument
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DSQLiteContentProvider.java70 String[] selectionArgs, boolean callerIsSyncAdapter);
75 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, argument
144 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
153 count = updateInTransaction(uri, values, selection, selectionArgs,
166 count = updateInTransaction(uri, values, selection, selectionArgs,
177 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
186 count = deleteInTransaction(uri, selection, selectionArgs, isCallerSyncAdapter);
198 count = deleteInTransaction(uri, selection, selectionArgs, isCallerSyncAdapter);
69 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DFastScrollingIndexCache.java121 private static String buildCacheKey(Uri queryUri, String selection, String[] selectionArgs, argument
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, argument
202 final String key = buildCacheKey(queryUri, selection, selectionArgs, sortOrder,
230 public void put(Uri queryUri, String selection, String[] selectionArgs, String sortOrder, argument
234 final String key = buildCacheKey(queryUri, selection, selectionArgs, sortOrder,
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,
98 String[] selectionArgs) {
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);
97 updateInTransaction(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
H A DVoicemailStatusTable.java77 public int delete(UriData uriData, String selection, String[] selectionArgs) { argument
81 selectionArgs);
86 String[] selectionArgs, String sortOrder) {
94 Cursor c = qb.query(db, projection, combinedClause, selectionArgs, null, null, sortOrder);
103 String[] selectionArgs) {
107 selectionArgs);
85 query(UriData uriData, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
102 update(UriData uriData, ContentValues values, String selection, String[] selectionArgs) argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DFastScrollingIndexCacheTest.java84 String selection, String[] selectionArgs, String sortOrder, String countExpression,
87 cache.put(queryUri, selection, selectionArgs, sortOrder, countExpression, bundle);
83 putAndGetBundle(FastScrollingIndexCache cache, Uri queryUri, String selection, String[] selectionArgs, String sortOrder, String countExpression, String[] titles, int[] counts) argument
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DUserDictionaryProvider.java125 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
155 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppProvider.java303 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
358 if (selectionArgs == null) {
359 sb.append("selectionArgs is null; ");
360 } else if (selectionArgs.length == 0) {
361 sb.append("selectionArgs is empty; ");
363 for (int i = 0; i < selectionArgs.length; ++i) {
364 sb.append("selectionArgs[");
367 sb.append(selectionArgs[i]);
377 Cursor ret = qb.query(db, projection, selection, selectionArgs, null, null, sortOrder);
390 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
434 delete(Uri uri, String selection, String[] selectionArgs) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapCallLogComposer.java92 final String[] selectionArgs, final String sortOrder) {
102 contentUri, projection, selection, selectionArgs, sortOrder);
91 init(final Uri contentUri, final String selection, final String[] selectionArgs, final String sortOrder) argument
/packages/apps/Browser/src/com/android/browser/provider/
H A DSnapshotProvider.java152 String[] selectionArgs, String sortOrder) {
163 selectionArgs = DatabaseUtils.appendSelectionArgs(selectionArgs,
173 Cursor cursor = qb.query(db, projection, selection, selectionArgs,
215 String[] selectionArgs) {
217 selectionArgs, null, null, null);
235 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
245 selectionArgs = DatabaseUtils.appendSelectionArgs(selectionArgs,
250 deleteDataFiles(db, selection, selectionArgs);
151 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
214 deleteDataFiles(SQLiteDatabase db, String selection, String[] selectionArgs) argument
263 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DAsyncQueryService.java161 * @param selectionArgs You may include ?s in selection, which will be
162 * replaced by the values from selectionArgs, in the order that
170 String selection, String[] selectionArgs, String orderBy) {
181 info.selectionArgs = selectionArgs;
229 * @param selectionArgs You may include ?s in selection, which will be
230 * replaced by the values from selectionArgs, in the order that
238 String selection, String[] selectionArgs, long delayMillis) {
249 info.selectionArgs = selectionArgs;
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...]
H A DAsyncQueryServiceHelper.java60 public String[] selectionArgs; field in class:AsyncQueryServiceHelper.OperationInfo
125 builder.append(",\n\t selectionArgs= ");
126 builder.append(Arrays.toString(selectionArgs));
288 args.selectionArgs, args.orderBy);
311 args.selectionArgs);
316 args.result = resolver.delete(args.uri, args.selection, args.selectionArgs);
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DDbTestUtils.java142 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
156 String[] selectionArgs, String orderBy) {
155 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy) argument
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
H A DAlarmSchedulerTest.java115 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
135 return super.query(uri, projection, selection, selectionArgs, sortOrder);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastContentProvider.java85 * @param selectionArgs values to replace ?s in selection string.
91 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
120 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy);
167 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
180 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
H A DMockContentProvider.java82 public Query withSelection(String selection, String... selectionArgs) { argument
84 mSelectionArgs = selectionArgs;
124 String[] selectionArgs, String sortOrder) {
137 if (!mAnySelection && !equals(selectionArgs, mSelectionArgs)) {
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, String[] selectionArgs) { argument
123 equals(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
308 queryToString(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DRawContactDeltaList.java61 String selection, String[] selectionArgs, String sortOrder) {
63 resolver.query(entityUri, null, selection, selectionArgs, sortOrder));
60 fromQuery(Uri entityUri, ContentResolver resolver, String selection, String[] selectionArgs, String sortOrder) argument
/packages/apps/DeskClock/src/com/android/deskclock/provider/
H A DAlarm.java161 * @param selectionArgs You may include ?s in selection, which will be
162 * replaced by the values from selectionArgs, in the order that they
167 String selection, String ... selectionArgs) {
169 selection, selectionArgs, null);
166 getAlarms(ContentResolver contentResolver, String selection, String ... selectionArgs) argument
/packages/apps/Email/tests/src/com/android/email/
H A DDBTestHelper.java93 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
98 mPassedSelectionArgs = selectionArgs;
104 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
124 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/packages/apps/InCallUI/src/com/android/incallui/
H A DCallerInfoAsyncQuery.java100 String selection, String[] selectionArgs, String orderBy) {
106 " args=[" + Arrays.toString(selectionArgs) + "]",
109 super.startQuery(token, cookie, uri, projection, selection, selectionArgs, orderBy);
380 null, // selectionArgs
99 startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy) argument
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DEmlAttachmentProvider.java118 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
202 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
223 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument

Completed in 3561 milliseconds

1234