Home
last modified time | relevance | path

Searched refs:selectionArgs (Results 1 – 25 of 118) sorted by relevance

12345

/frameworks/base/core/java/android/content/
DAsyncQueryHandler.java53 public String[] selectionArgs; field in AsyncQueryHandler.WorkerArgs
80 args.selection, args.selectionArgs, in handleMessage()
101 args.selectionArgs); in handleMessage()
105 args.result = resolver.delete(args.uri, args.selection, args.selectionArgs); in handleMessage()
165 String[] projection, String selection, String[] selectionArgs, in startQuery() argument
176 args.selectionArgs = selectionArgs; in startQuery()
234 ContentValues values, String selection, String[] selectionArgs) { in startUpdate() argument
245 args.selectionArgs = selectionArgs; in startUpdate()
262 String selection, String[] selectionArgs) { in startDelete() argument
272 args.selectionArgs = selectionArgs; in startDelete()
DSearchRecentSuggestionsProvider.java225 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
236 count = db.delete(sSuggestions, selection, selectionArgs); in delete()
319 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
327 if (TextUtils.isEmpty(selectionArgs[0])) { in query()
331 String like = "%" + selectionArgs[0] + "%"; in query()
382 selectionArgs, null, null, sortOrder, in query()
393 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
DContentProviderNative.java98 String[] selectionArgs = null; in onTransact() local
100 selectionArgs = new String[num]; in onTransact()
102 selectionArgs[i] = data.readString(); in onTransact()
112 Cursor cursor = query(callingPkg, url, projection, selection, selectionArgs, in onTransact()
204 String[] selectionArgs = data.readStringArray(); in onTransact() local
206 int count = delete(callingPkg, url, selection, selectionArgs); in onTransact()
220 String[] selectionArgs = data.readStringArray(); in onTransact() local
222 int count = update(callingPkg, url, values, selection, selectionArgs); in onTransact()
387 String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal) in query() argument
406 if (selectionArgs != null) { in query()
[all …]
/frameworks/support/v4/java/android/support/v4/content/
DContentResolverCompat.java33 Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
40 String selection, String[] selectionArgs, String sortOrder, in query() argument
47 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); in query()
54 String selection, String[] selectionArgs, String sortOrder, in query() argument
58 uri, projection, selection, selectionArgs, sortOrder, in query()
123 Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
125 return IMPL.query(resolver, uri, projection, selection, selectionArgs, in query()
/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java77 String[] selectionArgs); in updateInTransaction() argument
82 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs); in deleteInTransaction() argument
148 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
155 count = updateInTransaction(uri, values, selection, selectionArgs); in update()
166 count = updateInTransaction(uri, values, selection, selectionArgs); in update()
176 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
183 count = deleteInTransaction(uri, selection, selectionArgs); in delete()
194 count = deleteInTransaction(uri, selection, selectionArgs); in delete()
DSyncStateContentProviderHelper.java82 String selection, String[] selectionArgs, String sortOrder) { in query() argument
83 return db.query(SYNC_STATE_TABLE, projection, selection, selectionArgs, in query()
96 String selection, String[] selectionArgs) { in update() argument
97 return db.update(SYNC_STATE_TABLE, values, selection, selectionArgs); in update()
/frameworks/base/core/java/android/database/sqlite/
DSqliteWrapper.java57 String[] projection, String selection, String[] selectionArgs, String sortOrder) { in query() argument
59 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); in query()
77 ContentValues values, String where, String[] selectionArgs) { in update() argument
79 return resolver.update(uri, values, where, selectionArgs); in update()
88 String where, String[] selectionArgs) { in delete() argument
90 return resolver.delete(uri, where, selectionArgs); in delete()
DSQLiteDatabase.java1034 String selection, String[] selectionArgs, String groupBy, in query() argument
1036 return queryWithFactory(null, distinct, table, columns, selection, selectionArgs, in query()
1075 String selection, String[] selectionArgs, String groupBy, in query() argument
1077 return queryWithFactory(null, distinct, table, columns, selection, selectionArgs, in query()
1115 String selection, String[] selectionArgs, String groupBy, in queryWithFactory() argument
1118 selectionArgs, groupBy, having, orderBy, limit, null); in queryWithFactory()
1158 String selection, String[] selectionArgs, String groupBy, in queryWithFactory() argument
1165 return rawQueryWithFactory(cursorFactory, sql, selectionArgs, in queryWithFactory()
1201 String[] selectionArgs, String groupBy, String having, in query() argument
1204 return query(false, table, columns, selection, selectionArgs, groupBy, in query()
[all …]
DSQLiteQueryBuilder.java292 String selection, String[] selectionArgs, String groupBy, in query() argument
294 return query(db, projectionIn, selection, selectionArgs, groupBy, having, sortOrder, in query()
331 String selection, String[] selectionArgs, String groupBy, in query() argument
333 return query(db, projectionIn, selection, selectionArgs, in query()
373 String selection, String[] selectionArgs, String groupBy, in query() argument
400 mFactory, sql, selectionArgs, in query()
470 String[] projectionIn, String selection, String[] selectionArgs, in buildQuery() argument
560 String[] selectionArgs, in buildUnionSubQuery() argument
/frameworks/base/test-runner/src/android/test/mock/
DMockContentProvider.java69 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) in delete() argument
71 return MockContentProvider.this.delete(url, selection, selectionArgs); in delete()
101 String[] selectionArgs, in query() argument
104 selectionArgs, sortOrder); in query()
109 String[] selectionArgs) throws RemoteException { in update() argument
110 return MockContentProvider.this.update(url, values, selection, selectionArgs); in update()
189 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
209 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
215 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
DMockIContentProvider.java49 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) in delete() argument
81 String[] selectionArgs, in query() argument
86 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, in queryEntities() argument
92 String[] selectionArgs) throws RemoteException { in update() argument
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
DSqliteWrapper.java69 String[] projection, String selection, String[] selectionArgs, String sortOrder) { in query() argument
71 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); in query()
89 ContentValues values, String where, String[] selectionArgs) { in update() argument
91 return resolver.update(uri, values, where, selectionArgs); in update()
100 String where, String[] selectionArgs) { in delete() argument
102 return resolver.delete(uri, where, selectionArgs); in delete()
/frameworks/base/core/java/com/android/internal/content/
DSelectionBuilder.java50 public SelectionBuilder append(String selection, Object... selectionArgs) { in append() argument
52 if (selectionArgs != null && selectionArgs.length > 0) { in append()
66 if (selectionArgs != null) { in append()
67 for (Object arg : selectionArgs) { in append()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardComposer.java280 public boolean init(final String selection, final String[] selectionArgs) { in init() argument
281 return init(Contacts.CONTENT_URI, sContactsProjection, selection, selectionArgs, in init()
289 final String[] selectionArgs, final String sortOrder) { in init() argument
290 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, null); in init()
307 final String[] selectionArgs, final String sortOrder, in init() argument
309 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, in init()
351 final String selection, final String[] selectionArgs, in init() argument
362 if (!initInterCursorCreationPart(contentUri, projection, selection, selectionArgs, in init()
414 final String selection, final String[] selectionArgs, final String sortOrder) { in initInterCursorCreationPart() argument
417 contentUri, projection, selection, selectionArgs, sortOrder); in initInterCursorCreationPart()
[all …]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerProvider.java86 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
88 int result = db.delete(TABLE_NAME, selection, selectionArgs); in delete()
112 String[] selectionArgs, String sortOrder) { in query() argument
116 selectionArgs, null, null, sortOrder); in query()
123 String[] selectionArgs) { in update() argument
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
DDisabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
DEnabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsNumberUtilsTest.java51 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
57 logd(" selectionArgs = " + Arrays.toString(selectionArgs)); in query()
62 projection[1].equals(HbpcdLookup.MccIdd.MCC) && selectionArgs.length == 1) { in query()
66 switch (Integer.parseInt(selectionArgs[0])) { in query()
80 logd("Unhandled MCC" + Integer.parseInt(selectionArgs[0])); in query()
90 selection == null && selectionArgs == null) { in query()
/frameworks/base/core/tests/coretests/apks/version_nosys/src/com/android/frameworks/coretests/version_test/
DNullProvider.java15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
26 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/frameworks/base/core/tests/coretests/apks/version/src/com/android/frameworks/coretests/version_test/
DNullProvider.java15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
26 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/
DTestReceiver.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
49 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
DTestProvider.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
49 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestProvider.java99 String selection, String[] selectionArgs, String sortOrder) { in queryEntities() argument
105 TestCase.assertEquals(1, selectionArgs.length); in queryEntities()
106 final int id = Integer.parseInt(selectionArgs[0]); in queryEntities()
115 String selection, String[] selectionArgs, String sortOrder) {
119 TestCase.assertNull(selectionArgs);
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DSingleUserProvider.java35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
51 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
56 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/frameworks/base/services/core/java/com/android/server/am/
DDumpHeapProvider.java52 …public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String… in query() argument
67 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
72 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument

12345