Home
last modified time | relevance | path

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

12345

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java131 String selection = in getKey() local
140 selection, in getKey() argument
187 String selection = KeysEntry.COLUMN_NAME_UID + " = ? AND " + in removeKey() local
190 return db.delete(KeysEntry.TABLE_NAME, selection, selectionArgs) > 0; in removeKey()
208 String selection = in getStatusForAllKeys() local
216 selection, in getStatusForAllKeys() argument
246 String selection = in setRecoveryStatus() local
249 return db.update(KeysEntry.TABLE_NAME, values, selection, in setRecoveryStatus()
275 String selection = in getAllKeys() local
289 selection, in getAllKeys() argument
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteQueryBuilder.java461 String selection, String[] selectionArgs, String groupBy, in query() argument
463 return query(db, projectionIn, selection, selectionArgs, groupBy, having, sortOrder, in query()
500 String selection, String[] selectionArgs, String groupBy, in query() argument
502 return query(db, projectionIn, selection, selectionArgs, in query()
542 String selection, String[] selectionArgs, String groupBy, in query() argument
550 projectionIn, selection, groupBy, having, in query()
557 enforceStrictGrammar(selection, groupBy, having, sortOrder, limit); in query()
576 final String wrappedSql = buildQuery(projectionIn, wrap(selection), groupBy, in query()
647 @Nullable String selection, @Nullable String[] selectionArgs) { in update() argument
653 final String unwrappedSql = buildUpdate(values, selection); in update()
[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.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
372 if (selection != null && selection.length() > 0) { in query()
378 whereClause.append(selection); in query()
395 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/frameworks/base/core/proto/android/stats/textclassifier/
Dtextclassifier_enums.proto23 // User started a new selection.
25 // User modified an existing selection.
27 // Smart selection triggered for a single token (word).
29 // Smart selection triggered spanning multiple tokens (words).
31 // Something else other than user or the default TextClassifier triggered a selection.
37 // User typed over the selection.
49 // User dragged+dropped the selection.
57 // User reset the smart selection.
/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()
/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()
91 public int delete(@NonNull Uri uri, @Nullable String selection, 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/core/tests/coretests/src/android/widget/espresso/
DTextViewAssertions.java63 public static ViewAssertion hasSelection(String selection) { in hasSelection() argument
64 return hasSelection(is(selection)); in hasSelection()
78 public static ViewAssertion hasSelection(Matcher<String> selection) { in hasSelection() argument
79 return new TextSelectionAssertion(selection); in hasSelection()
162 public TextSelectionAssertion(Matcher<String> selection) {
163 mSelection = checkNotNull(selection);
/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()
288 public boolean init(final Uri contentUri, final String selection, in init() argument
290 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, null); in init()
306 public boolean init(final Uri contentUri, final String selection, 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()
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/src/android/content/
DFakeProviderLocal.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
DSlowProvider.java41 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
57 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
62 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
DFakeProviderRemote.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
52 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
57 public int update(Uri uri, ContentValues values, String selection, 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/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/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/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/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/services/people/java/com/android/server/people/data/
DContactsQueryHelper.java71 String selection = Contacts.CONTACT_LAST_UPDATED_TIMESTAMP + " > ?"; in querySince() local
73 return queryContact(Contacts.CONTENT_URI, projection, selection, selectionArgs); in querySince()
113 @Nullable String selection, @Nullable String[] selectionArgs) { in queryContact() argument
119 uri, projection, selection, selectionArgs, /* sortOrder= */ null)) { in queryContact() argument
162 String selection = Contacts.LOOKUP_KEY + " = ?"; in queryPhoneNumber() local
165 ContactsContract.CommonDataKinds.Phone.CONTENT_URI, projection, selection, in queryPhoneNumber() argument
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/
DTestContentProvider.java35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
46 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
59 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorTest.java195 final Integer textDirection, final Integer selection) throws Throwable { in setEditTextProperties() argument
200 if (selection != null) mEditText.setSelection(selection); in setEditTextProperties()
216 private void setEditTextHint(final String hint, final int textDirection, final int selection) in setEditTextHint() argument
218 setEditTextProperties(null, hint, textDirection, selection); in setEditTextHint()
221 private void setEditTextText(final String text, final Integer selection) throws Throwable { in setEditTextText() argument
222 setEditTextProperties(text, null, null, selection); in setEditTextText()
/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

12345