Home
last modified time | relevance | path

Searched refs:selection (Results 1 – 25 of 157) sorted by relevance

1234567

/frameworks/base/core/java/android/database/sqlite/
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
379 if (mStrict && selection != null && selection.length() > 0) { in query()
387 String sqlForValidation = buildQuery(projectionIn, "(" + selection + ")", groupBy, in query()
394 projectionIn, selection, groupBy, having, in query()
445 String[] projectionIn, String selection, String groupBy, in buildQuery() argument
458 if (selection != null && selection.length() > 0) { in buildQuery()
[all …]
/frameworks/base/core/java/android/content/
DAsyncQueryHandler.java52 public String selection; field in AsyncQueryHandler.WorkerArgs
80 args.selection, args.selectionArgs, in handleMessage()
100 args.result = resolver.update(args.uri, args.values, args.selection, 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
175 args.selection = selection; in startQuery()
234 ContentValues values, String selection, String[] selectionArgs) { in startUpdate() argument
244 args.selection = selection; in startUpdate()
262 String selection, String[] selectionArgs) { in startDelete() argument
271 args.selection = selection; 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
370 if (selection != null && selection.length() > 0) { in query()
376 whereClause.append(selection); in query()
393 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
DContentProviderClient.java112 public Cursor query(Uri url, String[] projection, String selection, in query() argument
114 return query(url, projection, selection, selectionArgs, sortOrder, null); in query()
118 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, in query() argument
128 return mContentProvider.query(mPackageName, url, projection, selection, selectionArgs, in query()
231 public int delete(Uri url, String selection, String[] selectionArgs) in delete() argument
235 return mContentProvider.delete(mPackageName, url, selection, selectionArgs); in delete()
247 public int update(Uri url, ContentValues values, String selection, in update() argument
251 return mContentProvider.update(mPackageName, url, values, selection, selectionArgs); in update()
DContentProvider.java201 String selection, String[] selectionArgs, String sortOrder, in query() argument
206 return rejectQuery(uri, projection, selection, selectionArgs, sortOrder, in query()
212 uri, projection, selection, selectionArgs, sortOrder, in query()
304 public int delete(String callingPkg, Uri uri, String selection, String[] selectionArgs) { in delete() argument
312 return ContentProvider.this.delete(uri, selection, selectionArgs); in delete()
319 public int update(String callingPkg, Uri uri, ContentValues values, String selection, in update() argument
328 return ContentProvider.this.update(uri, values, selection, selectionArgs); in update()
828 String selection, String[] selectionArgs, String sortOrder, in rejectQuery() argument
834 if (selection == null || selection.isEmpty()) { in rejectQuery()
835 selection = "'A' = 'B'"; in rejectQuery()
[all …]
DEventLogTags.logtags5 52002 content_query_sample (uri|3),(projection|3),(selection|3),(sortorder|3),(time|1|3),(blocking_…
6 52003 content_update_sample (uri|3),(operation|3),(selection|3),(time|1|3),(blocking_package|3),(sa…
DCursorLoader.java133 public CursorLoader(Context context, Uri uri, String[] projection, String selection, in CursorLoader() argument
139 mSelection = selection; in CursorLoader()
210 public void setSelection(String selection) { in setSelection() argument
211 mSelection = selection; in setSelection()
/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java76 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, 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/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()
100 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, in query() argument
103 return MockContentProvider.this.query(url, projection, selection, in query()
108 public int update(String callingPackage, Uri url, ContentValues values, String selection, 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
80 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, in query() argument
86 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, in queryEntities() argument
91 public int update(String callingPackage, Uri url, ContentValues values, String selection, in update() argument
/frameworks/opt/vcard/java/com/android/vcard/
DVCardComposer.java278 public boolean init(final String selection, final String[] selectionArgs) { in init() argument
279 return init(Contacts.CONTENT_URI, sContactsProjection, selection, selectionArgs, in init()
286 public boolean init(final Uri contentUri, final String selection, in init() argument
288 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, null); in init()
304 public boolean init(final Uri contentUri, final String selection, in init() argument
307 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, in init()
349 final String selection, final String[] selectionArgs, in init() argument
360 if (!initInterCursorCreationPart(contentUri, projection, selection, selectionArgs, in init()
399 final String selection, final String[] selectionArgs, final String sortOrder) { in initInterCursorCreationPart() argument
402 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()
111 public Cursor query(Uri uri, String[] projection, String selection, in query() argument
115 Cursor cursor = db.query(TABLE_NAME, projection, selection, in query()
122 public int update(Uri uri, ContentValues values, String selection, 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_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/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/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/ex/common/java/com/android/common/
DSearch.java104 String selection = searchable.getSuggestSelection(); in getSuggestions() local
107 if (selection != null) { in getSuggestions()
121 return context.getContentResolver().query(uri, null, selection, selArgs, null); in getSuggestions()
/frameworks/base/docs/html/design/building-blocks/
Dtext-fields.jd14 typing, text fields allow for a variety of other activities, such as text selection (cut, copy,
51 <h2 id="text-selection">Text Selection</h2>
53 …>Users can select any word in a text field with a long press. This action triggers a text selection
54 mode that facilitates extending the selection or choosing an action to perform on the selected text.
68 <p>A contextual action bar (CAB) displays the actions available to perform on the selection:
73 <p>Selection handles can be dragged to select more or less text while remaining in selection mode.<…
/frameworks/base/core/java/com/android/internal/content/
DSelectionBuilder.java50 public SelectionBuilder append(String selection, Object... selectionArgs) { in append() argument
51 if (TextUtils.isEmpty(selection)) { in append()
65 mSelection.append("(").append(selection).append(")"); in append()
/frameworks/support/v4/java/android/support/v4/content/
DCursorLoader.java97 public CursorLoader(Context context, Uri uri, String[] projection, String selection, in CursorLoader() argument
103 mSelection = selection; in CursorLoader()
174 public void setSelection(String selection) { in setSelection() argument
175 mSelection = selection; in setSelection()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestProvider.java99 String selection, String[] selectionArgs, String sortOrder) { in queryEntities() argument
104 TestCase.assertTrue((Data.CONTACT_ID + "=?").equals(selection)); in queryEntities()
115 String selection, String[] selectionArgs, String sortOrder) {
118 TestCase.assertNull(selection);

1234567