/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDb.java | 131 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/ |
D | Mapper.java | 190 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/ |
D | AsyncQueryHandler.java | 52 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()
|
D | SearchRecentSuggestionsProvider.java | 227 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/ |
D | SQLiteQueryBuilder.java | 473 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/ |
D | SQLiteContentProvider.java | 76 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/vcard/java/com/android/vcard/ |
D | VCardComposer.java | 280 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | FakeSmsContentProvider.java | 76 @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/ |
D | TextViewAssertions.java | 63 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/ |
D | TrackerProvider.java | 86 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/ |
D | DisabledProvider.java | 34 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
|
D | EnabledProvider.java | 34 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/ |
D | NullProvider.java | 15 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/ |
D | FirstChildTestReceiver.java | 33 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
|
D | SecondChildTestProvider.java | 33 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
|
D | SecondChildTestReceiver.java | 33 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
|
D | TestReceiver.java | 33 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
|
D | TestProvider.java | 33 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
|
D | FirstChildTestProvider.java | 33 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/ |
D | TestContentProvider.java | 31 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/ |
D | NullProvider.java | 15 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/ |
D | DummyProvider.java | 29 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/ |
D | TestProvider.java | 33 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
|
D | TestReceiver.java | 33 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/src/android/widget/ |
D | EditorCursorTest.java | 195 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()
|