Home
last modified time | relevance | path

Searched refs:selection (Results 1 – 25 of 112) 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/packages/MtpDocumentsProvider/src/com/android/mtp/
DMapper.java190 final String selection; in startAddingDocuments() local
193 selection = COLUMN_PARENT_DOCUMENT_ID + " = ?"; in startAddingDocuments()
196 selection = COLUMN_PARENT_DOCUMENT_ID + " IS NULL"; in startAddingDocuments()
212 selection + " AND " + COLUMN_ROW_STATE + " = ?", in startAddingDocuments()
242 String selection, in putDocuments() argument
262 queryCandidate(selection, args, mappingKeys, values)) { in putDocuments()
319 final String selection; in stopAddingDocuments() local
322 selection = COLUMN_PARENT_DOCUMENT_ID + " = ?"; in stopAddingDocuments()
325 selection = COLUMN_PARENT_DOCUMENT_ID + " IS NULL"; in stopAddingDocuments()
345 COLUMN_ROW_STATE + " = ? AND " + selection, in stopAddingDocuments()
[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/java/android/database/sqlite/
DSQLiteQueryBuilder.java473 String selection, String[] selectionArgs, String groupBy, in query() argument
475 return query(db, projectionIn, selection, selectionArgs, groupBy, having, sortOrder, in query()
512 String selection, String[] selectionArgs, String groupBy, in query() argument
514 return query(db, projectionIn, selection, selectionArgs, in query()
554 String selection, String[] selectionArgs, String groupBy, in query() argument
562 projectionIn, selection, groupBy, having, in query()
569 enforceStrictGrammar(selection, groupBy, having, sortOrder, limit); in query()
588 final String wrappedSql = buildQuery(projectionIn, wrap(selection), groupBy, in query()
661 @Nullable String selection, @Nullable String[] selectionArgs) { in update() argument
667 final String unwrappedSql = buildUpdate(values, selection); in update()
[all …]
/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/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/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/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/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/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
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
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
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/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/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/test-mock/src/android/test/mock/
DMockContentProvider.java70 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) in delete() argument
72 return MockContentProvider.this.delete(url, selection, selectionArgs); in delete()
109 public int update(String callingPackage, Uri url, ContentValues values, String selection, in update() argument
111 return MockContentProvider.this.update(url, values, selection, selectionArgs); in update()
196 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
216 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
222 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument

12345