Home
last modified time | relevance | path

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

1234

/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.java227 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
238 count = db.delete(sSuggestions, selection, selectionArgs); in delete()
321 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
329 if (TextUtils.isEmpty(selectionArgs[0])) { in query()
333 String like = "%" + selectionArgs[0] + "%"; in query()
384 selectionArgs, null, null, sortOrder, in query()
395 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/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()
/frameworks/base/core/java/android/database/sqlite/
DSqliteWrapper.java59 String[] projection, String selection, String[] selectionArgs, String sortOrder) { in query() argument
61 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); in query()
80 ContentValues values, String where, String[] selectionArgs) { in update() argument
82 return resolver.update(uri, values, where, selectionArgs); in update()
92 String where, String[] selectionArgs) { in delete() argument
94 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/base/telephony/common/com/google/android/mms/util/
DSqliteWrapper.java72 String[] projection, String selection, String[] selectionArgs, String sortOrder) { in query() argument
74 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); in query()
94 ContentValues values, String where, String[] selectionArgs) { in update() argument
96 return resolver.update(uri, values, where, selectionArgs); in update()
106 String where, String[] selectionArgs) { in delete() argument
108 return resolver.delete(uri, where, selectionArgs); in delete()
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DFakeSmsContentProvider.java76 @Nullable String selection, @Nullable String[] selectionArgs, in query() argument
79 return db.query(RAW_TABLE_NAME, projection, selection, selectionArgs, null, null, in query()
92 @Nullable String[] selectionArgs) { in delete() argument
100 count = db.update(RAW_TABLE_NAME, cv, selection, selectionArgs); in delete()
104 count = db.delete(RAW_TABLE_NAME, selection, selectionArgs); in delete()
/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/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/install_multi_package/src/com/android/frameworks/coretests/
DFirstChildTestReceiver.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
DSecondChildTestProvider.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
DSecondChildTestReceiver.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
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
DFirstChildTestProvider.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/base/tests/ActivityManagerPerfTests/test-app/src/com/android/frameworks/perftests/amteststestapp/
DTestContentProvider.java31 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
42 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
52 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 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/services/tests/uiservicestests/src/com/android/frameworks/tests/uiservices/
DDummyProvider.java29 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
45 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
50 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/
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
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
/frameworks/base/test-mock/src/android/test/mock/
DMockContentProvider.java71 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) in delete() argument
73 return MockContentProvider.this.delete(url, selection, selectionArgs); in delete()
111 String[] selectionArgs) throws RemoteException { in update() argument
112 return MockContentProvider.this.update(url, values, selection, selectionArgs); in update()
197 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
217 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
223 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);

1234